In the atrributes below I want to specifiy the usage of each building, for example building (_gebaeude) 504. Is there a way to do this in FME using the createAtrribute Transformer? There are over 40 buildings each with a specific usage and name
Hi @aklamwis ,
If you mean that you need to insert "bldg:usage" element into each "bldg:Building" element as its child element, XMLUpdater might help you in some case. But the specific solution could be different depending on the data condition.
- Do all buildings have the same attributes other than usage?
- Where are the building ID and name defined? I connot see ID and name in your screenshot.
- Do you have a table defining relationship between building ID and usage?
Hi @aklamwis ,
If you mean that you need to insert "bldg:usage" element into each "bldg:Building" element as its child element, XMLUpdater might help you in some case. But the specific solution could be different depending on the data condition.
- Do all buildings have the same attributes other than usage?
- Where are the building ID and name defined? I connot see ID and name in your screenshot.
- Do you have a table defining relationship between building ID and usage?
Hello Takashi, thanks for your timely response. All buildings have different attributes as seen in this pic but I want to include new attributes like usage, building number, building height, construction year, roof type and modifications. These information are contained in two csv files. No there is no table defining the relationship between building ID and usage. A sample of how the csv info looks:
I would try the XMLUpdater to see how it works.
citygml file: