Key:country

From OpenStreetMap Wiki
Jump to navigation Jump to search
country
Error creating thumbnail:
Description
Country code of a sending country of a diplomatic mission Error creating thumbnail:
Group: properties
URL pattern
https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#$1
Used on these elements
may be used on nodesshould not be used on waysmay be used on areas (and multipolygon relations)should not be used on relations (except multipolygon relations)
Documented values: 2
Requires
Useful combination
See also
Status: approvedError creating thumbnail:

The key country=* indicate the country represented by the feature. Specifically, in conjunction with office=diplomatic, it indicates the sending country of a diplomatic mission.

In conjunction with man_made=flagpole, it indicates the country whose flag is flown from the flagpole. country=EU in conjunction with office=government indicates an office belonging to the European Union.

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: File:Tango style Wikipedia Icon no shadow.svgISO 3166-1 alpha-2.

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 international organisation "European Union".

See also

Note

The same country codes according to ISO 3166-1 alpha-2 are also used in conjunction with addr:country=*.