This is a sort-of port or rewrite of MaZderMind's history splitter to use libosmium rather than the older, apparently deprecated, library.
It's kinda working at the moment, and it has a few basic unit tests. But still needs more work before you should use it.
It uses CMake, and has no extra dependencies beyond libosmium and what it needs. You can build using something like this:
mkdir build
cd build
cmake ..
There are tests, which you can run using ctest
, or by running the individual tests from the build/test/
directory. If you do this, you should set OSMIUM_HISTORY_SPLITTER_TEST_DATA_DIR
to be the source test subdirectory, e.g:
OSMIUM_HISTORY_SPLITTER_TEST_DATA_DIR=../test test/unit_tests
Please report any bugs to the issues page. Reports are very welcome, and those with test cases and patches even more so!