Skip to content

Euclidean distance vs Manhattan distance

Khelil Sator edited this page Jun 20, 2019 · 4 revisions

distance1.png

In green: Euclidean distance between X and Y. This is the shortest path between X and Y. crow flies.

In Red, Yellow, Blue: Manhattan distance between X and Y. This is the shortest path a car could take between X and Y in Manhattan
Note: Red, Yellow, Blue paths have the same length

distance2.png

Clone this wiki locally