Skip to content
Permalink
Browse files

[processing] Improve error message when clipping fails due to 2.5D

  • Loading branch information
m-kuhn committed Apr 21, 2016
1 parent ba94896 commit 59522582bfd964da755ebee2086b432f49fe3cdf
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/qgis/Clip.py
@@ -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(),

0 comments on commit 5952258

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