mapbox / cheap-ruler

Fast approximations for common geodesic measurements 🌐
https://www.mapbox.com/blog/cheap-ruler/
ISC License
418 stars 32 forks source link

Switch to WGS84 Ellipsoid model of the Earth #41

Closed mourner closed 4 years ago

mourner commented 4 years ago

Includes and closes #36. Reasons for the switch are well explained in https://github.com/mapbox/cheap-ruler-cpp/pull/13.

tmpsantos commented 4 years ago

@mourner should we merge the PR on the cpp port?

mourner commented 4 years ago

@tmpsantos certainly, but it needs to be updated with new WGS84 parameters (they're commented out there) and updated tests, reflecting this PR.