<span style="color: transparent; display: none; height: 0; max-height: 0; max-width: 0; opacity: 0; overflow: hidden; mso-hide: all; visibility: hidden; width: 0;">
<p dir="auto">What was <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5777/files/e7db3420dc6fa8a1d34e45a99c12c6f9255e6a89..2db8892dc5f1b3fd2248265c9a06e472b825db23">this change</a> supposed to achieve?</p>
<p dir="auto">How about making no decision because you can't make a correct one? If OSRM builds a route going to a dead end with u-turn and then going back, there's no way guess the u-turn direction even if you analyze the entire route geometry.</p>
<p dir="auto">The best way to get u-turn directions is probably doing what OSRM is supposed to do: checking if u-turns inside a left/right-hand driving country.</p><p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5777#issuecomment-2726513118">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLLYIW2MZPQRNZVSCND2UQO2XAVCNFSM6AAAAABYTCZYMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMRWGUYTGMJRHA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLPEGJANWULIWD4UBTD2UQO2XA5CNFSM6AAAAABYTCZYMWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTVCQNE54.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/5777/c2726513118</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
</span>
<div style="display: flex; flex-wrap: wrap; white-space: pre-wrap; align-items: center; "><img alt="AntonKhorev" height="20" width="20" style="border-radius:50%; margin-right: 4px;" decoding="async" src="https://avatars.githubusercontent.com/u/4158490?s=20&v=4" /><strong>AntonKhorev</strong> left a comment <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5777#issuecomment-2726513118">(openstreetmap/openstreetmap-website#5777)</a></div>
<p dir="auto">What was <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5777/files/e7db3420dc6fa8a1d34e45a99c12c6f9255e6a89..2db8892dc5f1b3fd2248265c9a06e472b825db23">this change</a> supposed to achieve?</p>
<p dir="auto">How about making no decision because you can't make a correct one? If OSRM builds a route going to a dead end with u-turn and then going back, there's no way guess the u-turn direction even if you analyze the entire route geometry.</p>
<p dir="auto">The best way to get u-turn directions is probably doing what OSRM is supposed to do: checking if u-turns inside a left/right-hand driving country.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5777#issuecomment-2726513118">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLLYIW2MZPQRNZVSCND2UQO2XAVCNFSM6AAAAABYTCZYMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMRWGUYTGMJRHA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLPEGJANWULIWD4UBTD2UQO2XA5CNFSM6AAAAABYTCZYMWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTVCQNE54.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/5777/c2726513118</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/5777#issuecomment-2726513118",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5777#issuecomment-2726513118",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>