Skip to content

Commit

Permalink
Fix intersection in SelectByLocation and ExtractByLocation
Browse files Browse the repository at this point in the history
  • Loading branch information
wonder-sk committed Feb 10, 2015
1 parent b35a596 commit eaeff19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/qgis/ExtractByLocation.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def processAlgorithm(self, progress):
pass # already removed
else:
if predicate == 'intersects':
res = tmpGeom.intersects()
res = tmpGeom.intersects(geom)
elif predicate == 'contains':
res = tmpGeom.contains(geom)
elif predicate == 'equals':
Expand Down
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/qgis/SelectByLocation.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def processAlgorithm(self, progress):
pass # already removed
else:
if predicate == 'intersects':
res = tmpGeom.intersects()
res = tmpGeom.intersects(geom)
elif predicate == 'contains':
res = tmpGeom.contains(geom)
elif predicate == 'equals':
Expand Down

0 comments on commit eaeff19

Please sign in to comment.