... | ... | @@ -184,24 +184,24 @@ classDiagram |
|
|
|
|
|
In CityGML exists the option to connect a building to an external information service through the ```externalRefernce``` feature. That means that no data is included into the actual dataset but referenced to an external source.
|
|
|
|
|
|
This feature is in plain vanilla CityGML only available for buildings but not for other features. To enable a similar approoch in the EnergyADE, you habe to modify the EnergyADE Schema in the following way:
|
|
|
This feature is in plain vanilla CityGML only available for buildings but not for other features. To enable a similar approach in the EnergyADE, you habe to modify the EnergyADE Schema in the following way:
|
|
|
|
|
|
First of all we have to replace the "normal" ```Feature```class with an abstract EnergyADE object which allows us to reference to external objects like
|
|
|
First of all we have to add to the "normal" ```Feature```class a new class with an abstract EnergyADE object which allows us to reference to external objects like
|
|
|
|
|
|
```xml
|
|
|
<element name="AbstractEnergyADEObject" type="energy:AbstractEnergyADEObjectType" abstract="true" substitutionGroup="gml:_Feature"/>
|
|
|
<complexType name="AbstractEnergyADEObjectType" abstract="true">
|
|
|
<annotation>
|
|
|
<documentation>Abstract superclass for all Engery ADE objects</documentation>
|
|
|
</annotation>
|
|
|
<complexContent>
|
|
|
<extension base="gml:AbstractFeatureType">
|
|
|
<sequence>
|
|
|
<element name="externalReference" type="core:ExternalReferenceType" minOccurs="0" maxOccurs="unbounded"/>
|
|
|
</sequence>
|
|
|
</extension>
|
|
|
</complexContent>
|
|
|
</complexType>
|
|
|
<element name="AbstractEnergyADEObject" type="energy:AbstractEnergyADEObjectType" abstract="true" substitutionGroup="gml:_Feature"/>
|
|
|
<complexType name="AbstractEnergyADEObjectType" abstract="true">
|
|
|
<annotation>
|
|
|
<documentation>Abstract superclass for all Engery ADE objects</documentation>
|
|
|
</annotation>
|
|
|
<complexContent>
|
|
|
<extension base="gml:AbstractFeatureType">
|
|
|
<sequence>
|
|
|
<element name="externalReference" type="core:ExternalReferenceType" minOccurs="0" maxOccurs="unbounded"/>
|
|
|
</sequence>
|
|
|
</extension>
|
|
|
</complexContent>
|
|
|
</complexType>
|
|
|
```
|
|
|
Because this modification is available for all elements of the EnergyADE we can now add external references to any element of interest like the definition of ```AbstractMaterial```:
|
|
|
|
... | ... | |