[GRASS-dev] [GRASS GIS] #3082: Multiply the label values in d.legend (0-1 to 0-100)

GRASS GIS trac at osgeo.org
Mon Jun 27 08:18:45 PDT 2016


#3082: Multiply the label values in d.legend (0-1 to 0-100)
-----------------------------------+-------------------------
 Reporter:  wenzeslaus             |      Owner:  grass-dev@…
     Type:  defect                 |     Status:  new
 Priority:  minor                  |  Milestone:  7.3.0
Component:  Display                |    Version:  unspecified
 Keywords:  d.legend, cartography  |        CPU:  Unspecified
 Platform:  Unspecified            |
-----------------------------------+-------------------------
 When you have a raster with values from 0.0 to 1.0 and you want to show
 them as percents, i.e. from 0% to 100%, you need to rescale the raster
 first to be able to show the legend which goes from 0 to 100. Another
 example for this is DEM in meters which needs to be shown in feet (or the
 other way around).

 The first case would play nicely with #3081 when percent sign are used as
 text/unit after the label. It would also work well with the G7:d.barscale
 new option `units` and the obsolete flag `-f` where the data are presented
 in different units then they are. Finally, this seems necessary addition
 to #3076 when the colors are matching rescaled values.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3082>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list