[GRASS-user] syntax for grass.run_command("v.rast.stat")

Moritz Lennert mlennert at club.worldonline.be
Fri Oct 23 08:03:20 PDT 2015


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 ?

Moritz


More information about the grass-user mailing list