Add support for BART
The #1 question we get is: can OT support BART as well? (And, more generally, can we support the other dozens of agencies that operate in SF?) Hopefully we can expand the work we do with Muni to other agencies with just some more configuration files.
This is a big project (kind of like expanding to a whole new city) but it's worth some investigation.
Ideally we could create a whole "SF" part of the site that integrates Muni, BART, AC Transit, Caltrain, etc.
BART is different from other agencies we've integrated with so far in that they don't provide real-time GPS locations of the trains. BART's GTFS-Realtime API only provides estimated arrival/departure times at subsequent stops. If we store the estimated arrival/departure time data, it should be possible to figure out approximately when each train arrives and departs from each stop. We would need to implement a different algorithm for computing arrival times.
What algorithm do you use for Trimet? I see that one isn't on Nextbus but has its own GTFS realtime feed.
Trimet's GTFS-realtime feed provides GPS locations, so it uses the same eclipses algorithm as the nextbus agencies. Bart's GTFS-realtime feed only provides estimated arrival/departure times, not GPS locations.