| To use the map: |
Position mouse at your start point, press and, drag
to destination and release. |
|
|
| The algorithm |
used by this program assumes the Earth is a sphere
with a radius of 6371km. In fact the Earth's radius is 30km greater
across the equator than between the poles |
| Red
cities |
indicate the location of people who have written
saying thanks..
Drop me a line and I'll put your home town on the map !
|
Usage
To use the map select the origin by positioning the cursor and holding
the mouse button down, drag to destination and release. If the map appears
cropped you may need to enlarge your browser window, or get a new browser......
To use the co-ordinate entry mode just enter the Latitude and longitude
in degrees, minutes and seconds of both points and click .
Empty, or out of range fields will be silently zeroed.
The distance is by default shown in Kilometres, that being what most
of the world uses. Limeys and Yanks can chose miles from the pull down.
Navigators may also like to display the distance in Nautical miles.
Geographic locations can be looked up at the excellent
Getty Information reference or the Astro
Dienst, online atlas.
Disclaimer
No warranty, or statement of fitness of purpose is given for this application.
All emphasis is on the user to verify values. In particular, this application
should not be used for safety critical applications such as
navigation, aeronautics, etc.
Not got a true East/West bearing as expected
?
Perhaps you are wondering why the bearing between two locations at the
same latitude do not come out as a compass heading of true West (090°)
or East (270°). Well, the Earth is a sphere, and whilst it is true
that the shortest distance between two points is a straight line, one
would probably not want to have to bore a substantial tunnel to achieve
this. The shortest distance across the surface of the earth is
an arc of a great circle and this arc generally tends towards either the
North or South pole.
If you still don't believe me, mark the poles and your
two locations on an Orange and cut it exactly in half so that both locations
are on the edge of the cut.....
Course and Bearing
Course from origin is the bearing one must travel
when leaving the origin to begin the Great Circle route. On a Great Circle
route the course normally* constantly
changes throughout the journey. Traditionally ocean navigators recalculated
their course every 12 hours whilst the auto-pilots on modern aircraft
do so continously. This calculator recomputes the course every 200km (approximately)
I was contacted by muslim gentleman who had plotted the route to Mecca
and was concerned that this was the direction he should face when praying
- not so.
*The course will not vary along the route when both
points are on either the equator (east-west), or the same line of longitude
(north-south)
The course is displayed as both a True (geographic north)
and Magnetic heading. The code to calculate the magnetic declination at
origin is experimental and I would welcome comments regarding the accuracy
of this. For the technically minded the calculator computes the current
declination at the earth's surface using the IGRF2000 model.
Magnetic declination is a measure of the difference between
geographic and magnetic north, and varies over both time and location.
Details about magnetic declination and an online calculator, can be found
at The Canadian
Geological Survey. My thanks go to Larry Newitt there for providing
some very useful pointers.
Please don't ask me to supply the course/bearing formula
for free - I can't.
Source Code
Is not available, for free anyhow. The Java
API is now available for purchase.
I used to mail the source of earlier version out to people who
asked for it. I no longer do so however, owing to it finding it's
way onto other sites without any acknowledgement. The code segment
for the distance calculation is available on the Formula
page.
|
|
Logging
The calculator logs activity and information such as browser and JVM
versions. This allows me to get some limited feedback on what it's being
used for and to identify bugs. Some of this information is available in
summary form on the statistics page.
Update history
| 30 January
2004 |
BuxFix: magnetic declination calculation. Was
adding the variation to course, when in fact should be substracting.
Thanks to Micheal Oxner (Canada) for pointing this out. |
| 24 January
2004 |
Added magnetic declination calculation - experimental. |
| 3 January 2004 |
If you can't beat them, join them....
Seriously bored with people not reading the 'drag-the-mouse' instructions.
Click and release now sets alternate points (origin/destination)
rather than setting both at the same place. Drag still works.
Just for reference the worst culprits for not reading the instructions
come from English speaking countries - Brits top, Yanks second. |
| 14 October
2003 |
BugFix: Course plot would go wild at extreme latitudes
(greater than 88°) |
| 13 October
2003 |
Prompt user to drag the mouse if they click and
release on same map point. Better if they just read the instructions
really...
Changed default select mode from point to city. |
| 3 August 2003 |
Minor layout change for larger screen sizes; Results
now displayed to the right on the lat/long entry fields - this allows
more vertical space for the map to scale and allows it appear a
lot larger. |
| 29 June 2003 |
Added code to scale map to fit window - looks
bigger now.
BugFix: Displayed bearing was rounded incorrectly.. |
| 14 June 2003 |
Applet bug fix - sometimes map wasn't being displayed
at startup. |
| 8 April 2003 |
Major rewrite now includes map selection and course
calculation and plot. |
| 30 March 2003 |
added notes about bearing calculation and withdrawal
of source. |
| 16 July 2002 |
Added bearing calculation to applet and schematic
to HTML |
| 10 September 1998 |
First version released. |
| Great Circle Calculator visitor
counters - since 11/03/04 |
| All languages |
 |
|
 |
English |
| |
|
|
|
|
| |
Total hits this year
on all pages in section |
 |
(since 01/01/04) |
|
| |
|
|
|
|
| Contact
the author, Andrew Gray |
.
|