Post on 15-Jan-2015
description
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
began with TriMet General Manager request to
promote innovation and public transit
by providing resources to an
emerging creative class
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
TriMet Developer Resources for Customer Information
Promotes use of transit and information related to transit
Direct access to
Real-Time Datavia web services
Direct access to
Real-Time Datavia web services
Direct access to most current
Schedule Datain common open format
Direct access to most current
Schedule Datain 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
“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
Developers are
scraping schedule data off websites anyway.
GTFS offers a more stable solution with Terms of Use.
Developers are
scraping schedule data off websites anyway.
GTFS offers a more stable solution with Terms of Use.
Who is using Schedule Data
in the GTFS format?
Google Maps
Get Driving Directions ANDPublic Transit Directions
Google Maps
Get Driving Directions ANDPublic Transit Directions
TransitTrips
Sits on Google Transit Makes it easy to
save links to common trips
TransitTrips
Sits on Google Transit Makes it easy to
save links to common trips
Public Routes“…believes in allowing
public information to be shared openly by municipalities across the country in hopes of maximizing
travel efficiency and better
serving the greater public.”
Public Routes“…believes in allowing
public information to be shared openly by municipalities across the country in hopes of maximizing
travel efficiency and better
serving the greater public.”
Tranzit.caSchedules and Map Info for Google Android Devices using GTFS data
Developer’s motivation is to encourage more sustainable modes of transport.
Tranzit.caSchedules and Map Info for Google Android Devices using GTFS data
Developer’s motivation is to encourage more sustainable modes of transport.
Stop & Service Finder
Built on the GTFS – other agencies coming Finds all stops, buses & trains in an area
Stop & Service Finder
Built on the GTFS – other agencies coming Finds all stops, buses & trains in an area
Transit MapsDraws route lines using GTFS
Transit MapsDraws route lines using GTFS
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
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
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)
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.caBuilt with an Open Source Trip Planner
GraphServer consumes GTFS.
Kieran & team are actively creatingGTFS data feed for Toronto.
Toronto’s myttc.caBuilt with an Open Source Trip Planner
GraphServer consumes GTFS.
Kieran & team are actively creatingGTFS data feed for Toronto.
My $0.02 CNAs a developer at a transit agency, tools like ATrain and GraphServer
are great. I look forward to using & contributing to these efforts.
My $0.02 CNAs a developer at a transit agency, tools like ATrain and GraphServer
are great. I look forward to using & contributing to these efforts.
ATrainCommunity built application.
Recently open-sourced trip engine.
ATrainCommunity built application.
Recently open-sourced trip engine.
Who is using TriMet’s Web Services
for Customer Information?
Customer Informationat Airport
Port of Portland’s Use of Data
Customer Informationat Airport
Port of Portland’s Use of Data
TriMet On My iPhone
Free Application for iPhoneTransit 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
TriMet On My iPhone
Free Application for iPhoneTransit 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 BoardNext arrival times for cell phones, handhelds,
full-size screens, text messaging
Portland Transport
Transit Surfer & Transit BoardNext arrival times for cell phones, handhelds,
full-size screens, text messaging
TrainCheck
Free SMS Services for Cell Phones
Access to transit next arrival times
TrainCheck
Free SMS Services for Cell Phones
Access to transit next arrival times
TransitCastPresents arrival times and locations
of buses that are approaching a selected stop
TransitCastPresents arrival times and locations
of buses that are approaching a selected stop
Opera Award WinnerTriMet Widget
free program for use on your desktop, mobile phone or TV
Opera Award WinnerTriMet Widget
free program for use on your desktop, mobile phone or TV
Mobile Trip PlanningUsing 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 ItineraryTo Event/Place
Location-BasedService(LBS) Formatted
Return
FormattedRequest
WebService
API
TripPlanner
Trip Planner Web Service Example
TriMet builds the API and the applications are unlimited
Trip Planner Web Service Example
TriMet builds the API and the applications are unlimited
Web Service for TriMet Trip Planner
Access to Planned Trip Itineraries
Offers alternative to screen scraping for applications like Dadnab
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 PageBy making the GTFS data publicly
accessible, you can avoid addressing multiple and varied data requests on
an individual basis.
Public Feeds PageBy making the GTFS data publicly
accessible, you can avoid addressing multiple and varied data requests on
an individual basis.
DARTDallas 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.
DARTDallas 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
Sacramento Regional Transit
GTFS file available for download
Capital MetroAustin, Texas
“…is making stop and scheduledata available in several formats
including GTFS.”
Capital MetroAustin, Texas
“…is making stop and scheduledata available in several formats
including GTFS.”
OCTAOrange County, CA
Now offers 2 options to planyour trip online
OCTAOrange County, CA
Now offers 2 options to planyour trip online
Redwood Transit SystemHumboldt County, CA
GTFS file available for downloadUses Google Transit as
Agency Trip Planner
Redwood Transit SystemHumboldt County, CA
GTFS file available for downloadUses Google Transit as
Agency Trip Planner
BARTSan 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.”
BARTSan 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.”
TransPerthAustralia
TransPerthAustralia
http://davidpritchard.org Vancouver, BC
http://davidpritchard.org Vancouver, BC
Links
http://groups.google.com/group/transit-developers
http://code.google.com/p/googletransitdatafeed
http://code.google.com/p/googletransitdatafeed/wiki/PublicFeeds
http://graphserver.sourceforge.net
http://timetablepublisher.org
http://developer.trimet.org
http://myttc.ca
http://trip.atltransit.com