Thanks for the tip, Markus, that worked. It took about a minute to process 670K 
lines!

Cheers,

~ Eric.

On Tue, Aug 6, 2019 at 5:45 PM, Markus Metz <markus.metz.gisw...@gmail.com> 
wrote:

> Hi Eric,
>
> On Tue, Aug 6, 2019 at 8:23 PM Eric Patton <eric.r.pat...@protonmail.com> 
> wrote:
>>
>>  I have a massive Delaunay polygon tessellation that I converted to lines 
>> with v.type. I then stripped this vector of centroids using v.edit 
>> tool=delete type=centroids, and added categories to the line segments with 
>> v.category option=add. So far so good, this leaves me with about 670,000 
>> vector line segments.
>>
>
>> I want to find the midpoint of each of these line segments and create a new 
>> Delaunay tessellation using the line segment midpoints as the vertices in 
>> the new tessellation.
>
> The addon v.centerpoint [1] should be much faster than v.segment to get line 
> midpoints.
>
> Markus M
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to