[GRASS-user] Probably a stupid question: r.mapcalc display colours
Richard Chirgwin
rchirgwin at ozemail.com.au
Sun Jun 12 17:22:47 EDT 2011
On 12/06/11 9:32 PM, Moritz Lennert wrote:
> 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
>
Moritz,
I *knew* it was probably a stupid question! :-)
Many thanks, that was exactly the fix.
Richard
More information about the grass-user
mailing list