[GRASSLIST:4584] Re: aggregate a higher resolution to a lower resolution

Markus Neteler neteler at itc.it
Wed Sep 25 13:17:50 EDT 2002


On Fri, Sep 13, 2002 at 04:00:49PM +0100, Glynn Clements wrote:
> 
> Ulrich Leopold wrote:
> 
> > I would like to aggregate my map from a 250x250m resolution to a 500x500m 
> > resolution. If I use resample the nearest neighbor is used. Is there a 
> > possibility to just average 4 250x250m blocks (like overlay a grid and 
> > average) instead of nearest neigbor? So that I derive a mean and a variance?
> 
> Apart from r.resample, there's also r.resamp.rst, which does spline
> interpolation. However, I'm not aware of anything which resamples
> using a simple average.

Maybe already answered...
Doesn't r.neighbor method=average size=something do the job?
But you cannot resample 2x2 with the current implementation.

 Markus



More information about the grass-user mailing list