[Qgis-developer] spatial joins and select by location should not consider polygons than only touch
Alex Mandel
tech_dev at wildintellect.com
Wed Jun 4 09:45:16 PDT 2014
On 06/04/2014 09:42 AM, G. Allegri wrote:
> I've done some testing with fTools' spatial join and select by location
> tools.
> Whatever the geometry type it uses the "intersects" operator, which is true
> even if geometries only touch.
>
> I've patched my own version to distinguish the case the input layer (to be
> selected) is a linear or polygonal layer. In that case I check if
> "overlaps" or "contains" are true, but I reject the case the geometries
> only touch. I keep the single intersects operator in case of points.
>
> If you agree with the logic (I don't want to select or join geometries that
> only touch) I will submit a pull request.
>
> giovanni
>
>
Both options should exist. Perhaps a checkbox to exclude those that only
touch?
Thanks,
Alex
More information about the Qgis-developer
mailing list