[GRASS-user] Re: null to equal zero

Gary Nobles garynobles at yahoo.com
Thu Mar 18 05:17:34 EDT 2010


>r.mapcalc "result=if( isnull(map),0,map)" 

I have a raster of bird bones Bones_AVE

so 
r.mapcalc "result=if( isnull(Bones_AVE),0,outputmap)" 

Is that right, no need for A=Bones_AVE?
could the output map be the original? Or does it have to be a new raster?

Thank you for clarifying
-- 
View this message in context: http://n2.nabble.com/null-to-equal-zero-tp4755345p4755434.html
Sent from the Grass - Users mailing list archive at Nabble.com.


More information about the grass-user mailing list