Add point to vector map at given position

From GRASS-Wiki
Revision as of 10:34, 24 September 2011 by ⚠️Landa (talk | contribs)
Jump to navigation Jump to search

Q: How to add a new point to the vector map at given position?

A:

CLI

Add new point to the vector map:

v.edit -n map=<map> tool=add input=- << EOF \
P 1 1 \
100 100 \
1 1 \
EOF

Insert new record to the attribute table of the vector map:

echo "insert into <map> values(1, ...)" | db.execute input=-
wxGUI


Add point to vector map at given position using wxGUI