Skip to content
Permalink
Browse files

Fix typo in gridify alg

  • Loading branch information
nyalldawson committed Aug 5, 2017
1 parent b93be39 commit 6aa672d9e0ee4a4833b5ee41cd122ae9a7cd14c3
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/qgis/Gridify.py
@@ -83,7 +83,7 @@ def processFeature(self, feature, feedback):
points = self._gridify([geom.asPoint()], self.h_spacing, self.v_spacing)
newGeom = QgsGeometry.fromPoint(points[0])
elif geomType == QgsWkbTypes.MultiPoint:
points = self._gridify(geom.aMultiPoint(), self.h_spacing, self.v_spacing)
points = self._gridify(geom.asMultiPoint(), self.h_spacing, self.v_spacing)
newGeom = QgsGeometry.fromMultiPoint(points)
elif geomType == QgsWkbTypes.LineString:
points = self._gridify(geom.asPolyline(), self.h_spacing, self.v_spacing)

0 comments on commit 6aa672d

Please sign in to comment.
You can’t perform that action at this time.