Re: GeoDistance gives other value than SpheroidalDistance
- To: mathgroup at smc.vnet.net
- Subject: [mg100073] Re: GeoDistance gives other value than SpheroidalDistance
- From: Bob F <deepyogurt at gmail.com>
- Date: Fri, 22 May 2009 23:38:21 -0400 (EDT)
- References: <gv2jg6$96l$1@smc.vnet.net>
On May 20, 9:57 pm, "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. GeoDistance returns meters and SheroidalDistance returns kilometers - hence the factor of 1000 difference. This is documented in the Help. -Bob