OneBusAway, the open source software that powers MTA Bus Time, is configured primarily by loading up one or more GTFS files. As such, we are, internally, producing and feeding into it:
1. A slightly improved Staten Island GTFS
2. A B63-Only GTFS (by automatically paring back the Brooklyn GTFS)
Soon we will push the SI improvements back down into the main GTFS-production process at which point they will become part of the GTFS on the main developer data page.
In the meantime (in any case, really) we want to publish a Bus Time-only GTFS. To do that, we need to merge the 2 GTFS files I mentioned above. Saving us the googling and testing, is there a preferred utility for doing this out there somewhere?
Thanks,
Mike
Any other candidates?
Thanks,
Mike
Brian, thanks.
I tried it, and it looks like it’s mostly working. The GTFS I was combining was:
https://s3.amazonaws.com/MTABusTime/google_transit_staten_island.zip (which we are slightly modifying for MTA Bus Time as compared to the one posted on the MTA web site, for now)
https://s3.amazonaws.com/MTABusTime/gtfs-b63.zip (itself a reduced version of the Brooklyn GTFS)
and it resulted in https://s3.amazonaws.com/MTABusTime/gtfs_MTABusTime.zip
which you should be able to run through the GTFS validator and see the same problems I did, namely errors and warnings regarding duplicate ID’s/rows in calendar.txt and calendar_dates.txt
Thoughts?
Thanks,
Mike
Michael Frumin
Systems Engineering Manager
MTA Bus Customer Information Systems
2 Broadway, 27th Floor
o: 646-252-1117
c: 646-370-0388
It is not a good idea to derive anything at all from service ids; the
dates that a service runs on are described by the calendar.txt and
calendar_dates.txt files.
That said, if you really want to know, here's a list of all of the
letters and what they mean:
https://github.com/camsys/onebusaway-nyc/blob/master/onebusaway-nyc-transit-data-federation/src/main/java/org/onebusaway/nyc/transit_data_federation/bundle/tasks/stif/model/ServiceCode.java
There are two letters because the MTA's service day sometimes starts
before midnight, which GTFS doesn't support. So, sometimes trips from
the next day need to be included in the previous day.