Skip to content

Commit 3f9890f

Browse files
committed
[sextante] fixed graticule creation algorithm
1 parent f6b73c0 commit 3f9890f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/plugins/sextante/algs/mmqgisx/MMQGISXAlgorithms.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -416,9 +416,9 @@ def processAlgorithm(self, progress):
416416
originy = centery - (height / 2.0)
417417
gridtype = self.gridtype_options[self.getParameterValue(self.GRIDTYPE)]
418418

419-
crsId = self.getParameterValue(self.TARGET_CRS)
419+
crsId = self.getParameterValue(self.CRS)
420420
self.crs = QgsCoordinateReferenceSystem(crsId)
421-
421+
422422
if (hspacing <= 0) or (vspacing <= 0):
423423
raise GeoAlgorithmExecutionException("Invalid grid spacing: " + unicode(hspacing) + " / " + unicode(vspacing))
424424

0 commit comments

Comments
 (0)