Skip to content
Permalink
Browse files
fix Processing QGIS vector grid as lines
fixes #13115
(cherry-picked from 1dfec33)
  • Loading branch information
Giovanni Manghi authored and slarosa committed Jul 31, 2015
1 parent 313a6bc commit 1714e66
Showing 1 changed file with 1 addition and 1 deletion.
@@ -90,7 +90,7 @@ def processAlgorithm(self, progress):
fields.append(QgsField('coord', QVariant.Double, '', 24, 15))
fieldCount = 2
writer = self.getOutputFromName(self.OUTPUT).getVectorWriter(
fields, QGis.WKBPolygon, mapCRS)
fields, QGis.WKBLineString, mapCRS)

feat = QgsFeature()
feat.initAttributes(fieldCount)

0 comments on commit 1714e66

Please sign in to comment.