[GRASS-SVN] r49690 - grass/trunk/vector/v.edit

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Dec 12 11:42:07 EST 2011


Author: neteler
Date: 2011-12-12 08:42:07 -0800 (Mon, 12 Dec 2011)
New Revision: 49690

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

Modified: grass/trunk/vector/v.edit/v.edit.html
===================================================================
--- grass/trunk/vector/v.edit/v.edit.html	2011-12-12 16:41:07 UTC (rev 49689)
+++ grass/trunk/vector/v.edit/v.edit.html	2011-12-12 16:42:07 UTC (rev 49690)
@@ -183,6 +183,9 @@
 echo "P 1 1
  640794 214874
  1 1" | v.edit -n tool=add map=vectmap input=-
+
+# insert new row for each category in attribute table if doesn't exist yet
+v.to.db map=vectmap option=cat
 </pre></div>
 
 The input must be in <a href="vectorascii.html">GRASS ASCII vector



More information about the grass-commit mailing list