Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect results for geometries or inputs in geographic coordinate system at the edges longitude-latitude range. #1161

Closed
rorviksam opened this issue Jun 12, 2023 · 4 comments · Fixed by #1177
Assignees

Comments

@rorviksam
Copy link

rorviksam commented Jun 12, 2023

I have noticed that boost::geometry::covered_by, boost::geometry::within, boost::gemetry::intersection, and many more don't work or yield incorrect results in geographic coordinates if the input position (longitude, latitude) or involved geometries have positions at the edges of the longitude-latitude range. e.g.

    namespace bg = boost::geometry;
    namespace bgs = boost::geometry::strategy;
    using Point = bg::model::point<double, 2, bg::cs::geographic<bg::degree>>;
    using Polygon = bg::model::polygon<Point, true>;
    Point lon_lat{18.8569, 64.5507};
    Polygon sweden;
    bg::read_wkt(
        "POLYGON ((20.548611111111114 69.06, 20.590563888888887 69.05333333333333, "
        "20.621111111111112 69.0463861111111, 20.656116666666666 69.04277777777777, "
        "20.70583333333333 69.04110833333333, 20.75583333333333 69.03666666666666, "
        "20.780833333333334 69.02916666666667, 20.821394444444444 69.01194444444444, "
        "20.854166666666668 68.9975, 20.887777777777778 68.980275, 20.900277777777777 "
        "68.96055277777778, 20.895280555555555 68.94860833333334, 20.86388888888889 "
        "68.94249722222223, 20.832225 68.92916666666667, 20.86472777777778 68.91833055555556, "
        "20.881666666666668 68.90694444444445, 20.879719444444444 68.89777500000001, "
        "20.899166666666666 68.892775, 20.930836111111113 68.89583333333334, 20.969166666666666 "
        "68.89166666666668, 21.003333333333334 68.88555277777779, 21.04361111111111 "
        "68.87777777777777, 21.075836111111112 68.86638888888888, 21.11695 68.85860833333332, "
        "21.14944722222222 68.84333333333333, 21.174722222222222 68.83194444444445, "
        "21.206947222222222 68.82055277777778, 21.240000000000002 68.80860833333332, "
        "21.251669444444445 68.79333055555556, 21.267219444444443 68.77749722222222, "
        "21.294444444444448 68.76472222222222, 21.322499999999998 68.76361111111112, "
        "21.362222222222222 68.765275, 21.379722222222224 68.76555555555555, 21.384166666666665 "
        "68.75805555555556, 21.39388888888889 68.74472222222222, 21.40249722222222 "
        "68.72610833333333, 21.404444444444444 68.71055555555556, 21.419169444444446 "
        "68.69471944444444, 21.443055555555556 68.68555277777779, 21.486947222222224 "
        "68.68110833333334, 21.525005555555556 68.67750000000001, 21.57194722222222 "
        "68.67111111111112, 21.610558333333334 68.6616638888889, 21.651113888888887 "
        "68.64527777777778, 21.686666666666667 68.630275, 21.700558333333333 68.61611111111111, "
        "21.690280555555557 68.60555555555555, 21.706669444444444 68.59027777777777, "
        "21.741947222222223 68.58471944444445, 21.782505555555556 68.58444444444444, "
        "21.82611111111111 68.58555277777778, 21.861944444444447 68.585275, 21.90083333333333 "
        "68.57194166666666, 21.942780555555554 68.555275, 21.97194722222222 68.54138888888889, "
        "21.995 68.53416666666666, 21.988058333333335 68.52416388888889, 22.00111111111111 "
        "68.502775, 22.021944444444443 68.48861111111111, 22.04666388888889 68.48083333333334, "
        "22.084722222222222 68.48110833333334, 22.110836111111112 68.47694444444444, "
        "22.13361111111111 68.47111111111111, 22.16 68.4725, 22.195 68.4786111111111, "
        "22.22861111111111 68.47444166666666, 22.259727777777776 68.47638888888889, "
        "22.300830555555557 68.48027777777779, 22.32777777777778 68.47916666666667, "
        "22.342502777777778 68.47194444444445, 22.333888888888886 68.45999722222223, "
        "22.332497222222223 68.45111111111112, 22.352222222222224 68.4475, 22.37416388888889 "
        "68.45333055555555, 22.398055555555555 68.4591638888889, 22.42445 68.45694444444445, "
        "22.45611111111111 68.4475, 22.495836111111114 68.44, 22.525005555555556 "
        "68.43416666666667, 22.548894444444446 68.43166666666667, 22.575555555555557 "
        "68.42194444444445, 22.601947222222222 68.4263888888889, 22.620555555555555 "
        "68.43138888888889, 22.631391666666666 68.4225, 22.664166666666667 68.41388888888889, "
        "22.67611388888889 68.40749722222223, 22.67861388888889 68.39944444444446, "
        "22.70333611111111 68.3966638888889, 22.720280555555554 68.387775, 22.745836111111114 "
        "68.38305555555554, 22.756944444444443 68.38666666666667, 22.781394444444445 "
        "68.39110833333334, 22.808333333333334 68.38860833333334, 22.823894444444445 "
        "68.38055277777777, 22.832227777777778 68.36833055555554, 22.856944444444444 "
        "68.35916388888889, 22.885277777777777 68.34971944444445, 22.905002777777778 "
        "68.33888611111111, 22.92611666666667 68.33222222222221, 22.955275 68.32916388888889, "
        "22.970277777777778 68.32527777777777, 22.98833888888889 68.31638888888888, "
        "23.019727777777778 68.30916666666667, 23.04500555555556 68.30361111111111, "
        "23.05861388888889 68.2925, 23.05777777777778 68.27721944444444, 23.09056111111111 "
        "68.25722222222223, 23.128888888888888 68.24555555555555, 23.14250277777778 "
        "68.23583333333333, 23.1425 68.22083333333333, 23.144727777777778 68.20416388888889, "
        "23.1575 68.19277777777778, 23.14833611111111 68.18833333333333, 23.139725 "
        "68.16805277777779, 23.14361388888889 68.14721944444445, 23.161116666666665 "
        "68.13333333333334, 23.185277777777777 68.13333055555555, 23.20138888888889 "
        "68.14250000000001, 23.232505555555555 68.14805555555556, 23.265830555555556 "
        "68.15305555555557, 23.292225000000002 68.14861111111112, 23.315833333333334 "
        "68.13611111111112, 23.335005555555554 68.12333333333332, 23.33861111111111 "
        "68.10749722222222, 23.351391666666668 68.08999722222222, 23.36861111111111 "
        "68.06999722222221, 23.3875 68.05055277777778, 23.40555833333333 68.03999999999999, "
        "23.436391666666665 68.03444444444445, 23.45388611111111 68.02305277777778, "
        "23.478891666666666 68.01833333333333, 23.511672222222224 68.01527777777778, "
        "23.532227777777777 68.00444444444445, 23.547505555555556 67.98861111111111, "
        "23.564447222222224 67.97472222222223, 23.599172222222222 67.97027777777778, "
        "23.618613888888888 67.96833055555555, 23.636388888888888 67.96221944444444, "
        "23.64861388888889 67.94916388888889, 23.646669444444445 67.93833333333333, "
        "23.643608333333333 67.925275, 23.62361388888889 67.91333055555556, 23.589447222222223 "
        "67.89888888888889, 23.575275 67.892775, 23.549169444444445 67.89722222222223, "
        "23.522499999999997 67.89055277777778, 23.5 67.87471944444444, 23.493894444444447 "
        "67.85916666666667, 23.48111388888889 67.84360833333332, 23.480280555555552 67.830275, "
        "23.477224999999997 67.81471944444444, 23.491666666666667 67.79944444444445, "
        "23.487222222222222 67.78444444444445, 23.486947222222224 67.76860833333333, "
        "23.483055555555556 67.75111111111111, 23.478891666666666 67.73972222222223, "
        "23.474999999999998 67.72499722222223, 23.46833333333333 67.70805277777778, "
        "23.476947222222222 67.69555555555556, 23.481669444444442 67.68333333333334, "
        "23.48055833333333 67.67471944444445, 23.492775 67.65749722222223, 23.510280555555557 "
        "67.64277777777778, 23.52833611111111 67.62972222222221, 23.54639166666667 "
        "67.62277499999999, 23.538058333333336 67.61138888888888, 23.536669444444446 "
        "67.60083055555555, 23.530005555555555 67.58305555555555, 23.505836111111112 "
        "67.57277777777777, 23.478330555555555 67.56999722222221, 23.45305833333333 "
        "67.56805555555555, 23.454725 67.55777499999999, 23.469169444444443 67.54971944444445, "
        "23.465002777777777 67.53999999999999, 23.44194166666667 67.52833055555556, "
        "23.423058333333334 67.51555555555555, 23.398616666666666 67.505275, 23.40222222222222 "
        "67.49638611111111, 23.41583333333333 67.48833333333333, 23.42000277777778 "
        "67.47499722222223, 23.438055555555557 67.46471944444444, 23.470555555555553 "
        "67.45610833333333, 23.505836111111112 67.44944444444445, 23.526947222222223 "
        "67.44944444444445, 23.526947222222223 67.44944444444445, 23.54639166666667 "
        "67.45888611111111, 23.58222222222222 67.460275, 23.624447222222223 67.45194444444445, "
        "23.668055555555558 67.44500000000001, 23.7 67.44083333333333, 23.73638888888889 "
        "67.44305555555556, 23.773888888888887 67.43361111111112, 23.779999999999998 "
        "67.42055555555557, 23.760277777777777 67.40194444444445, 23.749447222222223 "
        "67.3888888888889, 23.747777777777777 67.37194444444444, 23.754722222222224 67.3625, "
        "23.762225 67.3536111111111, 23.79277777777778 67.33833333333332, 23.799725000000002 "
        "67.33083333333333, 23.801944444444445 67.31861111111111, 23.765555555555554 "
        "67.29777777777778, 23.751669444444445 67.28305555555555, 23.72472222222222 "
        "67.28055555555555, 23.681944444444447 67.27305555555556, 23.63611111111111 "
        "67.26944444444445, 23.597224999999998 67.2611111111111, 23.58972222222222 67.25, "
        "23.578611111111112 67.23833333333333, 23.570833333333333 67.22638888888889, "
        "23.583058333333334 67.21833333333333, 23.606669444444446 67.20333333333333, "
        "23.598888888888887 67.18861111111111, 23.568336111111112 67.17416666666666, "
        "23.57638888888889 67.15972222222223, 23.601944444444445 67.14444444444445, 23.62695 "
        "67.12666666666667, 23.665555555555553 67.10555555555555, 23.678333333333335 "
        "67.08638888888889, 23.690280555555557 67.06583333333333, 23.707780555555555 "
        "67.04805555555555, 23.733058333333332 67.0325, 23.753338888888887 67.01472222222222, "
        "23.772222222222222 67.00305555555556, 23.80138888888889 66.99083333333333, "
        "23.829169444444446 66.96888888888888, 23.850002777777778 66.95611111111111, "
        "23.869722222222222 66.94805555555556, 23.873061111111113 66.9325, 23.88667222222222 "
        "66.91194444444444, 23.90972222222222 66.8963888888889, 23.935558333333333 "
        "66.88138888888888, 23.96556111111111 66.86361111111111, 23.985836111111112 "
        "66.84388888888888, 24.000836111111113 66.82055555555556, 24.000555555555554 "
        "66.80333333333333, 23.980833333333333 66.78999999999999, 23.959444444444443 "
        "66.78555555555555, 23.93611388888889 66.78694444444444, 23.927225 66.77555555555556, "
        "23.906388888888888 66.76305555555555, 23.886944444444445 66.75416666666666, "
        "23.89527777777778 66.735, 23.90305833333333 66.71444444444445, 23.896669444444445 "
        "66.68972222222223, 23.890277777777776 66.67055555555557, 23.87250277777778 "
        "66.65805555555556, 23.866669444444444 66.64722222222223, 23.872777777777777 "
        "66.62944444444443, 23.881947222222223 66.60555555555555, 23.88361111111111 "
        "66.58277777777778, 23.889166666666664 66.57277777777777, 23.873891666666665 "
        "66.56555555555555, 23.85388888888889 66.55388888888889, 23.81388888888889 "
        "66.54555555555555, 23.7925 66.53111111111112, 23.799166666666668 66.5213888888889, "
        "23.787222222222223 66.51583333333333, 23.761111111111113 66.50805555555556, "
        "23.723055555555554 66.49416666666667, 23.70861111111111 66.47916666666667, 23.692225 "
        "66.46638888888889, 23.656666666666666 66.4575, 23.632502777777777 66.44722222222222, "
        "23.628888888888888 66.43472222222222, 23.63972777777778 66.42472222222223, "
        "23.653891666666667 66.41027777777778, 23.668894444444447 66.38694444444445, "
        "23.665277777777778 66.36583333333333, 23.657224999999997 66.345, 23.65444722222222 "
        "66.32555555555555, 23.63917222222222 66.31194444444444, 23.649722222222223 "
        "66.29333333333334, 23.662499999999998 66.27277777777778, 23.676669444444446 "
        "66.25583333333333, 23.699725 66.23972222222223, 23.717780555555553 66.22527777777778, "
        "23.734722222222224 66.21333333333334, 23.761666666666667 66.19916666666667, "
        "23.802780555555557 66.18027777777779, 23.84861111111111 66.16638888888889, "
        "23.87527777777778 66.165, 23.906388888888888 66.16166666666668, 23.925555555555558 "
        "66.14972222222222, 23.92111388888889 66.13694444444445, 23.934169444444446 "
        "66.11527777777778, 23.93277777777778 66.08805555555556, 23.955277777777777 "
        "66.05888888888889, 23.984166666666667 66.03666666666666, 24.015558333333335 "
        "66.01305555555555, 24.038333333333334 65.99194444444444, 24.03500277777778 "
        "65.96916666666667, 24.041111111111114 65.94666666666667, 24.07056111111111 "
        "65.93444444444445, 24.101947222222222 65.92194444444445, 24.10750277777778 "
        "65.90833333333335, 24.113333333333333 65.89055555555557, 24.126947222222224 "
        "65.87444444444444, 24.14388888888889 65.8586111111111, 24.160277777777775 "
        "65.84972222222221, 24.14 65.53, 22.922222222222224 64.68138888888889, 21.5 "
        "63.61666666666667, 20.883888888888887 63.5125, 20.666666666666668 63.475, "
        "20.166666666666668 63.166666666666664, 19.71472222222222 62.16694444444444, 19.5 "
        "61.666666666666664, 19.487222222222222 61.620555555555555, 19.482777777777777 "
        "61.605555555555554, 19.318055555555556 61, 19.150277777777777 60.37027777777778, "
        "19.13222222222222 60.30083333333333, 19.086666666666666 60.19166666666666, "
        "19.26361111111111 60.07055555555556, 19.31361111111111 60.03527777777778, "
        "19.621666666666666 59.82166666666667, 19.828055555555554 59.67361111111111, "
        "19.986666666666668 59.56333333333333, 20.54416666666667 59.25666666666667, 21 59, "
        "20.642777777777777 58.413333333333334, 20.27472222222222 57.784166666666664, 20.15 "
        "57.56944444444445, 19.828333333333333 56.99944444444444, 19.566666666666666 "
        "56.87138888888889, 18.50638888888889 56.34527777777778, 18.06361111111111 "
        "56.118611111111115, 18.01861111111111 56.09527777777778, 17.55 55.85, 17.161388888888887 "
        "55.63861111111111, 15.866666666666667 54.916666666666664, 15.735277777777778 "
        "54.916666666666664, 15.585277777777778 54.916666666666664, 15.435277777777777 "
        "54.916666666666664, 15.285277777777777 54.916666666666664, 15.135277777777777 "
        "54.916666666666664, 15.135277777777777 54.916666666666664, 15.1110544440412 "
        "54.8981679433814, 15.0859525990412 54.8808800852694, 15.0600327153213 54.8648447402951, "
        "15.0333572361515 54.850100539009, 15.0059904250977 54.8366830014835, 14.9779982112048 "
        "54.8246244517418, 14.9494480301679 54.8139539398864, 14.9204086618737 54.8046971721149, "
        "14.890950064704 54.7968764487917, 14.8611432069998 54.7905106107243, 14.8310598960919 "
        "54.7856149937742, 14.8007726053114 54.7822013919115, 14.7703542993946 54.7802780288019, "
        "14.7398782587047 54.7798495379958, 14.7094179026933 54.780916951765, 14.6790466130258 "
        "54.7834776986162, 14.6488375567994 54.7875256094861, 14.6188635102764 54.7930509326026, "
        "14.5891966835605 54.8000403569785, 14.5599085466356 54.8084770444783, 14.5310696571889 "
        "54.8183406703828, 14.5027494906312 54.8296074723533, 14.4750162727241 54.8422503076769, "
        "14.4479368152188 54.856238718656, 14.4215763549003 54.8715390059833, 14.3959983964264 "
        "54.8881143099264, 14.3712645593394 54.9059246991264, 14.3575 54.916666666666664, 14.3575 "
        "54.916666666666664, 14.350000000000003 54.916666666666664, 14.200000000000003 "
        "54.916666666666664, 14.050000000000002 54.916666666666664, 13.900000000000002 "
        "54.916666666666664, 13.750000000000002 54.916666666666664, 13.600000000000001 "
        "54.916666666666664, 13.450000000000001 54.916666666666664, 13.3 54.916666666666664, 13.15 "
        "54.916666666666664, 13 54.916666666666664, 13 54.916666666666664, 12.85 "
        "54.916666666666664, 12.85 54.916666666666664, 12.692222222222222 55.23388888888889, "
        "12.646666666666667 55.31666666666667, 12.62638888888889 55.38, 12.610833333333334 "
        "55.431666666666665, 12.703333333333333 55.48277777777778, 12.716666666666667 "
        "55.490833333333335, 12.730555555555556 55.54, 12.780833333333334 55.565555555555555, "
        "12.880277777777778 55.61361111111111, 12.88888888888889 55.64333333333333, "
        "12.809444444444445 55.73222222222223, 12.7 55.833333333333336, 12.684288888888888 "
        "55.86479722222222, 12.68306111111111 55.86695, 12.681897222222222 55.86911944444444, "
        "12.68078611111111 55.8713, 12.679727777777778 55.873491666666666, 12.678719444444443 "
        "55.87569444444444, 12.67775 55.87790555555556, 12.678333333333333 55.89138888888889, "
        "12.667705555555555 55.90473611111111, 12.666858333333332 55.90696111111111, "
        "12.665986111111112 55.90918333333333, 12.665086111111112 55.91139444444444, "
        "12.664150000000001 55.91365277777778, 12.663208333333333 55.915908333333334, "
        "12.662263888888889 55.918163888888884, 12.661319444444445 55.92041944444444, "
        "12.660372222222222 55.922675, 12.659425 55.924930555555555, 12.658480555555556 "
        "55.92718611111111, 12.657536111111112 55.92944444444444, 12.656594444444444 55.9317, "
        "12.655655555555557 55.93395833333333, 12.654722222222222 55.93621388888889, "
        "12.653791666666667 55.93847222222222, 12.652869444444445 55.94073333333333, "
        "12.651952777777778 55.942991666666664, 12.651044444444445 55.945252777777775, "
        "12.650141666666666 55.947513888888885, 12.64925 55.949774999999995, 12.648369444444445 "
        "55.95203888888889, 12.647497222222222 55.95430555555556, 12.646641666666666 "
        "55.95657222222223, 12.645794444444444 55.95883888888889, 12.64496111111111 "
        "55.961108333333335, 12.644552777777777 55.962244444444444, 12.645122222222222 "
        "55.96336388888889, 12.645283333333333 55.96561944444445, 12.645438888888888 55.967875, "
        "12.645588888888888 55.970130555555556, 12.651944444444444 55.98111111111111, "
        "12.64691111111111 55.99268888888889, 12.647027777777778 55.99494444444444, "
        "12.647141666666666 55.9972, 12.647252777777778 55.99945833333334, 12.647366666666667 "
        "56.00171388888889, 12.647475 56.003969444444444, 12.647583333333333 56.006225, "
        "12.647688888888888 56.00848333333333, 12.647794444444443 56.01073888888889, "
        "12.647897222222221 56.012994444444445, 12.647997222222221 56.015252777777775, "
        "12.648102777777778 56.01750833333333, 12.656944444444445 56.032777777777774, "
        "12.649433333333333 56.046841666666666, 12.649541666666666 56.04909722222222, "
        "12.649652777777778 56.05135277777777, 12.649872222222221 56.053713888888886, "
        "12.650258333333333 56.056105555555554, 12.650741666666667 56.05851666666666, "
        "12.651258333333333 56.060941666666665, 12.65173888888889 56.06336388888889, "
        "12.652122222222223 56.065777777777775, 12.652333333333333 56.06816944444445, "
        "12.652313888888889 56.070527777777784, 12.651988888888889 56.07284722222222, "
        "12.651294444444444 56.07511111111111, 12.650166666666667 56.077311111111115, "
        "12.648538888888888 56.079436111111114, 12.646597222222221 56.08141388888889, "
        "12.644469444444445 56.083308333333335, 12.642169444444445 56.085125000000005, "
        "12.639705555555555 56.086872222222226, 12.637083333333333 56.088550000000005, "
        "12.634324999999999 56.09016666666667, 12.631438888888889 56.091725000000004, "
        "12.628430555555555 56.09323055555556, 12.625316666666667 56.09468888888889, "
        "12.622105555555557 56.09610277777778, 12.618811111111112 56.09747777777778, "
        "12.615441666666666 56.098819444444445, 12.612013888888889 56.10013333333333, "
        "12.608533333333334 56.101422222222226, 12.60501388888889 56.102691666666665, "
        "12.601463888888889 56.103947222222224, 12.597900000000001 56.10519166666667, "
        "12.594333333333333 56.106433333333335, 12.590766666666667 56.107675, 12.587222222222223 "
        "56.108919444444446, 12.583702777777779 56.110175, 12.580225 56.111444444444444, 12.5768 "
        "56.11273333333334, 12.57343611111111 56.114047222222226, 12.570144444444445 "
        "56.11538888888889, 12.566886111111112 56.11674722222222, 12.563625 56.1181, "
        "12.560355555555557 56.11945277777778, 12.557086111111111 56.1208, 12.553808333333334 "
        "56.122144444444444, 12.550527777777779 56.123488888888886, 12.547247222222222 "
        "56.12482777777778, 12.543958333333332 56.12616388888889, 12.540669444444445 56.1275, "
        "12.537380555555556 56.12883611111111, 12.534086111111112 56.13016944444445, "
        "12.530791666666667 56.1315, 12.527497222222223 56.13283055555556, 12.524202777777779 "
        "56.13416111111111, 12.520905555555556 56.13549444444445, 12.517608333333333 56.136825, "
        "12.51431388888889 56.13815555555556, 12.511016666666666 56.13948611111111, "
        "12.507722222222222 56.140819444444446, 12.504430555555556 56.142152777777774, "
        "12.501138888888889 56.14348888888889, 12.49785 56.144825, 12.494563888888887 "
        "56.146163888888886, 12.491280555555555 56.147505555555554, 12.488 56.14884722222222, "
        "12.484725 56.150194444444445, 12.481452777777777 56.15154444444444, 12.478183333333334 "
        "56.15289722222222, 12.474919444444444 56.15425277777778, 12.471663888888889 "
        "56.15561388888889, 12.468411111111111 56.156977777777776, 12.465163888888888 "
        "56.15834722222222, 12.44 56.16416666666667, 12.429475 56.17426111111111, "
        "12.426277777777777 56.175827777777776, 12.4231 56.177411111111105, 12.419938888888888 "
        "56.179002777777775, 12.416791666666667 56.18060277777778, 12.413655555555556 "
        "56.18221111111111, 12.410530555555557 56.183825, 12.40741388888889 56.18544166666666, "
        "12.404319444444445 56.18708055555555, 12.401280555555555 56.18875277777777, "
        "12.398294444444444 56.19045277777777, 12.39536111111111 56.192186111111106, "
        "12.392477777777778 56.19394444444444, 12.389641666666666 56.195727777777776, "
        "12.386855555555556 56.197536111111106, 12.384113888888889 56.19936944444444, "
        "12.381419444444445 56.20122222222223, 12.378766666666667 56.203094444444446, "
        "12.376158333333334 56.20498333333334, 12.368055555555555 56.21472222222223, "
        "12.353827777777777 56.22420555555556, 12.351975 56.22620833333333, 12.350183333333334 "
        "56.228233333333336, 12.348444444444445 56.230272222222226, 12.346758333333334 "
        "56.232330555555556, 12.345119444444444 56.23440277777778, 12.343533333333333 "
        "56.23648888888889, 12.34198888888889 56.23858888888889, 12.34048888888889 "
        "56.24070277777778, 12.339030555555556 56.24282777777778, 12.337608333333334 "
        "56.24496388888889, 12.336225 56.24710833333334, 12.334875 56.24926388888889, "
        "12.333555555555556 56.25142777777778, 12.332266666666666 56.253597222222226, "
        "12.331005555555555 56.255775, 12.329772222222221 56.257958333333335, 12.328555555555555 "
        "56.26014444444444, 12.327363888888888 56.26233888888889, 12.326188888888888 "
        "56.26453055555555, 12.325027777777777 56.266727777777774, 12.323883333333333 "
        "56.268924999999996, 12.32275 56.271125, 12.321622222222222 56.27332222222222, "
        "12.320502777777778 56.27551666666667, 12.319388888888888 56.27771111111111, "
        "12.318277777777778 56.27990277777778, 12.317163888888889 56.282088888888886, 12.31605 "
        "56.28427222222222, 12.314927777777779 56.28644722222222, 11.766111111111112 "
        "56.98555555555556, 11.582777777777778 57.21361111111111, 11.140555555555554 "
        "57.75138888888889, 10.88888888888889 58.04944444444444, 10.5 58.5, 10.592222222222222 "
        "58.76111111111111, 10.63888888888889 58.89222222222222, 10.829166666666666 "
        "58.92638888888889, 11.086388888888889 58.98555277777778, 11.095277777777778 58.992775, "
        "11.101388888888888 58.998333333333335, 11.105833333333333 59.003886111111115, "
        "11.109722222222222 59.01110833333333, 11.111666666666666 59.01360833333333, "
        "11.116111111111111 59.02027777777778, 11.119166666666667 59.02999722222222, "
        "11.122222222222224 59.041108333333334, 11.12888888888889 59.04999722222222, "
        "11.134722222222221 59.062774999999995, 11.141941666666666 59.073886111111115, "
        "11.153891666666667 59.07971944444445, 11.188336111111111 59.08444444444444, "
        "11.210833333333333 59.08638611111111, 11.236944444444443 59.08999722222222, "
        "11.245833333333332 59.09166388888889, 11.260833333333334 59.09416388888889, "
        "11.273058333333335 59.096941666666666, 11.283888888888889 59.09888611111111, "
        "11.29888888888889 59.102775, 11.311666666666667 59.10611111111111, 11.320555555555556 "
        "59.107775000000004, 11.334441666666667 59.10777777777778, 11.349166666666667 "
        "59.10471944444445, 11.357777777777777 59.099444444444444, 11.364444444444445 "
        "59.09110833333334, 11.370277777777778 59.08444166666667, 11.373611111111112 59.077775, "
        "11.378333333333334 59.06999722222223, 11.381386111111112 59.065552777777775, "
        "11.390277777777778 59.05610833333333, 11.396669444444443 59.047775, 11.404441666666667 "
        "59.04111111111111, 11.41388888888889 59.0325, 11.421947222222222 59.02444166666667, "
        "11.430558333333332 59.018055555555556, 11.441666666666666 59.00805277777778, "
        "11.45333611111111 58.99888888888889, 11.458058333333332 58.995275, 11.462499999999999 "
        "58.993608333333334, 11.468055555555555 58.99138611111111, 11.470275 58.99138611111111, "
        "11.470275 58.99138611111111, 11.45611111111111 58.888333333333335, 11.469722222222222 "
        "58.89194444444444, 11.48861111111111 58.89, 11.505836111111112 58.88666388888889, "
        "11.52138888888889 58.882777777777775, 11.536111111111111 58.87972222222222, "
        "11.545555555555556 58.88194166666667, 11.546947222222222 58.885, 11.546388888888888 "
        "58.89138611111111, 11.547775 58.895830555555555, 11.555000000000001 58.894999999999996, "
        "11.561111111111112 58.88944444444444, 11.564997222222223 58.888330555555555, "
        "11.578058333333333 58.891108333333335, 11.589444444444444 58.891666666666666, "
        "11.597777777777779 58.893052777777775, 11.610552777777777 58.89888611111111, "
        "11.625833333333334 58.903055555555554, 11.645275 58.905274999999996, 11.653611111111111 "
        "58.90694444444444, 11.655000000000001 58.918052777777774, 11.66333611111111 "
        "58.928330555555554, 11.6725 58.93472222222222, 11.686666666666667 58.94749722222222, "
        "11.69138888888889 58.958333333333336, 11.693336111111112 58.971941666666666, "
        "11.695555555555556 58.9825, 11.701108333333332 58.99583055555556, 11.705277777777777 "
        "59.00666388888889, 11.709441666666667 59.014719444444445, 11.715558333333332 "
        "59.02749722222222, 11.723608333333333 59.04, 11.72638888888889 59.04360833333333, "
        "11.743611111111111 59.06110833333333, 11.75388888888889 59.07138888888889, "
        "11.764166666666666 59.080000000000005, 11.771391666666668 59.08638888888889, "
        "11.777777777777779 59.091944444444444, 11.78166388888889 59.09805277777778, "
        "11.781666666666668 59.10527777777778, 11.773891666666668 59.11555277777778, 11.7725 "
        "59.127497222222225, 11.779444444444445 59.135552777777775, 11.781947222222223 "
        "59.14666388888889, 11.780277777777778 59.16222222222222, 11.783888888888889 "
        "59.17833333333333, 11.790555555555555 59.19555555555555, 11.792222222222222 "
        "59.20666666666667, 11.8 59.21944166666667, 11.80916388888889 59.22833055555556, 11.820275 "
        "59.23721944444445, 11.829722222222221 59.24444166666667, 11.833336111111112 "
        "59.25861111111111, 11.831666666666667 59.274163888888886, 11.83 59.28111111111111, "
        "11.826669444444445 59.299163888888884, 11.826666666666666 59.308611111111105, "
        "11.823611111111111 59.32972222222222, 11.816666666666666 59.346941666666666, "
        "11.806386111111111 59.365830555555554, 11.796111111111111 59.378052777777775, "
        "11.786388888888888 59.38777777777778, 11.780000000000001 59.39472222222222, "
        "11.778336111111113 59.40360833333333, 11.777780555555557 59.41305277777778, "
        "11.765833333333333 59.422774999999994, 11.761666666666667 59.43388888888889, "
        "11.762222222222222 59.43888888888888, 11.762777777777778 59.45305277777778, "
        "11.763333333333334 59.45638888888889, 11.764444444444445 59.465275000000005, "
        "11.761944444444444 59.47249722222222, 11.758888888888889 59.47444166666667, "
        "11.754997222222222 59.478052777777776, 11.74611111111111 59.49111111111111, "
        "11.731666666666667 59.50944166666667, 11.715833333333332 59.531108333333336, "
        "11.710555555555555 59.54388611111111, 11.704447222222221 59.56305555555555, 11.6925 "
        "59.583333333333336, 11.694169444444444 59.594997222222226, 11.69888888888889 "
        "59.604997222222224, 11.704169444444444 59.615833333333335, 11.713888888888889 "
        "59.626108333333335, 11.73583611111111 59.635552777777775, 11.781111111111112 "
        "59.643055555555556, 11.807777777777778 59.64555555555555, 11.835275000000001 "
        "59.64805555555556, 11.854441666666666 59.65138888888889, 11.861941666666667 "
        "59.65610833333333, 11.863333333333333 59.65860833333333, 11.865555555555556 "
        "59.663330555555554, 11.86888888888889 59.667775, 11.878608333333334 59.67916388888889, "
        "11.889999999999999 59.689722222222215, 11.900555555555556 59.69444166666666, "
        "11.923888888888888 59.69749722222222, 11.936947222222223 59.70166666666667, "
        "11.93888888888889 59.705275, 11.936944444444444 59.71360833333333, 11.933058333333333 "
        "59.72277777777778, 11.930555555555555 59.728052777777776, 11.929169444444444 "
        "59.733330555555554, 11.92861111111111 59.743608333333334, 11.9325 59.75138611111111, "
        "11.938886111111112 59.75499722222222, 11.937497222222223 59.757775, 11.930830555555556 "
        "59.768052777777775, 11.927502777777777 59.77805277777777, 11.917219444444443 "
        "59.789163888888886, 11.9125 59.79805555555556, 11.900275 59.81194166666666, "
        "11.889169444444445 59.81721944444445, 11.875558333333334 59.82444166666667, 11.869725 "
        "59.82638888888889, 11.858888888888888 59.83111111111111, 11.845277777777778 "
        "59.83972222222222, 11.854444444444445 59.84722222222222, 11.874997222222223 "
        "59.859163888888894, 11.877777777777778 59.86333333333334, 11.878055555555555 "
        "59.87083333333334, 11.881386111111112 59.87555277777778, 11.902777777777779 "
        "59.87722222222222, 11.927777777777777 59.886941666666665, 11.944444444444445 "
        "59.89055555555556, 11.948611111111111 59.89971944444444, 11.971944444444444 "
        "59.903330555555556, 12.000833333333333 59.89833055555555, 12.031111111111112 "
        "59.891108333333335, 12.04833611111111 59.88860833333333, 12.087777777777779 "
        "59.89083055555555, 12.09888888888889 59.89055555555556, 12.126111111111111 "
        "59.89416666666666, 12.155277777777778 59.88666666666666, 12.1725 59.88944444444444, "
        "12.174166666666666 59.88972222222222, 12.18861388888889 59.9, 12.204444444444444 "
        "59.911944444444444, 12.222222222222223 59.919441666666664, 12.239166666666666 "
        "59.92805555555555, 12.27138888888889 59.942499999999995, 12.304444444444446 "
        "59.95388611111112, 12.32 59.960275, 12.336666666666668 59.965830555555556, "
        "12.358888888888888 59.98166388888889, 12.36888888888889 59.990833333333335, "
        "12.375277777777779 59.996386111111114, 12.386666666666667 60.00611111111111, 12.4075 "
        "60.018052777777775, 12.429722222222221 60.031666666666666, 12.445555555555556 "
        "60.04083055555555, 12.465277777777777 60.05888611111111, 12.480277777777777 "
        "60.07638888888889, 12.489166666666666 60.09, 12.500833333333333 60.107219444444446, "
        "12.509722222222223 60.12166388888889, 12.518055555555556 60.13638888888889, "
        "12.529444444444445 60.160275, 12.535558333333332 60.183052777777775, 12.536947222222222 "
        "60.19444166666666, 12.531947222222223 60.206386111111115, 12.526111111111112 "
        "60.21833055555556, 12.518611111111111 60.235275, 12.503055555555555 60.260275, "
        "12.49472222222222 60.28055277777778, 12.493611111111111 60.302775, 12.493611111111111 "
        "60.320552777777785, 12.5 60.33222222222223, 12.514722222222222 60.3425, "
        "12.542780555555556 60.35805277777778, 12.579166666666666 60.37972222222222, "
        "12.589725000000001 60.39222222222222, 12.605833333333333 60.41638888888889, "
        "12.612499999999999 60.43805555555555, 12.613055555555555 60.45777777777778, "
        "12.611669444444445 60.47916388888889, 12.608611111111111 60.50111111111111, "
        "12.599722222222223 60.52499722222222, 12.592777777777778 60.53388611111111, "
        "12.581113888888888 60.54555555555555, 12.573886111111111 60.55583055555555, "
        "12.555555555555557 60.57194166666667, 12.539166666666667 60.587775, 12.522222222222224 "
        "60.602497222222226, 12.52138888888889 60.61388888888889, 12.521391666666668 "
        "60.63305277777778, 12.498888888888889 60.6575, 12.483055555555556 60.66971944444444, "
        "12.444444444444445 60.695274999999995, 12.418888888888889 60.72138888888889, "
        "12.396113888888888 60.742775, 12.380833333333333 60.763888888888886, 12.358888888888888 "
        "60.791941666666666, 12.353333333333333 60.8, 12.35 60.833333333333336, 12.337222222222223 "
        "60.83999722222222, 12.32888611111111 60.87277777777778, 12.325555555555555 "
        "60.88444166666667, 12.324163888888888 60.89, 12.309722222222224 60.91916388888889, "
        "12.286386111111112 60.94221944444444, 12.267775 60.95999722222223, 12.253333333333334 "
        "60.97444166666667, 12.248608333333333 60.983608333333336, 12.235833333333332 "
        "60.997775000000004, 12.233333333333333 61, 12.221941666666666 61.00944444444445, "
        "12.217083333333333 61.01291666666667, 12.43361111111111 61.04958333333333, "
        "12.441669444444445 61.04971944444444, 12.47638888888889 61.05138888888889, "
        "12.51083611111111 61.05221944444444, 12.545552777777777 61.050552777777774, "
        "12.581666666666667 61.049166666666665, 12.623611111111112 61.04999722222222, "
        "12.657780555555556 61.05444166666666, 12.67666388888889 61.062219444444445, "
        "12.693055555555556 61.07805277777778, 12.702777777777778 61.09860833333334, "
        "12.703888888888889 61.11916388888889, 12.704169444444444 61.13666666666666, "
        "12.712222222222222 61.147775, 12.735280555555555 61.16110833333333, 12.76861388888889 "
        "61.17860833333333, 12.789166666666667 61.19277777777778, 12.80388888888889 "
        "61.21221944444445, 12.818888888888889 61.235, 12.830833333333333 61.253052777777775, "
        "12.841111111111111 61.273608333333335, 12.844722222222222 61.29471944444444, 12.850275 "
        "61.308052777777775, 12.853052777777778 61.32638888888889, 12.860277777777778 "
        "61.33805277777778, 12.866388888888888 61.34999722222222, 12.870833333333334 "
        "61.35638888888889, 12.868469444444445 61.36083055555556, 12.833333333333334 "
        "61.386944444444445, 12.780830555555557 61.42999722222222, 12.565000000000001 "
        "61.569722222222225, 12.508333333333333 61.56888888888889, 12.423608333333332 "
        "61.56333055555555, 12.137224999999999 61.722500000000004, 12.219722222222222 62, "
        "12.29861111111111 62.26638888888889, 12.266666666666667 62.333333333333336, "
        "12.144444444444444 62.48888888888889, 12.055280555555557 62.608608333333336, "
        "12.079444444444444 62.65138888888889, 12.134722222222221 62.757222222222225, "
        "12.07638888888889 62.899163888888886, 12.215277777777777 62.99888611111111, "
        "11.973611111111111 63.268055555555556, 12.055833333333334 63.333333333333336, "
        "12.210555555555555 63.48027777777778, 12.148055555555555 63.59444166666667, "
        "12.271666666666668 63.65361111111111, 12.341391666666667 63.72666666666667, "
        "12.678333333333333 63.97305277777778, 12.929444444444444 64.06305555555555, "
        "13.196113888888888 64.09666666666666, 13.376111111111111 64.07972222222222, "
        "13.668055555555554 64.05722222222222, 13.961108333333332 64.01416388888889, "
        "14.140280555555556 64.19388888888889, 14.104719444444443 64.46749722222222, "
        "13.949719444444444 64.49110833333333, 13.653333333333334 64.58055555555555, "
        "13.708888888888888 64.64333333333335, 13.956666666666665 64.8425, 14.091661111111112 "
        "64.95194166666667, 14.33388888888889 65.11805277777778, 14.379441666666667 "
        "65.24694166666667, 14.502219444444444 65.30916666666667, 14.498888888888889 "
        "65.51583333333333, 14.498330555555555 65.52971944444444, 14.510002777777778 "
        "65.58583333333333, 14.525277777777779 65.68583055555555, 14.620277777777778 "
        "65.80777777777777, 14.576669444444445 65.89361111111111, 14.570275 65.95694166666667, "
        "14.508891666666667 66.13333333333334, 14.997499999999999 66.1441638888889, "
        "15.48583611111111 66.28388888888888, 15.483058333333334 66.2925, 15.479169444444445 "
        "66.30444444444444, 15.472780555555556 66.317775, 15.464997222222221 66.33610833333333, "
        "15.45195 66.35499999999999, 15.439441666666667 66.37805555555555, 15.425833333333333 "
        "66.39471944444445, 15.408333333333333 66.41360833333334, 15.394447222222222 "
        "66.43694444444445, 15.384169444444444 66.46166666666667, 15.375552777777779 "
        "66.47694444444444, 15.371944444444445 66.4813861111111, 15.622225 66.5963861111111, "
        "15.820838888888888 66.74916666666667, 15.97 66.84833333333333, 16.025558333333333 "
        "66.89861111111112, 16.043055555555558 66.91416666666667, 16.248055555555556 67, "
        "16.387780555555555 67.04694166666667, 16.402777777777775 67.20083055555556, "
        "16.383888888888887 67.21972222222223, 16.345 67.25, 16.08722222222222 67.43472222222222, "
        "16.108333333333334 67.45777777777778, 16.159166666666664 67.51833333333333, "
        "16.37027777777778 67.53694444444444, 16.554169444444444 67.65416388888889, "
        "16.622222222222224 67.7425, 16.745555555555555 67.91388888888889, 16.902227777777778 "
        "67.96583333333334, 17.00638888888889 68, 17.10333055555556 68.03583333333333, "
        "17.27138888888889 68.12138888888889, 17.447777777777777 68.08444444444444, "
        "17.66472222222222 68.0411111111111, 17.804719444444444 68.002775, 17.89 "
        "67.96805555555555, 18.14388611111111 68.202775, 18.099172222222222 68.38111111111111, "
        "18.12611111111111 68.53666666666666, 18.401108333333333 68.58333333333333, "
        "18.613333333333333 68.50944444444444, 18.99083611111111 68.52027777777778, 19 "
        "68.51416666666667, 19.921111111111113 68.35583333333332, 19.98055833333333 "
        "68.38499722222222, 20.171669444444447 68.45277777777778, 20.25194722222222 "
        "68.48972222222223, 20.053611111111113 68.53083333333333, 19.958608333333334 68.56, "
        "20.07361111111111 68.60555277777777, 20.1975 68.67749722222223, 20.259722222222223 "
        "68.75138888888888, 20.33555833333333 68.80860833333332, 20.3125 68.9, 20.340280555555555 "
        "68.92471944444445, 20.045561111111112 69.06194444444444, 20.548611111111114 69.06))",
        sweden);
    EXPECT_TRUE(bg::covered_by(lon_lat, sweden, bgs::within::geographic_winding()));
    EXPECT_TRUE(bg::within(lon_lat, sweden, bgs::within::geographic_winding()));
