osrm-backend icon indicating copy to clipboard operation
osrm-backend copied to clipboard

Oxford Street in Central London, UK. OSRM says: No route found between points

Open JakeCracknell opened this issue 2 months ago • 6 comments

Issue

Using the default 'car' profile, routes like this that start or end on particular portions of Oxford Street return an error: No route found between points

Image

This is quite a common error on many segments of this road. This long stretch of road is a very popular destination for taxis with many nearby POIs, so this is quite likely to impact users. I suspect it is related to turn restrictions. I can't be sure if they are correctly defined in OpenStreetMap, but the same route succeeds in GraphHopper and Valhalla. There should at least be no restriction in driving straight down this road with no U-turns necessary.

Steps to reproduce

https://routing.openstreetmap.de/routed-car/route/v1/driving/-0.15730619430541995,51.51356341375649;-0.14868021011352542,51.51443807528049?overview=false&alternatives=true&steps=true

https://map.project-osrm.org/?z=16&center=51.512996%2C-0.151448&loc=51.512989%2C-0.162263&loc=51.514438%2C-0.148680&hl=en&alt=0&srv=0

Specifications

n/a

JakeCracknell avatar Oct 23 '25 20:10 JakeCracknell

There is something wrong in Oxford Circus, probably with the data.

https://map.project-osrm.org/?z=18&center=51.514583%2C-0.141460&loc=51.515379%2C-0.140972&loc=51.515126%2C-0.142999&hl=en&alt=0&srv=0

frodrigo avatar Nov 21 '25 21:11 frodrigo

There is something wrong in Oxford Circus, probably with the data.

https://map.project-osrm.org/?z=18&center=51.514583%2C-0.141460&loc=51.515379%2C-0.140972&loc=51.515126%2C-0.142999&hl=en&alt=0&srv=0

With that example, this would be due to a turn restriction, which I've checked is valid: https://www.openstreetmap.org/relation/3132117/history#map=19/51.515204/-0.141875

JakeCracknell avatar Nov 21 '25 22:11 JakeCracknell

I spot the issue. Due to turn restriction there is no way to entrer this segement

https://www.openstreetmap.org/way/209692629

frodrigo avatar Nov 22 '25 11:11 frodrigo

Should OSRM prune road segments that are inaccessible due to turn restrictions? This may be the root cause for the nearby example at the beginning of this thread.

On Sat, 22 Nov 2025 at 11:35, Frédéric @.***> wrote: frodrigo left a comment (Project-OSRM/osrm-backend#7265) I spot the issue. Due to turn restriction there is no way to entrer this segement

https://www.openstreetmap.org/way/209692629

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

JakeCracknell avatar Nov 22 '25 11:11 JakeCracknell

You can see the debug map here

https://map.project-osrm.org/debug/#18.34/51.51525/-0.14207

Not pruned, but still inaccessible.

frodrigo avatar Nov 22 '25 14:11 frodrigo

Thanks :) Should ways that have been made inaccessible by turn restrictions still be snapped to for routing queries? Suppose a waypoint is placed near Oxford Street but also close to a fully accessible side-road. The API would return NoRoute, rather than taking them to the side-road. If that single troublesome waypoint was in much larger a Table or Trip query, the entire query would fail. If it is technically possible to prune these (in the same way as bus-only or private roads are removed), probably they should be. On Saturday, 22 November 2025 at 14:48:53 GMT, Frédéric Rodrigo @.***> wrote:

frodrigo left a comment (Project-OSRM/osrm-backend#7265) You can see the debug map here

https://map.project-osrm.org/debug/#18.34/51.51525/-0.14207

Not pruned, but still inaccessible.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

JakeCracknell avatar Nov 22 '25 15:11 JakeCracknell