nrenner / brouter-web

Web client for BRouter, a routing engine based on OpenStreetMap
https://brouter.de/brouter-web/
MIT License
374 stars 74 forks source link

Bad routing on shortest/hiking profiles across restriction=no_right_turn + except=bicycle #469

Closed joernheissler closed 2 years ago

joernheissler commented 2 years ago

Hello,

https://brouter.de/brouter-web/#map=18/53.59353/9.96837/standard&lonlats=9.96667,53.593428;9.96652,53.593256&profile=shortest https://www.openstreetmap.org/relation/3517068 shortest-route

This used to work until recently. Was anything changed in the profiles?

polyscias commented 2 years ago

See the patch of @vodie for brouter.

This was changed indeed changed with the last release.

A good work-around for now is to change your foot profile:

assign considerTurnRestrictions = true   # %considerTurnRestrictions% | Set to true to take turn restrictions into account | boolean

Change the true to false.

Another way to fix this is change the data in openstreetmap so the the cycleway=track is mapped as separate way in OSM.

polyscias commented 2 years ago

The original problem is meanwhile also solved.