Thanks for your answer,
I had already thought of a solution of this type,
but I'm looking for a cleaner and smarter solution,
any hints?!
Leonardo
On 24/02/2017 15:25, Gra wrote:
hi
I had a similar problem
I looped over the polygons (with a script)
Grazia
2017-02-24 11:48 GMT+01:00 Leonardo <[email protected]
<mailto:[email protected]>>:
Hi all,
I'm struggling to do Zonal Raster Statistics using v.rast.stats in
GRASS GIS.
This tool works neatly and fast, but seems it doesn't deal with
overlapping polygons.
I'm using a polygon vector layer with overlapped polygons, I know,
is not
topologically correct, but those polygons does't describe physical
feature but
just some figurative mask for the statistics, therefore should
exist overlapping
and I want the statisics calculated over the whole polygons.
Using v.rast.stats with this vector layer the statistics seem to
be calculated
only over the non overlapping part of the feature, I've also tried
to import
the vector layer (originally was a shapefile) without build the
topology,
but the results seem the same.
I've test also the QGIS ZonalStats plugin, and it works exactly
how I want,
the statistics for each polygon are calculate for the whole
polygon, is there a method
to do the same in GRASS GIS?
Have someone some hint, possibly smarter and faster than looping
ever each feature
and then join each table?
Thanks in advance,
Leonardo
_______________________________________________
grass-user mailing list
[email protected] <mailto:[email protected]>
https://lists.osgeo.org/mailman/listinfo/grass-user
<https://lists.osgeo.org/mailman/listinfo/grass-user>
_______________________________________________
grass-user mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-user