Documentation for CityGML

Complex Type: RoomType

[Table of contents]

Super-types: gml:AbstractFeatureType < _CityObjectType (by extension) < RoomType (by extension)
Sub-types: None
Name RoomType
Used by (from the same schema document) Element Room
Abstract no
Documentation A Room is a thematic object for modelling the closed parts inside a building. It has to be closed, if necessary by using closure surfaces. The geometry may be either a solid, or a MultiSurface if the boundary is not topologically clean. The room connectivity may be derived by detecting shared thematic openings or closure surfaces: two rooms are connected if both use the same opening object or the same closure surface. The thematic surfaces bounding a room are referenced by the boundedBy property. As subclass of _CityObject, a Room inherits all attributes and relations, in particular an id, names, external references, generic attributes and generalization relations.
XML Instance Representation
<...
gml:id="[0..1]">
<gml:description> ... </gml:description> [0..1]
<gml:name> ... </gml:name> [0..*]

'Multiple names may be provided. These will often be distinguished by being assigned by different authorities, as indicated by the value of the codeSpace attribute. In an instance document there will usually only be one name per authority.'

<gml:boundedBy> ... </gml:boundedBy> [0..1]
<gml:location> ... </gml:location> [0..1]

'deprecated in GML version 3.1'

<creationDate> xs:date </creationDate> [0..1]
<terminationDate> xs:date </terminationDate> [0..1]
<externalReference> ExternalReferenceType </externalReference> [0..*]
<generalizesTo> GeneralizationRelationType </generalizesTo> [0..*]
<class> RoomClassType </class> [0..1]
<function> RoomFunctionType </function> [0..*]
<usage> RoomUsageType </usage> [0..*]
<lod4Solid> gml:SolidPropertyType </lod4Solid> [0..1]
<lod4MultiSurface> gml:MultiSurfacePropertyType </lod4MultiSurface> [0..1]
<boundedBy> BoundarySurfacePropertyType </boundedBy> [0..*]
<interiorFurniture> InteriorFurniturePropertyType </interiorFurniture> [0..*]
<roomInstallation> IntBuildingInstallationPropertyType </roomInstallation> [0..*]
</...>
Diagram
Schema Component Representation
<xs:complexType name="RoomType">
<xs:complexContent>
<xs:extension base=" _CityObjectType ">
<xs:sequence>
<xs:element name="class" type=" RoomClassType " minOccurs="0"/>
<xs:element name="function" type=" RoomFunctionType " minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="usage" type=" RoomUsageType " minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="lod4Solid" type=" gml:SolidPropertyType " minOccurs="0"/>
<xs:element name="lod4MultiSurface" type=" gml:MultiSurfacePropertyType " minOccurs="0"/>
<xs:element name="boundedBy" type=" BoundarySurfacePropertyType " minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="interiorFurniture" type=" InteriorFurniturePropertyType " minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="roomInstallation" type=" IntBuildingInstallationPropertyType " minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref=" _GenericApplicationPropertyOfRoom " minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>