[GRASS-SVN] r47022 - in grass/trunk: gui/wxpython/gui_modules
lib/python
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jul 6 08:42:20 EDT 2011
Author: martinl
Date: 2011-07-06 05:42:20 -0700 (Wed, 06 Jul 2011)
New Revision: 47022
Modified:
grass/trunk/gui/wxpython/gui_modules/location_wizard.py
grass/trunk/lib/python/core.py
Log:
fix create_location() for wkt
Modified: grass/trunk/gui/wxpython/gui_modules/location_wizard.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/location_wizard.py 2011-07-06 12:36:43 UTC (rev 47021)
+++ grass/trunk/gui/wxpython/gui_modules/location_wizard.py 2011-07-06 12:42:20 UTC (rev 47022)
@@ -2034,7 +2034,7 @@
grass.create_location(dbase = self.startpage.grassdatabase,
location = self.startpage.location,
- filename = self.wktpage.wktfile,
+ wkt = self.wktpage.wktfile,
desc = self.startpage.locTitle)
except grass.ScriptError, e:
Modified: grass/trunk/lib/python/core.py
===================================================================
--- grass/trunk/lib/python/core.py 2011-07-06 12:36:43 UTC (rev 47021)
+++ grass/trunk/lib/python/core.py 2011-07-06 12:42:20 UTC (rev 47022)
@@ -955,7 +955,7 @@
elif wkt:
ps = pipe_command('g.proj',
quiet = True,
- wkt = wktfile,
+ wkt = wkt,
location = location,
stderr = PIPE)
else:
More information about the grass-commit
mailing list