![]() |
|
|||||
|
||||||
Subject: RE: Formula for dis. between two points on the Globe
From: Bruce Bowler (bowler@XXX.XXX)
Date: Mon Oct 21 1996 - 10:35:33 EDT
Vincent Rouwhorst <106016.1607@XXX.XXX> writes:
>Hello,
>
>Is there somebody that hase the Formula to calculate the distans
>between two points on the globe.
>
>eg. 52 29.66N and 52 32.86N
> 005 02.45E 004 40.67E
>
>My GPS tells me that it is 13.6nm CTS106
dist = 6366.7*Arccos(sin(lata)*sin(latb)+cos(lata)*cos(latb)*cos(lonb-lona))
Dist is in NM, 6366.7 is (180/pi)*60*1.852. If your arccos function returns
degrees rather than radians, adjust accordingly.
+---------------------+---------------------------------------+-------------+
| Bruce Bowler | Great spirits have always found | Usual |
| 1.207.633.9610 | violent opposition from mediocrities. | Disclaimers |
| BBowler@XXX.XXX | Albert Einstein | Apply |
+---------------------+---------------------------------------+-------------+
|