MathGroup Archive 2009

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

Search the Archive

Re: GeoDistance gives other value than SpheroidalDistance


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


  • Prev by Date: Re: Can I determine which method NMinimize used when Method->Automatic?
  • Next by Date: Re: pde and bc
  • Previous by thread: Re: GeoDistance gives other value than SpheroidalDistance
  • Next by thread: Import of NIST ANOVA data sets