Vector add multiple vertices

From GRASS-Wiki
Revision as of 20: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 Jump to 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