[GRASS-dev] Re: [GRASS GIS] #987: Location wizard choose from EPSG robustness issues

GRASS GIS trac at osgeo.org
Mon Mar 8 06:35:10 EST 2010


#987: Location wizard choose from EPSG robustness issues
---------------------+------------------------------------------------------
  Reporter:  marisn  |       Owner:  martinl            
      Type:  defect  |      Status:  assigned           
  Priority:  normal  |   Milestone:  6.4.0              
 Component:  wxGUI   |     Version:  svn-releasebranch64
Resolution:          |    Keywords:  location wizard    
  Platform:  Linux   |         Cpu:  Unspecified        
---------------------+------------------------------------------------------
Comment (by martinl):

 Replying to [comment:2 marisn]:

 > Still search should not be performed if proper file is not selected:
 {{{
 > Traceback (most recent call last):
 >   File "/home/maris/soft/grass_64/dist.x86_64-unknown-linux-
 gnu/etc/wxpython/gui_modules/location_wizard.py", line 1437, in OnSearch
 >     self.epsglist.Search(index=[0,1,2], pattern=value)
 > ValueError: need more than 0 values to unpack
 }}}

 Fixed r41345.

 > Also currently EPSG file change is detected only after browse or on
 ENTER. It would be nice to detect simple edits without need to press
 ENTER. Following approach has one disadvantage - if file name field has
 focus when user chooses CANCEL, it also gives an warning about improper
 file name if it's wrong one. As I have no idea how events work in
 wxpython, I can't provide code, just an idea.

 Loading EPSG codes can be quite consuming task. Pressing Enter on loading
 codes or searching in codes seems to be adequate to me.

 Martin

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


More information about the grass-dev mailing list