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

Jquery Mobile Listview enhancements and customization

    In this post today, we will take a look at the various enhancements and customization that we can do to the standard listviews. All these enhancements or customization are questions asked by various people on the Jquery Mobile forum. I have tried to put together a solution to some of them.     Let's take a look at a few of them. Some questions are really amazing like " W hen i have 3 nested listview structure and moved to 3rd nested, how to move back to second nested listview? " Now this is a really good question and a nice valid requirement too. When we had see an example on nested listviews  you must have wondered how we would navigate to the previous levels from the current level. Well here is a solution that I had put together.     Another really nice question was " Listview with collapsable listview inside ". This is really a good example to try out. Take a look at the solution that was proposed and also taken from other jsfid...

SASS: Syntactically Awesome Stylesheets - An Introduction

    I had some free time today, and decided to explore into SASS, which I had planned on doing for a long time. SASS is really cool and it really is simple styling with a lot of attitude. SASS really makes CSS so much fun. I loved it and am putting up a few posts to talk about the various features of SASS.     SASS is an extension of CSS3, adding nested rules, variables, mixins, selector inheritance and much more. The SASS CSS is required to be compiled before it is transformed into standard CSS using a command line tool or a web-framework plugin. Let's not worry about this for now.     SASS CSS can be written using 2 types of syntaxes. The most popularly used syntax is known as "SCSS", rightly named " Sassy CSS" and is a superset of CSS3's syntax. This means that every CSS3 stylesheet is valid SCSS as well. The second syntax is an older one known as the "indented syntax" or just SASS. This syntax is for people who do not love brackets and...

Multiple markers...

            It rarely happens that there is just one point of interest or just one location that you would like to mark! Generally there is a bunch of markers that appear on the map! Specifically, you want a list of latitude and longitude pairs representing the points of the markers you'll plot.             To store the list of points, you can combine the power of Javascript's array and object constructs. An array stores a list of numbered entities. To access the elements of the array, you must use their numeric indices. So array[0] will point to the first element in the array while array[n] will point to the nth element in the array.             I will use the following piece of Javascript code to demonstrate how multiple markers can be made to appear on a map using the array structure and the for loop for iteration....

Geodesic Polyline

    Today we will have a look at a very interesting polyline example - "The geodesic polyline". Now the first question that will pop is "What is geodesic?". Mathematically, geodesic means the shortest line between two points on a mathematically defined surface, as a straight line on a plain or an arc of a great circle or sphere.     The next question after reading the above definition is clearly, "Why do we need geodesic polylines?" and that would be followed up with "What is this Great Circle?". We will discuss this first, before we move on to the actual example today. The example is very very similar to the normal polyline example, with just a small change.     Having said so, I will now try to explain why we need a geodesic polyline? The shortest distance between two locations on the earth is rarely a straight line as the earth is roughly spherical in nature. So any two points on the earth, even if they are very close lie on a curve a...