Key:country

From OpenStreetMap Wiki
Jump to navigation Jump to search
country
Description
Country code of a sending country of a diplomatic mission; country of flag when used on flagpoles. Edit this description in the wiki page. Edit this description in the data item.
Group: properties
URL pattern
https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#$1
Used on these elements
may be used on nodesmay be used on waysmay be used on areas (and multipolygon relations)may be used on relations
Documented values: 2
Useful combination
See also
Status: approvedPage for proposal

The key country indicate the country represented by the feature. This can be in the context of features like diplomatic missions or flags, specifically:

Values

As value for country you need to provide the country code according to ISO 3166-1 alpha-2. This code is given as two UPPER CASE characters. You will find a conclusive list of all internationally recognised country codes here: ISO 3166-1 alpha-2. The same country codes according to ISO 3166-1 alpha-2 are also used for the key ISO3166-1:alpha2 (on boundary relations of countries), for the key target (receiving country of a diplomatic mission), and for the key addr:country (country component of an address).

country=EU in conjunction with office=government indicates an office belonging to the European Union.

Examples

  • country=DE for the German embassy to another power.
  • country=DK for the Danish embassy to another power.
  • country=TZ for the Tanzanian embassy to another power.
  • country=DZ for the Algerian embassy to another power.
  • country=EU for a building or office operated by the European Union.

See also