[GRASS-dev] Re: [GRASS GIS] #64: ps.map: patch to set customized scalebar units

GRASS GIS trac at osgeo.org
Wed Aug 20 22:21:12 EDT 2008


#64: ps.map: patch to set customized scalebar units
--------------------------+-------------------------------------------------
  Reporter:  alf          |       Owner:  hamish   
      Type:  enhancement  |      Status:  assigned 
  Priority:  minor        |   Milestone:  6.4.0    
 Component:  ps.map       |     Version:  svn-trunk
Resolution:               |    Keywords:  scalebar 
  Platform:  All          |         Cpu:  All      
--------------------------+-------------------------------------------------
Changes (by hamish):

  * keywords:  => scalebar
  * platform:  Unspecified => All
  * component:  default => ps.map
  * cpu:  Unspecified => All

Comment:

 Moritz:
 > Any reason why this patch shouldn't be committed to svn ?


 The need this patch scratches is real, but I have not yet been able to
 dedicate the time to properly consider if it is the right approach to
 solve it. see my original comment to this wish -- we can make the units
 automatic like the Tcl profile tool and NVIZ's scalebar; obviously 0 to
 60000m should be converted to km. I think the Tcl and NVIZ threshold rules
 are pretty good and we could use them; or perhaps d.barscale's heuristic
 rules. Only issue with that is if user wants miles not km (like
 'd.barscale -f').

 I don't like to bother users with lots of complicated controls for things
 which it is reasonable for the software to do for them.

 another semi-related idea is to add an option to take legend units from
 the raster map's 'r.support units=' setting.

 Sorry for the delay in dealing with this, my available time these days is
 rather limited.


 Hamish

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


More information about the grass-dev mailing list