[GRASSLIST:6534] Re: MASK confussion

Glynn Clements glynn at gclements.plus.com
Mon Apr 18 19:41:13 EDT 2005

Maciek Sieczka wrote:

> Is it normal and intended that "0" is taken the same as the "null" when 
> doing "r.mapcalc 'MASK=some_raster"?


> It took me over an hour to guess my there where holes in my MASK. 
> Shouldn't "0" be treated as a regular, valid value for MASK?

Masks used to be zero/non-zero before support for a distinguished NULL
value was added in 5.0. The existing behaviour maintains backwards

Glynn Clements <glynn at gclements.plus.com>

More information about the grass-user mailing list