[GRASS-user] Converting a color to NULL

Jannis Achstetter krippi at gmail.com
Wed Jul 11 04:18:40 EDT 2007


Brad Douglas schrieb:
> On Wed, 2007-07-11 at 08:25 +0200, Jannis Achstetter wrote:
>   
>> The problem is: where "no data" should be, white is displayed, instead
>> of NULL. How do I change that? I tried using r.colors but it seems only
>> to work the other way round (set a color where NULL (nv) was), not
>> deleting one specific color.
>>     
>
> r.null setnull=<value> map=<raster_map>
>
> value is probably 255, but you can use d.what.rast to make sure.
>   

Worked perfectly, thanks.




More information about the grass-user mailing list