Skip to main content

Distance Metrics

  • Reference work entry
  • First Online:
Encyclopedia of GIS
  • 199 Accesses

Synonyms

Euclidean Distance; Manhattan Distance

Definition

The Euclidean distance is the direct measure between two points in some spatial space. These points can be represented in any n-dimensional space. Formally, the Euclidean distance can be mathematically expressed as:

$$\displaystyle\begin{array}{rcl} \sqrt{ (a_{1} - b_{1})^{2} + (a_{2} - b_{3})^{2} +\ldots +(a_{n} - b_{n})}& &{}\end{array}$$
(1)

where a and b are two points in some spatial space and n is the dimension.

The Manhattan distance can be mathematically described as:

$$\displaystyle\begin{array}{rcl} \left \vert x_{1} - x2\right \vert + \left \vert y1 - y2\right \vert & &{}\end{array}$$
(2)

where A and B are the following points (x1, y1) and (x2, y2), respectively. Notice that it does not matter which order the difference is taken from because of the absolute value condition.

Main Text

The Euclidean distance can be measured at a various number of dimensions. For dimensions above three, other feature sets corresponding...

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer International Publishing AG

About this entry

Cite this entry

Kang, J.M. (2017). Distance Metrics. In: Shekhar, S., Xiong, H., Zhou, X. (eds) Encyclopedia of GIS. Springer, Cham. https://doi.org/10.1007/978-3-319-17885-1_307

Download citation

Publish with us

Policies and ethics