administrative¶
iati-activities/iati-activity/location/administrative
This is the reference page for the XML element administrative
.
Definition¶
Coded identification of national and sub-national divisions according to recognised administrative boundary repositories. Multiple levels may be reported.
Rules¶
This element may occur any number of times.
Attributes¶
- @code
The code for the administrative area being reported from the vocabulary specified.
This attribute is required.
This value must be of type xsd:string.
This value should be on the Country codelist, if the relevant vocabulary is used.
- @vocabulary
An IATI code for a recognised administrative boundary repository.
This attribute is required.
This value must be of type xsd:string.
This value must be on the GeographicVocabulary codelist.
- @level
A number defining a subdivision within a hierarchical system of administrative areas. The precise system for defining the particular meaning of each @level value is determined by the @vocabulary being used.
This value must be of type xsd:nonNegativeInteger.
Example Usage¶
Example usage of administrative
within a location
of an iati-activity
.
@vocabulary
attribute declares a valid code (G1) from the GeographicVocabulary codelist.@code
attribute.@level
attribute. <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>
Note: Multiple administrative levels can be reported by repeating the administrative
element:
<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="0" code="1149361" vocabulary="G1" />
<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¶
2.01¶
Freetext is no longer allowed within this element.
The @county, @adm1 and @adm2 attributes were removed.