[GRASSLIST:270] Re: r.mapcalc with TIFFs

Glynn Clements glynn.clements at virgin.net
Fri May 30 23:59:21 EDT 2003


Peter Slizik wrote:

> By the way, is there any way how to export color table or copy it to the 
> another map?
> r.colors seems to be good only for importing tables.

You can copy colour tables using:

	r.colors map=dest rast=source

There isn't an "export" facility, other than simply copying the file
(<GISDBASE>/<LOCATION_NAME>/<MAPSET>/colr/<mapname>). AFAIK, there
isn't any standard format to which a GRASS colour table could be
"exported" (it isn't a simple lookup table; it may also contain rules
which cover a range of values).

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-user mailing list