citygml4j / citygml-tools

Collection of tools for processing CityGML files
Apache License 2.0
115 stars 18 forks source link

Upgrade option removes geometry element for LOD 4 #42

Closed RushiHFT closed 1 year ago

RushiHFT commented 1 year ago

Hi,

I recently faced an issue while using Upgrade command with CityGML 2.0 LOD 4 building . The output version 3.0 file does not contain any geometry elements. It works fine with LOD 2 buildings.

I look forward to your feedback.

Thanks and best regards, Rushi

clausnagel commented 1 year ago

I'd say it works as expected because there is no LoD4 in CityGML 3.0 anymore. For this reason, the upgrade command offers the option --use-lod4-as-lod3 (or just -u). Use this option in your command to map the LoD4 to LoD3 in the CityGML 3.0 output file. If your input file also contains an LoD3, it will be overwritten though.

RushiHFT commented 1 year ago

Perfect thank you so much :-)