-
Notifications
You must be signed in to change notification settings - Fork 127
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
Bug with boarding/alighting in raptor #2580
Comments
So, Just giving |
TeXitoi
added a commit
to TeXitoi/navitia
that referenced
this issue
Nov 29, 2018
TeXitoi
pushed a commit
to TeXitoi/navitia
that referenced
this issue
Nov 29, 2018
TeXitoi
added a commit
to TeXitoi/navitia
that referenced
this issue
Nov 29, 2018
Thanks ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
We have found a bug which is involving boarding and alighting times and we could use your help on the subject because we don't know yet how to fix it.
We discovered it by testing some ODT journeys in arrival mode (we use only alighting in our data) and we got unexpected results from the journey service. The problem is that for some journeys, we have to request a greater arrival time than the expected arrival time of the corresponding VJ in order to get the solution.
For example, I have a VJ which is expected to arrive at 19h20 at the requested stop and if I want raptor to choose it as a solution, I have to request journey with a datetime at 19h30 or it won't be picked (only if the arrival stop time has alighting time). It doesn't happen for every journey, but when there is a close stop accessible by foot and a service at this other stop in the past.
I wrote some tests in order to expose the problem with alighting and boarding.
Looking at the code, we found that the problem is related to boarding/alighting in the raptor_loop function.
@eturck wrote the details looking at the algorithm:
So, what we understand from here, if we ask for a journey from A to C, arriving at 9h25, non clockwise search :
previous_dt = prec_labels.dt_transfer(jpp.sp_idx)
returns the arrival time requested minus the access time by foot. Here 9h25 - 5 min => 9h20.The text was updated successfully, but these errors were encountered: