<html><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:10pt"><div><span>just the ticket - thank you Hendrik!<br></span></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div style="font-family: verdana,helvetica,sans-serif; font-size: 10pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Arial" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Hendrik Hoeth <hendrik.hoeth@cern.ch><br><b><span style="font-weight: bold;">To:</span></b> Rebecca Bennett <rabennett@ymail.com><br><b><span style="font-weight: bold;">Cc:</span></b> grass-user@lists.osgeo.org<br><b><span style="font-weight: bold;">Sent:</span></b> Monday, 25 July 2011, 22:24<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [GRASS-user] mapcalc<br></font><br>Thus spake Rebecca Bennett
(<a ymailto="mailto:rabennett@ymail.com" href="mailto:rabennett@ymail.com">rabennett@ymail.com</a>):<br><br>> I would like to use r.mapcalc to fill the null cells of one raster<br>> with the value of the same cells from in a second raster (while<br>> leaving all other cells as they are in the first raster).<br><br>rasterA="if(isnull(rasterA), rasterB, rasterA)"<br><br>-- <br>A man without a dream in his heart already has one foot in the grave.<br><br><br></div></div></blockquote></div></div></body></html>