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:
  • Radius6371007/1000specify 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

BibTeX

@misc{reference.wolfram_2024_sphericaldistance, author="Wolfram Research", title="{SphericalDistance}", year="2008", howpublished="\url{https://reference.wolfram.com/language/Geodesy/ref/SphericalDistance.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_sphericaldistance, organization={Wolfram Research}, title={SphericalDistance}, year={2008}, url={https://reference.wolfram.com/language/Geodesy/ref/SphericalDistance.html}, note=[Accessed: 21-November-2024 ]}