7
$\begingroup$

If A and B are two points on the earth, how could I find any arbitrary point between them along the shortest distance side of their great circle path?

Points are in radians
longitude = $0$ to $2\pi$
latitude = $0$ to $\pi$, $0$ being at north pole
Points are not antipodal

I desire something where I specify a range $0.0$ to $1.0$, with $0.0$ being point A and $1.0$ being point B and $0.5$ being the midpoint between them, with all other values being their corresponding points. Thanks!

Note: This is not homework. I'm 41yrs old and this is for a personal project I'm working on.

$\endgroup$
2
  • 2
    $\begingroup$ Good question. It is an embarrassment to the site that a climate has been created where users feel they have to post detailed personal disclaimers (even about subjects that are not taught in today's education system -- spherical geometry!) to avoid the accusation of posting homework. $\endgroup$
    – T..
    Nov 10, 2010 at 23:24
  • $\begingroup$ Here's an idea: you first get the spherical distance of your two points, construct an equatorial arc of that length, and then rotate the arc such that the ends coincide with the original points. I don't have the time to work out the mathematics completely, but I don't see a reason why it shouldn't work. $\endgroup$ Nov 10, 2010 at 23:53

1 Answer 1

3
$\begingroup$

This aviation website has the information that you were looking for. The formula presented there returns the latitude and longitude of a point that is a fraction $f$ between points A and B except when they are antipodal just as you mentioned in the question.

$\endgroup$
1
  • 1
    $\begingroup$ Nice! Note that safe implementations couch any use of inverse trigonometric functions in terms of the two-argument arctangent. $\endgroup$ Nov 11, 2010 at 0:26

You must log in to answer this question.