Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Computable Data > Geographic Data > Geodesy >

GeoDistance

GeoDistance[{lat1, long1}, {lat2, long2}]
gives the geodesic distance in meters between latitude-longitude positions on the Earth.
GeoDistance[pos1, pos2]
gives the distance between positions specified by position objects.
  • Latitudes and longitudes are given in degrees or as DMS lists.
  • GeoDistance["latlong1", "latlong2"] gives the distance between positions specified by latitudes and longitudes given as strings.
  • GeoDistance gives the distance between positions projected onto a reference ellipsoid; heights are ignored.
  • GeoDistance[pos1, pos2] by default uses the reference ellipsoid associated with the datum for pos1.
  • The algorithm used by GeoDistance can be specified by setting the Method option to one of the following values: "Vincenty75", "Robbin61", "ExtendedNewtonRaphson".
Distance between two positions on the reference ellipsoid:
Distance between two fully specified geodetic positions:
Distance between two positions on the reference ellipsoid:
In[1]:=
Click for copyable input
Out[1]=
 
Distance between two fully specified geodetic positions:
In[1]:=
Click for copyable input
Out[1]=
New in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team