[GRASSLIST:4002] Re: How to improve the resolution of r.in.gdal?

Glynn Clements glynn.clements at virgin.net
Tue Jul 2 10:43:24 EDT 2002


Steve Kimball wrote:

> Is there a colormap that makes terrain like colors?
> Low elevations in green and higher in brown?

The only "standard" colour tables are those listed by "r.colors help",
but you can specify your own colour tables with "r.colors ... color=rules",
e.g.

	GRASS:~ > r.colors map=elevation color=rules
	Enter rules, "end" when done, "help" if you need it.
	Data range is -279 to 7830
	> -300 0 127 0
	> 8000 127 63 0
	> end
	Color table for [elevation] set to rules

If you want to use the same table for multiple maps, use
"r.colors ... rast=..." to copy the colour table from an existing map.

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



More information about the grass-user mailing list