[GRASS-user] Calculate statistics for raster values in polygons

Micha Silver micha at arava.co.il
Fri Apr 23 06:34:18 EDT 2010


A. Marcia BARBOSA wrote:

> True. But actually it would be quite useful if v.rast.stats would give
> us an option to select the statistics we wanted. Sometimes we really
> just want the mean, or the mean and range, and if the raster is very
> large the process can take a long time to give us unnecessay stats. Is
> this possible?
>
>   
Good idea. Perhaps bring the suggestion to the developers.  (or 
contribute yourself...)
Regards,
Micha
> Cheers,
>
>
>   
>> Yes. Although I think the original post was asking to get the raster values
>> into an existing vector. IIUC r.statistics would require converting the
>> vector to a raster, then back to a vector. Or am I missing something?
>>     
>
>
>   


-- 
Micha Silver
Arava Development Co. +972-52-3665918
http://surfaces.co.il




More information about the grass-user mailing list