Skip to main content

Where does Google get it's live traffic data from?

Referring to a post that I wrote earlier, Google’s - Live traffic Layer, ever wondered how Google collected this data? I was wondering the other day, how Google received live data to display it on their maps as a layer! I looked up the web and found something very interesting and am sharing the same with you all.

As we all know, the traffic layer is available most accurately in several states in USA. Most major metro areas in the US have sensors embedded in their highways. These sensors track real time traffic data. Easy to miss at high speeds (hopefully anyway, traffic permitting), more commonly noticed may be the similar sensors that often exist at many busy intersections that help the traffic lights most efficiently let the most amount of people through. The information from these tracking sensors is reported back to the Department of Transportation (DOT). The DOT uses this data to update some of the digital signs that report traffic conditions in many metro areas. They also openly share much of this frequently updated data out, which is how Google reportedly gets this data for the major highways in the metro areas it offers traffic reporting for.

Google has now also crowd sourced the collection of real time traffic data via mobile phones. The way in which they are doing this is pretty cool, and may prove to be a way to some day provide quality real time traffic data for all roadways. If you have a Google Maps installed on a mobile phone with GPS capabilities enabled, your location can be transmitted to Google in real time, allowing them to determine the fact that you are on a particular road and traveling at a certain pace. When Google combines your speed with the speed of other phones on the road, across thousands of phones moving around a city at any given time, they can get a pretty good picture of live traffic conditions. Google continuously combines this data and sends it back to you for free in the Google Maps traffic layers. In this way, Google can now offer traffic reports for secondary roadways, routes not necessarily containing DOT sensors.

We now have a list of all the places where Google shows live traffic information. Check out this awesome map from Google, here. You can read more and see the Google’s traffic layer in action here. If you have read so far, I am sure you would also like to know more about the Google Bicycle routes layer.

Comments

  1. Yes, this is what is expected. I have been testing google traffic for some time now in Italy. It *often* gives an indication of the traffic conditions in near real-time. However sometimes it gets it awfully wrong. I am very curious about where this incorrect info comes from. Also there is no data for most of the roads in Italy, and the data is available for small sections of road here and there in the road network. I am very curious about why data is unavailable for most of the roads and only available in this patchy form.
    George Mu'ammar @GeoMmm

    ReplyDelete
    Replies
    1. Hi George.

      The traffic data is not widely available in many countries and that is because of lack of available resource and lot of legal government permissions and stuff go into the actually mapping for companies.

      Also the contribution from the crowd (crowd-sourcing) is not very good in several countries which also results in poor details on the Google Maps and associated services.

      Hope this answers your query. Please keep posting your feedback. Happy to hear from you.

      Regards,
      Shreerang
      Like us on Facebook at https://www.facebook.com/pages/Spatial-Unlimited/185149371538692

      Delete
  2. Hi,

    Is there any free API for developers which can provide real time traffic speed or calculate time required to travel two points ?

    If there is any other possible way please share me at deep21c@gmail.com

    Thanks,
    Deepchand Singh

    ReplyDelete
    Replies
    1. Hi Deep.

      Sorry for replying late. As far as the traffic data API goes there are none as far as I know. Please correct me if you have found any.

      For the distance calculation and time required to move from point A to B you can use the Google Distance API.

      Hope this helps. I would be more than happy to answer any more queries.

      Regards,
      Shreerang.
      Like us on Facebook at https://www.facebook.com/pages/Spatial-Unlimited/185149371538692

      Delete
  3. Hi,
    Thanks for this post. Could you please point to some references from where you got this information? I know several agencies that provide traffic data: PeMS (loop detector data for freeways only), Inrix, DoT, Navteq, etc. Was just wondering which of those sources Google employs.
    Best,
    Ish

    ReplyDelete
    Replies
    1. Hi Ish.

      I know one source for sure and that is Inrix for traffic data. Inrix currently offers data for around 22 countries across North America and Europe. Inrix’s other partners include Audi AG, ADAC, ALK, ANWB, Coyote, the Ford Motor Company, I-95 Coalition, MapQuest, Microsoft, NAVIGON, Tele Atlas, Telmap, TeleNav, Texas Transportation Institute and Toyota.

      Hope this helps.

      Regards,
      Shreerang
      Like us on Facebook at https://www.facebook.com/pages/Spatial-Unlimited/185149371538692

      Delete
  4. Is there an API we can use (or a KML Network feed) that would plot the green/yellow/red traffic conditions? Or is there an RSS/Atom feed that would provide the data (which we could then transform into a KML feed for map plotting)?

    essentially I'm looking for sources (free is best) that would give the data in a machine-readable format to consume and either produce KML or consume KML and plot to a google map.

    Thoughts? Thank you Shreerang!

    ReplyDelete
    Replies
    1. Hi...I don't think there would be any such data that would be freely available. Having said so, I will check if I find any. If you find any, please post it here!

      Regards,
      Shreerang
      Like us on Facebook at https://www.facebook.com/pages/Spatial-Unlimited/185149371538692

      Delete
  5. Hi is there any way, someone have access to Google real-time traffic data. I'm working on my Master Theses, comparing City traffic data with google. Would you please help me. My email is OMIDMCSE@HOTMAIL.COM thank you

    ReplyDelete
  6. This is false information .

    Check out this link if you want to really know how Google obtains its data.

    http://googleblog.blogspot.ca/2009/08/bright-side-of-sitting-in-traffic.html

    ReplyDelete
  7. This isnt false Wth are you talking about? Google's article backs up exactly what was said here. Either back up your statements or stop making arrogant comments. You aren't helping anyone.

    ReplyDelete
  8. what they hell is that download the plugin screen crawl you're putting up?

    ReplyDelete
  9. I’m excited to uncover this page. I need to to thank you for ones time for this particularly fantastic read !! I definitely really liked every part of it and i also have you saved to fav to look at new information in your site. traffic exchange

    ReplyDelete
  10. I’m excited to uncover this page. I need to to thank you for ones time for this particularly fantastic read !! I definitely really liked every part of it and i also have you saved to fav to look at new information in your site. traffic exchange

    ReplyDelete
  11. The Google Maps Platform server rejected your request. You must use an API key to authenticate each request to Google Maps Platform APIs. For additional information, please refer to http://g.co/dev/maps-no-account

    ReplyDelete

