The algorithm used by Google Maps?

  • Thread starter Thread starter michinobu
  • Start date Start date
  • Tags Tags
    Algorithm Google
Click For Summary
SUMMARY

The discussion centers on the routing algorithms used by Google Maps, specifically mentioning Dijkstra's algorithm as a foundational concept. Users noted that Google Maps may recommend longer routes to optimize traffic flow, particularly avoiding left turns in countries where driving is on the right. This bias towards major roads over minor ones can lead to seemingly inefficient routes. The conversation also raises questions about the open-source status of Google Maps' software.

PREREQUISITES
  • Understanding of Dijkstra's algorithm
  • Familiarity with routing algorithms
  • Knowledge of traffic flow optimization techniques
  • Basic concepts of geographic information systems (GIS)
NEXT STEPS
  • Research advanced routing algorithms beyond Dijkstra's, such as A* or Bellman-Ford
  • Explore traffic optimization strategies for delivery routes
  • Learn about geographic information systems (GIS) and their applications in mapping
  • Investigate the open-source alternatives to Google Maps, such as OpenStreetMap
USEFUL FOR

Software developers, data scientists, urban planners, and anyone interested in the mechanics of mapping and routing technologies.

michinobu
Messages
53
Reaction score
0
I was using at Google Earth, and used it to look at some directions when I noticed that program recommended that I take a right and drive down this road, then take a u-turn and drive past from where I turned originally, when I could've just simply taken a left instead.

Does anyone know how Google Maps uses finds directions for someone? And, why would the application recommend that I take an unnecessary route like this? Is the software, by any chance, open-sourced as well?
 
Technology news on Phys.org
The general concept is called "djykstra algorithm" but most mapping systems have a few extra features on top.

The map data might indicate no left runs allowed.
Some routing algorithms, especialy for delivery trucks, are tuned to reduce left turns (I assume you are in a country that drives on the right) because these waste time and disrupt traffic flow.
They are generaly biased to maximise the time you spend on major roads compared to minor ones - so a longer (distance) journey might be faster.
 
michinobu said:
I was using at Google Earth, and used it to look at some directions when I noticed that program recommended that I take a right and drive down this road, then take a u-turn and drive past from where I turned originally, when I could've just simply taken a left instead.

I noticed the same thing a few months ago when I had a training session in Columbus.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 13 ·
Replies
13
Views
4K
  • · Replies 0 ·
Replies
0
Views
2K
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
659
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K