[Qgis-user] split polygon with lines seems not working correctly

David Greenewalt dlg at sover.net
Wed Jun 10 12:06:02 PDT 2020


Luigi,

I see the problem now, I would suggest:

1. Polygons to Lines (on the Buildings layer)

2. Merge vector Layers (lines-from-buildings, and line layer)

3. Polygonize (merged layer)

4. Join Attributes from Location (New polygons, building layer) 
(Geometric predicate = within)

David


On 6/10/2020 11:31 AM, Luigi Raffaele Sapone wrote:
>
> Hello
>
> I’m using QGIS 3.12
>
> I have a poly shapefile named building.shp in the zip file, and a line 
> shapefile, named line.shp.
>
> I’m using the geoprocessing function ‘split polygon by line’ using 
> poly.shp as input, and line.shp as divide layer.
>
> I obtain the ‘split_by_line.shp’. But, in this splitted file, the 
> polygon was not divided considering all the lines present, but only 
> some of them, as visible in ‘split_by_line.shp’.
>
> Is there something wrong?
>
> Regards
>
>
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20200610/dd25f9d6/attachment.html>


More information about the Qgis-user mailing list