3

I have a polygon layer which looks like this enter image description here.

I used the QGIS multiparts to singleparts tool and also polygon to lines. In both cases i got this type of result

enter image description here.

I want to extract polygon into individual lines like thisenter image description here

Germán Carrillo
  • 36,307
  • 5
  • 123
  • 178
neogeomat
  • 8,380
  • 3
  • 52
  • 91
  • this looks like a similar question, which may answer the question - http://gis.stackexchange.com/questions/48461/how-to-break-both-lines-at-their-points-of-intersection-in-qgis – Mark Sep 04 '13 at 08:11
  • I don't think the question is similar, and the answer is not useful as well. I use sextante in qgis. – neogeomat Sep 04 '13 at 08:15
  • not even if you convert the polys to lines first? – Mark Sep 04 '13 at 08:28

1 Answers1

8

You could use line-to-polygon tool (See How can I transform a polygon to a linestring in QGIS?) followed by v.clean command (See http://grass.osgeo.org/grass64/manuals/v.clean.html).

julien
  • 10,186
  • 6
  • 55
  • 93
  • Is there something for qgis – neogeomat Sep 04 '13 at 08:59
  • The first tools is from QGIS and is available through sextante analysis tools; Second comand is from GRASS, but is also available through Sextante (You need to have grass installed and configured in sextante). – Alexandre Neto Sep 04 '13 at 11:28
  • take a look at : http://gis.stackexchange.com/questions/32192/how-do-i-split-polygons-into-line-segments – Kurt Sep 04 '13 at 15:17
  • first i used v.clean with break tool, then v.clean with rmdupl tool. The result are as i want but there are duplicates. – neogeomat Sep 04 '13 at 17:26