[GRASS-dev] v.rast.stats Python error
Martin Landa
landa.martin at gmail.com
Fri Jul 10 09:50:17 EDT 2009
Hi,
2009/7/10 Markus Neteler <neteler at osgeo.org>:
[...]
> 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
some time ago grass.vector_db() has been changed to return dictionary
instead of tuple of values. Fixed in r38349.
Martin
--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
More information about the grass-dev
mailing list