File "/usr/local/grass-7.3.svn/scripts/v.rast.stats", line 292, in <module>
main()
File "/usr/local/grass-7.3.svn/scripts/v.rast.stats", line 147, in main
fi = grass.vector_db(map=vector)[int(layer)]
ValueError: invalid literal for int() with base 10: 'cat'
From the manual:
---------------------------
layer=string
Layer number or name
Vector features can have category values in different layers. This number determines which layer to use. When used with direct OGR access this is the layer name.
Default: 1
File "/usr/local/grass-7.3.svn/scripts/v.rast.stats", line 292, in <module>
main()
File "/usr/local/grass-7.3.svn/scripts/v.rast.stats", line 147, in main
fi = grass.vector_db(map=vector)[int(layer)]
ValueError: invalid literal for int() with base 10: 'cat'
From the manual:
---------------------------
layer=string
Layer number or name
Vector features can have category values in different layers. This number
determines which layer to use. When used with direct OGR access this is the
layer name.
Default: 1