Re: [GRASS-user] How to print a table with the values of a given raster layer aggregated by a second raster layer ?

2016-09-20 Thread Antonello Lobianco
Thanks all to have pointed me to the right pages. I solved with the r.univar command: r.univar -t map=forestArea zones=regionId separator=comma output=forestArea_by_region.csv Cheers, /Antonello On 19 September 2016 at 21:59, Markus Neteler wrote: > On Mon, Sep 19, 2016 at 6:41 PM, Antonell

Re: [GRASS-user] How to print a table with the values of a given raster layer aggregated by a second raster layer ?

2016-09-19 Thread Blumentrath, Stefan
] How to print a table with the values of a given raster layer aggregated by a second raster layer ? Let's say in grass I have a raster layer "regionId" and a raster layer "forestArea". In the regionId I have stored the ids of the regions, in the forestArea I stored the s

Re: [GRASS-user] How to print a table with the values of a given raster layer aggregated by a second raster layer ?

2016-09-19 Thread Markus Neteler
On Mon, Sep 19, 2016 at 6:41 PM, Antonello Lobianco wrote: > Let's say in grass I have a raster layer "regionId" and a raster layer > "forestArea". > > In the regionId I have stored the ids of the regions, in the forestArea I > stored the square km of forest within the pixel. > > How can I print a

[GRASS-user] How to print a table with the values of a given raster layer aggregated by a second raster layer ?

2016-09-19 Thread Antonello Lobianco
Let's say in grass I have a raster layer "regionId" and a raster layer "forestArea". In the regionId I have stored the ids of the regions, in the forestArea I stored the square km of forest within the pixel. How can I print a table summing up the forest area by region, that is the sum of the valu