Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Within Mapzen and with a number of potential outside collaborators, we've chatted on and off about adding support to Transitland for real-time data. We've also run some internal experiments of connecting the Transitland stack with GTFS-RT and similar formats.
Creating this ticket as a placeholder for future additions to the Datastore, the Feed Registry, and dependencies that will need to be updated or created. When a wide enough range of users are satisfied that Transitland can provide a solid foundation of static schedule data (and stable Onestop IDs), we'll be well position to work together to aggregate real-time from authoritative sources and offer it as an overlay.
A specific example of where we'll need a "solid foundation" before we can aggregate and combine static and real-time data: stable trip identifiers ( transitland/transitland-datastore#713 )
Timeframe: Not urgent.
In order to start cataloging GTFS-RT feeds within Transitland:
Note that for now it will only be possible to add and edit
As first pass it would be nice to know if a realtime feed variant was available for a generic GTFS feed :)
We now have a very practical use case for retrieving a list of GTFS-realtime feeds - bulk quality analysis of GTFS-realtime feeds.
We got tired of doing this manually, so we created the transit-feed-quality-calculator, a project that:
See example WIP output here.
It's written to be fairly agnostic to what API the GTFS and GTFS-realtime feed URLs come from. We're currently using TransitFeeds.com because it already has a directory of GTFS-realtime feeds, but I'd like to add Transitland as an option too.
Adding Transitland as an option to our project would mean mirroring the
So, we'd need to following a similar process for Transitland:
This could happen in a single API call, or several - the main requirement is that there is a link between the GTFS and GTFS-realtime feeds, and that we can easily download GTFS data only for agencies that have GTFS-realtime feeds. Note that GTFS-realtime feeds typically have 2-3 URLs, one for each TripUpdate, VehiclePositions, and ServiceAlerts.
I opened an issue for adding Transitland to our tool here - CUTR-at-USF/transit-feed-quality-calculator#4.