Applicability to SubwayRT Feed?

38 views
Skip to first unread message

raphael...@gmail.com

unread,
Jan 16, 2018, 7:22:37 PM1/16/18
to The Transit Clock
Hi Transit Clock Team!

I'm working on a project archiving real-time subway data in Toronto. The data comes from its own API in its own format. I've recently been wondering the value of transforming the data into a GTFS-RT feed + API.

It seems like the Transit Clock project is more geared around buses. Am I mistaken?

Thanks!

Óg Crudden

unread,
Jan 17, 2018, 12:06:13 PM1/17/18
to The Transit Clock
Hi Raphael,

This depends on the complexity of the subway system and if the movements (or lack of) of one subway train effects another. 

If you have GTFS and access to a real-time feed it should not take a lot to integrate these into TheTransitClock. If you run this for a week or so you should get a good indication of how well it is performing in terms of producing quality predictions for the subway. Some routes will perform better than others. 

TheTransitClock will take a GTFS real-time vehicle location feed as input. So you could covert the realtime API feed to GTFS-realtime first. This OneBusAway module should help with this https://github.com/OneBusAway/onebusaway-gtfs-realtime-exporter/wiki .

Alternatively you can create a new module for TheTransitClock to read the API. Something like this https://github.com/TheTransitClock/transitime/blob/VIA/transitime/src/main/java/org/transitime/avl/NextBusAvlModule.java .

TheTransitClock will capture all AVL and store arrival and departures and give you details on adherence to schedule even if the predictions for some routes fall below what you require.

Cheers,

Sean.

Reply all
Reply to author
Forward
0 new messages