google / transit

https://gtfs.org/
Apache License 2.0
558 stars 173 forks source link

Service delineation in GTFS-Flex #334

Open omar-kabbani opened 2 years ago

omar-kabbani commented 2 years ago

This issue relates to the GTFS-Flex proposal, and is opened following a series of roundtable discussion to resolve the outstanding issues with the proposal. These discussions were hosted by MobilityData and attended by various stakeholders within the GTFS community.

You can find the GTFS-Flex proposal here: https://github.com/MobilityData/gtfs-flex/blob/master/spec/reference.md


With GTFS-Flex, the specification is no longer limited to fixed route services. It will be possible to have different transit services represented in a single GTFS file.

Therefore, there is a need to delineate which types of services are represented in a GTFS dataset. We propose these four options:

To avoid the complexities of adding new fields to GTFS, we are proposing a process to parse the files and fields in GTFS to determine the type of services represented in the dataset.

This is the link to the flowchart: GTFS-Flex Decision Tree

Please provide your feedback on the process here - as well as your thoughts on where this diagram should live. We propose having it in the GTFS Schedule Best Practices page.

leonardehrenfried commented 2 years ago

I think this is a good idea. I'd like to point out that this decision tree is to a degree already implemented in the OTP codebase: https://github.com/opentripplanner/OpenTripPlanner/blob/b68ea1a5bccbcfc98d46ebac6490056a69c44550/src/ext/java/org/opentripplanner/ext/flex/FlexTripsMapper.java#L38-L49

github-actions[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had recent activity. It may be closed manually after one month of inactivity. Thank you for your contributions.