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

Keep waypoints on the left/right #2201

Closed
danpat opened this issue Apr 3, 2016 · 4 comments
Closed

Keep waypoints on the left/right #2201

danpat opened this issue Apr 3, 2016 · 4 comments
Milestone

Comments

@danpat
Copy link
Member

danpat commented Apr 3, 2016

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.

@frodrigo
Copy link
Member

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.

@jperaltamalvar
Copy link
Contributor

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 CurbApproachparameter.

@emiltin
Copy link
Contributor

emiltin commented May 9, 2016

Also relevant for bike and foot routing, since crossing bigger roads is often only possible at intersections.

@TheMarex
Copy link
Member

TheMarex commented Jun 8, 2017

This was addressed with the approaches parameter.

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

No branches or pull requests

5 participants