MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

GeoDistance and transformation from WGS84 to WGS84

  • To: mathgroup at smc.vnet.net
  • Subject: [mg101522] GeoDistance and transformation from WGS84 to WGS84
  • From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
  • Date: Thu, 9 Jul 2009 01:57:06 -0400 (EDT)

Hi all,

Anyone an idea why the following doesn't work? It calculates the
distance between two points on the earth with given latlong
coordinates. WGS84 is the datum used for GPS, if I'm not mistaken.

In[86]:= GeoDistance[GeoPosition[{1, 0}, "WGS84"],  GeoPosition[{0,
0}, "WGS84"]]

During evaluation of In[86]:= GeoDistance::datum: No direct
transformation between datums "WGS84" and "WGS84" is available. >>

Out[86]= GeoDistance[GeoPosition[{1, 0}, "WGS84"],
 GeoPosition[{0, 0}, "WGS84"]]

The "More Information" box of GeoPosition specifically states that
WGS84 is one of the allowed datums. However, GeodesyData["Datum"] and
GeodesyData["ReferenceEllipsoid"] make clear that WGS84 is not a
datum, but a reference ellipsoid (WGS72 seems to be both).

Cheers -- Sjoerd


  • Prev by Date: Re: Selecting Rows Based on Column Values
  • Next by Date: Re: Manipulating list
  • Previous by thread: op_eye_ifs.gif (GIF Image, 997x997 pixels) - Scaled (91%)
  • Next by thread: Re: GeoDistance and transformation from WGS84 to WGS84