Skip to content
Browse files

[PROCESSING] Avoid run-time error

if intersection geometry is None (happens IMHO if geometries are not valid)
  • Loading branch information
bstroebl committed Apr 16, 2015
1 parent c9ec4d4 commit af64ae966f0d3b97233be82f17b1a8dcae0850d4
Showing with 3 additions and 0 deletions.
  1. +3 −0 python/plugins/processing/algs/qgis/
@@ -243,6 +243,9 @@ def processAlgorithm(self, progress):
# We have a candidate
iGeom = geom2Eliminate.intersection(selGeom)

if iGeom == None:

if boundary:
selValue = iGeom.length()

0 comments on commit af64ae9

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