<div dir="ltr"><div class="gmail-post-text">
<p>Let's say in grass I have a raster layer "regionId" and a raster layer "forestArea".</p><p>In the regionId I have stored the ids of the regions, in the forestArea I stored the square km of forest within the pixel.<br></p>
<p>How can I print a table summing up the forest area by region, that is the sum of the values of a layer aggregated ("group by") by a second layer ?</p><p><br></p><p>Cheers,</p><p> Antonello<br></p><p><br></p>
</div><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">Antonello Lobianco<br>AgroParisTech, Laboratoire d'Economie Forestière<br>14 Rue Girardet - 54000 Nancy, France<br>Tel: +33.383396865<br>Email: <a target="_blank" href="mailto:antonello.lobianco@nancy.inra.fr">antonello.lobianco@nancy.inra.fr</a><br><a target="_blank" href="http://antonello.lobianco.org/">http://antonello.lobianco.org</a></div></div>
</div>