tum-gis / CityGML2OBJv2

Command line converter of CityGML (.gml) to OBJ (.obj) files, while maintaining the semantics
MIT License
28 stars 2 forks source link

Any plans to extend it to CityGML v.3? #6

Open maynouf opened 4 months ago

maynouf commented 4 months ago

Hello,

First to all, thank you all for your excellent and useful work.

I am unaware of the proper GitHub etiquette regarding these questions, but without wanting to sound demanding or ungrateful, are there any plans to include/develop exporting to the new CityGML 3.0 standard? I've tried using this program to export a few 3.0 gmls but the following error is raised:

There is a problem with this file: no cityObjects have been found. Please check if the file complies to CityGML.

While this is understandable--it is clearly specified in the repo documentation--perhaps it would be useful to develop this capability.

I've seen that some projects enable exporting to CityJSON, but there is an argument to be made for the necessity to export to obj file directly.

In any case, thanks for your good work, and if help is needed on this feature I'd be happy to collaborate!

maynouf commented 4 months ago

Just found out that, as stated in the Readme of the archived original repo, you could theoretically get a CityGML file of any version (1, 2, 3), use citygml-tools to upgrade it to CityGML 3.0 and convert it to CityJSON, and pass it into cjio to convert it into an OBJ file.

Perhaps a more direct way would be preferable, but now it is clear that there IS a way. Leaving this comment as it could be useful to someone, but feel free to close it if you consider it so.

ThomasFroech commented 1 day ago

Currently, the support for CityGML 3.0 is on the way.