Skip to content

Commit

Permalink
fix Processing QGIS vector grid as lines
Browse files Browse the repository at this point in the history
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.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/qgis/VectorGrid.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1714e66

Please sign in to comment.