[GRASS-user] Re: null to equal zero
Daniel Victoria
daniel.victoria at gmail.com
Thu Mar 18 08:38:10 EDT 2010
or check out r.null command. You can convert any value to null and vice-versa
Daniel
On Thu, Mar 18, 2010 at 6:26 AM, Achim Kisseler
<ak7 at jupiter.uni-freiburg.de> wrote:
> Hi Gary,
>
>> 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?
>
> r.mapcalc "result=if( isnull(Bones_AVE),0,Bones_AVE)"
>
> and yes, it can be the original
>
> r.mapcalc "Bones_AVE=if( isnull(Bones_AVE),0,Bones_AVE)"
>
> Achim
> _______________________________________________
> 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