Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

U-Turn at motorway<->motorway_link connection if the motorway is oneway=no #2861

Open
sd5 opened this issue Aug 7, 2023 · 1 comment
Open

Comments

@sd5
Copy link

sd5 commented Aug 7, 2023

Describe the bug
See one of the screenshots below.
At the connection of the highway=motorway to the highway=motorway_link (at node/295800986) GraphHopper thinks it can do a U-turn. The motorway is tagged with oneway=no at this location due to construction work.
I'm not sure if this is intentional behaviour, but all other routers I tried do not make a U-turn here but instead continue to route into the next village and make the turn there.
The problem was first discovered by OSM-user "furgas" in Changeset 139458779.

To Reproduce
Use one of these links:
GraphHopper on openstreetmap.org
GraphHopper on graphhopper.com

Note:
Yesterday (07. August 2023) I have created a turn-restriction to prevent this behaviour: relation/16167144
So as soon as routing data is updated, this bug might not be happening anymore at this particular location.

Expected behavior
No U-turn at this location, even without a turn-restriction-relation.

Screenshots & Logs
grafik
grafik

@easbar
Copy link
Member

easbar commented Aug 7, 2023

Thanks for reporting this. We probably need to take into account the road class to prevent such u-turns. Increasing the u-turn costs would probably also yield another route.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants