location-class

iati-activities/iati-activity/location/location-class

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

Definition

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).

Attributes

@code

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>
   </point>
   <exactness code="1"/>
   <location-reach code="1" />
   <location-class code="2"/>
   <feature-designation code="PRNQ"/>
  </location>

Changelog

1.04

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: