Skip to main content
Solved

Create a CityGML Bridge with BridgeParts

  • August 25, 2023
  • 3 replies
  • 114 views

harmen
Contributor
Forum|alt.badge.img+10

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>

 

Best answer by daveatsafe

Hi @Harmen Kampinga​,

To set up the CityGML hierarchy, it is necessary to set both the hierarchy links and roles. For features with geometry, both the LoD and role can be set with the FME Hub transformer CityGMLGeometrySetter. For features without geometry, simple create the attribute citygml_feature_role and set it to appropriate role. These roles are defined in the CityGML Bridge UML, which can be found at https://www.citygmlwiki.org/images/a/a0/CityGML_Bridge.pdf.

I am attaching an updated workspace illustrating how to create a simple Bridge.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

daveatsafe
Safer
Forum|alt.badge.img+20
  • Safer
  • Best Answer
  • August 29, 2023

Hi @Harmen Kampinga​,

To set up the CityGML hierarchy, it is necessary to set both the hierarchy links and roles. For features with geometry, both the LoD and role can be set with the FME Hub transformer CityGMLGeometrySetter. For features without geometry, simple create the attribute citygml_feature_role and set it to appropriate role. These roles are defined in the CityGML Bridge UML, which can be found at https://www.citygmlwiki.org/images/a/a0/CityGML_Bridge.pdf.

I am attaching an updated workspace illustrating how to create a simple Bridge.


harmen
Contributor
Forum|alt.badge.img+10
  • Author
  • Contributor
  • September 14, 2023

Hi @Harmen Kampinga​,

To set up the CityGML hierarchy, it is necessary to set both the hierarchy links and roles. For features with geometry, both the LoD and role can be set with the FME Hub transformer CityGMLGeometrySetter. For features without geometry, simple create the attribute citygml_feature_role and set it to appropriate role. These roles are defined in the CityGML Bridge UML, which can be found at https://www.citygmlwiki.org/images/a/a0/CityGML_Bridge.pdf.

I am attaching an updated workspace illustrating how to create a simple Bridge.

Thanks @daveatsafe​ ! I will dive into it and let you know!


harmen
Contributor
Forum|alt.badge.img+10
  • Author
  • Contributor
  • September 19, 2023

Hi @Harmen Kampinga​,

To set up the CityGML hierarchy, it is necessary to set both the hierarchy links and roles. For features with geometry, both the LoD and role can be set with the FME Hub transformer CityGMLGeometrySetter. For features without geometry, simple create the attribute citygml_feature_role and set it to appropriate role. These roles are defined in the CityGML Bridge UML, which can be found at https://www.citygmlwiki.org/images/a/a0/CityGML_Bridge.pdf.

I am attaching an updated workspace illustrating how to create a simple Bridge.

This was exactly I was looking for!

Thank you @daveatsafe​ !