[GRASS-dev] [bug #5323] (grass) gis.m: link legend funct. to raster

this bug's URL: http://intevation.de/rt/webrt?serial_num=5323
-------------------------------------------------------------------------

Subject: gis.m: link legend funct. to raster

Platform: GNU/Linux/x86
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: cvs

hello,

it would be great if "legend" and "addcell values" could be somehow linked to
one raster so that the user does not have to change these values every time
the raster named changed.

I think of something like the "folder" function but for "raster" - every task
below/inside this threat displays the values of the "folder raster".

This way the user can quickly change the input raster and simultaneously
the "legend"/"add cell values" use a different raster as input.

Just an idea when looking at several maps with legend/cell values displayed
as well.

Martin

-------------------------------------------- Managed by Request Tracker

Request Tracker wrote:

it would be great if "legend" and "addcell values" could be somehow
linked to one raster so that the user does not have to change these
values every time the raster named changed.

neither of these will help with your wish, but FYI --

d.rast.num from the command line uses the currently displayed raster map
in the xmon as its input if not specified

"d.legend map=$MAPNAME --ui" starts the d.legend gui with the map name
already filled in.

Hamish

Request Tracker wrote:

Just an idea when looking at several maps with legend/cell values
displayed as well.

see also d.rast.leg

Hamish