Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify that current cross-track distance uses spherical (Haversine) earth model, add Ellipsoidal (Vincenty) version #1128

Open
urschrei opened this issue Dec 23, 2023 · 2 comments

Comments

@urschrei
Copy link
Member

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)
@frewsxcv
Copy link
Member

frewsxcv commented Feb 6, 2024

A PR was opened for this here: #1140

@frewsxcv frewsxcv closed this as completed Feb 6, 2024
@frewsxcv frewsxcv reopened this Feb 6, 2024
@frewsxcv
Copy link
Member

frewsxcv commented Feb 6, 2024

(Didn't mean to close)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants