[GRASS-SVN] r39671 - grass/branches/releasebranch_6_4/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Nov 3 05:59:56 EST 2009


Author: martinl
Date: 2009-11-03 05:59:55 -0500 (Tue, 03 Nov 2009)
New Revision: 39671

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gdialogs.py
Log:
wxGUI: override projection by default (be consistent with r.in.gdal, etc.)


Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gdialogs.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gdialogs.py	2009-11-03 09:08:29 UTC (rev 39670)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gdialogs.py	2009-11-03 10:59:55 UTC (rev 39671)
@@ -985,7 +985,7 @@
                            'layer=%s' % layer.rstrip('.' + self.format.GetValue())
                            ]
                 else:
-                    cmd = ['v.in.ogr',
+                    cmd = ['v.in.ogr', '-o', # override projection by default
                            'dsn=%s' % (os.path.join(self.input.GetValue(), layer)),
                            'output=%s' % output]
             else: # gdal



More information about the grass-commit mailing list