Exposing Transit Data as Services and Data Feeds BYO iPhone: Transport Applications for the Web CUTA Youth Summit August 23, 2008 Frank Purcell – Software Engineer TriMet of Portland, Oregon Updated August 21, 2008
Elevator Pitch Pitch: You too can be a Transit Developer Exposing transit data is a win–win—win for TriMet, our customers and transit developers Customer Benefit : Our customers get applications that TriMet couldn’t build or wouldn’t think to build TriMet Benefit: accurate information Developer Benefit: access to information in an elegant & reliable way to power their applications
TriMet’s Developer Resources <ul><li>began with TriMet General Manager request to </li></ul><ul><li>promote innovation and public transit </li></ul><ul><li>by providing resources to an </li></ul><ul><li>emerging creative class </li></ul>developer.trimet.org Can we leverage existing software development by exposing data to the public?
TriMet Developer Resources for Customer Information Promotes use of transit and information related to transit
Direct access to Real-Time Data via web services
Direct access to most current Schedule Data in common open format “ GTFS is a lightweight, open format that provides a common, easy way to exchange transit data. You don't have to be Google™ to use it.” Tim Moore, Bart
Garmin StreetPilot “… TriMet responded responded, and pointed me to the GTFS developer site… by far the easiest experience I’ve had getting information from a public agency.” Brett Warden, TriMet Rider & Software Developer
GPS Wayfinding Devices Sendero, TriMet & Google working to integrate GTFS with POI Database
TimeTable Publisher Reads GTFS data Generates all TriMet’s print & online TimeTables. Online TimeTables have most up-to-date information (could change weekly)
Toronto’s myttc .ca Built with an Open Source Trip Planner GraphServer consumes GTFS. Kieran & team are actively creating GTFS data feed for Toronto.
My $0.02 CN As a developer at a transit agency, tools like ATrain and GraphServer are great. I look forward to using & contributing to these efforts. ATrain Community built application. Recently open-sourced trip engine.
Who is using TriMet’s Web Services for Customer Information?
Customer Information at Airport Port of Portland’s Use of Data
TriMet On My iPhone Free Application for iPhone Transit next arrival times “ At first I was just going to scrape the Trimet site to get the information. But then I came to find out that Trimet actually has a really nice API to all their tracking information!” Matt King, TriMet Rider & Software Developer
Portland Transport Transit Surfer & Transit Board Next arrival times for cell phones, handhelds, full-size screens, text messaging
TrainCheck Free SMS Services for Cell Phones Access to transit next arrival times
TransitCast Presents arrival times and locations of buses that are approaching a selected stop
Opera Award Winner TriMet Widget free program for use on your desktop, mobile phone or TV
Web Service API Trip Planner Trip Planner Web Service Example TriMet builds the API and the applications are unlimited Mobile Trip Planning Using my cell phone, I can get public transit directions to the nearest pizza place from my current location. Current GPS Location, Current Time, Requested Event/Place En Route Planned Itinerary To Event/Place Location- Based Service (LBS) Formatted Return Formatted Request
Web Service for TriMet Trip Planner Access to Planned Trip Itineraries Offers alternative to screen scraping for applications like Dadnab
Who else is making their data publicly accessible and why?
Public Feeds Page By making the GTFS data publicly accessible, you can avoid addressing multiple and varied data requests on an individual basis.
DART Dallas Area Rapid Transit Public Records Act Any person has a right to request public data, and the public agency has a responsibility to provide it.
Sacramento Regional Transit GTFS file available for download
Capital Metro Austin, Texas “… is making stop and schedule data available in several formats including GTFS.”
OCTA Orange County, CA Now offers 2 options to plan your trip online
Redwood Transit System Humboldt County, CA GTFS file available for download Uses Google Transit as Agency Trip Planner
BART San Francisco Bay “ We want to foster innovative new applications, reach a broader audience and encourage more people to choose BART. … we just can't justify spending time on some of the things our customers have asked for.”