Geodesy`
Geodesy`
SphericalDistance
As of Version 7.0, SphericalDistance has been superseded by GeoDistance.
SphericalDistance[pt1,pt2]
gives the distance between points pt1 and pt2 on Earth using a spherical model of the planet.
Details and Options
- To use SphericalDistance, you first need to load the Geodesy Package using Needs["Geodesy`"].
- A point pti is expressed as a pair of numbers {latitude,longitude}.
- Each coordinate latitude and longitude can be given in degrees, or as {degrees,minutes}, or {degrees,minutes,seconds}.
- A negative value for a coordinate indicates that the coordinate is South latitude or West longitude.
- Distances are returned in kilometers.
- The spherical model is based on an exact formula.
- The following option can be given:
-
Radius 6371007/1000 specify the radius of the sphere - With the setting Radius ->r the radius of the spherical model is assumed to be r kilometers.
Wolfram Research (2008), SphericalDistance, Wolfram Language function, https://reference.wolfram.com/language/Geodesy/ref/SphericalDistance.html.
Text
Wolfram Research (2008), SphericalDistance, Wolfram Language function, https://reference.wolfram.com/language/Geodesy/ref/SphericalDistance.html.
CMS
Wolfram Language. 2008. "SphericalDistance." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/Geodesy/ref/SphericalDistance.html.
APA
Wolfram Language. (2008). SphericalDistance. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/Geodesy/ref/SphericalDistance.html