Skip to content

Commit

Permalink
[processing] handle 2.5 geometries in the Simplify geometry algorithm
Browse files Browse the repository at this point in the history
(fix #16114)
  • Loading branch information
alexbruy committed Apr 28, 2017
1 parent 2c8badb commit 9f9e711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/qgis/SimplifyGeometries.py
Expand Up @@ -70,7 +70,7 @@ def processAlgorithm(self, progress):
pointsAfter = 0

writer = self.getOutputFromName(self.OUTPUT).getVectorWriter(
layer.pendingFields().toList(), layer.wkbType(), layer.crs())
layer.pendingFields().toList(), QGis.flatType(layer.wkbType()), layer.crs())

features = vector.features(layer)
total = 100.0 / len(features)
Expand Down

0 comments on commit 9f9e711

Please sign in to comment.