[GRASS-SVN] r56161 - grass/branches/develbranch_6/gui/wxpython/location_wizard
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed May 8 04:05:02 PDT 2013
Author: hamish
Date: 2013-05-08 04:05:01 -0700 (Wed, 08 May 2013)
New Revision: 56161
Modified:
grass/branches/develbranch_6/gui/wxpython/location_wizard/wizard.py
Log:
fix r56160
Modified: grass/branches/develbranch_6/gui/wxpython/location_wizard/wizard.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/location_wizard/wizard.py 2013-05-08 10:50:22 UTC (rev 56160)
+++ grass/branches/develbranch_6/gui/wxpython/location_wizard/wizard.py 2013-05-08 11:05:01 UTC (rev 56161)
@@ -1638,13 +1638,12 @@
if coordsys in ('proj', 'epsg'):
if coordsys == 'proj':
addl_opts = {}
- dtover_flag = ''
- if 'datum' == '':
+ if len(datum) > 0:
addl_opts['datum'] = '%s' % datum
addl_opts['datumtrans'] = dtrans
- dtover_flag = 't'
+
ret, projlabel, err = RunCommand('g.proj',
- flags = 'jf' + dtover_flag,
+ flags = 'jf',
proj4 = proj4string,
location = location,
getErrorMsg = True,
More information about the grass-commit
mailing list