Re: GeoDistance gives other value than SpheroidalDistance
- To: mathgroup at smc.vnet.net
- Subject: [mg100054] Re: GeoDistance gives other value than SpheroidalDistance
- From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
- Date: Fri, 22 May 2009 01:48:58 -0400 (EDT)
- References: <gv2jg6$96l$1@smc.vnet.net>
That's because GeoDistance reports distances in meters and SpheroidalDistance in kilometers. It's documented BTW... Cheers -- Sjoerd On May 21, 5:57 am, "Karsten W." <Karsten.G.Wein... at googlemail.com> wrote: > Hello, > > after switching to Mathematica 7, I tried to eliminate calls to > SpheroidalDistance by calls to GeoDistance. > However, the result of GeoDistance seems to differ by a factor 1000: > > args = {{46.8475, 15.4453}, {47.141163, 14.661255}}; > GeoDistance @@ args > SpheroidalDistance @@ args > > Any comment appreciated, > kind regards, > Karsten.