Skip to content

Commit 6aa672d

Browse files
committedAug 5, 2017
Fix typo in gridify alg
1 parent b93be39 commit 6aa672d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎python/plugins/processing/algs/qgis/Gridify.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def processFeature(self, feature, feedback):
8383
points = self._gridify([geom.asPoint()], self.h_spacing, self.v_spacing)
8484
newGeom = QgsGeometry.fromPoint(points[0])
8585
elif geomType == QgsWkbTypes.MultiPoint:
86-
points = self._gridify(geom.aMultiPoint(), self.h_spacing, self.v_spacing)
86+
points = self._gridify(geom.asMultiPoint(), self.h_spacing, self.v_spacing)
8787
newGeom = QgsGeometry.fromMultiPoint(points)
8888
elif geomType == QgsWkbTypes.LineString:
8989
points = self._gridify(geom.asPolyline(), self.h_spacing, self.v_spacing)

0 commit comments

Comments
 (0)
Please sign in to comment.