Boost logo

Geometry :

Subject: Re: [geometry] Linestring buffer
From: Barend Gehrels (barend_at_[hidden])
Date: 2012-07-19 12:16:13


Op 19 jul. 2012 om 17:43 heeft aimes00 <aimes00_at_[hidden]> het volgende geschreven:

> I've been testing the algorithm for linestrings and it seems to work ok.
> I've test around 12000 geometries and I've only got 197 errors. It could
> seem a bad result but it is less than the 2% of the tests.
> Errors occur when, I don't know why, the algorithm return an empty list.
> My test are based in geographic coordinates (over carthesian-based
> geometries) and I'm trying to make a buffer of 0.000018 in both sides
> (around 2 meters). The lines don't have any strange thing, so I don't have
> any clue about the failure. I will try to attach the document which contains
> the lines that make it fail. Maybe you'll find the issue quicker than me.
> BufferProblems.txt
> The other 11800 tests looks perfect. Good job.

Ok, thanks a lot for this test. Did not do bulktest myself yet so this is very useful. I will have a quick look soon to see what is causing this.

Regards, Barend

Sent from iPad.
Barend Gehrels


Geometry list run by mateusz at