Ride On Today
“what bus routes are running today?”
https://yoursunny.com/p/rideon-today/
Junxiao Shi, @yoursunny, 2018-08-14
I like to explore the region by bus
● I’m only available on weekends.
● Some buses are not running on weekends.
Official Ride On System Map
● Map includes all
the routes.
● Many are not
running on
weekends.
Google Maps
● I want to explore
somewhere new.
● Where can I go?
● Where are you
going?
My App
● Select a date.
● A map shows available bus stops on that day.
● https://yoursunny.com/p/rideon-today/
Weekday vs Weekend
Trip Times are Important, Too
How it Works
General Transit Feed Specification
● Ride On publishes
bus schedules in
GTFS format.
● It’s a ZIP of TXT files.
– Actually, CSV.
● Can I get the
information out of
these files?
What’s in the GTFS?
● List of bus routes.
● List of bus stops, with GPS coords.
● A calendar of “services”.
● List of trips under each “service”.
– trip: a bus serving a route from start to end.
● When does each trip depart each stop.
stops.txt in GTFS
How the Map was Created
1.Import GTFS files into SQLite database
2.Write SQL queries to find out:
• what “services” are active today
• what trips belong to these services
• where are the stops served by the trip
3.Plot today’s available stops on HERE Maps
Future Work
● Automatic GTFS updates
● Multi-agency: MetroBus, Fairfax Connector, and
more
● Interactive maps
● “where can I reach within 75 minutes?”
● “what’s the latest time I must head back?”
Ride On Today
● Try the app:
yoursunny.com/p/rideon-today/
● Imperfect source code:
bitbucket.org/yoursunny/yoursunny-website
– yoursunny.com is proudly built with PHP
● Follow me on social media:
twitter.com/yoursunny
github.com/yoursunny

Ride On Today

  • 1.
    Ride On Today “whatbus routes are running today?” https://yoursunny.com/p/rideon-today/ Junxiao Shi, @yoursunny, 2018-08-14
  • 2.
    I like toexplore the region by bus ● I’m only available on weekends. ● Some buses are not running on weekends.
  • 3.
    Official Ride OnSystem Map ● Map includes all the routes. ● Many are not running on weekends.
  • 4.
    Google Maps ● Iwant to explore somewhere new. ● Where can I go? ● Where are you going?
  • 5.
    My App ● Selecta date. ● A map shows available bus stops on that day. ● https://yoursunny.com/p/rideon-today/
  • 6.
  • 7.
    Trip Times areImportant, Too
  • 8.
  • 9.
    General Transit FeedSpecification ● Ride On publishes bus schedules in GTFS format. ● It’s a ZIP of TXT files. – Actually, CSV. ● Can I get the information out of these files?
  • 10.
    What’s in theGTFS? ● List of bus routes. ● List of bus stops, with GPS coords. ● A calendar of “services”. ● List of trips under each “service”. – trip: a bus serving a route from start to end. ● When does each trip depart each stop.
  • 11.
  • 12.
    How the Mapwas Created 1.Import GTFS files into SQLite database 2.Write SQL queries to find out: • what “services” are active today • what trips belong to these services • where are the stops served by the trip 3.Plot today’s available stops on HERE Maps
  • 13.
    Future Work ● AutomaticGTFS updates ● Multi-agency: MetroBus, Fairfax Connector, and more ● Interactive maps ● “where can I reach within 75 minutes?” ● “what’s the latest time I must head back?”
  • 14.
    Ride On Today ●Try the app: yoursunny.com/p/rideon-today/ ● Imperfect source code: bitbucket.org/yoursunny/yoursunny-website – yoursunny.com is proudly built with PHP ● Follow me on social media: twitter.com/yoursunny github.com/yoursunny