The official blog for Google Maps
Introducing GTFS-realtime to exchange realtime transit updates
August 22, 2011
(Cross-posted from the
Google Code Blog
)
In June, we launched
Live Transit Updates
, a feature that adds realtime public transport information to Google Maps and Google Maps for mobile. This feature is powered by the
GTFS-realtime
feed format. Today we’re making the specification of this format public on Google Code. GTFS-realtime allows public transport agencies to provide realtime updates about their fleets. If you’re developing a trip planner or similar application, you can process these feeds and keep your users up-to-date with realtime information.
GTFS-realtime is an extension to
GTFS
, the General Transit Feed Specification, published by Google in 2006. Nowadays, GTFS is a very commonly used feed format that public transport agencies use to (publicly) provide their transport information. As opposed to GTFS feeds, GTFS-realtime feeds contain very dynamic information. This means that they have to be updated frequently and applications that use them have to fetch them frequently as well. This requires a significant infrastructure from the transport agency’s side, but it results in a continuously updated description of the current situation.
The specification currently includes three types of realtime updates:
Trip Updates
,
Service Alerts
and
Vehicle Position
updates. Each type of update has to be provided in a separate feed, and can be used independently.
Trip Updates are a way to present changes in the timetable. When a trip is delayed, canceled, added or re-routed, a Trip Update can be used to provide this information in realtime. Service Alerts can be used to notify passengers about special circumstances in the public transport network. In a Vehicle Position update, an agency provides the current location of an individual vehicle.
To encode realtime updates,
Protocol Buffers
are used. Protocol Buffer data structures can be processed very efficiently, resulting in low processing times compared to other popular data encapsulation standards. Because Protocol Buffers are compressed, they also use communication bandwidth efficiently. Protocol Buffers are very easy to work with, and there are libraries available for many programming languages.
The specification was designed through a partnership of the initial Live Transit Updates partner agencies, a number of transit developers, and Google. It has been
published
under the Creative Commons Attribution 3.0 license, the same license used for GTFS. You can discuss the specification and propose changes in the
discussion group
.
MBTA
(Boston) and
Trimet
(Portland) have already made their GTFS-realtime feeds available for use in your applications.
BART
(SF Bay Area) and
MTS
(San Diego) have committed to making their feeds available in the future as well. We hope that many more agencies will follow!
Posted by Vladimir Rychev, Software Engineer
No comments :
Post a Comment
Note: Only a member of this blog may post a comment.
Labels
#streetview
#treasuremap
+1
3D
8bitmaps
Adwords Express
Africa
Amazon
Andorra
Android
api
Art Project
Audi
biking
Boost
Boulder
Brazil
Bulgaria
Business Photos
Business View
businesses
Canada
check-in
community
competition
contest
crisis response
Culture
custom maps
developer
Developers
directions
disaster response
discovery
earth outreach
education
Emmy Awards
Enterprise
Estonia
Europe
Explore
Fusion Tables
gadgets
Gibraltar
GMM
google
Google Earth
Google Earth Engine
Google Map Maker
Google Maps
Google Maps API
Google Maps Engine
Google Maps for Mobile
Google Maps Gallery
Google Maps Navigation
Google Maps Transit
Google Places
Google Plus
Google Search
Google Street View
google.org
Google+
googlenew
Grand Canyon
ground truth
Halloween
historical
history
holiday
Hotpot
Hungary
imager
imagery
Indoor Maps
iOS
iPhone
Iraq
Japan
Latitude
Latvia
layers
LBC
Lithuania
London
Making of Maps
Malaysia
Mall of America
Map Maker
Maps Blog
Maps Gallery
mapsgl
Matt Harding
Mexico
Mobile
Monticello
My Maps
my places
my tracks
National Geographic
navigation
new Google Maps
oblique imagery
ocean
offline maps
Olympics
Outreach
Pakistan
Panoramio
Parks Canada
Pegman
Photo Spheres
photo tours
photos
picasa
Polar Bears
Quiz
real estate
restaurants
road trips
Russia
Santa
Santa Tracker
search stories
SketchUp
Slovakia
Slovenia
South Sudan
space
Spain
sports
Street View
summer
SXSW
Tags
Thomas Jefferson
Thomas Jefferson Foundation
Tip of the week
tips
tour guide
traffic
Train
Transit
travel
trees
Trekker
Trike
Trolley
U.S. National Park Service
Ukraine
University of Virginia
Valentine's Day
Veterans Day
Views
voice search
walking
Waze
weather
webgl
Your Timeline
zagat
Archive
2016
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2015
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2014
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2013
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2012
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2011
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2010
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2009
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2008
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2007
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Feed
Google
on
Follow @googlemaps
Follow
Give us feedback in our
Product Forums
.
No comments :
Post a Comment
Note: Only a member of this blog may post a comment.