by addaon · 5mo ago · 0 comments
Using any floating point representation for lat/long makes no sense at all to me. Floating point is designed for representing values where expected error scales with magnitude, not for values where error is constant with magnitude; the latter requires fixed point. I truly don't understand why someone would optimize their position representation for maximum accuracy off the coast of Africa, instead of having it uniform across the world.
which is why you should just use GeographicLib (or proj, now that it incorporates the same geodesic routines).