For a theoretical activity which is 90% focused on international advocacy and 10% focused on a specific initiative in Swaziland, the geocoding would look as follows:
<recipient-region code="289" percentage="100">South of Sahara, regional</recipient-region>
<recipient-country code="SZ">SWAZILAND</recipient-country>
<location>
<location-type code="PCL">political entity (i.e. a country)</location-type>
<name>SWAZILAND</name>
<administrative country="SZ">SWAZILAND</administrative>
<coordinates latitude="-26.5" longitude="31.5" precision="6"/>
</location>
The @percentage attribute can't be populated because the total percentages for the <recipient-country> and <location> elements won't equal 100. The result is an activity that appears to human readers (and likely most IATI XML interpreters) to have occurred completely within Swaziland. The simplest solution to this would be to add a set of codes for each of the <recipient-region>, <recipient-country>, and <location> elements to represent work which can't be geocoded.
2 Comments