google/transit

Service delineation in GTFS-Flex

Opened this issue · 2 comments

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:

  • Fixed route service
  • On-demand service
  • Deviated fixed route service
  • Hybrid service (combination of the above services that varies by time such as a fixed route accepts deviation requests during off-peak hours only)

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.

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

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.