Skip to content

Commit 5952258

Browse files
committed
[processing] Improve error message when clipping fails due to 2.5D
1 parent ba94896 commit 5952258

File tree

1 file changed

+1
-1
lines changed
  • python/plugins/processing/algs/qgis

1 file changed

+1
-1
lines changed

python/plugins/processing/algs/qgis/Clip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def processAlgorithm(self, progress):
7272
geomType = layerA.dataProvider().geometryType()
7373
if geomType in GEOM_25D:
7474
raise GeoAlgorithmExecutionException(
75-
self.tr('Input layer has unsupported geometry type {}').format(geomType))
75+
self.tr('Input layer does not support 2.5D type geometry ({}).').format(QgsWKBTypes.displayString(geomType)))
7676

7777
writer = self.getOutputFromName(self.OUTPUT).getVectorWriter(
7878
layerA.pendingFields(),

0 commit comments

Comments
 (0)