BoatBanter.com

BoatBanter.com (https://www.boatbanter.com/)
-   Cruising (https://www.boatbanter.com/cruising/)
-   -   Calculating distance from Lat/Long (https://www.boatbanter.com/cruising/8346-calculating-distance-lat-long.html)

Brian Whatcott December 5th 03 04:04 AM

Calculating distance from Lat/Long
 
Not too surprising...I meant to mention that the inverse cos is
intended to provided an angle in *radians*
1 radian = 1 degree X 180/pi or about 57 degrees.

Brian W

On Fri, 05 Dec 2003 02:51:48 GMT, (Larry W4CSC) wrote:

Fifty seven lurkers just headed for the Tylenols with their heads
spinning, feeling nauseated and dizzy....(c;

I love my Nautical Almanac.....
I love my Nautical Almanac.....
I love my Nautical Almanac.....
I love my Nautical Almanac.....
and GPS...



On Fri, 05 Dec 2003 00:27:38 GMT, Brian Whatcott
wrote:


First, an explanatory note:
inverse cos is also known as arc.cos or cos^-1

The great circle distance is given by
Earth radius * arccos [cos Lat1* cos Lat2 * cos (Long1 - Long2)
+ sin Lat1 * sin Lat2]
The Earth (equatorial) radius is
6378 km, or 3963 statute miles or 3442 NM.

Does this help? (There are other formulae for the same result...)

Brian Whatcott Altus OK


Larry W4CSC

NNNN



Larry W4CSC December 5th 03 04:12 AM

Calculating distance from Lat/Long
 
On Fri, 05 Dec 2003 04:04:13 GMT, Brian Whatcott
wrote:

Not too surprising...I meant to mention that the inverse cos is
intended to provided an angle in *radians*
1 radian = 1 degree X 180/pi or about 57 degrees.

Brian W

My head is still buzzin', but that might be the Boddington's Ale, not
spherical trig....(c;


Larry W4CSC

NNNN


Larry W4CSC December 5th 03 04:12 AM

Calculating distance from Lat/Long
 
On Fri, 05 Dec 2003 04:04:13 GMT, Brian Whatcott
wrote:

Not too surprising...I meant to mention that the inverse cos is
intended to provided an angle in *radians*
1 radian = 1 degree X 180/pi or about 57 degrees.

Brian W

My head is still buzzin', but that might be the Boddington's Ale, not
spherical trig....(c;


Larry W4CSC

NNNN


Jim Thompson December 5th 03 01:20 PM

Calculating distance from Lat/Long
 
Huh? The earth isn't flat? When did that happen? (tic)


Jim Thompson December 5th 03 01:20 PM

Calculating distance from Lat/Long
 
Huh? The earth isn't flat? When did that happen? (tic)


Steve December 5th 03 03:09 PM

Calculating distance from Lat/Long
 
Dumb Ass! It's round. Kinda like a dinner plate. Be careful when you get
close to the edge.

When Joshua Slocum was sailing around the world and meet a head of state in
some island nation, that was the excepted explanation.

Steve
s/v Good Intentions



Steve December 5th 03 03:09 PM

Calculating distance from Lat/Long
 
Dumb Ass! It's round. Kinda like a dinner plate. Be careful when you get
close to the edge.

When Joshua Slocum was sailing around the world and meet a head of state in
some island nation, that was the excepted explanation.

Steve
s/v Good Intentions



Jon Gauthier December 5th 03 03:11 PM

OT: Homeland Defense attacking Higher Math
 
!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
html
head
meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"
title/title
/head
body text="#000000" bgcolor="#ffffff"
font face="Courier New, Courier, monospace"Off topic, but funny as
hell:br
br
==============================br
At New York's Kennedy airport today, an
individual laterbr
discovered to be a public school teacher was arrested
tryingbr
to board a flight while in possession of a ruler, a protractor,br
a setsquare, a slide rule, and a calculator. br
br
At a morning press conference, Attorney
general John Ashcroftbr
said he believes the man is a member of the
notorious al-gebrabr
movement. He is being charged by the FBI with
carrying weaponsbr
of math instruction. "Al-gebra is a fearsome cult,",
Ashcroftbr
said. "They desire average solutions by means and extremes,
andbr
sometimes go off on tangents in a search of absolute value. Theybr
use secret code names like "x" and "y" and refer to themselves asbr
"unknowns", but we have determined they belong to a commonbr
denominator
of the axis of medieval with coordinates in everybr
country. "As the
Greek philanderer Isosceles used to say, therebr
are 3 sides to every
>triangle," Ashcroft declared. br
br
When asked to comment on the arrest,
President Bush said, "If Godbr
had wanted us to have better weapons of
math instruction, He wouldbr
have given us more fingers and toes. "I am
gratified that ourbr
government has given us a sine that it is intent on
protracting usbr
from these math-dogs who are willing to disintegrate us
with calculusbr
disregard. Murky statisticians love to inflict plane on
every spherebr
of influence," the President said, adding: "Under the
circumferences,br
we must differentiate their root, make our point, and
draw the line."br
President Bush warned, "These weapons of math
instruction have thebr
potential to decimal everything in their math on a
scalene neverbr
before seen unless we become exponents of a Higher Power
and begin tobr
factor-in random facts of vertex." br
br
Attorney General Ashcroft said, "As our
Great Leader would say, readbr
my ellipse. Here is one principle he is
uncertainty of though theybr
continue to multiply, their days are
numbered as the hypotenuse tightensbr
around their necks." br
br
br
-- br
Jon Gauthierbr
br
Given the likely reaction to an increase inbr
terror-alert level to "severe threat imminent,"br
wouldn't a more appropriate alert color be brown?br
-Brad Simanek on a class="moz-txt-link-abbreviated" href="http://www.ruminate.com"www.ruminate.com/a/font
/body
/html


Jon Gauthier December 5th 03 03:11 PM

OT: Homeland Defense attacking Higher Math
 
!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
html
head
meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"
title/title
/head
body text="#000000" bgcolor="#ffffff"
font face="Courier New, Courier, monospace"Off topic, but funny as
hell:br
br
==============================br
At New York's Kennedy airport today, an
individual laterbr
discovered to be a public school teacher was arrested
tryingbr
to board a flight while in possession of a ruler, a protractor,br
a setsquare, a slide rule, and a calculator. br
br
At a morning press conference, Attorney
general John Ashcroftbr
said he believes the man is a member of the
notorious al-gebrabr
movement. He is being charged by the FBI with
carrying weaponsbr
of math instruction. "Al-gebra is a fearsome cult,",
Ashcroftbr
said. "They desire average solutions by means and extremes,
andbr
sometimes go off on tangents in a search of absolute value. Theybr
use secret code names like "x" and "y" and refer to themselves asbr
"unknowns", but we have determined they belong to a commonbr
denominator
of the axis of medieval with coordinates in everybr
country. "As the
Greek philanderer Isosceles used to say, therebr
are 3 sides to every
>triangle," Ashcroft declared. br
br
When asked to comment on the arrest,
President Bush said, "If Godbr
had wanted us to have better weapons of
math instruction, He wouldbr
have given us more fingers and toes. "I am
gratified that ourbr
government has given us a sine that it is intent on
protracting usbr
from these math-dogs who are willing to disintegrate us
with calculusbr
disregard. Murky statisticians love to inflict plane on
every spherebr
of influence," the President said, adding: "Under the
circumferences,br
we must differentiate their root, make our point, and
draw the line."br
President Bush warned, "These weapons of math
instruction have thebr
potential to decimal everything in their math on a
scalene neverbr
before seen unless we become exponents of a Higher Power
and begin tobr
factor-in random facts of vertex." br
br
Attorney General Ashcroft said, "As our
Great Leader would say, readbr
my ellipse. Here is one principle he is
uncertainty of though theybr
continue to multiply, their days are
numbered as the hypotenuse tightensbr
around their necks." br
br
br
-- br
Jon Gauthierbr
br
Given the likely reaction to an increase inbr
terror-alert level to "severe threat imminent,"br
wouldn't a more appropriate alert color be brown?br
-Brad Simanek on a class="moz-txt-link-abbreviated" href="http://www.ruminate.com"www.ruminate.com/a/font
/body
/html


H. Chris Spreckley December 11th 03 06:24 AM

Calculating distance from Lat/Long
 
Dear Lloyd,

I've picked this up rather late. If you still require the answer[s] then get
back to me including telling me whether you have a book of tables known as
"Norries Tables". If not I can give you an arithmetic method by calculator.
Basically you work out the D'Lat [difference in minutes of latitude] and
Dep(arture), then converting Dep into D'Long [differnce in minutes of
Longitude]. From which can be determined Dist(ance) and Co(arse) made good,
or of course the reverse having only course and distance find the rest.

Chris Spreckley



"Lloyd Sumpter" wrote in message
...
Hi,

I'm writing a program for Linux that displays position (from GPS) on a
scanned-in chart, and would like it to calculate distance from current
position to the cursor.

How do you calculate distance between two points using lat/long? If
they're due North/South, I can do it ( 1 minute of lat = 1 NM) but how do
you calculate distance from longitude? Perhaps some formula based on the
circumfrence of the Earth at the equator and the latitude?

Lloyd Sumpter





All times are GMT +1. The time now is 05:53 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004 - 2014 BoatBanter.com