Skip to content

Commit

Permalink
[sextante] fixed graticule creation algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
volaya committed Jul 3, 2013
1 parent f6b73c0 commit 3f9890f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/sextante/algs/mmqgisx/MMQGISXAlgorithms.py
Expand Up @@ -416,9 +416,9 @@ def processAlgorithm(self, progress):
originy = centery - (height / 2.0)
gridtype = self.gridtype_options[self.getParameterValue(self.GRIDTYPE)]

crsId = self.getParameterValue(self.TARGET_CRS)
crsId = self.getParameterValue(self.CRS)
self.crs = QgsCoordinateReferenceSystem(crsId)
if (hspacing <= 0) or (vspacing <= 0):
raise GeoAlgorithmExecutionException("Invalid grid spacing: " + unicode(hspacing) + " / " + unicode(vspacing))

Expand Down

0 comments on commit 3f9890f

Please sign in to comment.