This is the reference page for the XML element location-class. See also the relevant overview page: Geography


Whether the location refers to a structure, a populated place (e.g. city or village), an administrative division, or another topological feature (e.g. river, nature reserve).



A code from the Location Class codelist

This value must be of type xsd:string.

This value must be on the GeographicLocationClass codelist.

Example Usage

Example usage of location-class within context of location

This example declares a GeographicLocationClass code 2 (Populated Place):
  <location ref="AF-KAN">
   <location-id vocabulary="G1" code="1453782" />
   <name>Location name</name>
   <description>Location description</description>
   <activity-description>A description that qualifies the activity taking place at the location</activity-description>
   <administrative level="1" code="1453782" vocabulary="G1" />
   <point srsName="http://www.opengis.net/def/crs/EPSG/0/4326">
    <pos>31.616944 65.716944</pos>
   <exactness code="1"/>
   <location-reach code="1" />
   <location-class code="2"/>
   <feature-designation code="PRNQ"/>



New in 1.04
The location-class element was introduced in 1.04 and replaced the now deprecated location-type element.

Developer tools

Find the source of this documentation on github: