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

Ad-hoc trips in GTFS-RT TripUpdates feed use of trip_id not found in GTFS-Static #529

Open
mpaine-act opened this issue Jan 13, 2025 · 1 comment
Labels
GTFS Realtime Issues and Pull Requests that focus on GTFS Realtime Support: Question

Comments

@mpaine-act
Copy link

Introduce yourself

IT Supervisor for AC Transit working on new GTFS-Realtime feed.

Ask a question

I am trying to tune a new GTFS-RT TripUpdates feed and would like to know which scenario is better for data consumers regarding adding trips not found in GTFS-Static:

  1. Set a negative (fake) trip_id to a specific trip inside TripDescriptor. This negative (fake) trip_id is not found inside GTFS-Static but is provided for backwards compatibility for older data consumers which assume a trip_id exists.

  2. Instead of providing a fake trip_id, it will be omitted. We assume a fake trip_id is not necessary for modern GTFS-RT data consumers.

Note that alongside the route_id, direction_id, start_time and start_date will be set. Note that the additional properties may or may not coincide with a specific trip inside GTFS-Static trips.txt

@miklcct
Copy link

miklcct commented Jan 14, 2025

Please refer to #504 , it is a proposal of formalising the ability to add trips not found in GTFS-static, which is under voting.

I would like to hear your opinion about this.

@eliasmbd eliasmbd added Support: Question GTFS Realtime Issues and Pull Requests that focus on GTFS Realtime labels Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GTFS Realtime Issues and Pull Requests that focus on GTFS Realtime Support: Question
Projects
None yet
Development

No branches or pull requests

3 participants