citygml4j / citygml-tools

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

Extensions support for conversion from CityJSON to CityGML #49

Closed ElTure97 closed 11 months ago

ElTure97 commented 11 months ago

Hi all,

For my master degree thesis, I developed a data management pipeline whose objective is the one of outputting a CityJSON file for further conversion into CityGML with both Energy and Utility Network extensions according to the following schemas:

Energy: https://github.com/ozgetufan/cjenergy/blob/master/schemas/extensions/energy.ext.json Utility: https://github.com/idiap/cjutilitynetwork/blob/main/utilitynetwork.ext.min.json

I would like to know if that tool enables the conversion from CityJSON with those extensions, to CityGML with respective ADEs.

Thank you in advance

clausnagel commented 11 months ago

No, there is no fully automatic mapping between CityJSON extensions and CityGML ADEs. citygml-tools converts CityJSON extensions to generic city objects and attributes in CityGML by default.

If you really want to convert into a CityGML ADE, you have to implement a corresponding extension module for citygml4j and use it with citygml-tools. Not really difficult but requires Java programming.

ElTure97 commented 11 months ago

Thank you for the clarifications!

No, there is no fully automatic mapping between CityJSON extensions and CityGML ADEs. citygml-tools converts CityJSON extensions to generic city objects and attributes in CityGML by default.

If you really want to convert into a CityGML ADE, you have to implement a corresponding extension module for citygml4j and use it with citygml-tools. Not really difficult but requires Java programming.