The above code returns wrong results because the Polygon describing Sweden airspace contains latitude 90.0 the same would happen if there were any point having longitude 180.0.
The workaround is to clamp longitude-latitude positions in geometries to range ]-180, 180[ and ]-90, 90[ respectively, and do the same for any input positions before executing the above code for it to work as shown below.
constexpr double EPSILON = 1e-10;
constexpr double clamp_latitude(double latitude)
{
    // Boost::Geometry latitude should be in range ]-90, 90[ for it to work.
    constexpr double EXTREMA = 90.0 - EPSILON;
    return std::clamp(latitude, -EXTREMA, EXTREMA);
}
constexpr double clamp_longitude(double longitude)
{
    // Boost::Geometry longitude should be in range ]-180, 180[ for it to work.
    constexpr double EXTREMA = 180.0 - EPSILON;
    return std::clamp(longitude, -EXTREMA, EXTREMA);
}
   constexpr auto clamp_lon_lat_fn = [](Point &point) {
        bg::set<0>(point, util::clamp_longitude(bg::get<0>(point)));
        bg::set<1>(point, util::clamp_latitude(bg::get<1>(point)));
    };
    bg::for_each_point(sweden, clamp_lon_lat_fn);
Looking forward to hearing about this and seeing a proper fix published.
@vissarion vissarion self-assigned this Jun 16, 2023
@vissarion
Copy link
Member

Thanks for filing this issue and for providing all those details.

First, the above code does not compile since bgs::within::geographic_winding() requires template arguments. So, in what follows I assume you are using this bgs::within::geographic_winding<>().

I cannot reproduce your issue it in my local environment (linux, clang15) with several versions of Boost and develop branch. That is, both functions covered_by and within return true with your data.

Could you please specify the platform/compiler and version of Boost you encounter this issue?

@rorviksam
Copy link
Author

rorviksam commented Jun 19, 2023

Sorry, @vissarion my bad as I removed some important details in an attempt to make this code smaller. There were two airspaces described by the provided polygons, covered_by returned true for both on the provided point (actually located in sweden) which is wrong but this is a more general issue as many methods fail as well in varying scenarios. Tested on boost 1.71 (worst) and 1.82 (better) using clang14 of OS Ubuntu 22.04.

        Polygon nuuk;
bg::read_wkt(
        "POLYGON ((30 90, 30 82, 29.999999999999893 82, 29.849999999999895 82, 29.699999999999896 "
        "82, 29.549999999999898 82, 29.3999999999999 82, 29.2499999999999 82, 29.099999999999902 "
        "82, 28.949999999999903 82, 28.799999999999905 82, 28.649999999999906 82, "
        "28.499999999999908 82, 28.34999999999991 82, 28.19999999999991 82, 28.049999999999912 82, "
        "27.899999999999913 82, 27.749999999999915 82, 27.599999999999916 82, 27.449999999999918 "
        "82, 27.29999999999992 82, 27.14999999999992 82, 26.999999999999922 82, 26.849999999999923 "
        "82, 26.699999999999925 82, 26.549999999999926 82, 26.399999999999928 82, "
        "26.24999999999993 82, 26.09999999999993 82, 25.949999999999932 82, 25.799999999999933 82, "
        "25.649999999999935 82, 25.499999999999936 82, 25.349999999999937 82, 25.19999999999994 "
        "82, 25.04999999999994 82, 24.89999999999994 82, 24.749999999999943 82, 24.599999999999945 "
        "82, 24.449999999999946 82, 24.299999999999947 82, 24.14999999999995 82, 23.99999999999995 "
        "82, 23.84999999999995 82, 23.699999999999953 82, 23.549999999999955 82, "
        "23.399999999999956 82, 23.249999999999957 82, 23.09999999999996 82, 22.94999999999996 82, "
        "22.79999999999996 82, 22.649999999999963 82, 22.499999999999964 82, 22.349999999999966 "
        "82, 22.199999999999967 82, 22.04999999999997 82, 21.89999999999997 82, 21.74999999999997 "
        "82, 21.599999999999973 82, 21.449999999999974 82, 21.299999999999976 82, "
        "21.149999999999977 82, 20.99999999999998 82, 20.84999999999998 82, 20.69999999999998 82, "
        "20.549999999999983 82, 20.399999999999984 82, 20.249999999999986 82, 20.099999999999987 "
        "82, 19.94999999999999 82, 19.79999999999999 82, 19.64999999999999 82, 19.499999999999993 "
        "82, 19.349999999999994 82, 19.199999999999996 82, 19.049999999999997 82, 18.9 82, 18.75 "
        "82, 18.6 82, 18.450000000000003 82, 18.300000000000004 82, 18.150000000000006 82, "
        "18.000000000000007 82, 17.85000000000001 82, 17.70000000000001 82, 17.55000000000001 82, "
        "17.400000000000013 82, 17.250000000000014 82, 17.100000000000016 82, 16.950000000000017 "
        "82, 16.80000000000002 82, 16.65000000000002 82, 16.50000000000002 82, 16.350000000000023 "
        "82, 16.200000000000024 82, 16.050000000000026 82, 15.900000000000027 82, "
        "15.750000000000027 82, 15.600000000000026 82, 15.450000000000026 82, 15.300000000000026 "
        "82, 15.150000000000025 82, 15.000000000000025 82, 14.850000000000025 82, "
        "14.700000000000024 82, 14.550000000000024 82, 14.400000000000023 82, 14.250000000000023 "
        "82, 14.100000000000023 82, 13.950000000000022 82, 13.800000000000022 82, "
        "13.650000000000022 82, 13.500000000000021 82, 13.350000000000021 82, 13.20000000000002 "
        "82, 13.05000000000002 82, 12.90000000000002 82, 12.75000000000002 82, 12.60000000000002 "
        "82, 12.450000000000019 82, 12.300000000000018 82, 12.150000000000018 82, "
        "12.000000000000018 82, 11.850000000000017 82, 11.700000000000017 82, 11.550000000000017 "
        "82, 11.400000000000016 82, 11.250000000000016 82, 11.100000000000016 82, "
        "10.950000000000015 82, 10.800000000000015 82, 10.650000000000015 82, 10.500000000000014 "
        "82, 10.350000000000014 82, 10.200000000000014 82, 10.050000000000013 82, "
        "9.900000000000013 82, 9.750000000000012 82, 9.600000000000012 82, 9.450000000000012 82, "
        "9.300000000000011 82, 9.150000000000011 82, 9.00000000000001 82, 8.85000000000001 82, "
        "8.70000000000001 82, 8.55000000000001 82, 8.40000000000001 82, 8.250000000000009 82, "
        "8.100000000000009 82, 7.950000000000008 82, 7.800000000000008 82, 7.6500000000000075 82, "
        "7.500000000000007 82, 7.350000000000007 82, 7.200000000000006 82, 7.050000000000006 82, "
        "6.900000000000006 82, 6.750000000000005 82, 6.600000000000005 82, 6.450000000000005 82, "
        "6.300000000000004 82, 6.150000000000004 82, 6.0000000000000036 82, 5.850000000000003 82, "
        "5.700000000000003 82, 5.5500000000000025 82, 5.400000000000002 82, 5.250000000000002 82, "
        "5.100000000000001 82, 4.950000000000001 82, 4.800000000000001 82, 4.65 82, 4.5 82, 4.35 "
        "82, 4.199999999999999 82, 4.049999999999999 82, 3.8999999999999986 82, 3.7499999999999987 "
        "82, 3.5999999999999988 82, 3.449999999999999 82, 3.299999999999999 82, 3.149999999999999 "
        "82, 2.999999999999999 82, 2.849999999999999 82, 2.6999999999999993 82, 2.5499999999999994 "
        "82, 2.3999999999999995 82, 2.2499999999999996 82, 2.0999999999999996 82, "
        "1.9499999999999995 82, 1.7999999999999996 82, 1.6499999999999997 82, 1.4999999999999998 "
        "82, 1.3499999999999999 82, 1.2 82, 1.05 82, 0.9 82, 0.75 82, 0.6 82, 0.45 82, 0.3 82, "
        "0.15 82, 0 82, 0 82, 0 73, -0.0500000000000102 73, -0.2000000000000102 73, "
        "-0.3500000000000102 73, -0.5000000000000102 73, -0.6500000000000102 73, "
        "-0.8000000000000103 73, -0.9500000000000103 73, -1.1000000000000103 73, "
        "-1.2500000000000102 73, -1.4000000000000101 73, -1.55000000000001 73, -1.70000000000001 "
        "73, -1.8500000000000099 73, -2.0000000000000098 73, -2.1500000000000097 73, "
        "-2.3000000000000096 73, -2.4500000000000095 73, -2.6000000000000094 73, "
        "-2.7500000000000093 73, -2.9000000000000092 73, -3.050000000000009 73, -3.200000000000009 "
        "73, -3.350000000000009 73, -3.500000000000009 73, -3.650000000000009 73, "
        "-3.8000000000000087 73, -3.9500000000000086 73, -4.1000000000000085 73, "
        "-4.250000000000009 73, -4.400000000000009 73, -4.55000000000001 73, -4.70000000000001 73, "
        "-4.85000000000001 73, -5.000000000000011 73, -5.150000000000011 73, -5.300000000000011 "
        "73, -5.450000000000012 73, -5.600000000000012 73, -5.750000000000012 73, "
        "-5.900000000000013 73, -6.050000000000013 73, -6.2000000000000135 73, -6.350000000000014 "
        "73, -6.500000000000014 73, -6.650000000000015 73, -6.800000000000015 73, "
        "-6.950000000000015 73, -7.100000000000016 73, -7.250000000000016 73, -7.400000000000016 "
        "73, -7.550000000000017 73, -7.700000000000017 73, -7.850000000000017 73, "
        "-8.000000000000018 73, -8.150000000000018 73, -8.300000000000018 73, -8.450000000000019 "
        "73, -8.60000000000002 73, -8.75000000000002 73, -8.90000000000002 73, -9.05000000000002 "
        "73, -9.20000000000002 73, -9.350000000000021 73, -9.500000000000021 73, "
        "-9.650000000000022 73, -9.800000000000022 73, -9.950000000000022 73, -10.100000000000023 "
        "73, -10.250000000000023 73, -10.400000000000023 73, -10.550000000000024 73, "
        "-10.700000000000024 73, -10.850000000000025 73, -11.000000000000025 73, "
        "-11.150000000000025 73, -11.300000000000026 73, -11.450000000000026 73, "
        "-11.600000000000026 73, -11.750000000000027 73, -11.900000000000027 73, "
        "-12.050000000000027 73, -12.200000000000028 73, -12.350000000000028 73, "
        "-12.500000000000028 73, -12.650000000000029 73, -12.80000000000003 73, -12.95000000000003 "
        "73, -13.10000000000003 73, -13.25000000000003 73, -13.40000000000003 73, "
        "-13.550000000000031 73, -13.700000000000031 73, -13.850000000000032 73, "
        "-14.000000000000032 73, -14.150000000000032 73, -14.300000000000033 73, "
        "-14.450000000000033 73, -14.600000000000033 73, -14.750000000000034 73, "
        "-14.900000000000034 73, -15.050000000000034 73, -15.200000000000035 73, "
        "-15.350000000000035 73, -15.500000000000036 73, -15.650000000000036 73, "
        "-15.800000000000036 73, -15.950000000000037 73, -16.100000000000037 73, "
        "-16.250000000000036 73, -16.400000000000034 73, -16.550000000000033 73, "
        "-16.70000000000003 73, -16.85000000000003 73, -17.00000000000003 73, -17.150000000000027 "
        "73, -17.300000000000026 73, -17.450000000000024 73, -17.600000000000023 73, "
        "-17.75000000000002 73, -17.90000000000002 73, -18.05000000000002 73, -18.200000000000017 "
        "73, -18.350000000000016 73, -18.500000000000014 73, -18.650000000000013 73, "
        "-18.80000000000001 73, -18.95000000000001 73, -19.10000000000001 73, -19.250000000000007 "
        "73, -19.400000000000006 73, -19.550000000000004 73, -19.700000000000003 73, -19.85 73, "
        "-20 73, -20 73, -20 70, -30 67.29990833333333, -38.04722222222222 63.99583333333334, -39 "
        "63.5, -43 58.5, -43.100000000000065 58.5, -43.250000000000064 58.5, -43.40000000000006 "
        "58.5, -43.55000000000006 58.5, -43.70000000000006 58.5, -43.85000000000006 58.5, "
        "-44.00000000000006 58.5, -44.150000000000055 58.5, -44.300000000000054 58.5, "
        "-44.45000000000005 58.5, -44.60000000000005 58.5, -44.75000000000005 58.5, "
        "-44.90000000000005 58.5, -45.05000000000005 58.5, -45.200000000000045 58.5, "
        "-45.350000000000044 58.5, -45.50000000000004 58.5, -45.65000000000004 58.5, "
        "-45.80000000000004 58.5, -45.95000000000004 58.5, -46.10000000000004 58.5, "
        "-46.250000000000036 58.5, -46.400000000000034 58.5, -46.55000000000003 58.5, "
        "-46.70000000000003 58.5, -46.85000000000003 58.5, -47.00000000000003 58.5, "
        "-47.15000000000003 58.5, -47.300000000000026 58.5, -47.450000000000024 58.5, "
        "-47.60000000000002 58.5, -47.75000000000002 58.5, -47.90000000000002 58.5, "
        "-48.05000000000002 58.5, -48.20000000000002 58.5, -48.350000000000016 58.5, "
        "-48.500000000000014 58.5, -48.65000000000001 58.5, -48.80000000000001 58.5, "
        "-48.95000000000001 58.5, -49.10000000000001 58.5, -49.25000000000001 58.5, "
        "-49.400000000000006 58.5, -49.550000000000004 58.5, -49.7 58.5, -49.85 58.5, -50 58.5, "
        "-50 58.5, -55.666666666666664 63.5, -57.75 65, -60.17611111111111 67.50416666666666, "
        "-63.333333333333336 70, -64 70.5, -70.41611111111112 73.94416666666667, -76 76, -75 78, "
        "-60 82, -60 86, -60 90, -59.85 90, -59.7 90, -59.550000000000004 90, -59.400000000000006 "
        "90, -59.25000000000001 90, -59.10000000000001 90, -58.95000000000001 90, "
        "-58.80000000000001 90, -58.65000000000001 90, -58.500000000000014 90, -58.350000000000016 "
        "90, -58.20000000000002 90, -58.05000000000002 90, -57.90000000000002 90, "
        "-57.75000000000002 90, -57.60000000000002 90, -57.450000000000024 90, -57.300000000000026 "
        "90, -57.15000000000003 90, -57.00000000000003 90, -56.85000000000003 90, "
        "-56.70000000000003 90, -56.55000000000003 90, -56.400000000000034 90, -56.250000000000036 "
        "90, -56.10000000000004 90, -55.95000000000004 90, -55.80000000000004 90, "
        "-55.65000000000004 90, -55.50000000000004 90, -55.350000000000044 90, -55.200000000000045 "
        "90, -55.05000000000005 90, -54.90000000000005 90, -54.75000000000005 90, "
        "-54.60000000000005 90, -54.45000000000005 90, -54.300000000000054 90, -54.150000000000055 "
        "90, -54.00000000000006 90, -53.85000000000006 90, -53.70000000000006 90, "
        "-53.55000000000006 90, -53.40000000000006 90, -53.250000000000064 90, -53.100000000000065 "
        "90, -52.95000000000007 90, -52.80000000000007 90, -52.65000000000007 90, "
        "-52.50000000000007 90, -52.35000000000007 90, -52.200000000000074 90, -52.050000000000075 "
        "90, -51.90000000000008 90, -51.75000000000008 90, -51.60000000000008 90, "
        "-51.45000000000008 90, -51.30000000000008 90, -51.150000000000084 90, -51.000000000000085 "
        "90, -50.85000000000009 90, -50.70000000000009 90, -50.55000000000009 90, "
        "-50.40000000000009 90, -50.25000000000009 90, -50.100000000000094 90, -49.950000000000095 "
        "90, -49.8000000000001 90, -49.6500000000001 90, -49.5000000000001 90, -49.3500000000001 "
        "90, -49.2000000000001 90, -49.050000000000104 90, -48.900000000000105 90, "
        "-48.75000000000011 90, -48.60000000000011 90, -48.45000000000011 90, -48.30000000000011 "
        "90, -48.15000000000011 90, -48.000000000000114 90, -47.850000000000115 90, "
        "-47.70000000000012 90, -47.55000000000012 90, -47.40000000000012 90, -47.25000000000012 "
        "90, -47.10000000000012 90, -46.950000000000124 90, -46.800000000000125 90, "
        "-46.65000000000013 90, -46.50000000000013 90, -46.35000000000013 90, -46.20000000000013 "
        "90, -46.05000000000013 90, -45.900000000000134 90, -45.750000000000135 90, "
        "-45.600000000000136 90, -45.45000000000014 90, -45.30000000000014 90, -45.15000000000014 "
        "90, -45.00000000000014 90, -44.85000000000014 90, -44.700000000000145 90, "
        "-44.550000000000146 90, -44.40000000000015 90, -44.25000000000015 90, -44.10000000000015 "
        "90, -43.95000000000015 90, -43.80000000000015 90, -43.650000000000155 90, "
        "-43.500000000000156 90, -43.35000000000016 90, -43.20000000000016 90, -43.05000000000016 "
        "90, -42.90000000000016 90, -42.75000000000016 90, -42.600000000000165 90, "
        "-42.450000000000166 90, -42.30000000000017 90, -42.15000000000017 90, -42.00000000000017 "
        "90, -41.85000000000017 90, -41.70000000000017 90, -41.550000000000175 90, "
        "-41.400000000000176 90, -41.25000000000018 90, -41.10000000000018 90, -40.95000000000018 "
        "90, -40.80000000000018 90, -40.65000000000018 90, -40.500000000000185 90, "
        "-40.350000000000186 90, -40.20000000000019 90, -40.05000000000019 90, -39.90000000000019 "
        "90, -39.75000000000019 90, -39.60000000000019 90, -39.450000000000195 90, "
        "-39.300000000000196 90, -39.1500000000002 90, -39.0000000000002 90, -38.8500000000002 90, "
        "-38.7000000000002 90, -38.5500000000002 90, -38.400000000000205 90, -38.250000000000206 "
        "90, -38.10000000000021 90, -37.95000000000021 90, -37.80000000000021 90, "
        "-37.65000000000021 90, -37.50000000000021 90, -37.350000000000215 90, -37.200000000000216 "
        "90, -37.05000000000022 90, -36.90000000000022 90, -36.75000000000022 90, "
        "-36.60000000000022 90, -36.45000000000022 90, -36.300000000000225 90, -36.150000000000226 "
        "90, -36.00000000000023 90, -35.85000000000023 90, -35.70000000000023 90, "
        "-35.55000000000023 90, -35.40000000000023 90, -35.250000000000234 90, -35.100000000000236 "
        "90, -34.95000000000024 90, -34.80000000000024 90, -34.65000000000024 90, "
        "-34.50000000000024 90, -34.35000000000024 90, -34.200000000000244 90, -34.050000000000246 "
        "90, -33.90000000000025 90, -33.75000000000025 90, -33.60000000000025 90, "
        "-33.45000000000025 90, -33.30000000000025 90, -33.150000000000254 90, -33.000000000000256 "
        "90, -32.85000000000026 90, -32.70000000000026 90, -32.55000000000026 90, "
        "-32.40000000000026 90, -32.25000000000026 90, -32.100000000000264 90, -31.950000000000266 "
        "90, -31.800000000000267 90, -31.65000000000027 90, -31.50000000000027 90, "
        "-31.35000000000027 90, -31.200000000000273 90, -31.050000000000274 90, "
        "-30.900000000000276 90, -30.750000000000277 90, -30.60000000000028 90, -30.45000000000028 "
        "90, -30.30000000000028 90, -30.150000000000283 90, -30.000000000000284 90, "
        "-29.850000000000286 90, -29.700000000000287 90, -29.55000000000029 90, -29.40000000000029 "
        "90, -29.25000000000029 90, -29.100000000000293 90, -28.950000000000294 90, "
        "-28.800000000000296 90, -28.650000000000297 90, -28.5000000000003 90, -28.3500000000003 "
        "90, -28.2000000000003 90, -28.050000000000303 90, -27.900000000000304 90, "
        "-27.750000000000306 90, -27.600000000000307 90, -27.45000000000031 90, -27.30000000000031 "
        "90, -27.15000000000031 90, -27.000000000000313 90, -26.850000000000314 90, "
        "-26.700000000000315 90, -26.550000000000317 90, -26.40000000000032 90, -26.25000000000032 "
        "90, -26.10000000000032 90, -25.950000000000323 90, -25.800000000000324 90, "
        "-25.650000000000325 90, -25.500000000000327 90, -25.35000000000033 90, -25.20000000000033 "
        "90, -25.05000000000033 90, -24.900000000000333 90, -24.750000000000334 90, "
        "-24.600000000000335 90, -24.450000000000337 90, -24.300000000000338 90, "
        "-24.15000000000034 90, -24.00000000000034 90, -23.850000000000342 90, -23.700000000000344 "
        "90, -23.550000000000345 90, -23.400000000000347 90, -23.250000000000348 90, "
        "-23.10000000000035 90, -22.95000000000035 90, -22.800000000000352 90, -22.650000000000354 "
        "90, -22.500000000000355 90, -22.350000000000357 90, -22.200000000000358 90, "
        "-22.05000000000036 90, -21.90000000000036 90, -21.750000000000362 90, -21.600000000000364 "
        "90, -21.450000000000365 90, -21.300000000000367 90, -21.150000000000368 90, "
        "-21.00000000000037 90, -20.85000000000037 90, -20.700000000000372 90, -20.550000000000374 "
        "90, -20.400000000000375 90, -20.250000000000377 90, -20.100000000000378 90, "
        "-19.95000000000038 90, -19.80000000000038 90, -19.650000000000382 90, -19.500000000000384 "
        "90, -19.350000000000385 90, -19.200000000000387 90, -19.050000000000388 90, "
        "-18.90000000000039 90, -18.75000000000039 90, -18.600000000000392 90, -18.450000000000394 "
        "90, -18.300000000000395 90, -18.150000000000396 90, -18.000000000000398 90, "
        "-17.8500000000004 90, -17.7000000000004 90, -17.550000000000402 90, -17.400000000000404 "
        "90, -17.250000000000405 90, -17.100000000000406 90, -16.950000000000408 90, "
        "-16.80000000000041 90, -16.65000000000041 90, -16.500000000000412 90, -16.350000000000414 "
        "90, -16.200000000000415 90, -16.050000000000416 90, -15.900000000000416 90, "
        "-15.750000000000416 90, -15.600000000000415 90, -15.450000000000415 90, "
        "-15.300000000000415 90, -15.150000000000414 90, -15.000000000000414 90, "
        "-14.850000000000414 90, -14.700000000000413 90, -14.550000000000413 90, "
        "-14.400000000000412 90, -14.250000000000412 90, -14.100000000000412 90, "
        "-13.950000000000411 90, -13.800000000000411 90, -13.65000000000041 90, -13.50000000000041 "
        "90, -13.35000000000041 90, -13.20000000000041 90, -13.05000000000041 90, "
        "-12.900000000000409 90, -12.750000000000409 90, -12.600000000000408 90, "
        "-12.450000000000408 90, -12.300000000000407 90, -12.150000000000407 90, "
        "-12.000000000000407 90, -11.850000000000406 90, -11.700000000000406 90, "
        "-11.550000000000406 90, -11.400000000000405 90, -11.250000000000405 90, "
        "-11.100000000000405 90, -10.950000000000404 90, -10.800000000000404 90, "
        "-10.650000000000404 90, -10.500000000000403 90, -10.350000000000403 90, "
        "-10.200000000000403 90, -10.050000000000402 90, -9.900000000000402 90, -9.750000000000401 "
        "90, -9.600000000000401 90, -9.4500000000004 90, -9.3000000000004 90, -9.1500000000004 90, "
        "-9.0000000000004 90, -8.8500000000004 90, -8.700000000000399 90, -8.550000000000399 90, "
        "-8.400000000000398 90, -8.250000000000398 90, -8.100000000000398 90, -7.950000000000397 "
        "90, -7.800000000000397 90, -7.6500000000003965 90, -7.500000000000396 90, "
        "-7.350000000000396 90, -7.200000000000395 90, -7.050000000000395 90, -6.900000000000395 "
        "90, -6.750000000000394 90, -6.600000000000394 90, -6.450000000000394 90, "
        "-6.300000000000393 90, -6.150000000000393 90, -6.000000000000393 90, -5.850000000000392 "
        "90, -5.700000000000392 90, -5.5500000000003915 90, -5.400000000000391 90, "
        "-5.250000000000391 90, -5.10000000000039 90, -4.95000000000039 90, -4.80000000000039 90, "
        "-4.650000000000389 90, -4.500000000000389 90, -4.350000000000389 90, -4.200000000000388 "
        "90, -4.050000000000388 90, -3.900000000000388 90, -3.750000000000388 90, "
        "-3.6000000000003882 90, -3.4500000000003883 90, -3.3000000000003884 90, "
        "-3.1500000000003885 90, -3.0000000000003886 90, -2.8500000000003887 90, "
        "-2.7000000000003888 90, -2.550000000000389 90, -2.400000000000389 90, -2.250000000000389 "
        "90, -2.100000000000389 90, -1.9500000000003892 90, -1.8000000000003893 90, "
        "-1.6500000000003894 90, -1.5000000000003895 90, -1.3500000000003896 90, "
        "-1.2000000000003896 90, -1.0500000000003897 90, -0.9000000000003897 90, "
        "-0.7500000000003897 90, -0.6000000000003897 90, -0.4500000000003896 90, "
        "-0.3000000000003896 90, -0.1500000000003896 90, -0.0000000000003896 90, "
        "0.1499999999996104 90, 0.2999999999996104 90, 0.4499999999996104 90, 0.5999999999996104 "
        "90, 0.7499999999996104 90, 0.8999999999996104 90, 1.0499999999996104 90, "
        "1.1999999999996103 90, 1.3499999999996102 90, 1.49999999999961 90, 1.64999999999961 90, "
        "1.79999999999961 90, 1.9499999999996098 90, 2.0999999999996097 90, 2.2499999999996096 90, "
        "2.3999999999996096 90, 2.5499999999996095 90, 2.6999999999996094 90, 2.8499999999996093 "
        "90, 2.999999999999609 90, 3.149999999999609 90, 3.299999999999609 90, 3.449999999999609 "
        "90, 3.599999999999609 90, 3.7499999999996088 90, 3.8999999999996087 90, 4.049999999999609 "
        "90, 4.199999999999609 90, 4.34999999999961 90, 4.49999999999961 90, 4.6499999999996104 "
        "90, 4.799999999999611 90, 4.949999999999611 90, 5.0999999999996115 90, 5.249999999999612 "
        "90, 5.399999999999612 90, 5.549999999999613 90, 5.699999999999613 90, 5.849999999999613 "
        "90, 5.999999999999614 90, 6.149999999999614 90, 6.299999999999614 90, 6.449999999999615 "
        "90, 6.599999999999615 90, 6.749999999999615 90, 6.899999999999616 90, 7.049999999999616 "
        "90, 7.1999999999996165 90, 7.349999999999617 90, 7.499999999999617 90, 7.6499999999996176 "
        "90, 7.799999999999618 90, 7.949999999999618 90, 8.099999999999618 90, 8.249999999999618 "
        "90, 8.399999999999618 90, 8.549999999999619 90, 8.69999999999962 90, 8.84999999999962 90, "
        "8.99999999999962 90, 9.14999999999962 90, 9.29999999999962 90, 9.449999999999621 90, "
        "9.599999999999621 90, 9.749999999999622 90, 9.899999999999622 90, 10.049999999999622 90, "
        "10.199999999999623 90, 10.349999999999623 90, 10.499999999999623 90, 10.649999999999624 "
        "90, 10.799999999999624 90, 10.949999999999624 90, 11.099999999999625 90, "
        "11.249999999999625 90, 11.399999999999626 90, 11.549999999999626 90, 11.699999999999626 "
        "90, 11.849999999999627 90, 11.999999999999627 90, 12.149999999999627 90, "
        "12.299999999999628 90, 12.449999999999628 90, 12.599999999999628 90, 12.749999999999629 "
        "90, 12.899999999999629 90, 13.04999999999963 90, 13.19999999999963 90, 13.34999999999963 "
        "90, 13.49999999999963 90, 13.64999999999963 90, 13.799999999999631 90, 13.949999999999632 "
        "90, 14.099999999999632 90, 14.249999999999632 90, 14.399999999999633 90, "
        "14.549999999999633 90, 14.699999999999633 90, 14.849999999999634 90, 14.999999999999634 "
        "90, 15.149999999999634 90, 15.299999999999635 90, 15.449999999999635 90, "
        "15.599999999999635 90, 15.749999999999636 90, 15.899999999999636 90, 16.049999999999635 "
        "90, 16.199999999999633 90, 16.349999999999632 90, 16.49999999999963 90, 16.64999999999963 "
        "90, 16.799999999999628 90, 16.949999999999626 90, 17.099999999999625 90, "
        "17.249999999999623 90, 17.399999999999622 90, 17.54999999999962 90, 17.69999999999962 90, "
        "17.849999999999618 90, 17.999999999999616 90, 18.149999999999615 90, 18.299999999999613 "
        "90, 18.449999999999612 90, 18.59999999999961 90, 18.74999999999961 90, 18.899999999999608 "
        "90, 19.049999999999606 90, 19.199999999999605 90, 19.349999999999604 90, "
        "19.499999999999602 90, 19.6499999999996 90, 19.7999999999996 90, 19.949999999999598 90, "
        "20.099999999999596 90, 20.249999999999595 90, 20.399999999999594 90, 20.549999999999592 "
        "90, 20.69999999999959 90, 20.84999999999959 90, 20.999999999999588 90, 21.149999999999586 "
        "90, 21.299999999999585 90, 21.449999999999584 90, 21.599999999999582 90, "
        "21.74999999999958 90, 21.89999999999958 90, 22.049999999999578 90, 22.199999999999577 90, "
        "22.349999999999575 90, 22.499999999999574 90, 22.649999999999572 90, 22.79999999999957 "
        "90, 22.94999999999957 90, 23.099999999999568 90, 23.249999999999567 90, "
        "23.399999999999565 90, 23.549999999999564 90, 23.699999999999562 90, 23.84999999999956 "
        "90, 23.99999999999956 90, 24.149999999999558 90, 24.299999999999557 90, "
        "24.449999999999555 90, 24.599999999999554 90, 24.749999999999552 90, 24.89999999999955 "
        "90, 25.04999999999955 90, 25.199999999999548 90, 25.349999999999547 90, "
        "25.499999999999545 90, 25.649999999999544 90, 25.799999999999542 90, 25.94999999999954 "
        "90, 26.09999999999954 90, 26.249999999999538 90, 26.399999999999537 90, "
        "26.549999999999535 90, 26.699999999999534 90, 26.849999999999532 90, 26.99999999999953 "
        "90, 27.14999999999953 90, 27.299999999999528 90, 27.449999999999527 90, "
        "27.599999999999525 90, 27.749999999999524 90, 27.899999999999523 90, 28.04999999999952 "
        "90, 28.19999999999952 90, 28.34999999999952 90, 28.499999999999517 90, 28.649999999999515 "
        "90, 28.799999999999514 90, 28.949999999999513 90, 29.09999999999951 90, 29.24999999999951 "
        "90, 29.39999999999951 90, 29.549999999999507 90, 29.699999999999505 90, "
        "29.849999999999504 90, 29.999999999999503 90, 30 90))",
        nuuk);
    EXPECT_FALSE(bg::covered_by(lon_lat, nuuk, bgs::within::geographic_winding<>()));
    EXPECT_FALSE(bg::within(lon_lat, nuuk, bgs::within::geographic_winding<>()));
    ```
    Also tried other strategies like ```bgs::within::geographic_winding<Point, Point, bgs::vincenty>``` or ```bgs::within::geographic_winding<Point, Point, bgs::thomas>``` 

@vissarion
Copy link
Member

Related issue #480

@vissarion
Copy link
Member

This is fixed in #1177
If there are still problems on your side please reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants