[GRASS-SVN] r56093 - grass/branches/develbranch_6/gui/wxpython/location_wizard

svn_grass at osgeo.org svn_grass at osgeo.org
Thu May 2 16:20:34 PDT 2013


Author: hamish
Date: 2013-05-02 16:20:34 -0700 (Thu, 02 May 2013)
New Revision: 56093

Modified:
   grass/branches/develbranch_6/gui/wxpython/location_wizard/wizard.py
Log:
g.proj needs -t flag (as a hack-around) for datum transforms (#1849)

Modified: grass/branches/develbranch_6/gui/wxpython/location_wizard/wizard.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/location_wizard/wizard.py	2013-05-02 23:14:59 UTC (rev 56092)
+++ grass/branches/develbranch_6/gui/wxpython/location_wizard/wizard.py	2013-05-02 23:20:34 UTC (rev 56093)
@@ -21,7 +21,7 @@
  - wizard::LocationWizard
  - wizard::WizardWithHelpButton
 
-(C) 2007-2011 by the GRASS Development Team
+(C) 2007-2013 by the GRASS Development Team
 
 This program is free software under the GNU General Public License
 (>=v2). Read the file COPYING that comes with GRASS for details.
@@ -1494,11 +1494,13 @@
 
     def OnPageChanging(self, event):
         if event.GetDirection():
-        # check for datum tranforms            
+        # check for datum tranforms
+        # FIXME: -t flag is a hack-around for trac bug #1849
             ret, out, err = RunCommand('g.proj',
                                        read = True, getErrorMsg = True,
                                        proj4 = self.customstring, 
-                                       datumtrans = '-1')
+                                       datumtrans = '-1',
+                                       flags = 't')
             if ret != 0:
                 wx.MessageBox(parent = self,
                               message = err,



More information about the grass-commit mailing list