Boost logo

Geometry :

Subject: Re: [geometry] Spikes and area
From: Volker Schöch (vschoech_at_[hidden])
Date: 2014-04-10 10:23:21

> Of course, if your polygon is open (and it is, you noted that explicitly, as always ;-) ) it goes implicitly back to the starting point and it is a spike indeed, I realized that just after sending the mail.
> So yes, this spike is not detected. Because at the start of the detection the minimum size of a polygon is considered, and 2 is lower than that. Also for closed polygons it will not be detected. That can both be fixed. Can you create a ticket?

Sure, just one follow-up question: What will be the result of the fixed boost::geometry::remove_spikes( "MULTIPOLYGON(((4287 2160,5984 2160)))" )? Presumably "MULTIPOLYGON()"?

> B.T.W. I did not react on your last bug report, but it is noted and will be worked on, there are still some tickets open.

That's good to know, thank you very much!

Thanks again

Volker Schöch | vschoech_at_[hidden]
Senior Software Engineer
We are looking for C++ Developers:
think-cell Software GmbH | Chausseestr. 8/E | 10115 Berlin | Germany | phone +49 30 666473-10 | US phone +1 800 891 8091
Amtsgericht Berlin-Charlottenburg, HRB 85229 | European Union VAT Id DE813474306
Directors: Dr. Markus Hannebauer, Dr. Arno Schödl

Geometry list run by mateusz at