[GRASS-user] Probably a stupid question: r.mapcalc display colours

Moritz Lennert mlennert at club.worldonline.be
Sun Jun 12 07:32:19 EDT 2011


On 12/06/11 09:09, Richard Chirgwin wrote:
> Hi,
>
> I'm using r.mapcalc to clip white areas out of some rasters.
>
> The clipping works fine, but the new map displays in different colours
> to the old map, even though the pixels have the same values as the old
> map. Why is this?

r.mapcalc probably just assigns the default color table. Just use 
r.colors map=NewMap raster=OldMap to assign the color table of the old 
map to the new map.

Moritz


More information about the grass-user mailing list