[GRASS-SVN] r56192 - grass/branches/develbranch_6/lib/python

svn_grass at osgeo.org svn_grass at osgeo.org
Sat May 11 01:37:20 PDT 2013


Author: hamish
Date: 2013-05-11 01:37:20 -0700 (Sat, 11 May 2013)
New Revision: 56192

Modified:
   grass/branches/develbranch_6/lib/python/core.py
Log:
another 'g.proj -t' work-around for wingrass+proj 4.8.0, #1849

Modified: grass/branches/develbranch_6/lib/python/core.py
===================================================================
--- grass/branches/develbranch_6/lib/python/core.py	2013-05-10 22:22:14 UTC (rev 56191)
+++ grass/branches/develbranch_6/lib/python/core.py	2013-05-11 08:37:20 UTC (rev 56192)
@@ -1070,6 +1070,7 @@
     gisdbase = None
     if epsg or proj4 or filename or wkt:
         gisdbase = gisenv()['GISDBASE']
+        # FIXME: changing GISDBASE mid-session is not background-job safe
         run_command('g.gisenv',
                     set = 'GISDBASE=%s' % dbase)
     if not os.path.exists(dbase):
@@ -1092,6 +1093,7 @@
     elif proj4:
         ps = pipe_command('g.proj',
                           quiet = True,
+                          flags = 't',
                           proj4 = proj4,
                           location = location,
                           stderr = PIPE,



More information about the grass-commit mailing list