I'm looking for some help with creating a Bridge in CityGML with two BridgeParts. Those BridgeParts can consists of one or more other objecttypes like BridgeConstructionElements.
I've tried many things, but I can not figure out how to create the hierarchy of all the components in CityGML...
Of course using the gml_id and gml_parent_id to connect elements, but unfortunately this somehow doesn't work out the right way.
Anyone ?
Like to share the final solution!
What I like to see is a hierarchy:
one bridge
consists of two bridgeparts
whereas different bridge elements like constructionelements can be found in both 'bridge' and the two bridgeparts
So, something like this (simplified of course):
<Bridge gml_id: BRIDGE>
Bridgepart
gml_id = part_1
gml_parent_id = BRIDGE
BridgeConstructionElement
gml_id = 563456
gml_parent_id = part_1
BridgeConstructionElement
gml_id = 373648
gml_parent_id = part_1
BridgeConstructionElement
gml_id = 238656
gml_parent_id = part_1
BridgePart
gml_id = part_2
gml_parent_id = BRIDGE
BridgeConstructionElement
gml_id = 956345
gml_parent_id = part_1
BridgeConstructionElement
gml_id = 397364
gml_parent_id = part_1
BridgeConstructionElement
gml_id = 238965
gml_parent_id = part_1
</Bridge>