Skip to main content

Hey,

I'm converting data from IFC to CityGML. I used the GeomertyPropertyExtractor to extract attributes from the IFC PropertySets. These attributes all have the datatype string. These attributes are set as generic attributes in CityGML, but I want to change their datatype. I can do this for integers, doubles,... in the CityGML-Writer. But I also want to set data types like meter and square-meter. CityGML supports the data types like meter with the data type MeasureType.

Does anyone know how to set these data types?

Thanks

So I found the solution myself, perhaps it helps someone else and saves him a lot of time. You have to create a new attribute with attributename_units where you set the data type (for example #m for meter).

In the CityGML writer the attribute gets its matching type like xml_decimal and the attributename_units gets the type xml_buffer.

 

After running the workspace you get a generic Attribute with the type Measuretype:


Reply