Documentation for CityGML

Element: Premise

[Table of contents]

Name Premise
Used by (from the same schema document) Complex Type DependentLocalityType , Element Locality , Element Thoroughfare , Element Premise
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Specification of a single premise, for example a house or a building. The premise as a whole has a unique premise (house) number or a premise name. There could be more than one premise in a street referenced in an address. For example a building address near a major shopping centre or raiwlay station
Logical Diagram
h1885024549 h-253506039 h-164818232 h453828251 h-552636498
XML Instance Representation
<Premise
Type="anySimpleType [0..1]

'COMPLEXE in COMPLEX DES JARDINS, A building, station, etc'

"

PremiseDependency="anySimpleType [0..1]

'STREET, PREMISE, SUBPREMISE, PARK, FARM, etc'

"

PremiseDependencyType="anySimpleType [0..1]

'NEAR, ADJACENT TO, etc'

"

PremiseThoroughfareConnector="anySimpleType [0..1]

'DES, DE, LA, LA, DU in RUE DU BOIS. These terms connect a premise/thoroughfare type and premise/thoroughfare name. Terms may appear with names AVE DU BOIS'

"
Allow any attributes from a namespace other than this schema's namespace (strict validation).
>
<AddressLine> ... </AddressLine> [0..*]
<PremiseName
Type="anySimpleType [0..1]"
TypeOccurrence=" xs:NMTOKEN (value comes from list: {'Before'|'After'}) [0..1]

'EGIS Building where EGIS occurs before Building, DES JARDINS occurs after COMPLEXE DES JARDINS'

"

Code="anySimpleType [0..1]

'Used by postal services to encode the name of the element.'

"
Allow any attributes from a namespace other than this schema's namespace (strict validation).
/> [0..*]

'Specification of the name of the premise (house, building, park, farm, etc). A premise name is specified when the premise cannot be addressed using a street name plus premise (house) number.'

Start Choice [0..1]
<PremiseLocation
Code="anySimpleType [0..1]

'Used by postal services to encode the name of the element.'

"
Allow any attributes from a namespace other than this schema's namespace (strict validation).
/> [1]

'LOBBY, BASEMENT, GROUND FLOOR, etc...'

Start Choice [1]
<PremiseNumber> ... </PremiseNumber> [1..*]
<PremiseNumberRange
RangeType="anySimpleType [0..1]

'Eg. Odd or even number range'

"

Indicator="anySimpleType [0..1]

'Eg. No. in Building No:C1-C5'

"

Separator="anySimpleType [0..1]

'"-" in 12-14 or "Thru" in 12 Thru 14 etc.'

"

Type="anySimpleType [0..1]"
IndicatorOccurence=" xs:NMTOKEN (value comes from list: {'Before'|'After'}) [0..1]

'No.12-14 where \"No.\" is before actual street number'

"

NumberRangeOccurence=" xs:NMTOKEN (value comes from list: {'BeforeName'|'AfterName'|'BeforeType'|'AfterType'}) [0..1]

'Building 23-25 where the number occurs after building name'

"
> [1]

'Specification for defining the premise number range. Some premises have number as Building C1-C7'


<PremiseNumberRangeFrom> [1]

'Start number details of the premise number range'


<AddressLine> ... </AddressLine> [0..*]
<PremiseNumber> ... </PremiseNumber> [1..*]
</PremiseNumberRangeFrom>
<PremiseNumberRangeTo> [1]

'End number details of the premise number range'


<AddressLine> ... </AddressLine> [0..*]
<PremiseNumber> ... </PremiseNumber> [1..*]
</PremiseNumberRangeTo>
</PremiseNumberRange>
End Choice
End Choice
<PremiseNumberPrefix> ... </PremiseNumberPrefix> [0..*]
<PremiseNumberSuffix> ... </PremiseNumberSuffix> [0..*]
<BuildingName> BuildingNameType </BuildingName> [0..*]

