SlideShare a Scribd company logo
1 of 23
Center for Urban Transportation Research | University of South Florida
GTFS-realtime v2.0
Sean J. Barbeau, Ph.D.
Principal Mobile Software Architect for R&D
Center for Urban Transportation Research
University of South Florida
2
Why real-time transit info?
• Real-time information (RTI) has many benefits
– Shorter perceived wait time [1][8]
– Shorter actual wait time[1]
– Lowers learning curve for new riders [2]
– Increased feeling of safety (e.g., at night) [5][6]
– Improved perception of agency[8]
– Increased ridership[3][7]
• Improve the rider experience without increasing
vehicle frequency
• Emerging analytics tools are powered by this data
[1] Kari Edison Watkins, Brian Ferris, Alan Borning, G. Scott Rutherford, and David Layton (2011), "Where Is My Bus? Impact of mobile real-time information on the perceived and actual wait time of transit riders," Transportation Research Part A: Policy and Practice, Vol. 45 pp. 839-848.
[2] C. Cluett, S. Bregman, and J. Richman (2003). "Customer Preferences for Transit ATIS," Federal Transit Administration. Available at http://ntl.bts.gov/lib/jpodocs/repts_te/13935/13935.pdf#sthash.jwn5Oltr.dpuf
[3] Lei Tang and Piyushimita Thakuriah (2012), "Ridership effects of real-time bus information system: A case study in the City of Chicago," Transportation Research Part C: Emerging Technologies, Vol. 22 pp. 146-161.
[4] Aaron Steinfeld and John Zimmerman, "Interviews with transit riders in San Francisco and Seattle," ed, 2010.
[5] Brian Ferris, Kari Watkins, and Alan Borning (2010), "OneBusAway: results from providing real-time arrival information for public transit," in Proceedings of the 28th International CHI Conference on Human Factors in Computing Systems, Atlanta, Georgia, USA, pp. 1807-1816.
[6] A. Gooze, K. Watkins, and A. Borning (2013), "Benefits of Real-Time Information and the Impacts of Data Accuracy on the Rider Experience," in Transportation Research Board 92nd Annual Meeting, Washington, D.C., January 13, 2013.
[7] Brakewood, Macfarlane and Watkins (2015). The Impact of Real-Time Information on Bus Ridership in New York City. Transportation Research Part C: Emerging Technologies, Volume 53, pp. 59-7
[8] Brakewood, Barbeau, and Watkins (2014). An experiment evaluating the impacts of real-time transit information on bus riders in Tampa, Florida,, Transportation Research Part A, Volume 69, pp. 409-422.
Tony Kurdzuk/The Star-Ledger
3
• GTFS-realtime is becoming de facto standard
– Over 50 agencies now have GTFS-realtime feeds!
4
Quality is important!
• In one study, 9% of riders said they took the
bus less often due to errors in RTI[9]
• GTFS-realtime v2.0 will help agencies produce
better quality RTI
[9] A. Gooze, K. Watkins, and A. Borning (2013), “Benefits of Real-Time Information and the Impacts of Data Accuracy on the Rider
Experience,” in Transportation Research Board 92nd Annual Meeting, Washington, D.C., January 13, 2013.
5
WHAT’S WRONG WITH
GTFS-REALTIME V1.0?
6
Problem with GTFS-realtime v1.0
• A LOT of optional fields – 56 out of 63 (89%)
– Quirk of Protocol Buffer docs (for details see
http://bit.ly/gtfs-realtime-2)
• Leads to sub-optimal feeds
– Poor data quality
– Bad rider experience
– Inaccurate analytics – garbage in, garbage out
7
Example 1 – Vehicle Position
• All timestamps are
optional
• When was position
calculated?
8
Example 2 – Loop route
• stop_sequence field is optional
• Is 15 minute delay before or after stop_id B?
stop_id = B
stop_id = A
Delay?
9
57
42
0
10
20
30
40
50
60
Total feeds
processed
Feeds with errors
Industry-wide
GTFS-realtime v1.0
Validation Results
https://github.com/CUTR-at-USF/gtfs-realtime-validator
• ~75% of feeds we
analyzed had errors
10
GTFS-REALTIME V2.0
Clarifying what’s really optional
11
GTFS-realtime v2.0
• Defines new transit-specific requirements
• Each field is labeled as either:
– Required
– Optional
– Conditionally required
• See Description field for when this field is required
12
13
GTFS-REALTIME
VALIDATOR
Quick analysis of feeds
14
GTFS-realtime Validator
• Test your v1 and v2 feeds for errors
– Live demo - http://transittools.forest.usf.edu/
– Open-source at https://github.com/CUTR-at-
USF/gtfs-realtime-validator
15
GTFS-rt Validator – View data & errors
16
What’s next?
• Agencies
– In RFPs, request that all AVL vendors provide GTFS-
realtime v2.0 feeds, and use validator
• Github is official new home of GTFS/GTFS-realtime
specs - https://github.com/google/transit
• Community
– Create GTFS-realtime Best Practices
• “Warning” from GTFS-realtime validator[1]
• Proposals without unanimous agreement
– Clarify more GTFS-realtime gray areas
• See list at http://bit.ly/gtfs-realtime-open-topics
[1] http://bit.ly/gtfs-realtime-rules
17
Thanks!
Funding from:
@sjbarbeau
linkedin.com/in/seanbarbeauSean J. Barbeau, Ph.D.
barbeau@cutr.usf.edu
813.974.7208
More on GTFS-realtime v2.0 - http://bit.ly/gtfs-realtime-2
18
19
WHY SO MANY OPTIONAL
FIELDS?
20
GTFS-rt uses Protocol Buffer (PB) format
• gtfs-realtime.proto PB file defines elements to exchange
PB config file
21
Protocol Buffers save space
• Compressed binary is around 6 times smaller
than plain text
22
PB required = transit required
• v1.0 - Optional/required for Cardinality field
values were copied from .proto file
23
0 5 10 15 20 25 30 35 40
E011 - GTFS-rt stop_id does not exist in GTFS data
E022 - Sequential stop_time_update times are not increasing
E045 - GTFS-rt stop_time_update stop_sequence and stop_id do not
match GTFS
E012 - Header timestamp should be greater than or equal to all other
timestamps
E023 - trip start_time does not match first GTFS arrival_time
E041 - trip doesn't have any stop_time_updates
E001 - Not in POSIX time
W009 - schedule_relationship not populated
W001 - timestamps not populated
W002 - vehicle_id not populated
W008 - Header timestamp is older than 65 seconds
W004 - vehicle speed is unrealistic
Most Frequent Errors and Warnings in GTFS-realtime feeds
Number of feeds with error/warning

More Related Content

What's hot

Open Source Software in Public Transportation: A Case Study
Open Source Software in Public Transportation: A Case StudyOpen Source Software in Public Transportation: A Case Study
Open Source Software in Public Transportation: A Case StudySean Barbeau
 
Open Transit Data - A Developer's Perspective
Open Transit Data - A Developer's PerspectiveOpen Transit Data - A Developer's Perspective
Open Transit Data - A Developer's PerspectiveSean Barbeau
 
GTFS Maintenance & More
GTFS Maintenance & MoreGTFS Maintenance & More
GTFS Maintenance & MoreSean Barbeau
 
Improving the quality and cost effectiveness of multimodal travel behavior da...
Improving the quality and cost effectiveness of multimodal travel behavior da...Improving the quality and cost effectiveness of multimodal travel behavior da...
Improving the quality and cost effectiveness of multimodal travel behavior da...Sean Barbeau
 
7 ncdot&u senal deladvcurvahor 2010 150p
7   ncdot&u senal deladvcurvahor 2010 150p7   ncdot&u senal deladvcurvahor 2010 150p
7 ncdot&u senal deladvcurvahor 2010 150pSierra Francisco Justo
 
Smart Columbus Executive Summary Overview
Smart Columbus Executive Summary OverviewSmart Columbus Executive Summary Overview
Smart Columbus Executive Summary OverviewSean Barbeau
 
Upper Great Plains Transportation Institute
Upper Great Plains Transportation InstituteUpper Great Plains Transportation Institute
Upper Great Plains Transportation InstitutePorts-To-Plains Blog
 
ITS World Congress 2014 - Open Data in Public Transport: Challenges and Oppor...
ITS World Congress 2014 - Open Data in Public Transport: Challenges and Oppor...ITS World Congress 2014 - Open Data in Public Transport: Challenges and Oppor...
ITS World Congress 2014 - Open Data in Public Transport: Challenges and Oppor...Sean Barbeau
 
Why Open-source Software?
Why Open-source Software?Why Open-source Software?
Why Open-source Software?Sean Barbeau
 
Measuring transport related accessibility restrictions
Measuring transport related accessibility restrictionsMeasuring transport related accessibility restrictions
Measuring transport related accessibility restrictionsMarcin Stępniak
 
Strategic planning for tftn trb jan 12 2010
Strategic planning  for tftn trb jan  12 2010Strategic planning  for tftn trb jan  12 2010
Strategic planning for tftn trb jan 12 2010Koniag
 
Lewis tftn ngac_09232010
Lewis tftn ngac_09232010Lewis tftn ngac_09232010
Lewis tftn ngac_09232010Koniag
 
Inter-Modal Transport Data Sharing Programme
Inter-Modal Transport Data Sharing ProgrammeInter-Modal Transport Data Sharing Programme
Inter-Modal Transport Data Sharing ProgrammeTRPC Pte Ltd
 
TRB 2020 - Cybersecurity Vulnerabilities in Mobile Fare Payment Applications:...
TRB 2020 - Cybersecurity Vulnerabilities in Mobile Fare Payment Applications:...TRB 2020 - Cybersecurity Vulnerabilities in Mobile Fare Payment Applications:...
TRB 2020 - Cybersecurity Vulnerabilities in Mobile Fare Payment Applications:...Sean Barbeau
 
Detecting causes of low urban accessibility: a comparative approach
Detecting causes of low urban accessibility: a comparative approachDetecting causes of low urban accessibility: a comparative approach
Detecting causes of low urban accessibility: a comparative approachMarcin Stępniak
 

What's hot (20)

Open Source Software in Public Transportation: A Case Study
Open Source Software in Public Transportation: A Case StudyOpen Source Software in Public Transportation: A Case Study
Open Source Software in Public Transportation: A Case Study
 
Open Transit Data - A Developer's Perspective
Open Transit Data - A Developer's PerspectiveOpen Transit Data - A Developer's Perspective
Open Transit Data - A Developer's Perspective
 
GTFS Maintenance & More
GTFS Maintenance & MoreGTFS Maintenance & More
GTFS Maintenance & More
 
Improving the quality and cost effectiveness of multimodal travel behavior da...
Improving the quality and cost effectiveness of multimodal travel behavior da...Improving the quality and cost effectiveness of multimodal travel behavior da...
Improving the quality and cost effectiveness of multimodal travel behavior da...
 
7 ncdot&u senal deladvcurvahor 2010 150p
7   ncdot&u senal deladvcurvahor 2010 150p7   ncdot&u senal deladvcurvahor 2010 150p
7 ncdot&u senal deladvcurvahor 2010 150p
 
Smart Columbus Executive Summary Overview
Smart Columbus Executive Summary OverviewSmart Columbus Executive Summary Overview
Smart Columbus Executive Summary Overview
 
Upper Great Plains Transportation Institute
Upper Great Plains Transportation InstituteUpper Great Plains Transportation Institute
Upper Great Plains Transportation Institute
 
ITS World Congress 2014 - Open Data in Public Transport: Challenges and Oppor...
ITS World Congress 2014 - Open Data in Public Transport: Challenges and Oppor...ITS World Congress 2014 - Open Data in Public Transport: Challenges and Oppor...
ITS World Congress 2014 - Open Data in Public Transport: Challenges and Oppor...
 
Why Open-source Software?
Why Open-source Software?Why Open-source Software?
Why Open-source Software?
 
Mobility Services Kagerbauer
Mobility Services KagerbauerMobility Services Kagerbauer
Mobility Services Kagerbauer
 
Measuring transport related accessibility restrictions
Measuring transport related accessibility restrictionsMeasuring transport related accessibility restrictions
Measuring transport related accessibility restrictions
 
Strategic planning for tftn trb jan 12 2010
Strategic planning  for tftn trb jan  12 2010Strategic planning  for tftn trb jan  12 2010
Strategic planning for tftn trb jan 12 2010
 
Lewis tftn ngac_09232010
Lewis tftn ngac_09232010Lewis tftn ngac_09232010
Lewis tftn ngac_09232010
 
Inter-Modal Transport Data Sharing Programme
Inter-Modal Transport Data Sharing ProgrammeInter-Modal Transport Data Sharing Programme
Inter-Modal Transport Data Sharing Programme
 
Session b3. jen duthie data
Session b3. jen duthie dataSession b3. jen duthie data
Session b3. jen duthie data
 
Mapping mobility Marco Puts
Mapping mobility Marco PutsMapping mobility Marco Puts
Mapping mobility Marco Puts
 
2014 CUTC Summer Meeting: Denise Dunn
2014 CUTC Summer Meeting: Denise Dunn2014 CUTC Summer Meeting: Denise Dunn
2014 CUTC Summer Meeting: Denise Dunn
 
TRB 2020 - Cybersecurity Vulnerabilities in Mobile Fare Payment Applications:...
TRB 2020 - Cybersecurity Vulnerabilities in Mobile Fare Payment Applications:...TRB 2020 - Cybersecurity Vulnerabilities in Mobile Fare Payment Applications:...
TRB 2020 - Cybersecurity Vulnerabilities in Mobile Fare Payment Applications:...
 
Jarrett Stoltzfus FTA June 7 2010 10AM
Jarrett Stoltzfus FTA June 7 2010 10AMJarrett Stoltzfus FTA June 7 2010 10AM
Jarrett Stoltzfus FTA June 7 2010 10AM
 
Detecting causes of low urban accessibility: a comparative approach
Detecting causes of low urban accessibility: a comparative approachDetecting causes of low urban accessibility: a comparative approach
Detecting causes of low urban accessibility: a comparative approach
 

Similar to GTFS-realtime v2.0

GTFS Maintenance & More
GTFS Maintenance & MoreGTFS Maintenance & More
GTFS Maintenance & MoreAaron Antrim
 
2013 UTC Southeast - OneBusAway – Sharing real time transit information via o...
2013 UTC Southeast - OneBusAway – Sharing real time transit information via o...2013 UTC Southeast - OneBusAway – Sharing real time transit information via o...
2013 UTC Southeast - OneBusAway – Sharing real time transit information via o...Sean Barbeau
 
Transit 2.0 - World Intelligent Transportation Systems Congress
Transit 2.0 - World Intelligent Transportation Systems CongressTransit 2.0 - World Intelligent Transportation Systems Congress
Transit 2.0 - World Intelligent Transportation Systems CongressAaron Antrim
 
Barbeau enabling better mobility through innovations for mobile devices - o...
Barbeau   enabling better mobility through innovations for mobile devices - o...Barbeau   enabling better mobility through innovations for mobile devices - o...
Barbeau enabling better mobility through innovations for mobile devices - o...Sean Barbeau
 
OneBusAway - An open-source platform for Mobility as a Service
OneBusAway - An open-source platform for Mobility as a ServiceOneBusAway - An open-source platform for Mobility as a Service
OneBusAway - An open-source platform for Mobility as a ServiceSean Barbeau
 
TriMet GTFS and WebServices 8-23-2008
TriMet GTFS and WebServices 8-23-2008TriMet GTFS and WebServices 8-23-2008
TriMet GTFS and WebServices 8-23-2008trimet
 
Reliability Workshop Presentation
Reliability Workshop PresentationReliability Workshop Presentation
Reliability Workshop PresentationKittelson Slides
 
James Wong - Open data in transport, St.Petersburg
James Wong - Open data in transport, St.PetersburgJames Wong - Open data in transport, St.Petersburg
James Wong - Open data in transport, St.PetersburgOpen City Foundation
 
myRide: A Real-Time Information System for the Carnegie Mellon University Shu...
myRide: A Real-Time Information System for the Carnegie Mellon University Shu...myRide: A Real-Time Information System for the Carnegie Mellon University Shu...
myRide: A Real-Time Information System for the Carnegie Mellon University Shu...Karen Mesko
 
CUTR Webinar - Web-based Trip Planner Options for Transit Agencies
CUTR Webinar - Web-based Trip Planner Options for Transit AgenciesCUTR Webinar - Web-based Trip Planner Options for Transit Agencies
CUTR Webinar - Web-based Trip Planner Options for Transit AgenciesSean Barbeau
 
The many-uses-of-gtfs-data-–-its-america-submission-abbreviated
The many-uses-of-gtfs-data-–-its-america-submission-abbreviatedThe many-uses-of-gtfs-data-–-its-america-submission-abbreviated
The many-uses-of-gtfs-data-–-its-america-submission-abbreviatedCTeixeira2
 
Intelligent Traffic Management System using Shortest Path
Intelligent Traffic Management System using Shortest PathIntelligent Traffic Management System using Shortest Path
Intelligent Traffic Management System using Shortest Pathijtsrd
 
OneBusAway Multi-region – Rapidly Expanding Mobile Transit Apps to New Cities
OneBusAway Multi-region – Rapidly Expanding Mobile Transit Apps to New CitiesOneBusAway Multi-region – Rapidly Expanding Mobile Transit Apps to New Cities
OneBusAway Multi-region – Rapidly Expanding Mobile Transit Apps to New CitiesSean Barbeau
 
CTAA 2016 Portland - Aaron Antrim - GTFS - What is it? Why does it matter?
CTAA 2016 Portland - Aaron Antrim - GTFS - What is it? Why does it matter?CTAA 2016 Portland - Aaron Antrim - GTFS - What is it? Why does it matter?
CTAA 2016 Portland - Aaron Antrim - GTFS - What is it? Why does it matter?Aaron Antrim
 
FINAL PPT.pptx
FINAL PPT.pptxFINAL PPT.pptx
FINAL PPT.pptxVEDAMNT
 
180412_Nayi Disha_Delhi Govt_ITDP.pptx
180412_Nayi Disha_Delhi Govt_ITDP.pptx180412_Nayi Disha_Delhi Govt_ITDP.pptx
180412_Nayi Disha_Delhi Govt_ITDP.pptxMiracle574616
 
Sss14duke BT Innovate Research Design
Sss14duke BT Innovate Research DesignSss14duke BT Innovate Research Design
Sss14duke BT Innovate Research DesignJustin Hayward
 
IRJET- Real Time Transport Tracking and Management System using Google API
IRJET- Real Time Transport Tracking and Management System using Google APIIRJET- Real Time Transport Tracking and Management System using Google API
IRJET- Real Time Transport Tracking and Management System using Google APIIRJET Journal
 

Similar to GTFS-realtime v2.0 (20)

GTFS Maintenance & More
GTFS Maintenance & MoreGTFS Maintenance & More
GTFS Maintenance & More
 
2013 UTC Southeast - OneBusAway – Sharing real time transit information via o...
2013 UTC Southeast - OneBusAway – Sharing real time transit information via o...2013 UTC Southeast - OneBusAway – Sharing real time transit information via o...
2013 UTC Southeast - OneBusAway – Sharing real time transit information via o...
 
Transit 2.0 - World Intelligent Transportation Systems Congress
Transit 2.0 - World Intelligent Transportation Systems CongressTransit 2.0 - World Intelligent Transportation Systems Congress
Transit 2.0 - World Intelligent Transportation Systems Congress
 
Barbeau enabling better mobility through innovations for mobile devices - o...
Barbeau   enabling better mobility through innovations for mobile devices - o...Barbeau   enabling better mobility through innovations for mobile devices - o...
Barbeau enabling better mobility through innovations for mobile devices - o...
 
OneBusAway - An open-source platform for Mobility as a Service
OneBusAway - An open-source platform for Mobility as a ServiceOneBusAway - An open-source platform for Mobility as a Service
OneBusAway - An open-source platform for Mobility as a Service
 
TriMet GTFS and WebServices 8-23-2008
TriMet GTFS and WebServices 8-23-2008TriMet GTFS and WebServices 8-23-2008
TriMet GTFS and WebServices 8-23-2008
 
Reliability Workshop Presentation
Reliability Workshop PresentationReliability Workshop Presentation
Reliability Workshop Presentation
 
James Wong - Open data in transport, St.Petersburg
James Wong - Open data in transport, St.PetersburgJames Wong - Open data in transport, St.Petersburg
James Wong - Open data in transport, St.Petersburg
 
myRide: A Real-Time Information System for the Carnegie Mellon University Shu...
myRide: A Real-Time Information System for the Carnegie Mellon University Shu...myRide: A Real-Time Information System for the Carnegie Mellon University Shu...
myRide: A Real-Time Information System for the Carnegie Mellon University Shu...
 
CUTR Webinar - Web-based Trip Planner Options for Transit Agencies
CUTR Webinar - Web-based Trip Planner Options for Transit AgenciesCUTR Webinar - Web-based Trip Planner Options for Transit Agencies
CUTR Webinar - Web-based Trip Planner Options for Transit Agencies
 
The many-uses-of-gtfs-data-–-its-america-submission-abbreviated
The many-uses-of-gtfs-data-–-its-america-submission-abbreviatedThe many-uses-of-gtfs-data-–-its-america-submission-abbreviated
The many-uses-of-gtfs-data-–-its-america-submission-abbreviated
 
BRT Workshop - The Customer Experience
BRT Workshop - The Customer ExperienceBRT Workshop - The Customer Experience
BRT Workshop - The Customer Experience
 
517 final report
517 final report517 final report
517 final report
 
Intelligent Traffic Management System using Shortest Path
Intelligent Traffic Management System using Shortest PathIntelligent Traffic Management System using Shortest Path
Intelligent Traffic Management System using Shortest Path
 
OneBusAway Multi-region – Rapidly Expanding Mobile Transit Apps to New Cities
OneBusAway Multi-region – Rapidly Expanding Mobile Transit Apps to New CitiesOneBusAway Multi-region – Rapidly Expanding Mobile Transit Apps to New Cities
OneBusAway Multi-region – Rapidly Expanding Mobile Transit Apps to New Cities
 
CTAA 2016 Portland - Aaron Antrim - GTFS - What is it? Why does it matter?
CTAA 2016 Portland - Aaron Antrim - GTFS - What is it? Why does it matter?CTAA 2016 Portland - Aaron Antrim - GTFS - What is it? Why does it matter?
CTAA 2016 Portland - Aaron Antrim - GTFS - What is it? Why does it matter?
 
FINAL PPT.pptx
FINAL PPT.pptxFINAL PPT.pptx
FINAL PPT.pptx
 
180412_Nayi Disha_Delhi Govt_ITDP.pptx
180412_Nayi Disha_Delhi Govt_ITDP.pptx180412_Nayi Disha_Delhi Govt_ITDP.pptx
180412_Nayi Disha_Delhi Govt_ITDP.pptx
 
Sss14duke BT Innovate Research Design
Sss14duke BT Innovate Research DesignSss14duke BT Innovate Research Design
Sss14duke BT Innovate Research Design
 
IRJET- Real Time Transport Tracking and Management System using Google API
IRJET- Real Time Transport Tracking and Management System using Google APIIRJET- Real Time Transport Tracking and Management System using Google API
IRJET- Real Time Transport Tracking and Management System using Google API
 

More from Sean Barbeau

OneBusAway Android - 2020 Update
OneBusAway Android - 2020 UpdateOneBusAway Android - 2020 Update
OneBusAway Android - 2020 UpdateSean Barbeau
 
2019 FPTA - Enhancing Cybersecurity in Public Transportation
2019 FPTA - Enhancing Cybersecurity in Public Transportation2019 FPTA - Enhancing Cybersecurity in Public Transportation
2019 FPTA - Enhancing Cybersecurity in Public TransportationSean Barbeau
 
Work Zone Data Exchange (WZDx) format
Work Zone Data Exchange (WZDx) formatWork Zone Data Exchange (WZDx) format
Work Zone Data Exchange (WZDx) formatSean Barbeau
 
Enhancing Cybersecurity in Public Transportation
Enhancing Cybersecurity in Public TransportationEnhancing Cybersecurity in Public Transportation
Enhancing Cybersecurity in Public TransportationSean Barbeau
 
Fare payment in OneBusAway
Fare payment in OneBusAwayFare payment in OneBusAway
Fare payment in OneBusAwaySean Barbeau
 
Open-source Transit Software
Open-source Transit SoftwareOpen-source Transit Software
Open-source Transit SoftwareSean Barbeau
 
2017 SeeClickFix Workshop - Closing the Loop - Improving Transit through Crow...
2017 SeeClickFix Workshop - Closing the Loop - Improving Transit through Crow...2017 SeeClickFix Workshop - Closing the Loop - Improving Transit through Crow...
2017 SeeClickFix Workshop - Closing the Loop - Improving Transit through Crow...Sean Barbeau
 
OneBusAway - New issue reporting flow in OneBusAway Android
OneBusAway - New issue reporting flow in OneBusAway AndroidOneBusAway - New issue reporting flow in OneBusAway Android
OneBusAway - New issue reporting flow in OneBusAway AndroidSean Barbeau
 
OneBusAway - Issue reporting - Challenges and Improvements
OneBusAway - Issue reporting - Challenges and ImprovementsOneBusAway - Issue reporting - Challenges and Improvements
OneBusAway - Issue reporting - Challenges and ImprovementsSean Barbeau
 
USF Travel Options App
USF Travel Options AppUSF Travel Options App
USF Travel Options AppSean Barbeau
 
Energy Smart Apps - Location-aware algorithms to save energy on mobile devices
Energy Smart Apps - Location-aware algorithms to save energy on mobile devicesEnergy Smart Apps - Location-aware algorithms to save energy on mobile devices
Energy Smart Apps - Location-aware algorithms to save energy on mobile devicesSean Barbeau
 
Cell phones and GPS
Cell phones and GPSCell phones and GPS
Cell phones and GPSSean Barbeau
 

More from Sean Barbeau (13)

OneBusAway Android - 2020 Update
OneBusAway Android - 2020 UpdateOneBusAway Android - 2020 Update
OneBusAway Android - 2020 Update
 
2019 FPTA - Enhancing Cybersecurity in Public Transportation
2019 FPTA - Enhancing Cybersecurity in Public Transportation2019 FPTA - Enhancing Cybersecurity in Public Transportation
2019 FPTA - Enhancing Cybersecurity in Public Transportation
 
Work Zone Data Exchange (WZDx) format
Work Zone Data Exchange (WZDx) formatWork Zone Data Exchange (WZDx) format
Work Zone Data Exchange (WZDx) format
 
Enhancing Cybersecurity in Public Transportation
Enhancing Cybersecurity in Public TransportationEnhancing Cybersecurity in Public Transportation
Enhancing Cybersecurity in Public Transportation
 
Fare payment in OneBusAway
Fare payment in OneBusAwayFare payment in OneBusAway
Fare payment in OneBusAway
 
Open-source Transit Software
Open-source Transit SoftwareOpen-source Transit Software
Open-source Transit Software
 
2017 SeeClickFix Workshop - Closing the Loop - Improving Transit through Crow...
2017 SeeClickFix Workshop - Closing the Loop - Improving Transit through Crow...2017 SeeClickFix Workshop - Closing the Loop - Improving Transit through Crow...
2017 SeeClickFix Workshop - Closing the Loop - Improving Transit through Crow...
 
USF Maps App
USF Maps AppUSF Maps App
USF Maps App
 
OneBusAway - New issue reporting flow in OneBusAway Android
OneBusAway - New issue reporting flow in OneBusAway AndroidOneBusAway - New issue reporting flow in OneBusAway Android
OneBusAway - New issue reporting flow in OneBusAway Android
 
OneBusAway - Issue reporting - Challenges and Improvements
OneBusAway - Issue reporting - Challenges and ImprovementsOneBusAway - Issue reporting - Challenges and Improvements
OneBusAway - Issue reporting - Challenges and Improvements
 
USF Travel Options App
USF Travel Options AppUSF Travel Options App
USF Travel Options App
 
Energy Smart Apps - Location-aware algorithms to save energy on mobile devices
Energy Smart Apps - Location-aware algorithms to save energy on mobile devicesEnergy Smart Apps - Location-aware algorithms to save energy on mobile devices
Energy Smart Apps - Location-aware algorithms to save energy on mobile devices
 
Cell phones and GPS
Cell phones and GPSCell phones and GPS
Cell phones and GPS
 

Recently uploaded

SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 

Recently uploaded (20)

SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 

GTFS-realtime v2.0

  • 1. Center for Urban Transportation Research | University of South Florida GTFS-realtime v2.0 Sean J. Barbeau, Ph.D. Principal Mobile Software Architect for R&D Center for Urban Transportation Research University of South Florida
  • 2. 2 Why real-time transit info? • Real-time information (RTI) has many benefits – Shorter perceived wait time [1][8] – Shorter actual wait time[1] – Lowers learning curve for new riders [2] – Increased feeling of safety (e.g., at night) [5][6] – Improved perception of agency[8] – Increased ridership[3][7] • Improve the rider experience without increasing vehicle frequency • Emerging analytics tools are powered by this data [1] Kari Edison Watkins, Brian Ferris, Alan Borning, G. Scott Rutherford, and David Layton (2011), "Where Is My Bus? Impact of mobile real-time information on the perceived and actual wait time of transit riders," Transportation Research Part A: Policy and Practice, Vol. 45 pp. 839-848. [2] C. Cluett, S. Bregman, and J. Richman (2003). "Customer Preferences for Transit ATIS," Federal Transit Administration. Available at http://ntl.bts.gov/lib/jpodocs/repts_te/13935/13935.pdf#sthash.jwn5Oltr.dpuf [3] Lei Tang and Piyushimita Thakuriah (2012), "Ridership effects of real-time bus information system: A case study in the City of Chicago," Transportation Research Part C: Emerging Technologies, Vol. 22 pp. 146-161. [4] Aaron Steinfeld and John Zimmerman, "Interviews with transit riders in San Francisco and Seattle," ed, 2010. [5] Brian Ferris, Kari Watkins, and Alan Borning (2010), "OneBusAway: results from providing real-time arrival information for public transit," in Proceedings of the 28th International CHI Conference on Human Factors in Computing Systems, Atlanta, Georgia, USA, pp. 1807-1816. [6] A. Gooze, K. Watkins, and A. Borning (2013), "Benefits of Real-Time Information and the Impacts of Data Accuracy on the Rider Experience," in Transportation Research Board 92nd Annual Meeting, Washington, D.C., January 13, 2013. [7] Brakewood, Macfarlane and Watkins (2015). The Impact of Real-Time Information on Bus Ridership in New York City. Transportation Research Part C: Emerging Technologies, Volume 53, pp. 59-7 [8] Brakewood, Barbeau, and Watkins (2014). An experiment evaluating the impacts of real-time transit information on bus riders in Tampa, Florida,, Transportation Research Part A, Volume 69, pp. 409-422. Tony Kurdzuk/The Star-Ledger
  • 3. 3 • GTFS-realtime is becoming de facto standard – Over 50 agencies now have GTFS-realtime feeds!
  • 4. 4 Quality is important! • In one study, 9% of riders said they took the bus less often due to errors in RTI[9] • GTFS-realtime v2.0 will help agencies produce better quality RTI [9] A. Gooze, K. Watkins, and A. Borning (2013), “Benefits of Real-Time Information and the Impacts of Data Accuracy on the Rider Experience,” in Transportation Research Board 92nd Annual Meeting, Washington, D.C., January 13, 2013.
  • 6. 6 Problem with GTFS-realtime v1.0 • A LOT of optional fields – 56 out of 63 (89%) – Quirk of Protocol Buffer docs (for details see http://bit.ly/gtfs-realtime-2) • Leads to sub-optimal feeds – Poor data quality – Bad rider experience – Inaccurate analytics – garbage in, garbage out
  • 7. 7 Example 1 – Vehicle Position • All timestamps are optional • When was position calculated?
  • 8. 8 Example 2 – Loop route • stop_sequence field is optional • Is 15 minute delay before or after stop_id B? stop_id = B stop_id = A Delay?
  • 9. 9 57 42 0 10 20 30 40 50 60 Total feeds processed Feeds with errors Industry-wide GTFS-realtime v1.0 Validation Results https://github.com/CUTR-at-USF/gtfs-realtime-validator • ~75% of feeds we analyzed had errors
  • 11. 11 GTFS-realtime v2.0 • Defines new transit-specific requirements • Each field is labeled as either: – Required – Optional – Conditionally required • See Description field for when this field is required
  • 12. 12
  • 14. 14 GTFS-realtime Validator • Test your v1 and v2 feeds for errors – Live demo - http://transittools.forest.usf.edu/ – Open-source at https://github.com/CUTR-at- USF/gtfs-realtime-validator
  • 15. 15 GTFS-rt Validator – View data & errors
  • 16. 16 What’s next? • Agencies – In RFPs, request that all AVL vendors provide GTFS- realtime v2.0 feeds, and use validator • Github is official new home of GTFS/GTFS-realtime specs - https://github.com/google/transit • Community – Create GTFS-realtime Best Practices • “Warning” from GTFS-realtime validator[1] • Proposals without unanimous agreement – Clarify more GTFS-realtime gray areas • See list at http://bit.ly/gtfs-realtime-open-topics [1] http://bit.ly/gtfs-realtime-rules
  • 17. 17 Thanks! Funding from: @sjbarbeau linkedin.com/in/seanbarbeauSean J. Barbeau, Ph.D. barbeau@cutr.usf.edu 813.974.7208 More on GTFS-realtime v2.0 - http://bit.ly/gtfs-realtime-2
  • 18. 18
  • 19. 19 WHY SO MANY OPTIONAL FIELDS?
  • 20. 20 GTFS-rt uses Protocol Buffer (PB) format • gtfs-realtime.proto PB file defines elements to exchange PB config file
  • 21. 21 Protocol Buffers save space • Compressed binary is around 6 times smaller than plain text
  • 22. 22 PB required = transit required • v1.0 - Optional/required for Cardinality field values were copied from .proto file
  • 23. 23 0 5 10 15 20 25 30 35 40 E011 - GTFS-rt stop_id does not exist in GTFS data E022 - Sequential stop_time_update times are not increasing E045 - GTFS-rt stop_time_update stop_sequence and stop_id do not match GTFS E012 - Header timestamp should be greater than or equal to all other timestamps E023 - trip start_time does not match first GTFS arrival_time E041 - trip doesn't have any stop_time_updates E001 - Not in POSIX time W009 - schedule_relationship not populated W001 - timestamps not populated W002 - vehicle_id not populated W008 - Header timestamp is older than 65 seconds W004 - vehicle speed is unrealistic Most Frequent Errors and Warnings in GTFS-realtime feeds Number of feeds with error/warning