SpheroidalDistance

As of Version 7.0, has been superseded by GeoDistance.


gives the distance between points and on Earth using the spheroidal model of the planet.

DetailsDetails

  • To use , you first need to load the Geodesy Package using .
  • A point is expressed as a pair of numbers .
  • Each coordinate latitude and longitude can be given in degrees, or as , or .
  • A negative value for a coordinate indicates that the coordinate is South latitude or West longitude.
  • Distances are returned in kilometers.
  • Note that the model is an approximation formula that only employs machine-precision computation. It is fairly accurate to distances of up to 10000 kilometers on the standard model of Earth.
  • The following options can be given:
  • SemimajorAxis6378.14specify the length of the semimajor axis
    Eccentricity0.081819specify the value of the eccentricity
  • With the setting SemimajorAxis->length the length of the semimajor axis in the spheroidal model is assumed to be length kilometers.
  • With the setting Eccentricity->v the eccentricity in the spheroidal model is assumed to be v.
New to Mathematica? Find your learning path »
Have a question? Ask support »