-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Support intermediatePlaces in OTP2 #3183
Comments
This not top priority at Entur, but if someone provide the resources to develop it I am happy to assist. When I say "top priority" it means that there are quite a few tings that is prioritized before this. We have some thoughts about how to implement this. I would like to make an extension point in OTP so we could do this, and also at the same time allow for similar needs, like running a multi-mode access/egress/transit parallell search with a filter at the end. |
In realCity:feature/intermediate-places we've started working on an initial implementation which does one trip plan between each pair of places (A - B, B - C, C - D) manipulating the We're open to suggestions on how to improve it, or what would be a better approach. |
Hey, what's the current state and plans on this issue? Is anyone (maybe in a fork) actively tackling this? We're trying to do travelling salesman by calculating pairwise distances and solving the problem outside OTP, but with rented bicycles it seems impossible as the pairwise routes are found such that the bicycle has to bet left at a station while we'd actually need it to visit a place and continue on without looking for stations. |
We are not actively working on this, realCity:feature/intermediate-places contains the latest state of our code. We may have time in the next few months to rebase it on a current |
What is the use case for maxTransferTime at an intermediate place? |
It had two purposes:
|
I have updated the original problem description today. I suggest doing the OTP Internal Model API to be done first, then someone can start to implement the APIs, and someone else can port @flaktack work to fit the OTP Model API. The reason why I want us to refactor the API first is:
|
I am a bit unsure if we need
|
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days |
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days |
OTP2 currently doesn't support the
intermediatePlaces
parameter inRoutingRequest
.Reimplement support for it, maybe even adding extra functionality:
minTransferTime
,maxTransferTime
(slack
?) at a givenintermediatePlace
Minutes Via Routing Meeting 10th May 2022
(by @t2gran)
fields in the current routing works. Use Stop/Station ID it the stop/station exist, if not use
the coordinate. Each location should have:
passThroughPoint : boolean = false
minSlack : Duration = 10 minutes
maxSlack : Duration = 60 minutes
optimize and run them in parallel. Running the searches in parallel, will require an initial
search for each viaTrip to find
minTravelTime
. Then perform searches for different viaTrips inparallel.
Open questions?
the first journey. I vote for no, unless it is a passThrough via point.
DOS attack possibilities. A search with 1000 via points would take down a server with one
call.
Tasks
the other should be a transfation of the first.. (Depend on: A)
passThroughPoint
. (Depends D)StartOnboardRequest{FeedScopedId tripId; FeedScopedId stopId; ServiceDate date}
. This is not part of the Via search, but a separate feature. I add it here so we do not forget. Create code or issue for this. (Depend on: Part A, via search)The text was updated successfully, but these errors were encountered: