[GRASS-SVN] r34787 - grass/trunk/scripts/v.db.addtable
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Dec 7 14:41:20 EST 2008
Author: martinl
Date: 2008-12-07 14:41:20 -0500 (Sun, 07 Dec 2008)
New Revision: 34787
Modified:
grass/trunk/scripts/v.db.addtable/v.db.addtable.py
Log:
v.db.addtable: add missing 'qlayer' parameter (v.to.db)
Modified: grass/trunk/scripts/v.db.addtable/v.db.addtable.py
===================================================================
--- grass/trunk/scripts/v.db.addtable/v.db.addtable.py 2008-12-07 19:39:58 UTC (rev 34786)
+++ grass/trunk/scripts/v.db.addtable/v.db.addtable.py 2008-12-07 19:41:20 UTC (rev 34787)
@@ -138,7 +138,8 @@
# finally we have to add cats into the attribute DB to make modules such as v.what.rast happy:
# (creates new row for each vector line):
- grass.run_command('v.to.db', map = map, layer = layer, option = 'cat', col = 'cat')
+ grass.run_command('v.to.db', map = map, layer = layer,
+ option = 'cat', column = 'cat', qlayer = layer)
if grass.verbosity() > 0:
grass.message("Current attribute table links:")
More information about the grass-commit
mailing list