3

Is there a way in QGIS to transform a Polygon layer (shapefile) to a Line layer through "Virtual Layers"? In case there is how could I in addition to making the conversion also avoid duplicate geometries in this virtual layer, so that polygons that share boundaries with each other will generate only a single line when converted to lines?

1
  • 1
    It is not straight but it is possible, check this gis.stackexchange.com/a/382382 for instance, there one step forward was done, so you need to get the interior and exterior rings (depends whether your polygons posses holes). However, I want to ask why do you want to make your life a bit more complicated when QGIS/GRASS geoalgorithms are marvelous for solving exactly your problem?
    – Taras
    Jun 2, 2021 at 18:23

1 Answer 1

3

You will get best results if you install Grass GIS together with QGIS and use the processing tool v.to.lines.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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