mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-16 00:03:12 -04:00
Fix intersection in SelectByLocation and ExtractByLocation
This commit is contained in:
parent
b35a596af4
commit
eaeff1976c
@ -95,7 +95,7 @@ class ExtractByLocation(GeoAlgorithm):
|
||||
pass # already removed
|
||||
else:
|
||||
if predicate == 'intersects':
|
||||
res = tmpGeom.intersects()
|
||||
res = tmpGeom.intersects(geom)
|
||||
elif predicate == 'contains':
|
||||
res = tmpGeom.contains(geom)
|
||||
elif predicate == 'equals':
|
||||
|
@ -103,7 +103,7 @@ class SelectByLocation(GeoAlgorithm):
|
||||
pass # already removed
|
||||
else:
|
||||
if predicate == 'intersects':
|
||||
res = tmpGeom.intersects()
|
||||
res = tmpGeom.intersects(geom)
|
||||
elif predicate == 'contains':
|
||||
res = tmpGeom.contains(geom)
|
||||
elif predicate == 'equals':
|
||||
|
Loading…
x
Reference in New Issue
Block a user