We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9149ffb commit deb9667Copy full SHA for deb9667
python/plugins/processing/algs/qgis/Intersection.py
@@ -121,7 +121,10 @@ def processAlgorithm(self, progress):
121
int_geom = QgsGeometry()
122
if int_com is not None:
123
int_sym = geom.symDifference(tmpGeom)
124
- int_geom = QgsGeometry(int_com.difference(int_sym))
+ if int_sym:
125
+ diff_geom = int_com.difference(int_sym)
126
+ int_geom = QgsGeometry(diff_geom)
127
+
128
if int_geom.isGeosEmpty() or not int_geom.isGeosValid():
129
ProcessingLog.addToLog(ProcessingLog.LOG_ERROR,
130
self.tr('GEOS geoprocessing error: One or '
0 commit comments