remove_spikes does not remove spike
- Dominant language
- C++
- Stars
- 517
- Forks
- 232
- PR merge metrics
- No merged PRs in 30d
Description
My "tc::geo::polygon" type is actually a multi-polygon, using a polygon type that is based on **int**, oriented **counter-clockwise** and **open** (not closed). I am using **boost 1.70.0**. Please consider the following example:
```C++
tc::geo::polygon polygon_;
boost::geometry::read_wkt("MULTIPOLYGON(((4287 2160,5984 2160,4287 2160)))", polygon_);
boost::geometry::remove_spikes(polygon_);
boost::geometry::is_empty(polygon_); // **** returns false! ****
```
As far as I can tell from our discussions, the correct result would be the empty multi-polygon. Here is the summary of my understanding of this issue:
http://lists.boost.org/geometry/2014/11/3237.php
See also:
https://svn.boost.org/trac10/ticket/9871
Contributor guide
Assessment
This issue has not been assessed yet.