geo icon indicating copy to clipboard operation
geo copied to clipboard

Clarify that current CrossTrackDistance uses spherical (Haversine) earth model, add Ellipsoidal (Vincenty) version

Open urschrei opened this issue 1 year ago • 4 comments
trafficstars

https://docs.rs/geo/latest/geo/algorithm/cross_track_distance/trait.CrossTrackDistance.html

One approach would be:

  1. Deprecate cross_track_distance in favour of cross_track_distance_haversine
  2. Add cross_track_distance_geodesic (I think we have all the necessary pieces between geo and geographiclib_rs)
  3. Note the advantages / caveats related to WGS-84 (specifically: most WGS-84 coordinates won't be accurate to less than 1 m anyway)

urschrei avatar Dec 23 '23 13:12 urschrei

A PR was opened for this here: https://github.com/georust/geo/pull/1140

frewsxcv avatar Feb 06 '24 01:02 frewsxcv

(Didn't mean to close)

frewsxcv avatar Feb 06 '24 01:02 frewsxcv