0

I have a polyline layer, for each feature I want to create a mid point of the polyline (which is easy enough to do) and then generate a polyline of a certain distance at a right angle of the feature. I have used the code from the following question which has generated a line but not what I was expecting.

What I would like to generate is something along these lines (in purple). The red is what the code generated.

Screenshot

How can I achieve this?

Hornbydd
  • 43,380
  • 5
  • 41
  • 81
MapMan
  • 2,164
  • 1
  • 22
  • 32
  • 1
    How do you know the length of each line? Stored as an attribute? – BERA Apr 30 '20 at 17:02
  • @BERA The Purple line will be 12 metres, so 6 metres on each side – MapMan Apr 30 '20 at 17:21
  • I am using solution from that post on a weekly basis long before I posted it 4 years ago till now. Perhaps check your data. Are your lines single part? Projected? Derived from raster without simplification? – FelixIP Apr 30 '20 at 19:36
  • Also check if your original buffer is small enough, unless your are using @Paul solution. – FelixIP Apr 30 '20 at 19:50

0 Answers0