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

2018-03-06 Thread thepattonian
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  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 +, 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@lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/grass-user
> ___
> grass-user mailing list
> grass-user@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

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

2018-03-06 Thread Vincent Bain
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 +, 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@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

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

2018-03-06 Thread Patton, Eric (NRCan/RNCan)
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@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user