eli5 -How does gps software calculate drive time?

539 views

I understand mapping the shortest routes, tollways vs non tollways, ect but how is programming like google maps able to determine the amount of time your commute will take due to traffic patterns and congestion?

In: 13

8 Answers

Anonymous 0 Comments

That’s already part of how they find the “shortest” route in the first place. Every road has a weight, several weights in fact, like actual distance, average time spent on the road, historical traffic data, actual traffic data, elevation info etc. These were all used to find the route, so they can be also used to calculate the time. Basically adding up these in a clever way.

It’s graph algorithms all the way down in navigation.

You are viewing 1 out of 8 answers, click here to view all answers.