-
Notifications
You must be signed in to change notification settings - Fork 101
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
feat: transfers.txt trip=>route reference validation. #1267
feat: transfers.txt trip=>route reference validation. #1267
Conversation
Would this close #1114? |
@isabelle-dr actually, based on what I'm reading there, I would have thought PR #1208 should have closed that issue. |
Sorry, I meant: would this close #1268? When we evaluated the impact of adding trip-to-trip and route-to-route transfers, we missed that additional check for trip-to-route pairing. I noticed that as we were evaluating the addition of in-seat transfers, this is why I opened that issue 😊 |
@isabelle-dr indeed it would. I added these checks mostly because I wanted to verify some assumptions in the larger discussion about |
FYI this is ready for review. This can be seen as a pre-req of sorts to the logic being debated in #1266. |
Thank you for working on this @bdferris-v2 🙏🙏 One question:
This type of pair isn't specified in the list of possibilities in transfers.txt, so I am wondering if this is something we should be doing in the first place? Do we allow trip-to-stop pairs? |
@isabelle-dr I'm not totally sure I understand your question. When I talk about a "trip + stop reference", I mean the combination of But maybe you were asking about a case where |
Ah, I see. I thought it was the cross combination of the two, thanks for clarifying. The documentation is updated, I had a look at the acceptance test report, this LGTM! Merging this PR now. Thanks again 😊 |
|
Add validation checks for
transfers.txt
to check that trip, route, and stop references are all consistent. Namely, we add the following checks:transfers.txt
should have a stop/platform or station location type.transfers.txt
andtrips.txt
.