Continent Coding

This guide will help you locate and create geopolitical entity entries within NBN.

Basic Geoscheme

When working with regions of the world, a clarification of terms is in order. The continental scheme .[1] While the continental scheme is a physical and cultural construct, that construct is nonetheless important. NBN is a political atlas, not a geological one.

The highest order of classification on NBN is by macro-geographical region, arranged – to the extent possible – by continent. High-level directories in this repository are named following two-letter continent codes:

Code Continent
AF Africa
AN Antarctica
AS Asia
EU Europe
NA North America
OC Oceania
SA South America

The United Nations Statistics Division (UNSD) M.49 coding classification provides the seven-continent geoscheme utilized in this project. When in doubt, you can locate territories based on the UN standard. While countries are grouped into regions based on the M.49 classification, the alphabetical codes used to refer to each continent within NBN are inherited from the International Astronomical Union Working Group for Planetary System Nomenclature, rather than the numeric codes found in M.49. The reason for this departure from standard is to harmonize the region coding protocol used on NBN with that already widely in use at the Datasets Project, the GeoIP PHP Extension, the GeoNames Project, and in Wikipedia’s categorization scheme.

Note for contributors: The implementation of and adherence to the M.49 standard is a deliberate choice. Avoid originating new folders bearing continent codes from the root directory, as well as the merging of existing folders. While there may be instances in which, for the sake of clarity, individual territories or organizations receive special accommodations (see below), the seven-continent scheme in place is a valuable and useful one for the purposes of this project.

Special Cases

International Organizations

Global governance is not strictly confined to arbitrary landmass divisions. Intergovernmental organizations with an international membership, scope, or presence require a bit more work to pin down. Some IOs, such as MERCOSUR or the SAARC, have membership exclusively within one of the seven coded divisions listed above. Entries for such organizations are placed within one of the above sub-directories and referenced in the Records listing of said continent’s index file.

What about organizations with jurisdiction and membership reaching beyond (ex: the UN) or between (ex: the OAS) continents? Such entities are categorized separately, accessible from the home page via the Worldwide link, and relevant records are stored in a special directory:

Code Classification
WW Worldwide (IOs)

Transcontinental Countries

Some territories have boundaries either transversing continental divides, or have classifications subject to dispute. To create a clear and user-friendly system of organization, some states may be listed in more than one region. While the repository architecture should always adhere as closely as possible to UN M.49 coding, it is sometimes appropriate to place state-level redirects within other continental indices.

Contiguous territory test

The sun never sets on the British Empire, but the United Kingdom is in Europe.

Avoid creating redirects for countries as a consequence of their non-contiguous overseas territories, including exclaves operating with irregularly limited or expanded competencies. These entities should be referenced with an independent listing (if appropriate) or as a sub-division of the listing for the state which the area depends upon. For example: The overseas collectivity of Wallis-et-Futuna can be represented in the OC index, but Metropolitan France should not.

As Egypt controls mainland territory on both sides of the Isthmus of Suez, links to the country appear on both the AF and AS index pages. Per its UN M.49 classification, however, Egypt’s content is only to be stored in the African directory /AF/EG/*

The following countries pass the contiguous territory test and are, on that basis, approved for a cross-category linkage:

Flag Name
Egypt
Russian Federation
Turkey

The boundary between Europe and Asia

This project accepts a more permissive classification of what may be labelled a “European” country than does the UNSD. Any country excluded from Europe in M.49, but which has completed accession to the Council of Europe is eligible to have a redirect placed on /EU/README.md.

For example, the nation of Cyprus is considered (under M.49) to be in West Asia. Records for the country are stored at /AS/CY/. However, the Council of Europe counts the island nation among its member states. As readers may then expect to find an entry for Cyprus at the EU index, it is permissible to include a redirect to /AS/CY.html within the aforementioned file.

The following countries coded to Asia have completed accession to the Council of Europe and are, on that basis, approved for a cross-category linkage:

Flag Name
Armenia
Azerbaijan
Cyprus
Georgia
Russian Federation
Turkey

Island States

As island states lack contiguous territory on a continental landmass, they may at times elude classification by the test outlined above.

Flag Name
Christmas Island
Cocos (Keeling) Islands
Greenland

Antarctica and Outlying Islands

As an area populated only by research scientists is of little-to-no relevance for population statistics, the United Nations geoscheme opts not to classify countries within the Antarctica region.[2] Sovereign claims to all lands and ice shelves south of 60 degrees south latitude are held in abeyance under Article IV of the Antarctic Treaty and such claims may be maintained, but not enforced. Brand identity assets from any and all sovereign state claims – treated by the originating state as non-integral territory and based on activities occuring prior to 1961 – are to be stored, commingled and without prejudice to claimants with overlapping territorial claims, within a sub-directory labelled with the ISO 3166-1 code for Antarctica: AQ.

NBN employs a broader definition of the Antarctic area for the purposes of continental classification, asserting that all territories primarily devoted to scientific research and conservation south of the Antarctic Convergence share more in common with one another and the lands governed by the Antarctic Treaty than any other region. In broadening its definition, NBN opts to extend classification to all entities within the Convention Area of the CCAMLR as Antarctic territory. This includes several dependent island territories bearing ISO 3166-1 codes. [3] While directories for these areas originate from their region of M.49 classification, a redirect is included from the AN index to the target directory.

Listed below are the entities contained within the AN index:

Flag Name Redirects to
Antarctica (Lands and Ice Shelves Below 60° S) N/A
Bouvet Island SA
French Southern and Antarctic Territories AF
Heard Island and McDonald Islands OC
South Georgia and South Sandwich Islands SA

Complete list of designated transcontinental countries

The following countries have been approved for cross-category linkages.

Flag Name
Armenia
Azerbaijan
Bouvet Island
Cyprus
Egypt
French Southern and Antarctic Territories
Georgia
Greenland
Heard Island and McDonald Islands
Russian Federation
South Georgia and South Sandwich Islands
Turkey

← Back to User Guide


[1] Lewis and Wigen 1997, pp. 21-46.
[2] Takle and Vassenden 1998, p. 17.
[3] Rothwell et al. 2012, p. 5.


Page instantiated: 27 March 2017.
Date of last revision: 19 February 2019.