Skip to main content
Question

How can I edit my cityGML with specific attributes for specific builings


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

B_2023-11-23 092920

2 replies

takashi
Contributor
Forum|alt.badge.img+21
  • Contributor
  • November 23, 2023

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?

  • Author
  • November 23, 2023
takashi wrote:

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:

imageI would try the XMLUpdater to see how it works.

citygml file:

image


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