[GRASS-user] Break lines in vector A at locations of points in vector B

Vincent Bain bain at toraval.fr
Tue Mar 6 09:26:00 PST 2018


Hello Eric,
did you try v.split on vector A, with the vertices argument set to 2?
(or maybe does vector B contain only a subset of A vertices)

Vincent.

Le mardi 06 mars 2018 à 16:50 +0000, Patton, Eric (NRCan/RNCan) a
écrit :
> Hi,
> 
> I have two vector maps, vector A is a line vector representing
> coastline, and vector B is vector points which are the vertices of
> vector A. Is there a way to split vector A into line segments using
> vector B as breakpoints? 
> 
> v.edit tool=break kind of does this, but seems to want coordinates
> given one at a time. I have hundreds of thousands of points, and this
> doesn't seem an efficient way of doing it. 
> 
> Thanks,
> 
> ~ Eric. 
> 
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user


More information about the grass-user mailing list