Vector add multiple vertices

From GRASS-Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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