0

I have all these line segments travelling between points:

enter image description here

I want all the one close to each other to be merged into a single feature. So I dissolved them like so:

enter image description here

Now I just want one line travelling through the centre of each of these line-like polygons. Any functions that do this?

7
  • possible duplicate of gis.stackexchange.com/questions/171145/… – Ian Turton Apr 22 at 10:59
  • Thanks, but I would say not. Skeletization kind of follows the contours of the dissolved polygons. I'm looking for something that cuts right through it y = mx +b style. – hmnoidk Apr 22 at 11:06
  • 1
    Some of these polygons look like very thin X or Y forms, so I guess your line will run down the middle of the arms of the X or Y, and not be inside the polygon at that point? Hence skeletonization is not the answer. – Spacedman Apr 22 at 11:14
  • 1
    to get rid of the "arms", create a convex hull polygon over each of your polygon (or group of original lines), then you you can apply skeletization – JGH Apr 22 at 13:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.