... | ... | @@ -79,46 +79,22 @@ Description of that service at [Building Physics Library Web Service](../Buildin |
|
|
```
|
|
|
For each non-leaf ```featureType``` an ```xlink``` referencing to is possible, replacing the reference to an internal attribute with an external URI, as shown in the folling example. The external URI must be valid and can be e.g. a reference to a file or a call to a web service returning a valid ```gml``` code fragment.
|
|
|
|
|
|
The internal ```xlink``` to the material with the ```gml:id``` ```GML_94749b5f-ee27-491b-a906-eea7da12e9a0```
|
|
|
The internal ```xlink``` of the previous example to the material with the ```gml:id``` ```GML_94749b5f-ee27-491b-a906-eea7da12e9a0```
|
|
|
```xml
|
|
|
...
|
|
|
<energy:Layer gml:id="GML_373c66c6-0b0d-4d76-9481-d61e65653e02">
|
|
|
<energy:layerComponent>
|
|
|
<energy:LayerComponent gml:id="GML_e5e4790b-1b4c-47de-88ae-fdac359a7906">
|
|
|
<energy:areaFraction uom="scale">1</energy:areaFraction>
|
|
|
<energy:thickness uom="m">0.40</energy:thickness>
|
|
|
```<energy:material xlink:href="#GML_94749b5f-ee27-491b-a906-eea7da12e9a0"/>```
|
|
|
</energy:LayerComponent>
|
|
|
</energy:layerComponent>
|
|
|
</energy:Layer>
|
|
|
<energy:material xlink:href="#GML_94749b5f-ee27-491b-a906-eea7da12e9a0"/>
|
|
|
...
|
|
|
```
|
|
|
can be replaced with an external ```xlink``` e.g. to an XML file containing valid material properties conforming to the EnergyADE, as shown in the following example
|
|
|
```xml
|
|
|
...
|
|
|
<energy:Layer gml:id="GML_373c66c6-0b0d-4d76-9481-d61e65653e02">
|
|
|
<energy:layerComponent>
|
|
|
<energy:LayerComponent gml:id="GML_e5e4790b-1b4c-47de-88ae-fdac359a7906">
|
|
|
<energy:areaFraction uom="scale">1</energy:areaFraction>
|
|
|
<energy:thickness uom="m">0.40</energy:thickness>
|
|
|
<energy:material xlink:href="file:///some-local-directory/concrete-facade.xml"/>
|
|
|
</energy:LayerComponent>
|
|
|
</energy:layerComponent>
|
|
|
</energy:Layer>
|
|
|
<energy:material xlink:href="file:///some-local-directory/concrete-facade.xml"/>
|
|
|
...
|
|
|
```
|
|
|
or with an external ```xlink``` e.g. to a web service returning valid material properties conforming to the EnergyADE, as shown in the following example
|
|
|
```xml
|
|
|
...
|
|
|
<energy:Layer gml:id="GML_373c66c6-0b0d-4d76-9481-d61e65653e02">
|
|
|
<energy:layerComponent>
|
|
|
<energy:LayerComponent gml:id="GML_e5e4790b-1b4c-47de-88ae-fdac359a7906">
|
|
|
<energy:areaFraction uom="scale">1</energy:areaFraction>
|
|
|
<energy:thickness uom="m">0.40</energy:thickness>
|
|
|
<energy:material xlink:href="http://some.web.server/building_library/germany?material=concrete-facade"/>
|
|
|
</energy:LayerComponent>
|
|
|
</energy:layerComponent>
|
|
|
</energy:Layer>
|
|
|
<energy:material xlink:href="http://some.web.server/building_library/germany?material=concrete-facade"/>
|
|
|
...
|
|
|
```
|
|
|
Note: the use of external ```xlink```'s must be supported by the CityGML parser of the used application, e.g. the use of external ```xlink```'s is currently not supported in the 3DCityDB
|
... | ... | |