tudelft3d / CityGML2OBJs

An experimental utility to convert CityGML data to OBJ, featuring decoupling of objects and conversion of attributes to colours
MIT License
94 stars 25 forks source link

-g 1 flag does not work #12

Closed Chenghui123 closed 5 years ago

Chenghui123 commented 5 years ago

When I call the flag -g 1, the output file with the name followed by "Other", and the objects isn't been named as an integer from 1 to n. So, what's wrong with my work? Thanks for your help.

fbiljecki commented 5 years ago

Can you share the file so I can reproduce the issue?

Chenghui123 commented 5 years ago

Hammarby.zip Thank you very much!

fbiljecki commented 5 years ago

The buildings in the file are stored as GenericCityObject, not as Building, with denoted semantic surfaces. Since the objects are not semantically labelled, the result you get is as expected. If you need that, consider procuring a semantically rich model.

Chenghui123 commented 5 years ago

OK, thanks!