Re: GPS formulas
- From: Hans-Bernhard Broeker <broeker@xxxxxxxxxxxxxxxxxxxxx>
- Date: 30 May 2005 16:54:43 GMT
Everett M. Greene <mojaveg@xxxxxxxxxxxxxxxxxx> wrote:
> Hans-Bernhard Broeker <broeker@xxxxxxxxxxxxxxxxxxxxx> writes:
[...]
> > The distance between two such points along the earth's surface is then
> > roughly
> >
> > arccos(dotproduct(point1, point2))/R
> The above formula will cause all sorts of grief for short
> distances.
That grief is due to the problem being numerically tricky, though, not
because of the formula being wrong. The formula cited by the OP will
have very similar problems: differences among longitudes and latitudes
of nearby points will lose up to 5 decimal digits to cancellation (GPS
resolution vs. range), even before any trigonomtric function is
called.
--
Hans-Bernhard Broeker (broeker@xxxxxxxxxxxxxxxxxxxxx)
Even if all the snow were burnt, ashes would remain.
.
- Follow-Ups:
- Re: GPS formulas
- From: Tauno Voipio
- Re: GPS formulas
- References:
- GPS formulas
- From: Richard Sloan
- Re: GPS formulas
- From: Hans-Bernhard Broeker
- Re: GPS formulas
- From: Everett M. Greene
- GPS formulas
- Prev by Date: Re: HDLC Synchronous RS232
- Next by Date: Re: Regarding UART(UART is printing infinite times, though not used any loops)
- Previous by thread: Re: GPS formulas
- Next by thread: Re: GPS formulas
- Index(es):
Relevant Pages
|