Boost C++ Libraries: Ticket #9871: remove_spikes does not remove spike
https://svn.boost.org/trac10/ticket/9871
<p>
The following call...
</p>
<pre class="wiki">boost::geometry::remove_spikes( "MULTIPOLYGON(((4287 2160,5984 2160)))" )
</pre><p>
...does not modify the input at all. Given that my polygons are oriented counter-clockwise, <strong>open</strong> and based on int, this is a valid multi-polygon that consists of only a spike, which should be removed.
</p>
<p>
Please refer to discussion at <a class="ext-link" href="http://lists.boost.org/geometry/2014/04/2858.php"><span class="icon"></span>http://lists.boost.org/geometry/2014/04/2858.php</a>
</p>
en-usBoost C++ Libraries/htdocs/site/boost.png
https://svn.boost.org/trac10/ticket/9871
Trac 1.4.3Barend GehrelsMon, 21 Apr 2014 17:37:15 GMTstatus changed
https://svn.boost.org/trac10/ticket/9871#comment:1
https://svn.boost.org/trac10/ticket/9871#comment:1
<ul>
<li><strong>status</strong>
<span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span>
</li>
</ul>
TicketBarend GehrelsMon, 21 Apr 2014 17:47:13 GMTstatus, milestone changed; resolution set
https://svn.boost.org/trac10/ticket/9871#comment:2
https://svn.boost.org/trac10/ticket/9871#comment:2
<ul>
<li><strong>status</strong>
<span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span>
</li>
<li><strong>resolution</strong>
→ <span class="trac-field-new">fixed</span>
</li>
<li><strong>milestone</strong>
<span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.56.0</span>
</li>
</ul>
TicketVolker Schöch <vschoech@…>Wed, 19 Nov 2014 09:03:12 GMTstatus, version changed; resolution deleted
https://svn.boost.org/trac10/ticket/9871#comment:3
https://svn.boost.org/trac10/ticket/9871#comment:3
<ul>
<li><strong>status</strong>
<span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span>
</li>
<li><strong>version</strong>
<span class="trac-field-old">Boost 1.55.0</span> → <span class="trac-field-new">Boost 1.57.0</span>
</li>
<li><strong>resolution</strong>
<span class="trac-field-deleted">fixed</span>
</li>
</ul>
<p>
I cannot confirm the fix for 1.57.0. The following code ...
</p>
<pre class="wiki">_intPolygon polygon;
boost::geometry::read_wkt("MULTIPOLYGON(((4287 2160,5984 2160,4287 2160)))", polygon);
boost::geometry::remove_spikes(polygon);
</pre><p>
... yields the following result:
</p>
<pre class="wiki">MULTIPOLYGON(((4287 2160))))
</pre><p>
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:
<a class="ext-link" href="http://lists.boost.org/geometry/2014/11/3237.php"><span class="icon"></span>http://lists.boost.org/geometry/2014/11/3237.php</a>
</p>
TicketVolker Schöch <vschoech@…>Thu, 12 Jan 2017 12:56:40 GMT
<link>https://svn.boost.org/trac10/ticket/9871#comment:4 </link>
<guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9871#comment:4</guid>
<description>
<p>
This problem is still present in boost 1.63.0.
</p>
</description>
<category>Ticket</category>
</item>
<item>
<author>Volker Schöch <vschoech@…></author>
<pubDate>Thu, 04 Jan 2018 16:29:38 GMT</pubDate>
<title>version changed
https://svn.boost.org/trac10/ticket/9871#comment:5
https://svn.boost.org/trac10/ticket/9871#comment:5
<ul>
<li><strong>version</strong>
<span class="trac-field-old">Boost 1.57.0</span> → <span class="trac-field-new">Boost 1.66.0</span>
</li>
</ul>
<p>
Still present in 1.66.0.
</p>
TicketVolker Schöch <vschoech@…>Thu, 14 Jun 2018 10:23:43 GMT
<link>https://svn.boost.org/trac10/ticket/9871#comment:6 </link>
<guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9871#comment:6</guid>
<description>
<p>
Still reproducible in 1.67.0.
</p>
</description>
<category>Ticket</category>
</item>
</channel>
</rss>