GPSBabel: convert, manipulate, and transfer data from GPS programs or GPS receivers. Open Source and supported on MacOS, Windows, Linux, and more. Pointy clicky GUI or a command line version...
This eliminates some magic numbers which recently were discovered to contain a typo (#1310).
It also eliminates some assumptions of which ellipse index applied to some specific ellipses (GRS80, Bessel 1841).
It increases readability.
It corrects a variable name which used b (standard for the semi-minor axis) instead of f (standard for flattening).
And it does this all at compile time.
This eliminates some magic numbers which recently were discovered to contain a typo (#1310). It also eliminates some assumptions of which ellipse index applied to some specific ellipses (GRS80, Bessel 1841). It increases readability. It corrects a variable name which used b (standard for the semi-minor axis) instead of f (standard for flattening). And it does this all at compile time.