r.mapcalc "new_raster=if(old_raster>-0.01 && old_raster<0.01,0,old_raster)"
Cheers, Marcello. On Wed, Jul 13, 2011 at 10:10 AM, Rebecca Bennett <rabenn...@ymail.com>wrote: > Hello Grass users, > > I have a (hopefully) quick question - I would like to replace all values in > a raster that fall in the range -0.01 to 0.01 (i.e. 0.01><-0.01) with 0 but > can't quite work out how to express this in mapcalc. > > Can anyone set me on the right track? > > Thanks for reading, > Rebecca > > _______________________________________________ > grass-user mailing list > grass-user@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/grass-user > >
_______________________________________________ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user