[GRASS-SVN] r39584 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Oct 19 13:43:38 EDT 2009


Author: cmbarton
Date: 2009-10-19 13:43:37 -0400 (Mon, 19 Oct 2009)
New Revision: 39584

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/location_wizard.py
Log:
Backport from trunk svnr39583. Legitimate projections with caps are recognized. Transformation #1 is default selection of datum transformation list control.

Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/location_wizard.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/location_wizard.py	2009-10-19 17:37:27 UTC (rev 39583)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/location_wizard.py	2009-10-19 17:43:37 UTC (rev 39584)
@@ -957,7 +957,7 @@
         event.Skip()
 
     def OnDText(self, event):
-        self.datum = event.GetString().lower()
+        self.datum = event.GetString()
 
         nextButton = wx.FindWindowById(wx.ID_FORWARD)
         if len(self.datum) == 0 or self.datum not in self.parent.datums:
@@ -2078,6 +2078,7 @@
 
         proj4string = '%s +no_defs' % proj4string
         
+        wx.MessageBox(proj4string, 'final proj4 string')
         return proj4string
         
     def Proj4Create(self, proj4string):
@@ -2732,7 +2733,7 @@
         #
         self.translist = TransList(panel, id=-1, size=(width, height), style=wx.SUNKEN_BORDER)
         self.translist.SetItemCount(tlistlen)
-        self.translist.SetSelection(1)
+        self.translist.SetSelection(2)
         self.translist.SetFocus()
         
         self.Bind(wx.EVT_LISTBOX, self.ClickTrans, self.translist)



More information about the grass-commit mailing list