[GRASS-user] How to link or combine adjacent vector lines

Hamish hamish_b at yahoo.com
Sun Feb 12 13:56:55 EST 2012

Stefan wrote:
> Thanks for the  detailed answer, but, my problem is much more trivial.
> I attached a screenshot to make myself more clear.
> /* The numbers refer to the categories of each line segment */
> the tributary with cat 69 is fine, but the man channel consists of
> multiple lines, and, in fact, a lot of tributaries look similar.
> The task would be, to tell GRASS, to combine all lines of the main
> channel, for this example.

ok. do they overlap or join end-to-end?

if they join, try Markus M's suggestion of v.build.polylines.
if they overlap, try 'v.clean tool=rmdupl'


More information about the grass-user mailing list