<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Thanks for your answer,<br>
    I had already thought of a solution of this type,<br>
    but I'm looking for a cleaner and smarter solution,<br>
    any hints?!<br>
    <br>
    Leonardo<br>
    <br>
    <div class="moz-cite-prefix">On 24/02/2017 15:25, Gra wrote:<br>
    </div>
    <blockquote
cite="mid:CALHBsoFktJ=Ebs7i_OAGg-G5qceEuPV4tc9DJr-zwEFEz4B9yg@mail.gmail.com"
      type="cite">
      <div dir="ltr">hi
        <div>I had a similar problem</div>
        <div>I looped over the polygons (with a script)</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Grazia</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2017-02-24 11:48 GMT+01:00 Leonardo <span
            dir="ltr"><<a moz-do-not-send="true"
              href="mailto:leonardo@mobygis.com" target="_blank">leonardo@mobygis.com</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
            <br>
            I'm struggling to do Zonal Raster Statistics using
            v.rast.stats in GRASS GIS.<br>
            This tool works neatly and fast, but seems it doesn't deal
            with overlapping polygons.<br>
            <br>
            I'm using a polygon vector layer with overlapped polygons, I
            know, is not<br>
            topologically correct, but those polygons does't describe
            physical feature but<br>
            just some figurative mask for the statistics, therefore
            should exist overlapping<br>
            and I want the statisics calculated over the whole polygons.<br>
            <br>
            Using v.rast.stats with this vector layer the statistics
            seem to be calculated<br>
            only over the non overlapping part of the feature, I've also
            tried to import<br>
            the vector layer (originally was a shapefile) without build
            the topology,<br>
            but the results seem the same.<br>
            <br>
            I've test also the QGIS ZonalStats plugin, and it works
            exactly how I want,<br>
            the statistics for each polygon are calculate for the whole
            polygon, is there a method<br>
            to do the same in GRASS GIS?<br>
            <br>
            Have someone some hint, possibly smarter and faster than
            looping ever each feature<br>
            and then join each table?<br>
            <br>
            Thanks in advance,<br>
            Leonardo<br>
            ______________________________<wbr>_________________<br>
            grass-user mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
            <a moz-do-not-send="true"
              href="https://lists.osgeo.org/mailman/listinfo/grass-user"
              rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/grass-user</a></blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>