Boost C++ Libraries: Ticket #9354: 'within' problem on spherical & geographical polygon https://svn.boost.org/trac10/ticket/9354 <p> The attached example illustrates what I think is a bug in 'within'. The data corresponds to ECA zones (Emission Control Area) around he United States. The point (lat=25.9556,lon-78.1239) should be outside the polygon, but it is detected inside. The point (lat=25.95,lon-78.1239) is correctly detected outside the polygon so I suspect I ran into some kind of singularity or something... </p> <p> Any help would be greatly appreciated! </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9354 Trac 1.4.3 Charles-Edward Cady <charlesedouardcady@…> Thu, 07 Nov 2013 13:01:17 GMT attachment set https://svn.boost.org/trac10/ticket/9354 https://svn.boost.org/trac10/ticket/9354 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">bug_report.cpp</span> </li> </ul> <p> Test case exposing the bug. Compile from the directory containing BOOST_ROOT with g++ -I . bug_report.cpp </p> Ticket awulkiew Mon, 06 Oct 2014 10:05:28 GMT <link>https://svn.boost.org/trac10/ticket/9354#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9354#comment:1</guid> <description> <p> The issue is fixed in develop branch. It will be released with Boost 1.57. </p> <p> FYI, the bug was located in this file: <a class="ext-link" href="https://github.com/boostorg/geometry/blob/develop/include/boost/geometry/strategies/agnostic/point_in_poly_winding.hpp"><span class="icon">​</span>https://github.com/boostorg/geometry/blob/develop/include/boost/geometry/strategies/agnostic/point_in_poly_winding.hpp</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>awulkiew</dc:creator> <pubDate>Mon, 06 Oct 2014 10:28:38 GMT</pubDate> <title>status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/9354#comment:2 https://svn.boost.org/trac10/ticket/9354#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</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.57.0</span> </li> </ul> Ticket