[GRASS-user] trimming color table

Paulo van Breugel p.vanbreugel at gmail.com
Tue Sep 15 05:27:34 PDT 2015


When creating a new map based on an existing using r.mapcalc, the color 
table of the old map is used for the new map. However, if the new map 
only contains a subset of the values of the old map, how can I trim the 
color table so it only contains color definitions for the values present 
in the new map? Any easy (automatic) way to do this? Note, this is 
probably only useful for integer (category) maps.

Rgds.

Paulo




More information about the grass-user mailing list