-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Keep waypoints on the left/right #2201
Comments
This feature is also interesting in start/end point and on matrix computation, since matrix is just route segments for TSP optimization. Sometimes I recompute only segment of route, but still interested on waypoints on the left/right. |
This feature would be useful for buses, since they only have doors on one side, either on the left (british ones) or on the right (others), as well as some kind of trucks, like this one. In Network Analyst this is the |
Also relevant for bike and foot routing, since crossing bigger roads is often only possible at intersections. |
This was addressed with the |
If you're a taxi driver planning a route, it might be preferable to approach a waypoint on the side of the road that deposits/picks up your passenger without needing to cross the road, and then continue routing you without issuing a u-turn.
This is partly implemented by the "allow u-turns at waypoints" parameter in the Lua profiles.
We could implement a query-time parameter called "keep waypoints on the left/right". When constructing phantom nodes, we would eliminate edges that do not put the foot segment on the specified side. The behaviour would be similar to the bearing filter - only the relevant edges would be seeded on the query heap.
It should be a query-time parameter to allow for left/right side driving, allowing localized apps to specify the desired side.
The text was updated successfully, but these errors were encountered: