Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Proposed best practice: including trip_id in TripDescriptor #22

Closed
emmambd opened this issue Apr 26, 2023 · 1 comment
Closed

Proposed best practice: including trip_id in TripDescriptor #22

emmambd opened this issue Apr 26, 2023 · 1 comment

Comments

@emmambd
Copy link

emmambd commented Apr 26, 2023

In the spec, producers can identify trips by either 1) having a trip_id that corresponds to the trip_id in GTFS Schedule, or 2) by including all of route_id, direction_id, start_date, and start_time instead.

However, based on conversation in #gtfs-realtime (you can join the Slack here), option 1 (using trip_id) is easiest and most commonly used by consumers. Option 2 causes headaches and sometimes isn't supported by consumers at all. As a result, it would make sense to recommend that producers use trip_id in all cases.

@Sergiodero
Copy link

As GTFS Best Practices (BP) are currently in the process of being merged to the specification, MobilityData is migrating outstanding issues and PRs from this repository to google/transit. Thus, this issue will be closed and further discussion regarding this BP should take place in google/transit. Please refer to Issue #421 for a more detailed explanation of the migration process and the proposed next steps.

With this, we’re hoping to bring more visibility to outstanding BP issues and to restart the discussion around them, so that any improvement that the community finds valuable could be carried forward.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants