A
Sorry
I forgot the 's'
Sorry thanks
Inviato da iPhone
> Il giorno 24/ott/2015, alle ore 10:53, Helmut Kudrnovsky ha
> scritto:
>
> Grazia Zulian wrote
>> Hi Anna
>> It should add a new field to a vector with a statistic derived from a
>> raster.
>> It works manually. Not in the pytho scr
Grazia Zulian wrote
> Hi Anna
> It should add a new field to a vector with a statistic derived from a
> raster.
> It works manually. Not in the pytho scrip. Is the syntax correct?
>
> Inviato da iPhone
>
>> Il giorno 23/ott/2015, alle ore 19:07, Anna Petrášová <
> kratochanna@
> > ha scritto:
Hi Anna
It should add a new field to a vector with a statistic derived from a raster.
It works manually. Not in the pytho scrip. Is the syntax correct?
Inviato da iPhone
> Il giorno 23/ott/2015, alle ore 19:07, Anna Petrášová
> ha scritto:
>
>
>
>> On Fri, Oct 23, 2015 at 10:31 AM, Gra wro
On Fri, Oct 23, 2015 at 10:31 AM, Gra wrote:
> I'm using
>
> v.rast.stat in a python code
>
> it's v.rast.stats and use map instead of vector, please see manual page:
https://grass.osgeo.org/grass70/manuals/v.rast.stats.html
>
>
> grass.run_command("v.rast.stat", vector = vect+"_"+suffix +'_300'
On Oct 23, 2015 4:31 PM, "Gra" wrote:
>
> I'm using
>
> v.rast.stat in a python code
>
>
>
> grass.run_command("v.rast.stat", vector = vect+"_"+suffix +'_300',
raster= "r_main_roads_dist" + suffix, colprefix
I'm on mobile and cannot check but colprefix seems to be an abbreviation.
Not sure if the
On 23/10/15 16:31, Gra wrote:
I'm using
v.rast.stat in a python code
grass.run_command("v.rast.stat", vector = vect+"_"+suffix +'_300',
raster= "r_main_roads_dist" + suffix, colprefix="AVG_mainroads",
method="average")
apparently it doens't like my syntax
Do you get an error message ?
Mor
I'm using
v.rast.stat in a python code
grass.run_command("v.rast.stat", vector = vect+"_"+suffix +'_300', raster=
"r_main_roads_dist" + suffix, colprefix="AVG_mainroads", method="average")
apparently it doens't like my syntax
ideas?
thanks
___
gras