Question

Problem with transformation from shp to CityGML.

  • 23 June 2020
  • 1 reply
  • 3 views

I'm beginner user of FME Desktop. Transformation from shp to Citygml is working, but when i'm trying to export to CityGML a values that are in table (csv) i can't do it. I'm trying to move values from attribute code_citygml to attribut citygml_function, but i can't do connection and finally those values from code_citymgl are missing in final file.

 

Could someone show me right transformation tool or place in model when this sholud be done?

 

 

Thanks.


1 reply

Userlevel 4
Badge +26

Hi @siam82,

 

 

the {} indicate that the output is a list attribute so you will need to create a list attribute for this to write out correctly.

 

 

To do this you can use an attributeManager or AttributeRenamer to rename the attribute you want to be citygml_funciton to citygml_function{0}

The '0' is the list index - The citygml_function attribute can support having multiple values so you could have citygml_function{0}, citygml_function{1}, citygml_function{2} all being represented in the output file.

 

 

Also you shouldn't use the SchemaSetter here I don't think it's needed.

Reply