You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7b68c77
Browse filesBrowse the repository at this point in the historyBrowse files
self.tr('GEOS geoprocessing error: One or more input features have invalid geometry.'))
101
-
add=False
102
-
else:
103
-
raiseGeoAlgorithmExecutionException(self.tr('Features with invalid geometries found. Please fix these errors or specify the "Ignore invalid input features" flag'))
104
-
break
105
-
106
-
ifadd:
107
-
try:
108
-
outFeat.setGeometry(diff_geom)
109
-
outFeat.setAttributes(attrs)
110
-
writer.addFeature(outFeat)
111
-
except:
112
-
ProcessingLog.addToLog(ProcessingLog.LOG_WARNING,
113
-
self.tr('Feature geometry error: One or more output features ignored due to invalid geometry.'))
114
-
continue
90
+
91
+
try:
92
+
outFeat.setGeometry(diff_geom)
93
+
outFeat.setAttributes(attrs)
94
+
writer.addFeature(outFeat)
95
+
except:
96
+
ProcessingLog.addToLog(ProcessingLog.LOG_WARNING,
97
+
self.tr('Feature geometry error: One or more output features ignored due to invalid geometry.'))
raiseGeoAlgorithmExecutionException(self.tr('Features with invalid geometries found. Please fix these errors or specify the "Ignore invalid input features" flag'))
125
+
raiseGeoAlgorithmExecutionException(self.tr('Features with invalid geometries found. Please fix these geometries or specify the "Ignore invalid input features" flag'))
0 commit comments