Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Re: GeoDistance gives other value than SpheroidalDistance

  • To: mathgroup at smc.vnet.net
  • Subject: [mg100026] Re: GeoDistance gives other value than SpheroidalDistance
  • From: Peter Breitfeld <phbrf at t-online.de>
  • Date: Fri, 22 May 2009 01:43:45 -0400 (EDT)
  • References: <gv2jg6$96l$1@smc.vnet.net>

"Karsten W." 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.
>

SpheroidalDistance gives the result in km, whereas GeoDistance uses meters

-- 
_________________________________________________________________
Peter Breitfeld, Bad Saulgau, Germany -- http://www.pBreitfeld.de


  • Prev by Date: Re: GeoDistance gives other value than SpheroidalDistance
  • Next by Date: no Condition in EventHandler?
  • Previous by thread: Re: GeoDistance gives other value than SpheroidalDistance
  • Next by thread: Re: GeoDistance gives other value than SpheroidalDistance