[GRASS-dev] Re: [GRASS GIS] #842: wx location wizard: spincontrol busted for UTM zone

GRASS GIS trac at osgeo.org
Fri Jan 8 19:59:09 EST 2010


#842: wx location wizard: spincontrol busted for UTM zone
-----------------------+----------------------------------------------------
  Reporter:  hamish    |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect    |      Status:  new                      
  Priority:  critical  |   Milestone:  6.4.0                    
 Component:  wxGUI     |     Version:  svn-develbranch6         
Resolution:            |    Keywords:  location wizard, utm     
  Platform:  Linux     |         Cpu:  x86-64                   
-----------------------+----------------------------------------------------
Comment (by hamish):

 Replying to [comment:17 cmbarton]:
 > I've changed the UTM Zone entry widget to a simple text widget
 > with validation to keep it within the 1-60 range. I've added a
 > new patch here: location_wizard.patch3. Please test.

 Yes it works if you type in zone=1-60.

 I'm seeing that +lon_0=-183 again though and I figured out how to
 reproduce it. If you enter "0" or "99" for the zone it automatically
 resets to zone 1 or 60, respectively. Apparently this is only visually. If
 you proceed to the summary page in the location wizard instead of +zone=23
 you will see +proj=tmerc +lon_0=411 etc. ...

 {{{
 -PROJ_INFO-------------------------------------------------
 name       : Transverse Mercator
 proj       : tmerc
 datum      : wgs84
 ellps      : wgs84
 lat_0      : 0
 lon_0      : -183
 k          : 0.9996
 x_0        : 500000
 y_0        : 0
 no_defs    : defined
 -PROJ_UNITS------------------------------------------------
 unit       : Meter
 units      : Meters
 meters     : 1
 }}}


 fwiw1: I notice that PROJ_UNITS is uppercased, which seems different to
 how I always seem to have remembered it there.

 fwiw2: I notice this patch no longer has the try: row/column stuff.
 (different things should go into 2 different commits I guess)


 Hamish

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/842#comment:18>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list