-
Notifications
You must be signed in to change notification settings - Fork 173
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
[Clarification] from/to_stop_id presence and description in transfers.txt #455
base: master
Are you sure you want to change the base?
[Clarification] from/to_stop_id presence and description in transfers.txt #455
Conversation
LGTM on the stop vs station change, however it should still be |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tzujenchanmbd I made a few editorial edits for consistency with the rest pf the spec:
- having "Optional" not in bold
- enum values in
code
formatting - added a formatting change to
from_trip_id
to reproduce into_trip_id
to fit with the rest of the spec
It might be worth seeing if pieces of #363 could also be included in this PR. The initial scope of it was to revert transfer_type=4 and 5 but it also contained good editorial/clarification fixes. |
Co-authored-by: isabelle-dr <[email protected]>
Co-authored-by: isabelle-dr <[email protected]>
Co-authored-by: isabelle-dr <[email protected]>
Issue
Recently we have received requests to change the behavior of the Canonical GTFS Validator regarding
transfers.from_stop_id
andtransfers.to_stop_id
(e.g. MobilityData/gtfs-validator#1621), stemming from different interpretations of the current specification.The current description of
from_stop_id
is:Based on the description and the discussion in PR#303, it should indicate that
from_stop_id
andto_stop_id
cannot be empty, and it cannot be a "station" (location_type =1) iftransfer_type
is 4 or 5.However, some community members may interpret it as:
from_stop_id
is required fortransfer_type
1, 2, and 3; optional fortransfer_type
4 and 5 ORfrom_stop_id
is required fortransfer_type
1, 2, and 3; forbidden fortransfer_type
4 and 5To prevent such confusion from happening again, we propose the following modification:
Changes in this PR
Required
- "The field or file must be included in the dataset and contain a valid value for each record", these 2 fields should beRequired
.+@gcamp - the main contributor of PR#303