Skip to content


[PROCESSING] Avoid run-time error
Browse files Browse the repository at this point in the history
if intersection geometry is None (happens IMHO if geometries are not valid)
  • Loading branch information
Bernhard Ströbl committed Apr 16, 2015
1 parent c9ec4d4 commit af64ae9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/plugins/processing/algs/qgis/
Expand Up @@ -243,6 +243,9 @@ def processAlgorithm(self, progress):
# We have a candidate
iGeom = geom2Eliminate.intersection(selGeom)

if iGeom == None:

if boundary:
selValue = iGeom.length()
Expand Down

0 comments on commit af64ae9

Please sign in to comment.