propershark / timetable_cpp

Purveyor of schedule information for transit agencies via GTFS feeds and WAMP procedures.
1 stars 0 forks source link

Features and bugfixes to support BART #22

Closed elliottwilliams closed 7 years ago

elliottwilliams commented 7 years ago

BART works! Here's an overview of the changes I made to Timetable to get it here:

New features:

Bug fixes:

I've tested visits_between with Citybus haven't seen any regressions yet.

elliottwilliams commented 7 years ago

You're very welcome!

I just tried dropping SFMTA's data set in. I had to add one change to strip leading whitespace from tokens (they represent empty strings as " "), but otherwise it works great:

screen shot 2017-07-22 at 17 24 46

Their stop_times.txt is 47.6MB. Timetable takes almost 700MB to index this.

screen shot 2017-07-22 at 17 27 47

...but it's still got sub-millisecond lookups :)