Distance
Returns the geographical distance (in kilometers - in a straight line) between two geographical points.
Returns Invalid expression
if one of the parameter values is not a valid number.
Syntax
Parameters
latitude1
numeric
☑️
a geographic coordinate that specifies the north–south position of a point on the Earth's surface in decimal degrees.
longtitude1
numeric
☑️
a geographic coordinate that specifies the east-west position of a point on the Earth's surface decimal degrees.
latitude2
numeric
☑️
a geographic coordinate that specifies the north–south position of a point on the Earth's surface in decimal degrees.
longtitude2
numeric
☑️
a geographic coordinate that specifies the east-west position of a point on the Earth's surface decimal degrees.
Example
Distance(52.370216, 4.895168, -37.814, 14496332)
16545.7337
Last updated
Was this helpful?