[GRASS-SVN] r49689 - grass/branches/develbranch_6/vector/v.edit
    svn_grass at osgeo.org 
    svn_grass at osgeo.org
       
    Mon Dec 12 11:41:08 EST 2011
    
    
  
Author: neteler
Date: 2011-12-12 08:41:07 -0800 (Mon, 12 Dec 2011)
New Revision: 49689
Modified:
   grass/branches/develbranch_6/vector/v.edit/description.html
Log:
update also attrib table (example)
Modified: grass/branches/develbranch_6/vector/v.edit/description.html
===================================================================
--- grass/branches/develbranch_6/vector/v.edit/description.html	2011-12-12 16:41:01 UTC (rev 49688)
+++ grass/branches/develbranch_6/vector/v.edit/description.html	2011-12-12 16:41:07 UTC (rev 49689)
@@ -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