[GRASS-SVN] r56039 - grass/trunk/scripts/v.db.update

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Apr 30 00:50:15 PDT 2013


Author: mlennert
Date: 2013-04-30 00:50:14 -0700 (Tue, 30 Apr 2013)
New Revision: 56039

Modified:
   grass/trunk/scripts/v.db.update/v.db.update.html
   grass/trunk/scripts/v.db.update/v.db.update.py
Log:
clarify difference between value and qcol options


Modified: grass/trunk/scripts/v.db.update/v.db.update.html
===================================================================
--- grass/trunk/scripts/v.db.update/v.db.update.html	2013-04-30 06:58:01 UTC (rev 56038)
+++ grass/trunk/scripts/v.db.update/v.db.update.html	2013-04-30 07:50:14 UTC (rev 56039)
@@ -1,8 +1,8 @@
 <h2>DESCRIPTION</h2>
 
 <em>v.db.update</em> assigns a new value to a column in the
-attribute table connected to a given map. Alternatively, values can be
-copied from another column in the table.
+attribute table connected to a given map. The <em>value</em> parameter allows updating with a literal value. Alternatively, with the <em>qcol</em> parameter values can be
+copied from another column in the table or be the result of a combination or transformation of other columns.
 
 
 <h2>NOTES</h2>

Modified: grass/trunk/scripts/v.db.update/v.db.update.py
===================================================================
--- grass/trunk/scripts/v.db.update/v.db.update.py	2013-04-30 06:58:01 UTC (rev 56038)
+++ grass/trunk/scripts/v.db.update/v.db.update.py	2013-04-30 07:50:14 UTC (rev 56039)
@@ -33,12 +33,12 @@
 #%option
 #% key: value
 #% type: string
-#% description: Value to update the column with, can be (combination of) other column(s)
+#% description: Literal value to update the column with
 #% required: no
 #%end
 #%option G_OPT_DB_COLUMN
 #% key: qcolumn
-#% description: Name of attribute column to query
+#% description: Name of other attribute column to query, can be combination of columns (e.g. co1+col2)
 #%end
 #%option G_OPT_DB_WHERE
 #%end



More information about the grass-commit mailing list