[GRASS-user] Merge parallel roads

Hamish hamish_b at yahoo.com
Wed Jun 12 13:45:39 PDT 2013


Hendrik wrote:
> BTW, is there a way to connect the end points of two lines
> that are close together, but not any of the vertices along the
> lines? So something like v.clean tool=snap, but only for the end
> points?

I wonder if you could do v.to.db to extract the line-end node
positions, then run v.distance with a carefully set threshold to
make lines between them, then v.patch it all back together.
You'd probably want to run v.build.polylines both before and after.
?


Hamish


More information about the grass-user mailing list