Skip to content
Permalink
Browse files

[sextante] fixed graticule creation algorithm

  • Loading branch information
volaya committed Jul 3, 2013
1 parent f6b73c0 commit 3f9890fc4b220b336a9c81ad51cb808e4fc9f5a9
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/sextante/algs/mmqgisx/MMQGISXAlgorithms.py
@@ -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))

0 comments on commit 3f9890f

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