'Specification of the name of a building.'

Start Choice [1]
<SubPremise> SubPremiseType </SubPremise> [0..*]

'Specification of a single sub-premise. Examples of sub-premises are apartments and suites. Each sub-premise should be uniquely identifiable.'

<Firm> FirmType </Firm> [0..1]

'Specification of a firm, company, organization, etc. It can be specified as part of an address that contains a street or a postbox. It is therefore different from a large mail user address, which contains no street.'

End Choice
<MailStop> MailStopType </MailStop> [0..1]

'A MailStop is where the the mail is delivered to within a premise/subpremise/firm or a facility.'

<PostalCode> ... </PostalCode> [0..1]
<Premise> ... </Premise> [0..1]
Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*]
</Premise>
Diagram
h1885024549 h447686930 h447686930 h1807367319 h1885024549 h-253506039 h1807367319 h-164818232 h1885024549 h-253506039 h1807367319 h-164818232 h-253506039 h-164818232 h453828251
Schema Component Representation
<xs:element name="Premise">
<xs:complexType>
<xs:sequence>
<xs:element ref=" AddressLine " minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="PremiseName" minOccurs="0" maxOccurs="unbounded">
<xs:complexType mixed="true">
<xs:attribute name="Type"/>
<xs:attribute name="TypeOccurrence">
<xs:simpleType>
<xs:restriction base=" xs:NMTOKEN ">
<xs:enumeration value="Before"/>
<xs:enumeration value="After"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attributeGroup ref=" grPostal "/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:choice minOccurs="0">
<xs:element name="PremiseLocation">
<xs:complexType mixed="true">
<xs:attributeGroup ref=" grPostal "/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:choice>
<xs:element ref=" PremiseNumber " maxOccurs="unbounded"/>
<xs:element name="PremiseNumberRange">
<xs:complexType>
<xs:sequence>
<xs:element name="PremiseNumberRangeFrom">
<xs:complexType>
<xs:sequence>
<xs:element ref=" AddressLine " minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref=" PremiseNumberPrefix " minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref=" PremiseNumber " maxOccurs="unbounded"/>
<xs:element ref=" PremiseNumberSuffix " minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PremiseNumberRangeTo">
<xs:complexType>
<xs:sequence>
<xs:element ref=" AddressLine " minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref=" PremiseNumberPrefix " minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref=" PremiseNumber " maxOccurs="unbounded"/>
<xs:element ref=" PremiseNumberSuffix " minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="RangeType"/>
<xs:attribute name="Indicator"/>
<xs:attribute name="Separator"/>
<xs:attribute name="Type"/>
<xs:attribute name="IndicatorOccurence">
<xs:simpleType>
<xs:restriction base=" xs:NMTOKEN ">
<xs:enumeration value="Before"/>
<xs:enumeration value="After"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="NumberRangeOccurence">
<xs:simpleType>
<xs:restriction base=" xs:NMTOKEN ">
<xs:enumeration value="BeforeName"/>
<xs:enumeration value="AfterName"/>
<xs:enumeration value="BeforeType"/>
<xs:enumeration value="AfterType"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:choice>
<xs:element ref=" PremiseNumberPrefix " minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref=" PremiseNumberSuffix " minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="BuildingName" type=" BuildingNameType " minOccurs="0" maxOccurs="unbounded"/>
<xs:choice>
<xs:element name="SubPremise" type=" SubPremiseType " minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="Firm" type=" FirmType " minOccurs="0"/>
</xs:choice>
<xs:element name="MailStop" type=" MailStopType " minOccurs="0"/>
<xs:element ref=" PostalCode " minOccurs="0"/>
<xs:element ref=" Premise " minOccurs="0"/>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="Type"/>
<xs:attribute name="PremiseDependency"/>
<xs:attribute name="PremiseDependencyType"/>
<xs:attribute name="PremiseThoroughfareConnector"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>