|
|
|
# Adding an attribute to the CityGML dataset (with attribute-join)
|
|
|
|
## Adding a schematic attribute to the CityGML dataset (Schematic Attribute: Year of Construction)
|
|
|
|
|
|
|
|
This example shows how to add an attribute (here: year_of_construction) to an existing CityGML document using FME. The same method can be used for adding attribute(s) by attribute join to any CityGML CityObjects irrespective of its Level of Detail. For example purpose here, CityGML 2.0 building dataset is used.
|
|
|
|
This example shows how to add a schematic attribute (here: year_of_construction) to an existing CityGML document using FME. The same method can be used for adding any schematic attribute(s) by attribute join to any CityGML CityObjects irrespective of its Level Of Detail. For example purpose here, CityGML 2.0 building dataset is used.
|
|
|
|
|
|
|
|
Method 1: Using feature merger and attribute creator
|
|
|
|
|
| ... | ... | @@ -16,7 +16,11 @@ An example workbench is available [here](https://transfer.hft-stuttgart.de/gitla |
|
|
|
|
|
|
|
The difference between using database joiner and CSV as a reader, is that CSV reader with cache all the data from the CSV file on your local machine. This is not good if you are working with a large dataset. With a database joiner, the transformer will read your database on the run and hence will not cache any data on your local machine. This saves time, memory and disk space.
|
|
|
|
|
|
|
|
# Adding an address to the CityGML dataset
|
|
|
|
## Adding a generic attribute to the CityGML dataset (Generic Attribute: Specific Space Heating Demand)
|
|
|
|
|
|
|
|
In this example, we will add a generic attribute (here: specific space heating demand) to an existing CityGML document using FME. The same method can be used for adding any generic attribute(s) by attribute join to any CityGML CityObjects irrespective of its Level Of Detail. For example purpose here, CityGML 2.0 building dataset for HFT campus in LOD2 is used. For adding generic attribute of Specific space heating demand to HFT CityGML file, SimStadt simulated heating energy demand result is used. Database joiner method is used in this example as explained above. The complete FME workench along with its input and outputs can be downloaded from **here**.
|
|
|
|
|
|
|
|
## Adding an Address to the CityGML dataset
|
|
|
|
|
|
|
|
Addresses are specified in CityGML according to the xAL address standard (OASIS 2003)[^1]. This is a general schema for all types of international addresses. Each building (Building) or building part (BuildingPart) can have one or more addresses.
|
|
|
|
|
| ... | ... | |