Generate CityGML LoD2 models based on OpenStreetMap (OSM) data while preserving OSM attributes and roof shapes with the OSM BuildingCreator plugin for versions above 7.6 of KITModelViewer.
Under “Install Plugin,” select the plugin .zip file for KITModerViewer.
1- Open KITModelViewer and request OSM Data by creating new map (a) or by loading OSM data file (b).
b) Open or drag OSM data file retrieved from other source, such as OpenStreetMap Export. Models will be created just for buildings.
The Plugin offers three options:
-
Generate single zone building from Building Parts: Generate Single Zone LoD2 models joining building parts.
-
Generate aditional Building Part from remaining contour when not completely filled: Geberate LoD2 models with extra building parts when countour from building is not filled with parts.
-
Generate building with flat roof when when solid problem is found: Generate Solids with flat roofs of building footprints with given heights (LoD1) when solid error is found.
| Package Name | Install Command |
|---|---|
| wxwidgets | vcpkg install wxwidgets triplet=x64-windows |
| fmt | vcpkg install fmt triplet=x64-windows |
| geographiclib | vcpkg install geographiclib triplet=x64-windows |
| cgal | vcpkg install cgal triplet=x64-windows |
| boost | vcpkg install boost triplet=x64-windows |
| gmp | vcpkg install gmp triplet=x64-windows |
@software{SDM_Plugin_OSM_BuildingCreator,
title = {{SDM_Plugin\_OSM\_BuildingCreator}},
author = {Fernanda Lourenzi, Andreas Geiger},
url = {https://github.com/KIT-IAI/SDM_Plugin_OSM_BuildingCreator},
year = {2026}
}