[GRASS-user] mapcalc

Rebecca Bennett rabennett at ymail.com
Mon Jul 25 18:23:32 EDT 2011


just the ticket - thank you Hendrik!




>________________________________
>From: Hendrik Hoeth <hendrik.hoeth at cern.ch>
>To: Rebecca Bennett <rabennett at ymail.com>
>Cc: grass-user at lists.osgeo.org
>Sent: Monday, 25 July 2011, 22:24
>Subject: Re: [GRASS-user] mapcalc
>
>Thus spake Rebecca Bennett (rabennett at ymail.com):
>
>> I would like to use r.mapcalc to fill the null cells of one raster
>> with the value of the same cells from in a second raster (while
>> leaving all other cells as they are in the first raster).
>
>rasterA="if(isnull(rasterA), rasterB, rasterA)"
>
>-- 
>A man without a dream in his heart already has one foot in the grave.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20110725/17a73380/attachment.html


More information about the grass-user mailing list