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
We want to examine the behaviour of the current formulas for distance computation in geographic coordinate systems, i.e. andoyer, thomas, vincenty.
We do the following experiment (on develop branch): compute the distance between (0,0) and (180,x) where x takes values from 0 to 0.00001 with step 0.0000001. Note that this is a computation along a meridian, in other words the geodesic is a meridian, that is a very special case of nearly antipodal points.
Here are the distances calculated: data.txt; the columns are x, andoyer, thomas and vincenty distance respectively.
See below the plots of computed distance as a function of latitude x for the 3 different formulas. andoyer.pdf thomas.pdf vincenty.pdf
Vincenty seems ok for this test case; andoyer is doing a jump when x is getting close to 0; thomas seems to return more or less arbitrary numbers.
In general all the above formulas are expected to return non accurate results for nearly antipodal points. This is more or less a known issue but I just put it here for future reference until we fix it.
This discussion was converted from issue #426 on October 02, 2024 10:46.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We want to examine the behaviour of the current formulas for distance computation in geographic coordinate systems, i.e. andoyer, thomas, vincenty.
We do the following experiment (on develop branch): compute the distance between (0,0) and (180,x) where x takes values from 0 to 0.00001 with step 0.0000001. Note that this is a computation along a meridian, in other words the geodesic is a meridian, that is a very special case of nearly antipodal points.
Here are the distances calculated: data.txt; the columns are x, andoyer, thomas and vincenty distance respectively.
See below the plots of computed distance as a function of latitude x for the 3 different formulas.
andoyer.pdf
thomas.pdf
vincenty.pdf
Vincenty seems ok for this test case; andoyer is doing a jump when x is getting close to 0; thomas seems to return more or less arbitrary numbers.
In general all the above formulas are expected to return non accurate results for nearly antipodal points. This is more or less a known issue but I just put it here for future reference until we fix it.
Beta Was this translation helpful? Give feedback.
All reactions