Skip to content
Permalink
Browse files
[processing] handle 2.5 geometries in the Simplify geometry algorithm
(fix #16114)
  • Loading branch information
alexbruy committed Apr 28, 2017
1 parent 2c8badb commit 9f9e7114aa3881800fcec90eed654a99e7467a32
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/qgis/SimplifyGeometries.py
@@ -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)

0 comments on commit 9f9e711

Please sign in to comment.