[GRASS-dev] Re: [GRASS GIS] #1300: WxGUI measure tool gives wrong results

GRASS GIS trac at osgeo.org
Tue Mar 8 06:18:02 EST 2011


#1300: WxGUI measure tool gives wrong results
--------------------------+-------------------------------------------------
 Reporter:  marisn        |       Owner:  grass-dev@…              
     Type:  defect        |      Status:  new                      
 Priority:  major         |   Milestone:  6.4.1                    
Component:  wxGUI         |     Version:  svn-releasebranch64      
 Keywords:  measure tool  |    Platform:  MSWindows Vista          
      Cpu:  Unspecified   |  
--------------------------+-------------------------------------------------
Changes (by hamish):

  * keywords:  => measure tool


Comment:

 Ok, I can reproduce this on Linux using the latest 6.4.1svn, 6.5svn &
 spearfish.

 notice that it works in the y-direction but not the x-direction.

 well, as long as the white bands are on the left-right, not top-bottom. if
 you resize the map window so that the white out-of-region bands are on the
 left,right sides, then the measure tool works along the x-asix but not the
 y-axis.

 so it seems to be using window size not region size, and the bigger the
 out-of-region bands, the bigger the d.measure error.

 go into preferences and tick the 'constrain' box and it starts to work
 better.



 also in 6.5svn I notice if I mouse wheel zoom out, the 10km barscale no
 longer exactly matches the d.grid lines. (some mm out on the screen) maybe
 a d.barscale bug, but I've only known that to be 1px out on the right end.
 ?


 > (Did I sed that current measure tool mouse bindings suck?)

 please suggest what would be better. (thoughts on comment:2 ?)


 ... also, I notice in 6.5svn all maps are missing from d.rast map name
 GUI:
 {{{
 GSelect: invalid item: descriptor 'lower' requires a
 'unicode' object but received a 'str'
 }}}


 Hamish


 Hamish

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



More information about the grass-dev mailing list