[GRASS-user] Re: raster stats within vector

Milton Cezar Ribeiro miltinho.astronauta at gmail.com
Sun Jul 17 07:10:34 EDT 2011


Hi Paulo,

Thanks a lot.

cheers

milton

2011/7/17 Paulo van Breugel <p.vanbreugel at gmail.com>

> **
> v.rast.stats (menu: Vector-Update area attribute from raster) will
> calculate n, min, max, range, mean, stddev, variance, coeff_var, sum and
> optionally the 1st quartile, median, 3rd quartile, and given percentile.
> Columns will be created on the fly, you only have to give the 'base name' of
> the columns. I.e., no need to create a column yourself.
>
>
>
> On 07/16/2011 10:14 PM, Milton Cezar Ribeiro wrote:
>
> BTW,
>
> my vector maps have polygons.
>
> milton
>
> 2011/7/16 Milton Cezar Ribeiro <miltinho.astronauta at gmail.com>
>
>> Dear all,
>>
>> I have a raster map with continuous values, and need to extract some stats
>> (like mean, std etc) assigning these "zonal" values as a vector column.
>> I just added the empty columns on the my vector map using :
>>       v.db.addcol map=frag_ts columns="FLOW_STD DOUBLE PRECISION"
>>
>> How can I do this on grass?
>>
>> cheers
>>
>> milton
>>
>
>
> _______________________________________________
> grass-user mailing listgrass-user at lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/grass-user
>
>
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20110717/61b4adc4/attachment.html


More information about the grass-user mailing list