[gdal-dev] gdal python script to calculate categories statistic

Giuseppe Amatulli giuseppe.amatulli at gmail.com
Tue Apr 17 15:48:02 EDT 2012


Hi,
I'm new in python and i would like to start in the hard way by modify
an already existing script.

In particular, I'm searching for a python script that is computing
statistic of a raster base on another existing category raster.
Something similar to r.statistics in grass.
The out put has to be a raster with the statistical value of each
categorise and also the summarized text file.

Probably the most easy one is to modify is the gdal_calc.py but i'm
open to other suggestions.
Thanks in advance

-- 
Giuseppe Amatulli
Web: www.spatial-ecology.net


More information about the gdal-dev mailing list