Skip to content

Commit

Permalink
[processing] Improve error message when clipping fails due to 2.5D
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Apr 21, 2016
1 parent ba94896 commit 5952258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/qgis/Clip.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def processAlgorithm(self, progress):
geomType = layerA.dataProvider().geometryType()
if geomType in GEOM_25D:
raise GeoAlgorithmExecutionException(
self.tr('Input layer has unsupported geometry type {}').format(geomType))
self.tr('Input layer does not support 2.5D type geometry ({}).').format(QgsWKBTypes.displayString(geomType)))

writer = self.getOutputFromName(self.OUTPUT).getVectorWriter(
layerA.pendingFields(),
Expand Down

0 comments on commit 5952258

Please sign in to comment.