[GRASS-user] null to equal zero

Achim Kisseler ak7 at jupiter.uni-freiburg.de
Thu Mar 18 05:02:25 EDT 2010


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

On 18.03.2010 09:46, Gary Nobles wrote:
>
> Hi I have a raster
> values are:
> null
> 1
> 3
> 24
> 27
> etc...
>
> I need null = 0
>
> As i want to add rasters together
> so I want to do null=0
>
> I'm sure this is simple
>
> Thank you
>
> Gary


More information about the grass-user mailing list