A test suite of ECEF-to-geodetic coordinate conversion functions
To create the input data files
make -j $(nproc) input
They are text files with ECEF and Geodetic coordinates.
To build the accuracy and speed tests
make -j $(nproc)
To run the accuracy and speed tests
make acc speed
- Takes about 10 minutes to finish
- Do not run these in parallel
The output of the accuracy and speed tests are json files which are put in the results
folder.
See Makefile for all possible targets.
- Google Benchmark
- fmt (version >= 10.0.0)
- nlohmann-json
- oneTBB
See Makefile for detailed list of programs that are required to run.
Only algorithms with a mean distance error less than 10nm were included in the figure below. All iterative algorithms did 2 iterations. "(c.h.)" means the algorithm used a "custom height" formula to calculate ellipsoid height instead of the standard formula.
Scatter plot of accuracy, measured by mean distance error (nm), versus speed, measured in millions of conversions per second
Results closer to the upper-left corner of the figure are better.