[Qgis-user] Problem with spatial query

anne söfker anne_soefker at yahoo.de
Mon Mar 25 06:24:44 PDT 2024


Hello everyone, 

I have a problem with the spatial query or with a link by position. I want to calculate the ratio of the length of the boundary to the street with the area of a parcel. To do this, I have converted the polygons from the parcels into lines, exploded them into individual parts and selected those that lie on roads. These are shown in different colors in the image. Now I want to create a new layer with the link between the boundary length from the layer and the boundary lines (and then calculate the ratio). I have tried all spatial queries here and also under "select by position", unfortunately it does not catch all parcels (yellow marked in the image) that are in contact with their boundary lines. There can be no accuracy error as the lines were generated from the parcels. The lines therefore lie exactly on the respective edges of the parcels. Can anyone give me a tip on how to proceed?

Many thanks and best regards
Anne 






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20240325/b4e33544/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bildschirmfoto 2024-03-25 um 14.22.41.png
Type: image/png
Size: 803285 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20240325/b4e33544/attachment-0001.png>


More information about the QGIS-User mailing list