[GRASSLIST:809] Re: Eliminating negative values on raster image
Luca Casagrande
luca.casagrande at gmail.com
Fri Apr 21 15:39:59 EDT 2006
Alle 21:34, venerdì 21 aprile 2006, Tim De Chant ha scritto:
> I have a raster map with negative values in it that I'd like to
> eliminate. I know the values should not be negative, and I'd like to
> change any negative value to zero. I have looked through the map
> calculator (r.mapcalc) to see if I could create an expression that
> would create such a map but haven't had any luck. Could anyone help
> me out with writing one? Thanks.
Build a query that gives 0 if value is < then 0?
Luca
--
"E' molto più bello sapere qualcosa di tutto, che tutto di una cosa (Blaise
Pascal)."
GENTOO-GIS Development Team
jabber: casagrande at jabber.linux.it
More information about the grass-user
mailing list