... | ... | @@ -105,27 +105,33 @@ Description of that service at [Building Physics Library Web Service](../Buildin |
|
|
Alternatively you can use ```genericAttribute```'s in a generic CityGML file e.g. to define correlations between a material and external sources as shown in the following example:
|
|
|
|
|
|
```xml
|
|
|
...
|
|
|
<bldg:Building gml:id="GML_af6978c5-3476-47bc-bf5e-6fdd5d0b3feb">
|
|
|
<gml:description>CityGML 2.0 + EnergyADE 1.0 Model in LoD1</gml:description>
|
|
|
<gml:name>NeqModPlus_Bau_LoD1</gml:name>
|
|
|
<gml:boundedBy>
|
|
|
<gml:Envelope srsName="EPSG:25832" srsDimension="3">
|
|
|
<gml:lowerCorner>512665.636 5403023.0 257.0</gml:lowerCorner>
|
|
|
<gml:upperCorner>512739.215 5403100.951 276.0</gml:upperCorner>
|
|
|
</gml:Envelope>
|
|
|
</gml:boundedBy>
|
|
|
<core:creationDate>2020-11-11</core:creationDate>
|
|
|
<gen:uriAttribute name="Building Physics Material Concrete Facade">
|
|
|
<gen:value>http://some.web.server/buildinglibrary/germany?material=concrete-facade"</gen:value>
|
|
|
</gen:uriAttribute>
|
|
|
...
|
|
|
...
|
|
|
<bldg:Building gml:id="GML_af6978c5-3476-47bc-bf5e-6fdd5d0b3feb">
|
|
|
<gml:description>CityGML 2.0 + EnergyADE 1.0 Model in LoD1</gml:description>
|
|
|
<gml:name>NeqModPlus_Bau_LoD1</gml:name>
|
|
|
<gml:boundedBy>
|
|
|
<gml:Envelope srsName="EPSG:25832" srsDimension="3">
|
|
|
<gml:lowerCorner>512665.636 5403023.0 257.0</gml:lowerCorner>
|
|
|
<gml:upperCorner>512739.215 5403100.951 276.0</gml:upperCorner>
|
|
|
</gml:Envelope>
|
|
|
</gml:boundedBy>
|
|
|
<core:creationDate>2020-11-11</core:creationDate>
|
|
|
<gen:uriAttribute name="Building Physics Material Concrete Facade">
|
|
|
<gen:value>http://some.web.server/buildinglibrary/germany?material=concrete-facade"</gen:value>
|
|
|
</gen:uriAttribute>
|
|
|
...
|
|
|
|
|
|
```
|
|
|
|
|
|
Note:
|
|
|
The use of ```genericAttributes```'s is restricted to a specific building and can not be defined for a whole set of buildings in general.
|
|
|
|
|
|
Note:
|
|
|
The use of external links via ```genericAttributes```'s must be supported by the CityGML parser of the used application to resolve the attributes.
|
|
|
|
|
|
Generic Attribute - UML Diagram
|
|
|
|
|
|
```mermaid
|
|
|
```mermaid
|
|
|
classDiagram
|
|
|
_CityObject "1" *-- "*" _genericAttribute
|
|
|
_genericAttribute "1..*" <--* "0..1" genericAttributeSet : _genericAttribute
|
... | ... | @@ -172,13 +178,4 @@ classDiagram |
|
|
<<DataType>>
|
|
|
+value : gml::MeasureType[1]
|
|
|
}
|
|
|
```
|
|
|
|
|
|
Note:
|
|
|
The use of ```genericAttributes```'s is restricted to a specific building and can not be defined for a whole set of buildings in general.
|
|
|
|
|
|
Note:
|
|
|
The use of external links via ```genericAttributes```'s must be supported by the CityGML parser of the used application to resolve the attributes.
|
|
|
|
|
|
|
|
|
|
|
|
``` |