On 17/05/13 13:08, Nikos Alexandris wrote:
Nikos wrote:
..
# get stats for cats in layer 2, that is for all different cats!
v.rast.stats -c vector=polygons_tmp raster=RandomRaster column_prefix=rr2
layer=2

#...unfortunately, this last step in uploading stats in to layer 2, fails
in G7 :-(

..

Moritz wrote:
v.db.addcolumn seems to lack the layer option here:

https://trac.osgeo.org/grass/browser/grass/trunk/scripts/v.rast.stats/v.rast
.stats.py#L194

Try to add it in the script and see if that makes it work.

Indeed.  Milles Mercis, N

ps- Care for a diff? Or already changed?

I just committed a fix. Please test to see if it works.

Moritz
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to