Skip to content
Permalink
Browse files
fix to Processing side
  • Loading branch information
giohappy committed Jul 1, 2014
1 parent 24c1c95 commit 6f00101bfdbb147355dd0c8a49109d9a8fc7a983
@@ -86,7 +86,8 @@ def _poly_lines_op(geomA,geomB):
if not intersects and (self.opFlags & self.operators['OVERLAPS']):
if geomB.type() == QGis.Line or geomA.type() == QGis.Line:
intersects |= geomA.crosses(geomB)
intersects |= geomA.overlaps(geomB)
else:
intersects |= geomA.overlaps(geomB)
if not intersects and (self.opFlags & self.operators['WITHIN']):
intersects |= geomA.contains(geomB)
return intersects
@@ -94,7 +94,8 @@ def _poly_lines_op(geomA,geomB):
if not intersects and (self.opFlags & self.operators['OVERLAPS']):
if geomB.type() == QGis.Line or geomA.type() == QGis.Line:
intersects |= geomA.crosses(geomB)
intersects |= geomA.overlaps(geomB)
else:
intersects |= geomA.overlaps(geomB)
if not intersects and (self.opFlags & self.operators['WITHIN']):
intersects |= geomA.contains(geomB)
return intersects

0 comments on commit 6f00101

Please sign in to comment.