[GRASS-user] zonal statistics for multiple areas
Stefan Blumentrath
Stefan.Blumentrath at nina.no
Mon Oct 29 12:54:05 PDT 2018
Hi Alessandro,
You could try v.rast.bufferstats [1], if you do not have hundrets of thousands of points….
If the buffers don`t overlap, you could use v.rast.stats [2] from the upcoming GRASS 7.6 release, that will allow multiple raster input…
Otherwise have a look at the general introduction to GRASS and Python [3].
Cheers
Stefan
1: https://grass.osgeo.org/grass74/manuals/addons/v.rast.bufferstats.html
2: https://grass.osgeo.org/grass76/manuals/v.rast.stats.html
3: https://grasswiki.osgeo.org/wiki/GRASS_and_Python
From: grass-user <grass-user-bounces at lists.osgeo.org> On Behalf Of Alessandro Sebastiani
Sent: mandag 29. oktober 2018 16:06
To: grass-user at lists.osgeo.org
Subject: [GRASS-user] zonal statistics for multiple areas
Hello to everybody,
I hope my question is appropriate for this mail list. I have created 5 different buffer layers (d=100,200,300,400,500 m) from a point vector. Now i want to compute some zonal statistics using different rasters as input. I know how to do that separately, but i was wondering how could i automate this procedure using a python script. I know python's basics, but i was not able to do so following guidelines that i found on the internet, e.g GRASS tutorial. Thank you in advance, A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20181029/863d5ad3/attachment.html>
More information about the grass-user
mailing list