[GRASS-SVN] r49688 - grass/branches/releasebranch_6_4/vector/v.edit

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Dec 12 11:41:01 EST 2011


Author: neteler
Date: 2011-12-12 08:41:01 -0800 (Mon, 12 Dec 2011)
New Revision: 49688

Modified:
   grass/branches/releasebranch_6_4/vector/v.edit/description.html
Log:
update also attrib table (example)

Modified: grass/branches/releasebranch_6_4/vector/v.edit/description.html
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.edit/description.html	2011-12-12 16:27:19 UTC (rev 49687)
+++ grass/branches/releasebranch_6_4/vector/v.edit/description.html	2011-12-12 16:41:01 UTC (rev 49688)
@@ -186,6 +186,9 @@
 echo "P 1 1
  640794 214874
  1 1" | v.edit -n tool=add map=vectmap
+
+# insert new row for each category in attribute table if doesn't exist yet
+v.to.db map=vectmap option=cat
 </pre></div>
 
 Add new features read from standard input:



More information about the grass-commit mailing list