[GRASS-user] Mapcalc to replace a range of values
Saber Razmjooei
razmjooeis at faunalia.co.uk
Wed Jul 13 11:54:57 EDT 2011
Or maybe you can use r.null:
r.null map=YourRASTER setnull=-0.1-0.1 null=0
On Wed, 2011-07-13 at 14:10 +0100, Rebecca Bennett 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 at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
More information about the grass-user
mailing list