Skip to content
Permalink
Browse files
fix Processing QGIS vector grid as lines
  • Loading branch information
Giovanni Manghi authored and slarosa committed Jul 31, 2015
1 parent 15170dd commit 1dfec33e5adf238c4b87f029e9af15fe1bf65eca
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 1dfec33

Please sign in to comment.