Key:ISO3166-1

From OpenStreetMap Wiki
Jump to navigation Jump to search
ISO3166-1
Description
Some ISO 3166-1 country code of the country Edit this description in the wiki page. Edit this description in the data item.
Group: references
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 waysshould not be used on areasmay be used on relations
See also
Status: in use

When tagging a country, ISO3166-1=* indicates an ISO 3166-1 country code of that country. You can use the ISO Online Browsing Platform to lookup these codes.

This tag can be added to:

Use more specific keys to differentiate different types of ISO 3166-1 codes

ISO 3166-1 defines multiple types of country codes. You can use more specific keys to differentiate these different types, both as a mapper and as a data consumer:

In practice, the ISO3166-1=* key is used in the same way as ISO3166-1:alpha2=*, i.e. indicating the two-letter code. The latter key has the advantage that this intention is made explicit. For backward compatibility, data consumers looking for two-letter country codes can first read ISO3166-1:alpha2=* and fall back to ISO3166-1=* if ISO3166-1:alpha2=* is not available.

See Country code#ISO 3166-1 for more information about ISO 3166.