[GRASS-user] 'Growing' a raster on the edges only (Paulo van Breugel)
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the grass-user