Given a raster, how do I produce a raster of the N times coarser
resolution (and with the same extent), such as:
* the values of the target raster's pixels are the mean values
of the corresponding source raster's ones;
* the same, but with the minimum being the value;
* the same, but with the maximum being the value?
Could all of the aforementioned rasters be produced ``in a
single step''?
On Friday 29 February 2008, Ivan Shmakov wrote:
Given a raster, how do I produce a raster of the N times coarser
resolution (and with the same extent), such as:
* the values of the target raster's pixels are the mean values
of the corresponding source raster's ones;
* the same, but with the minimum being the value;
* the same, but with the maximum being the value?
Could all of the aforementioned rasters be produced ``in a
single step''?
_______________________________________________
see r.resamp.stats, it may do what you need
Dylan
--
Dylan Beaudette
Soil Resource Laboratory
http://casoilresource.lawr.ucdavis.edu/
University of California at Davis
530.754.7341