Hi,
running v.rast.stats in GRASS 7 leads to a Python error:
GRASS 7.0.svn (spearfish60):~ > g.copy vect=fields,myfields --o
Copy vector <fie...@permanent> to current mapset as <myfields>
WARNING: Vector map <myfields> already exists and will be overwritten
GRASS 7.0.svn (spearfish60):~ > v.rast.stats myfields
raster=elevation.dem colprefix=dem
WARNING: Area without centroid (may be OK for island)
WARNING: Area without centroid (may be OK for island)
Traceback (most recent call last):
File
"/home/neteler/grass70/dist.x86_64-unknown-linux-gnu/scripts/v.rast.stats",
line 275, in <module>
main()
File
"/home/neteler/grass70/dist.x86_64-unknown-linux-gnu/scripts/v.rast.stats",
line 164, in main
table = f[1]
KeyError: 1
Not sure how to fix it,
Markus
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev