Skip to main content
Question

I am new to fme. I have a citygml file of buildings with attribute codes such as 2100, 3400. The definition of this code is in another XML file so how do I setup the workbench so that the citygml file can access the attribute values from the XML f


I am new to fme. I have a citygml file of buildings with attribute codes such as 2100, 3400. The definition of this code is in another XML file so how do I setup the workbench so that the citygml file can access the attribute values from the XML file?

2 replies

caracadrian
Contributor
Forum|alt.badge.img+23
  • Contributor
  • October 30, 2020

Use the FeatureMerger transformer to merge the attribute values from XML to your citygml data.

Use the buildings codes from citygml as a requestor and the attribute that contains those codes in xml as a supplier.


davtorgh
Contributor
Forum|alt.badge.img+10
  • Contributor
  • October 30, 2020

Hi @dennis​ ,

 

an alternative way to the one suggested by caracadrian could be use a FeatureJoiner (which performs faster on simple attribute based joins). If you want to lear more on Joins, see this article.

 

Hope that helps!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings