[GRASS-user] v.dissolve for lines?

Micha Silver micha at arava.co.il
Tue Oct 19 18:26:22 EDT 2010


On 10/19/2010 11:17 PM, Bryan Keith wrote:
> Hello,
>
> I have a vector line file that has lots of two-vertex lines.  Many of
> these two-vertex lines share endpoints and really just make parts of one
> longer line.  I'd like to dissolve these lines into one line when they
> have the same end point.  It looks like v.dissolve only works for areas.
> Is there somewhere else I should be looking?  Thank you.
>
>    
Did you have a look at v.build.polylines ?
Additional note: line vectors have a direction. Two line segments with 
an equivalent node (end point) will *not* connect if they are in 
opposite directions. In this case you can try the v.edit tool=flip 
option (on those segments only)

> Bryan
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
> This mail was received via Mail-SeCure System.
>
>
>    


-- 
Micha Silver
Arava Development Co. +972-52-3665918
http://www.surfaces.co.il




More information about the grass-user mailing list