Hi,
I am trying to write a CityGML LOD1 file containing building parts in a proper way. I use OSM data (3dbuildings.com) in geopackage format as a proving ground. The only example workflow I have found was about Cesium https://www.youtube.com/watch?v=xSB_GLB_ikQ but the output file consisted of building parts only.
Actually I find resulting files looking similar to sample data from Hamburg in FZKViewer but I am not sure anyway.
The main idea as I get it right is to remove geometry in case of a building that consists of building parts and link them to a parent building with a gml_parent_id.
Do I need to create a separate gml_id for each building part or it's enough to leave a part without it? Unfortunately there are errors while validating an output file.
Can I connect directly buildings without geometries and building with geometries into the same CityGML Building writer?
Is there a more compact manner to get a right result (please find attached a workspace)? It looks clumsy maybe due to specific of OSM relations and inconsistencies.
A workspace and an archive with an initial geopackage and a resulting gml are attached.
Thank you in advance!