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

GRASS GIS trac at osgeo.org
Thu Jan 7 01:06:39 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:  major   |   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:9 cmbarton]:
 > Please try the following. Comment out lines 731-742 in the
 > OnParamEntry method
 ...
 > This disables the validation check for the text box of the spin
 > control. If this works, maybe I can validate this another way.


 Yes- that lets me spin. If I manually type in 67 or -1 for the zone I get
 a pop up and it corrects me to the nearest valid value.

 but if I let it spin full-scale a few times in one direction when I press
 continue it complains about an invalid zone even though the number I see
 on the screen is in-range.



 Replying to [comment:8 cmbarton]:
 > The other stuff is a bug fix I noticed when I was testing this.
 > I was oversure of fixing it I guess or I wouldn't have added this
 > fix to the patch. Have to live with it now.

 probably just worry about this for the development branches for now & when
 you get a chance, but re. bounds settings a couple of wishes:

  - popup error if s>n, or w>e (except LL), or abs(ns)>90 (LL), right now
 you can click the button but nothing happens if its invalid. feedback as
 to what the error is would be good.

  - after setting the bounds the new region settings are copied to the
 terminal. left over debug code?

  - LL bounds should accept [NnSsEeWw:] as well as [+-.0-9] chars, and res
 should accept ':'; currently it just accepts floats. maybe quietly accept
 123d45'43.21"S format as well if we are feeling generous?

  - it would be really really gee wiz cool if for LL a red rectangle would
 draw covering the region you've selected on the center map. even cooler
 but not that useful in practice would to be able to drag a box on it to
 get the bounds numbers close, rounded to the current resolution.


 thanks,
 Hamish

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


More information about the grass-dev mailing list