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 1714e66952956589256de3044c04994da98d7b75
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/qgis/VectorGrid.py
@@ -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.