location-class¶
iati-activities/iati-activity/location/location-class
This is the reference page for the XML element location-class.
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>