Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix Processing QGIS vector grid as lines
  • Loading branch information
Giovanni Manghi authored and slarosa committed Jul 31, 2015
1 parent 15170dd commit 1dfec33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/qgis/VectorGrid.py
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 1dfec33

Please sign in to comment.