[GRASS-user] GRASS modules for territorial analysis
Moritz Lennert
mlennert at club.worldonline.be
Thu May 14 04:59:12 EDT 2009
On 14/05/09 10:03, Benjamin Ducke wrote:
> Hi all,
>
> I am working on a set of GRASS for territorial analysis.
>
> Does anyone here know any GRASS modules/add-ons that do the following:
>
> 1. Sort all cells in an input raster map into n categories so
> that each category contains (approximately) the same number of
> cells; with no data range overlap between categories.
IIUC, you are speaking about quantiles. I guess it shouldn't be too hard
to extend r.quantile to print the number of cells in each quantile.
> 2. Given a CELL type raster MAP containing category IDs and any
> number of additional raster maps B,C,.., count the number of cells
> from B,C,.. for each category in A and report per-category statistics.
> If B,C,.. are CELL type maps, then statistics need to include the set
> of cell values for each category in A; if they are DCELL, then
> range, avg, etc. are needed.
Doesn't r.statistics do just that ?
Moritz
More information about the grass-user
mailing list