[GRASS-user] v.segment performance

Eric Patton eric.r.patton at protonmail.com
Tue Aug 6 11:23:17 PDT 2019


Hi,

 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. I have prepared a rules file to feed into v.segment to do this, using the 50% distance offset.

I ran v.segment with the verbose flag and the only output I received after 90 minutes is ‘Using native format’ ;  I’m not sure if the process is going to run forever, or if I just need to be more patient, or if I am trying to process too many points for this tool -  this is my first time ever using this module, so I don’t know what to expect. Does anyone have any experience using large vectors with v.segment?

I thought the program might give some more output as to what’s happening. htop shows The program is using one core out of eight at 100% so I suppose it’s working normally.

Thanks for any hints,

~ Eric.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20190806/900f25d4/attachment.html>


More information about the grass-user mailing list