[GRASSLIST:4012] Re: setting NULL value in raster maps

Glynn Clements glynn.clements at virgin.net
Wed Jul 3 13:21:07 EDT 2002


Thomas Dewez wrote:

> I had a go using the r.null command but I would like to check that my input
> map really contains NULL databefore proceeding. In clear how does one report
> the content of an image indicating the presence of NULL (r.info keeps
> telling me that min=-9999 even after r.null command).

You can check it visually with e.g. "d.erase red ; d.rast -o mapname";
"d.rast -o ..." treats null-valued cells as transparent.

It's possible that r.null doesn't update the range; you should be able
to update the range with "r.support -r mapname".

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



More information about the grass-user mailing list