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

ES6 101 - Class

Spatial Unlimited changes to The UI Dev After being hosted on blogger 😣 for the last 6 years 📆, this page has finally been moved to Github.io This means a few things for you, dear reader! You will be redirected to the new page shortly! ⏩ ⏩ ⏩ Once crapy HTML is now better looking Markdown ! 😍 😍 The entire blog is a Github repo ! 😍 😍 Spatial Unlimited is now The UI Dev 😍 😍

CSS - Counter-increment and counter-reset

Today we will take a look at a couple of CSS properties that are usually used together but not very frequently used. We will be talking about the counter-increment and counter-reset properties. As the name suggests counter-increment and counter-reset definitely have something to do with counters. Let's take a look at the example below which will clearly illustrate the usage of these 2 properties. The implementation is very clear and straight-forward. The only question that remains now, can these CSS properties replace the ordered list (ol-li) HTML code? Do let me know your comments and feedback. Would you use these CSS properties against the standard ol-li structure?

Side-scrolling web pages issue with Jquery Mobile - Issue #5748

    While developing a Jquery mobile based application, I came across a issue that is observed only on the iOS 6 devices and Android 4.2.2 devices.     What is the issue?         Web pages are side scrolling on iOS6 and Android 4.2.2 devices.     How did I debug the issue?         This bug was in our applications bug tracker for a long time and since I am the lone front-end developer the project that I am working on, my manger was pushing me to close this bug quickly. I had used the perfect mobile meta tag and still the web pages were side-scrolling. None of my divs had width that was going beyond the device widths and still there was this issue. That day, I decided to break down my HTML to pieces, and tested each piece on the dreadful iOS 6 device. I came down to a textbox that had some placeholder text in it and there it was, the issue was glaring me in my face. ...

Removing overlays

    "Overlays"....!!! What is this now! Never heard or used it before? You might immediately say "NO"...But, actually all of you have already seen what an overlay is and you have also used it! Now you would say "When!?!?" Well, all of the markers, polylines, polygons that you have created are overlays. Overlays are objects on the map that are tied to latitude/ longitude coordinates, so they move when you drag or zoom the map. Overlays reflect objects that you add to the map to designate points, lines, areas or collection of objects.     Till now we have seen how to create an overlay. In today's example we will see how to remove an overlay. In this example we will create markers on click. But the difference will be that when you create a new marker, the earlier one will disappear from the map. So at any given time there would only be one single marker on the map! Note that removing the marker does not delete the overlay; it simply removes the overlay...

KML Layer Example

         Until now, we have covered various examples involving markers, polylines, polygons, i.e. creating overlays. We have also seen other examples to remove overlays! We will now move on to some other concepts. Today we will have a look at what KML is and how to create a KML layer!          Let us first understand what KML is and why is it necessary. KML stands for Keyhole Markup Language which is an XML schema for expressing geographic annotation and visualisation within 2D maps and 3D Earth browsers. The KML file specifies a set of features (place marks, images, polygons, 3D models, textual descriptions, etc.) for display in Google Earth, Maps and Mobile, or any other 3D Earth browser (geobrowser) implementing the KML encoding. Each place always has a latitude and a longitude. Other data can make the view more specific, such as tilt, heading, altitude, which together define a "camera view". ...