6

This question was asked 8 years ago, but the algorithm in the accepted answer is gone. (How do I split polygons into line segments?)

So how can I split my polygon file into "segements"? The lines should be broken up like this picture shows:

enter image description here

  • Which software are you working with? What have you tried so far? – Erik Oct 19 at 13:32
  • I am working with QGIS. I know I can achieve this with github.com/mbloch/mapshaper/wiki/Command-Reference#-lines , but nodejs is not always an option. – suricactus Oct 19 at 13:33
  • 3
    Polygons to lines, then dissolve, then multi-part to single-part, all tools are part of the vector toolbox. – Erik Oct 19 at 13:39
  • Works fine, thanks! – suricactus Oct 19 at 15:12
5

If you have installed QGIS Desktop with Grass, you can use the the processing "v.to.lines"

enter image description here

Result: enter image description here

| improve this answer | |

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.