[GRASS-user] aggregate module [was: integration of sample.c algorithms into r.resample]

Glynn Clements glynn at gclements.plus.com
Thu Aug 24 12:17:37 EDT 2006


Maciej Sieczka wrote:

> > I've moved the aggregates from r.series/r.neighbors into a separate
> > library (lib/stats).
> > 
> > I have also written the aggregate resampling module; it supports all
> > of the existing aggregates which make sense for a resampling module,
> > namely: average,median,mode,minimum,maximum,quart1,quart3,perc90.
> 
> Does that mean that r.mode and r.median could be disposable in future?
> Any other modules?

No (although I'm not sure what r.average, r.median and r.mode provide
which can't be done using r.statistics).

The aggregate module computes aggregates over a single cell, whereas
r.mode etc compute aggregates over larger areas, defined by sharing a
common category within a base map.

The aggregate resampling module resamples a map so that each output
cell contains an aggregate of all of the source cells whose centres
lie within the bounds of the output cell.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-user mailing list