Sebastian P. Luque wrote: > 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
Yes; both set any cells which are either 0 or 253 to null. They differ in that r.mapcalc creates a new map while r.null modifies the existing map in-place. -- Glynn Clements <[EMAIL PROTECTED]> _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
