Hi Micha, Thanks for your reply. It works perfectly but I would prefer to use : since it's much faster! thanks again. Bye -- View this message in context: http://osgeo-org.1560.x6.nabble.com/r-mapcalc-and-us-of-max-value-tp5049643p5049720.html Sent from the Grass - Users mailing list archive at Nabble.com.