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:
where a and b are two points in some spatial space and n is the dimension.
The Manhattan distance can be mathematically described as:
where A and B are the following points \( (x_1,y_1) \) and \( (x_2,y_2) \), 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 to each point could be added as more dimensions within a data set. Thus, there can be an infinite number of...
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2008 Springer-Verlag
About this entry
Cite this entry
Kang, J. (2008). Distance Metrics. In: Shekhar, S., Xiong, H. (eds) Encyclopedia of GIS. Springer, Boston, MA. https://doi.org/10.1007/978-0-387-35973-1_307
Download citation
DOI: https://doi.org/10.1007/978-0-387-35973-1_307
Publisher Name: Springer, Boston, MA
Print ISBN: 978-0-387-30858-6
Online ISBN: 978-0-387-35973-1
eBook Packages: Computer ScienceReference Module Computer Science and Engineering