Vector add multiple vertices

From GRASS-Wiki
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