citygml4j / citygml-tools

Collection of tools for processing CityGML files
Apache License 2.0
124 stars 19 forks source link

citygml-tools create WaterClosureSurfaces out of nowhere #54

Closed MughtyWinky closed 4 months ago

MughtyWinky commented 4 months ago

While converting a CityGML document, which only includes buildings, citygml-tools creates WaterClosureSurfaces onto WallSurfaces.

The following picture shows the original and converted data.

image

Link to Dataset, tested on LoD2_Bergen-Enkheim.gml

clausnagel commented 4 months ago

Thanks for reporting. I fixed the bug with https://github.com/citygml4j/citygml4j/commit/1be3d9a156cd6022dcdf9d74d7c9894617355c4a.

Until a bugfix release is available, you can either build citygml-tools from source following this guide or use the edge Docker image from here.

MughtyWinky commented 4 months ago

Thanks for the quick response. Build it by myself using

git clone https://github.com/citygml4j/citygml-tools.git
cd citygml-tools
gradlew installDist
cd build
cd install
cd citygml-tools
copy c:\temp\LoD2_Bergen-Enkheim.gml .\
.\citygml-tools.bat to-cityjson LoD2_Bergen-Enkheim.gml

but the WaterClosureSurfaces are still present.

clausnagel commented 4 months ago

Sorry, my bad. One other commit was missing. Please git pull your local copy and rebuild.

MughtyWinky commented 4 months ago

Works fine now. Many thanks!