Opened 9 years ago

Last modified 6 years ago

#3082 new enhancement

Multiply the label values in d.legend (0-1 to 0-100)

Reported by: wenzeslaus Owned by: grass-dev@…
Priority: minor Milestone: 7.6.2
Component: Display Version: unspecified
Keywords: d.legend, cartography Cc:
CPU: Unspecified Platform: Unspecified

Description

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.

Change History (7)

comment:1 by wenzeslaus, 9 years ago

Type: defectenhancement

comment:2 by martinl, 8 years ago

Milestone: 7.3.07.4.0

Milestone renamed

comment:3 by neteler, 7 years ago

Milestone: 7.4.07.4.1

Ticket retargeted after milestone closed

comment:4 by neteler, 7 years ago

Milestone: 7.4.17.4.2

comment:5 by martinl, 6 years ago

Milestone: 7.4.27.6.0

All enhancement tickets should be assigned to 7.6 milestone.

comment:6 by martinl, 6 years ago

Milestone: 7.6.07.6.1

Ticket retargeted after milestone closed

comment:7 by martinl, 6 years ago

Milestone: 7.6.17.6.2

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.