[Geowanking] tech question: calc course from 2 lon/lat's

Just van den Broecke just at justobjects.nl
Thu Aug 10 10:54:27 PDT 2006


Hi,

For the experts: I am looking for a formula, preferably as 
Java(Script)-code, to calculate the course between two lon/lat pairs as 
a value between 0 (north), through 180 (south) to 360 degrees (like in 
the values from a GPS RMC sample). I can calculate Great Circle 
distance, but somehow couldn't find course-calculations Googling.

(Background is moving directional icons on a map). Any help appreciated.
thanks,

--Just

Just van den Broecke  just at justobjects.nl
Just Objects B.V.     tel +31 65 4268627 Skype: justb4
The Netherlands       http://www.justobjects.nl








More information about the Geowanking mailing list