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

Markus Neteler neteler at osgeo.org
Fri Oct 23 08:19:53 PDT 2015


On Oct 23, 2015 4:31 PM, "Gra" <graziaz at gmail.com> 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 python api likes that.

Markus

> ="AVG_mainroads", method="average")
>
> apparently it doens't like my syntax
>
> ideas?
>
> thanks
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20151023/9e90fb53/attachment.html>


More information about the grass-user mailing list