[GRASS-user] settings nulls with r.mapcalc

Sebastian P. Luque spluque at gmail.com
Mon Oct 27 06:00:07 EDT 2008


Hi,

Are the following calls doing the same in terms of which cells get
assigned the null value?

$ r.mapcalc "new_raster = if(raster == 0 || raster == 253, null(), raster)"
$ r.null map=raster setnull=0,253


Thanks,

-- 
Seb


More information about the grass-user mailing list