[GRASS-user] generating lines from points

Martin Landa landa.martin at gmail.com
Sun Jan 18 12:08:31 EST 2009


Hi,

2009/1/18 Martin Landa <landa.martin at gmail.com>:

[...]

> The more lines you need to generate the longer list of categories will
> be, not possible to give the list as the parameter. Then v.edit could
> read categories from stdin, simillary to v.net.path. Hm, what about
> v.net? New tool to generate network from points?
>
> v.net input=points output=net operation=lines line_file=- << EOF
> 1 1 2
> 2 2 3
> EOF
>
> creates edges between points 1-2 and 2-3 with category 1 and 2?

better

v.net points=points output=net operation=net file=- << EOF
1 1 2
2 2 3
EOF

What do you think about that?

M.

-- 
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *


More information about the grass-user mailing list