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

Rules

This element must occur no more than once (within each parent element).

Attributes

@code

A code from the Location Class codelist

This attribute is required.

This value must be of type xsd:string.

This value must be on the GeographicLocationClass codelist.

Example Usage

Example usage of location-class within a location of an iati-activity.

The @code attribute declares a valid code (2) from the GeographicLocationClass codelist.
  <location ref="AF-KAN">
   <location-reach code="1" />	  
   <location-id vocabulary="G1" code="1453782" />
   <name>
	<narrative>Location name</narrative>
   </name>
   <description>
	<narrative>Location description</narrative>
   </description>
   <activity-description>
	<narrative>A description that qualifies the activity taking place at the location</narrative>
   </activity-description>
   <administrative vocabulary="G1" level="1" code="1453782" />
   <point srsName="http://www.opengis.net/def/crs/EPSG/0/4326">
    <pos>31.616944 65.716944</pos>
   </point>
   <exactness code="1"/>
   <location-class code="2"/>
   <feature-designation code="ADMF"/>
  </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:

Last updated on 2015-01-21