Vector add multiple vertices

From GRASS-Wiki
Revision as of 13:25, 19 June 2012 by Jdmonto0 (talk | contribs) (Created page with "'''Q:''' How to add multiple vertices to a line? coords_add=`v.out.ascii points_to_add |cut -d "|" -f1,2 | tr "|" ","` for i in $coords_add ; do v.edit line_map...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Q: How to add multiple vertices to a line?

 coords_add=`v.out.ascii points_to_add |cut -d "|" -f1,2 | tr "|" ","`
 
 for i in $coords_add ; do
     v.edit line_map tool=vertexadd coor=$i
 done