Skip to main content

Hello All,

 

Currently I'm converting CityGML 2.0 from IFC4. The IFC file is a building model. So normally the exported CityGML feature types should be under Building module, which are named with "bldg" as the namespace prefix, e.g. bldg:Building, bldg:BuildingInstallation, bldg:WallSurface, etc.

 

However, I found some feature types of the exported CityGML were assigned to Bridge module.

CityGML Feature Types 

Although I can turn on "Add XML Namespace Prefix to Feature Types" (found in the parameters of CityGML Writer), and make the feature types "brid:Door"/"brid:Window" to "bldg:Door"/"bldg:Window". CityGML Writer Parameters 

I'm just wondering why the feature types "Door" and "Window" will be assigned to Bridge module by default. Or is there any mechanism to decide which module will be assigned to?

 

Thanks in advance.

Regards,

Qubbie

I think (not 100%) that what you need to do is make sure your doors etc are part of the building. This can be done by setting the gml_parent_id on the door. If the gml_id of the building is put as the parent id then the feature should be withing the Building feature.

 

Without setting this the Doors etc are but inside of a dummy parent and I assume it's bridge first because it's alphabetically before Building!?


Hello Mr.@virtualcitymatt​ 

I faced the same issue.

May I ask you are there any ways to solve this problem instead of set gml_parent_id as gml_id. If there are impossible, Could you please explain more details about your advice ?

 

Thank you for your attention.

image.pngimage


Reply