geo
geo copied to clipboard
Clarify that current CrossTrackDistance uses spherical (Haversine) earth model, add Ellipsoidal (Vincenty) version
trafficstars
https://docs.rs/geo/latest/geo/algorithm/cross_track_distance/trait.CrossTrackDistance.html
One approach would be:
- Deprecate
cross_track_distancein favour ofcross_track_distance_haversine - Add
cross_track_distance_geodesic(I think we have all the necessary pieces betweengeoandgeographiclib_rs) - Note the advantages / caveats related to WGS-84 (specifically: most WGS-84 coordinates won't be accurate to less than 1 m anyway)
A PR was opened for this here: https://github.com/georust/geo/pull/1140
(Didn't mean to close)