|
@@ -10,8 +10,12 @@ the MAPSET database settings (see <em>db.connect</em>).
|
|
<em>v.db.addtable</em> is a front-end to <em>db.execute</em> to allow easier
|
|
<em>v.db.addtable</em> is a front-end to <em>db.execute</em> to allow easier
|
|
usage.
|
|
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
|
|
The supported types of columns depend on the database backend. However, all
|
|
backends should support VARCHAR, INT, DOUBLE PRECISION and DATE. The default
|
|
backends should support VARCHAR, INT, DOUBLE PRECISION and DATE. The default
|