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

Anna Petrášová kratochanna at gmail.com
Fri Oct 23 10:07:01 PDT 2015


On Fri, Oct 23, 2015 at 10:31 AM, Gra <graziaz at gmail.com> 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', raster=
> "r_main_roads_dist" + suffix, colprefix="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/3d65137e/attachment.html>


More information about the grass-user mailing list