[GRASS-SVN] r34543 - grass/trunk/scripts/v.db.addtable
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Nov 27 14:09:15 EST 2008
Author: epatton
Date: 2008-11-27 14:09:15 -0500 (Thu, 27 Nov 2008)
New Revision: 34543
Modified:
grass/trunk/scripts/v.db.addtable/v.db.addtable.html
Log:
Applied doc patch from Moritz
Modified: grass/trunk/scripts/v.db.addtable/v.db.addtable.html
===================================================================
--- grass/trunk/scripts/v.db.addtable/v.db.addtable.html 2008-11-27 18:51:44 UTC (rev 34542)
+++ grass/trunk/scripts/v.db.addtable/v.db.addtable.html 2008-11-27 19:09:15 UTC (rev 34543)
@@ -10,8 +10,12 @@
<em>v.db.addtable</em> is a front-end to <em>db.execute</em> to allow easier
usage.
-v.db.addtable does not automatically add new categories to the newly-created table;
-to do this, the user must add them manually by using <em>v.category</em>.
+v.db.addtable will only insert category values into the table for those features
+which actually have a category value in the relevant layer. The use can add
+category values automatically by using <em>v.category</em> or manually with
+<em>v.digit</em> before running v.db.addtable. Or one can run v.db.addtable first
+and then use either a combinatino of <em>v.category</em> + <em>v.to.db</em> or
+<em>v.digit</em> to add the relevant lines to the table.
The supported types of columns depend on the database backend. However, all
backends should support VARCHAR, INT, DOUBLE PRECISION and DATE. The default
More information about the grass-commit
mailing list