[GRASSLIST:577] Change of spatial support

Ulrich Leopold uleopold at science.uva.nl
Wed Apr 5 05:32:02 EDT 2006


Dear list,

I am trying to change the spatial support (grid size) of some floating point
raster maps from 250x250m to 1000x1000m. It's a kind of upscaling or more
preciseley aggregation.

All I need to do is to superimpose the larger grid on the smaller grid and
compute the average and variance for the larger grid from the 4x4 250m cells
located within one 1000m cell.

I recognise that this is still not possible in GRASS. The GRASS resampling
methods for change of resolution, such as r.neigbors or g.region are not an
option as they do not provide a simple averaging method and the aggregation
error (variance).

I thought maybe r.mapcalc or R with it's grass6 interface could be used. But I
do not know how to achieve it in terms of code. Any sugegstions?

Ulrich




More information about the grass-user mailing list