Routing via highway=service, access=private (plus a long detour)

Hi all,
tried several point-to point ways in this area (from the south), Graphhopper (as well as Valhalla, in ID) routes via this restricted road instead of taking the shortest way (next to the destination, in a pedestrian area) Way: ‪Baustraße Stuttgart 21‬ (‪779116254‬) | OpenStreetMap.

It works from 48.786085, 9.180847 to 48.788411, 9.183422, but not to 9.18354 (some meters beside, in the same road). IMHO it shouldn’t use the access=private way in any case, especially not with a long way around (1.7km instead of 295m).

Until recently, the destination pedestrian area was mapped with vehicle=destination;delivery, in case this helps for the analysis Way History: ‪Osloer Straße‬ (‪10071182‬) | OpenStreetMap (should work, in case the semicolon separator is supported ?). Even in case it’s not I’d expect it to take the shortest way next to the destination. OSRM works as expected (in ID, “car” setting).

Cheers, Smithe

If the destination is on a private road then we do not exclude the private road. Instead we give a route hint that this might not be accessible:

This is usually what users expect and other routing services do too. Maybe not in all cases but from our years of experience in the majority of cases.

Note, you can always exclude private roads with a custom model.