<div dir="ltr">Thanks Paulo, your suggestion of combining r.neigbors and r.patch worked.<br><div class="gmail_extra"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

From: Paulo van Breugel <<a href="mailto:p.vanbreugel@gmail.com">p.vanbreugel@gmail.com</a>><br>Subject: Re: [GRASS-user] 'Growing' a raster on the edges only<br>
Message-ID: <<a href="mailto:516BA41A.4060303@gmail.com">516BA41A.4060303@gmail.com</a>><br>
Content-Type: text/plain; charset=UTF-8; format=flowed<br>
<br>
Try r.neighbors function with the mean or medium neighborhood<br>
operation, or, if you are working with categorical values, use the<br>
'mode' neighborhood operation. You can combine the result with the<br>
original layer using r.patch so only the no-data cells at the borders<br>
are filled with the newly created values<br>
<br>
You may also have a look at r.fillnulls, which fills in no-data cells<br>
using spline interpolation.<br>
<br>
Paulo<br></blockquote></div></div></div>