[GRASS-user] 'Growing' a raster on the edges only (Paulo van Breugel)

Hanlie Pretorius hanlie.pretorius at gmail.com
Mon Apr 15 20:15:34 PDT 2013


Thanks Paulo, your suggestion of combining r.neigbors and r.patch worked.

From: Paulo van Breugel <p.vanbreugel at gmail.com>
> Subject: Re: [GRASS-user] 'Growing' a raster on the edges only
> Message-ID: <516BA41A.4060303 at gmail.com>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> Try r.neighbors function with the mean or medium neighborhood
> operation, or, if you are working with categorical values, use the
> 'mode' neighborhood operation. You can combine the result with the
> original layer using r.patch so only the no-data cells at the borders
> are filled with the newly created values
>
> You may also have a look at r.fillnulls, which fills in no-data cells
> using spline interpolation.
>
> Paulo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20130416/1f3c28e4/attachment.html>


More information about the grass-user mailing list