[GRASS-user] v.segment performance

Eric Patton eric.r.patton at protonmail.com
Tue Aug 6 15:52:27 PDT 2019


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.giswork at gmail.com> wrote:

> Hi Eric,
>
> On Tue, Aug 6, 2019 at 8:23 PM Eric Patton <eric.r.patton at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20190806/0c939535/attachment.html>


More information about the grass-user mailing list