Skip to content
Permalink
Browse files

Fix intersection in SelectByLocation and ExtractByLocation

  • Loading branch information
wonder-sk committed Feb 10, 2015
1 parent b35a596 commit eaeff1976c1febbda47719a0f61aa2b7fe90d255
@@ -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':
@@ -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':

0 comments on commit eaeff19

Please sign in to comment.
You can’t perform that action at this time.