This is the code of a prototype that creates 3D city models from a combination of a 2D map and a point cloud. It was made for my secondment at the Ordnance Survey, Southampton, UK. So far, it has only been tested with sample data around Exeter, UK, which was supplied by OS. However, you can get similar data from England's Environmental Agency here and there's a free sample of the OS MasterMap, which you can reclassify with this code.
In order to run this, you need C++20 or higher, as well as the following libraries: GDAL (vector input), CGAL (geometric operations), Niels Lohmann's JSON for Modern C++ (JSON input/output) and PDAL (point cloud input). A CMake file is provided for compilation.
It achieves similar results to 3dfier and City4CFD but the ultimate aim is to have a more general approach that works in more countries.
More information to come.