Re: Latitude / longitude distance and bearing.




"Dave (from the UK)" <see-my-signature@xxxxxxxxxxxxx> wrote in message
news:46d949f2@xxxxxxxxxxxxxxxx
I have two locations, call them 'a' and 'b' .
a) Altitude of a and b (call them alt_a and alt_b).
b) Latitude of b and b (call them lat_a and lat_b)
c) Longitude of a and b (call them long_a and long_b)
'a' and 'b' are fairly close together (10 - 20 km) and in line of sight
distance. (Two mountain peaks).
I want to find
1) The straight line distances from a to b. (*Not* the distance along the
circumference of the earth, which I can get from the Haversine formula)
2) The bearing of 'a' when viewed from 'b'.
3) The vertical angle - i.e how many degress above the horizon is 'a' when
viewed from 'b'. (alt_a > alt_b).

Take a look at INVERS3D/FORWRD3D at
http://www.ngs.noaa.gov/PC_PROD/Inv_Fwd/
There is also FORTRAN source code.

Also of interest is the porigram COMPSYS21 available at
http://www.naco.faa.gov/index.asp?xml=naco/online/compsys


.



Relevant Pages

  • Re: Calculating a Distance on the Surface of the Earth
    ... latitude and longitude. ... I'd actually be above the surface of the earth due to the ... to the surface of the earth, I'd like to know the distance between ... longitude of the second point. ...
    (sci.geo.satellite-nav)
  • Re: Could PIC handle this?
    ... Doesn't that mean comparing the distance ... magnitude of the distance, not the actual distance. ... differences between the longitude and latitude of each pair of points you ...
    (comp.arch.embedded)
  • Re: decimal longitude and latitude problem
    ... distance from a specific decimal longitude and latitude. ... latitude is 60 nautical miles, while one degree of longitude is 60*sin L ...
    (sci.math)
  • Re: decimal longitude and latitude problem
    ... distance from a specific decimal longitude and latitude. ... latitude is 60 nautical miles, while one degree of longitude is 60*sin L ...
    (sci.math)
  • Re: Questions (Space)
    ... The longitude and latitude I'd say are ... vector quantities; ... defines a distance in a particular direction. ...
    (rec.arts.sf.composition)