[GRASS-user] Re: improve v.rast.stats speed?

Markus Metz markus.metz.giswork at googlemail.com
Fri Feb 20 02:30:55 EST 2009



Hamish wrote:
>
> Markus Metz:
>   
>> r.univar2.zonal does zonal statistics 
>>     
>
> pssst- "svn copy" not "svn add". It works between -addons and trunk.
>
>   
Done, hopefully now the right way. Segfault fixed, only 2D zoning, no 3D 
zoning. Zone number and category label if present are printed before the 
stats are printed. -g and -e flags supported as before. Output can be 
written to a file for easier digesting.

Maybe someone has use for it. It's good to get stats e.g. per land-cover 
type, or also to do a manual v.rast.stats alternative.

Written against develbranch_6, so it should work with 6.4 and 6.5.

svn co https://svn.osgeo.org/grass/grass-addons/raster/r.univar2.zonal 
r.univar2.zonal

in a hurry,

Markus M



More information about the grass-user mailing list