Post a Comment

Please leave your comments here...

Recommended for You

Google Map's Real-Time Traffic Layer...

    You can now check the traffic condition on the road before you leave for work, or a party or to your friend's place. Google's Traffic layer shows the traffic conditions in your area - LIVE!!! Live traffic data is available in major cities in the United States, France, Britain, Canada and Australia, with new cities and countries frequently added. The Google Maps API allows you to add real-time traffic information (where supported) to your maps using the TrafficLayer object. Traffic information is provided for the time at which the request is made. Consult this spreadsheet to determine traffic coverage support.     Let us now have a look at the Google Maps API - Trafiic Layer example. Copy the following code in a simple text file and save it as html. Click on this html file and it will open in your default browser. You will then see the traffic conditions in your area - LIVE...     The output of the above code looks as seen in the r...

Web based GIS for polling booths in West Bengal...

         The election commission of India will install web-based GIS in West Bengal's polling booths to help the State Chief Electoral Officer track them on their web site. The system will provide a map showing the exact spatial location of all 51919 polling booths and nearby landmarks, with their latitudinal and longitudinal coordinates. Boundaries of the parliamentary and assembly constituencies of the booths, along with all the administrative boundaries will also be provided in the GIS-based map.          The software will give a 360-degree view of the entire area falling within the 200-meter radius of each polling booth, including approach roads and nearby installations. It will show every detail of the polling station, such as the number of voters, number of polling and security personnel deployed, details about the current law and order situation and reports of past violence or disturbance in the are...

Why this difference?

       Several of you must have observed this like I did, that the Google geocoder returns different results on the Google Maps website and Google Maps API v3 for the same address string. To understand why this difference exists, I dug deeper into the web and came up with the following.        The first and foremost place to look for an answer was the Google Maps API FAQ section. The FAQ section did not let me down of course! The FAQ section says: The API geocoder and Google Maps geocoder sometimes use different data sets (depending on the country). The API geocoder occasionally gets updated with new data, so you can expect to see results changing or improving over time.         What I concluded from the above is that, in a lot of cases Google licenses data from other companies like DigitalGlobe, Infoterra Ltd & Bluesky, GeoEye, Getmapping plc, Tele Atlas, etc. When negotiat...

Four maps on the same page - Playing with events

    In today's example we will see how to add 4 maps on the same web page and then play a bit around with some events in Google Maps API. Lets have a look at the code. All that you have to do to get the code working is copy the code in a text file and save it with .html extension. Open this html file in your browser and you will see the four maps in action!     Adding the four maps on a webpage should not be a challenge anymore, and all the more after the example Two Google Maps - Side by side that I shared a few weeks back! All you need to pay attention is to the events. There are two events "drag" and "zoom_changed". As the event names suggest, when you will drag or zoom the first map (upper left map), the remaining three maps will also zoom and pan accordingly! Try it out and leave a comment of what you think of it! You can also drop your queries or doubts about the same here!     The output of the above code appears as seen in th...