[GRASS-dev] any way to know color assigned to a cell?

Michael Barton michael.barton at asu.edu
Thu Apr 12 18:30:03 EDT 2007

If have a map with values from 0-255 I create a set of color rules such that

0% = green
100% = red

GRASS will create a color table that will assign a nice gradient of colors
from 0:255:0 to 255:0:0 to the values from 0-255.

Is there any way when querying a single cell of that map to know what color
has been assigned to it? Similarly, is there any way to know what color has
been assigned to any value in the 0-255 range?


Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20070412/56f38dae/attachment.html

More information about the grass-dev mailing list