<p></p>
<p dir="auto">I think you're wrong about routing engines as I already explained...</p>
<p dir="auto">OSRM's API is documented <a href="http://project-osrm.org/docs/v5.24.0/api/#requests" rel="nofollow">here</a> and it has a several options like <code class="notranslate">radiuses</code> and <code class="notranslate">snapping</code> relating to matching locations to the routing graph. We don't currently set any of them.</p>
<p dir="auto">Valhalla's API is documented <a href="https://valhalla.github.io/valhalla/api/turn-by-turn/api-reference/" rel="nofollow">here</a> and it has a whole set of parameters like <code class="notranslate">radius</code>, <code class="notranslate">rank_candidates</code> etc that are all about how it matches locations to edges in the routing graph. The only one we currently set is <code class="notranslate">radius</code> which we set to five metres.</p>
<p dir="auto">Graphhopper's API is documented <a href="https://docs.graphhopper.com/#operation/getRoute" rel="nofollow">here</a> and although it doesn't seem to have a search radius it obviously does do snapping because it has parameters like <code class="notranslate">point_hint</code> and <code class="notranslate">snap_prevention</code> which influence the algorithm.</p>
<p dir="auto">So it seems all three routers do in fact do some sort of snapping.</p>
<p dir="auto">It may well be that we could tune the parameters that we pass to some of them better - if you do find better values then please do let us know and we can consider them.</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/issues/4649#issuecomment-2040195944">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLJGQCSB7ST7DDDCBVTY33EWTAVCNFSM6AAAAABFY2F7QOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBQGE4TKOJUGQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLKLLQT2TSIFSUJLEFTY33EWTA5CNFSM6AAAAABFY2F7QOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTZTLVWQ.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/issues/4649/2040195944</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/issues/4649#issuecomment-2040195944",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/4649#issuecomment-2040195944",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>