[GRASSLIST:1644] automatic configuration of color table of a raster map

Kenlo Nishida nishida at bres.tsukuba.ac.jp
Sun Nov 2 21:40:14 EST 2003


Dear GRASS users:

Do you know any tools or commands which allow us to set and
customize color table of a raster map in an automatic manner?
Although we can set color table by r.colors and customize it
by d.colors, we cannot set the range or assign specific colors
to some special values (such as sea or filling values) without
interactive manipulation. I would appreciate if some commands
can support such functions automatically (capable for script).

For example, I have more than 100 images of AVHRR/NDVI, and
the water body is masked with a value of 255, and the cloud
is masked with a value of 254, and the range of NDVI values
is 0 to 100, and I want to assign rainbow colors to NDVI,
black to water body, and white to cloud to every image.

---------------------------------------
Kenlo Nishida
Institute of Agricultural and Forest Engineering
University of Tsukuba, Japan 305-8572
kenlo at sakura.cc.tsukuba.ac.jp




More information about the grass-user mailing list