[GRASS-user] Adding a point vector
Martin Landa
landa.martin at gmail.com
Fri Sep 23 15:19:06 EDT 2011
Hi,
2011/9/23 Kurt Springs <ferret_bard at mac.com>:
> v.edit --verbose map=wedge_tomb at PERMANENT type=point tool=add
> coords=170402,374124
> I would like to have said that I've tried it, but it's still going. Any
it will not work, `tool=add` requires input in GRASS ASCII format [1].
In this case if you don't define option `input` it reads stdin. It can
be confusing for the user. The correct usage is
v.edit -n map=<map> tool=add << EOF
> P 1 1
> 170402 374124
> 1 1
> EOF
or
v.edit -n map=<map> tool=add input=<file>
In this case add new point with category 1 (layer 1) is added.
Martin
[1] http://grass.osgeo.org/grass70/manuals/html70_user/v.in.ascii.html
-> NOTES
--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
More information about the grass-user
mailing list