graphhopper / graphhopper/graphhopper

Too strict route if a route starts on a forward/backward=destination road

Open
#1,508 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.7k
Forks
2k
Avg merge
15h 58m
Merged PRs (30d)
3

Description

Hello,
please just look at this route: https://www.openstreetmap.org/directions?engine=graphhopper_car&route=51.28328%2C7.24540%3B51.28352%2C7.24455
The residential road where the route is starting has a vehicle:forward=destination.
But that does not mean when you start your route there, you would have to follow the "destination" rule and have to use a longer route. **"destination" in only one direction means: If you using the way in the restricted direction and you _do not_ start your route on this road, _then_ you have to follow the restriction.**
Is it maybe possible to implement something like that?
P. S.: Splitting the way is unfortunately not possible, because this would cause more wrong issues with the "destination" restriction if your final destination is behind the restricted way or your start point is before it. And a two-directional "destination" restriction would be just wrong in this case.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.