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

Ian Turton
  • 81,417
  • 6
  • 84
  • 185
suricactus
  • 301
  • 1
  • 6
  • Which software are you working with? What have you tried so far? – Erik Oct 19 '20 at 13:32
  • I am working with QGIS. I know I can achieve this with https://github.com/mbloch/mapshaper/wiki/Command-Reference#-lines , but nodejs is not always an option. – suricactus Oct 19 '20 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 '20 at 13:39

1 Answers1

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

Christophe P.
  • 2,175
  • 11
  • 22