You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
meaning that Williams algorithm for crs12 in case sin(lon2-lon1)<0 is crs12=acos((sin(lat2)-sin(lat1)*cos(dst12))/(sin(dst12)*cos(lat1))) but in this library same condition results θ12 = 2*π-θa;
which one is right?
I am totally clueless at trigonometry but noticed this difference
The text was updated successfully, but these errors were encountered:
aldas
changed the title
LatLonSpherical.intersection is algoritm is different from edwilliams aviation formula.
LatLonSpherical.intersection algorithm is different from edwilliams aviation formula.
Dec 3, 2022
Williams chose to take west longitudes as positive (“For the convenience of North Americans I will take North latitudes and West longitudes as positive and South and East negative. The longitude is the opposite of the usual mathematical convention”).
I have stuck to normal sign convention with west -ve and east +ve.
http://www.edwilliams.org/avform147.htm#Intersection has
but same condition seems to be inversed in this library
geodesy/latlon-spherical.js
Lines 426 to 427 in 761587c
meaning that Williams algorithm for crs12 in case
sin(lon2-lon1)<0
iscrs12=acos((sin(lat2)-sin(lat1)*cos(dst12))/(sin(dst12)*cos(lat1)))
but in this library same condition resultsθ12 = 2*π-θa;
which one is right?
I am totally clueless at trigonometry but noticed this difference
The text was updated successfully, but these errors were encountered: