I was trying with nested loops and it seems not to be working. Now I tried
again (more carefully i have to say) and it worked! Thanks to everybody!
Il giorno mer 31 ott 2018 alle ore 21:55 Micha Silver
ha scritto:
>
> On 10/31/18 11:59 AM, Alessandro Sebastiani wrote:
> > Dear all, i was able to
On 10/31/18 11:59 AM, Alessandro Sebastiani wrote:
Dear all, i was able to compute zonal statistics for multiple areas
using this script. I used
> import grass.script as gscript
> v_list = gscript.read_command("g.list" , type =
"vect").strip().split("\n")
# i have 5 vectors in my list
> metho
Dear all, i was able to compute zonal statistics for multiple areas using
this script. I used
> import grass.script as gscript
> v_list = gscript.read_command("g.list" , type =
"vect").strip().split("\n")
# i have 5 vectors in my list
> method = ("sum" , "average")
> for v in v_list:
>gscript.
Thanks a lot for your help!
Il giorno mar 30 ott 2018 alle ore 11:49 Nikos Alexandris <
n...@nikosalexandris.net> ha scritto:
> * Alessandro Sebastiani [2018-10-29
> 21:32:51 +0100]:
>
> >thank you all for your suggestions.
> >Dear Nikos, I have some 0-1 rasters that represents presence-absence
* Alessandro Sebastiani [2018-10-29
21:32:51 +0100]:
thank you all for your suggestions.
Dear Nikos, I have some 0-1 rasters that represents presence-absence of
different land covers. Each raster's resolution is 10x10m, thus i want to
compute the sum in order to obtain the surface covered by e
Resending, as I forgot to Cc the list.
* Alessandro Sebastiani [2018-10-29
16:05:54 +0100]:
Hello to everybody,o
Hello Alessandro,
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 co
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/wi
On Behalf Of Alessandro Sebastiani
Sent: mandag 29. oktober 2018 16:06
To: grass-user@lists.osgeo.org
Subject: [GRASS-user] zonal statistics for multiple
areas
Hello to everybody,
I hope my question is a
. oktober 2018 16:06
To: grass-user@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
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 c
10 matches
Mail list logo