[GRASS-SVN] r34786 - grass/branches/develbranch_6/scripts/v.db.addtable

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Dec 7 14:39:58 EST 2008


Author: martinl
Date: 2008-12-07 14:39:58 -0500 (Sun, 07 Dec 2008)
New Revision: 34786

Modified:
   grass/branches/develbranch_6/scripts/v.db.addtable/v.db.addtable
Log:
v.db.addtable: add missing 'qlayer' parameter (v.to.db)

Modified: grass/branches/develbranch_6/scripts/v.db.addtable/v.db.addtable
===================================================================
--- grass/branches/develbranch_6/scripts/v.db.addtable/v.db.addtable	2008-12-07 12:06:06 UTC (rev 34785)
+++ grass/branches/develbranch_6/scripts/v.db.addtable/v.db.addtable	2008-12-07 19:39:58 UTC (rev 34786)
@@ -182,7 +182,7 @@
 
 # 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):
-v.to.db "$GIS_OPT_MAP" layer="$GIS_OPT_LAYER" option=cat col=cat
+v.to.db "$GIS_OPT_MAP" layer="$GIS_OPT_LAYER" option=cat col=cat qlayer="$GIS_OPT_LAYER"
 
 if [ -z "$GRASS_VERBOSE" ] || [ "$GRASS_VERBOSE" -gt 0 ] ; then
    g.message "Current attribute table links:"



More information about the grass-commit mailing list