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

thepattonian at gmail.com thepattonian at gmail.com
Tue Mar 6 10:18:33 PST 2018


Vincent,

I’ll try your suggestion, thanks. Vector B is not a subset of vector A, but rather it contains all vertices of vector A.

--
Eric

> On Mar 6, 2018, at 1:26 PM, Vincent Bain <bain at toraval.fr> wrote:
> 
> 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
> _______________________________________________
> 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