[Qgis-user] Polygonize object by object

Nicolas Cadieux nicolas.cadieux at archeotec.ca
Tue Aug 20 16:33:16 PDT 2019


Hi,
Split the line object layer in multiple files (one file per object).  Use polygonize on each layer. Then cut and paste the first polygon on to the second polygon.  You will have two intersecting polygons.
Nicolas

> Le 20 août 2019 à 17:30, "felix-schott at gmx.de" <felix-schott at gmx.de> a écrit :
> 
> Hey everyone, 
> 
> I wonder if it is possible to polygonize each object in a layer of line objects individually. The polygonize algorithm from the processing toolbox yields three polygons if you have two overlapping line objects in the input layer. Essentially, I want to create two partly overlapping polygons from two intersecting line objects. How can I achieve this? Is there some tool already implemented or do I have to write my own code? And if so, could you point me in the right direction? I've never really worked with PyQGIS. 
> If you want, you can also answer on Stack Exchange (https://gis.stackexchange.com/questions/331878/polygonize-each-object-in-layer-individually-qgis). 
> 
> Thanks a lot! 
> Felix
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


More information about the Qgis-user mailing list