Documentation for CityGML

Element: Locality

[Table of contents]

Name Locality
Used by (from the same schema document) Complex Type AddressDetails , Complex Type AddressDetails , Element AdministrativeArea , Element AdministrativeArea
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Locality is one level lower than adminisstrative area. Eg.: cities, reservations and any other built-up areas.
Logical Diagram
h1885024549 h1704720079 h-552636498 h453828251
XML Instance Representation
<Locality
Type="anySimpleType [0..1]

'Possible values not limited to: City, IndustrialEstate, etc'

"

UsageType="anySimpleType [0..1]

'Postal or Political - Sometimes locations must be distinguished between postal system, and physical locations as defined by a political system'

"

Indicator="anySimpleType [0..1]

'Erode (Dist) where (Dist) is the Indicator'

"
Allow any attributes from a namespace other than this schema's namespace (strict validation).
>
<AddressLine> ... </AddressLine> [0..*]
<LocalityName
Type="anySimpleType [0..1]"
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..*]

'Name of the locality'

Start Choice [0..1]
<PostBox> ... </PostBox> [1]
<LargeMailUser> LargeMailUserType </LargeMailUser> [1]

'Specification of a large mail user address. Examples of large mail users are postal companies, companies in France with a cedex number, hospitals and airports with their own post code. Large mail user addresses do not have a street name with premise name or premise number in countries like Netherlands. But they have a POBox and street also in countries like France'

<PostOffice> ... </PostOffice> [1]
<PostalRoute> PostalRouteType </PostalRoute> [1]

'A Postal van is specific for a route as in Is`rael, Rural route'

End Choice
<Thoroughfare> ... </Thoroughfare> [0..1]
<Premise> ... </Premise> [0..1]
<DependentLocality> DependentLocalityType </DependentLocality> [0..1]

'Dependent localities are Districts within cities/towns, locality divisions, postal divisions of cities, suburbs, etc. DependentLocality is a recursive element, but no nesting deeper than two exists (Locality-DependentLocality-DependentLocality).'

<PostalCode> ... </PostalCode> [0..1]
Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*]
</Locality>
Diagram
h1885024549 h447686930 h-625423704 h-66000705 h1704720079 h-552636498 h453828251
Schema Component Representation
<xs:element name="Locality">
<xs:complexType>
<xs:sequence>
<xs:element ref=" AddressLine " minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="LocalityName" minOccurs="0" maxOccurs="unbounded">
<xs:complexType mixed="true">
<xs:attribute name="Type"/>
<xs:attributeGroup ref=" grPostal "/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>
<xs:choice minOccurs="0">
<xs:element ref=" PostBox "/>
<xs:element name="LargeMailUser" type=" LargeMailUserType "/>
<xs:element ref=" PostOffice "/>
<xs:element name="PostalRoute" type=" PostalRouteType "/>
</xs:choice>
<xs:element ref=" Thoroughfare " minOccurs="0"/>
<xs:element ref=" Premise " minOccurs="0"/>
<xs:element name="DependentLocality" type=" DependentLocalityType " minOccurs="0"/>
<xs:element ref=" PostalCode " minOccurs="0"/>
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="Type"/>
<xs:attribute name="UsageType"/>
<xs:attribute name="Indicator"/>
<xs:anyAttribute namespace="##other"/>
</xs:complexType>
</xs:element>