[GRASS-user] change resolution using g.region
Glynn Clements
glynn at gclements.plus.com
Wed Aug 27 14:26:00 EDT 2008
Silvia Simoni wrote:
> does anyone know which is the algorithm applied to a raster map when
> changing the resolution using g.region res=XXX?
> If I have a 1m resolution raster map and I change the region
> resolution to 2m using g.region, the new 2x2-cell values are an
> average of 4 cells in the 1x1-map?
Raster maps are sampled based upon the region; no interpolation or
aggregation is performed.
If you want interpolation or aggregation, you need to perform an
explict resampling step with r.resamp.interp, r.resamp.rst or
r.resamp.stats.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-user
mailing list