World Regions
The world regions are the map Geografica provides for the whole world: every country, and inside each country its regions, provinces, districts and municipalities, each with its boundary and its codes. Geografica keeps them up to date, so you never have to find, clean or upload a boundary file.
Your data joins onto them. A table of values by country or by region is drawn on the boundaries of the world regions it names, in a canvas, as a choropleth or a tilegram.
Browse them on geografica.app/world-regions, or read them through the API.
Levels
Section titled “Levels”Every world region sits at a level, its depth below the country:
- Level 0 is the country.
- Level 1 is the first division of the country, level 2 the division below it, and so on, down to level 4.
Each region names its parent, the region one level up that contains it, so the regions of a country form a tree. Agliè, a comune of Piedmont, sits in a chain of five regions, one at each level:
| Level | Code | Name | Type |
|---|---|---|---|
| 0 | IT |
Italy | country |
| 1 | ITC |
Nord-Ovest | other |
| 2 | IT-21 |
Piemonte | region |
| 3 | IT-TO |
Torino | province |
| 4 | IT-001001 |
Agliè | municipality |
The levels follow the divisions each country actually has, so the same level holds different kinds of region in different countries:
| Country | Level 1 | Level 2 | Level 3 | Level 4 |
|---|---|---|---|---|
| Italy | NUTS 1 groups of regions | regioni | province | comuni |
| Germany | Länder | NUTS 2 regions | Kreise | Gemeinden |
| France | régions | former régions and overseas collectivities, the NUTS 2 regions | départements | communes |
| United Kingdom | nations | counties, unitary authorities, boroughs, Scottish council areas, Northern Irish districts | districts | wards |
| United States | states | counties |
The type of a region names what it is in its country: state, county,
region, province, department, district, ward, municipality, or
other when the division has no common name.
European Countries
Section titled “European Countries”In the countries Eurostat covers with NUTS, the EU members and the candidate countries, levels 1 to 3 are the NUTS levels 1 to 3, and level 4 is the municipalities, the local administrative units. This makes a level comparable across Europe: level 3 is NUTS 3 in Italy, in Germany and in France alike. Each region carries its NUTS codes among its other codes.
Regions Covering More Than One Level
Section titled “Regions Covering More Than One Level”Where a division is the only one under its parent, it covers the same area as the parent, and it is one region covering both levels rather than two copies. Its level is the first it covers and its last level the last:
- Corse covers levels 1 and 2 of France.
- Brandenburg covers levels 1 and 2 of Germany.
- Valle d’Aosta covers levels 2 and 3 of Italy.
- Cumberland covers levels 2 and 3 of the United Kingdom.
The regions below it start at the level after its last, so every level still covers the whole country.
The Region Code
Section titled “The Region Code”Every world region has a code, unique across the world, which is the key your data joins on:
- A country is coded by its ISO 3166-1
alpha-2 code:
IT,GB,US. - A region with an ISO 3166-2 code
is coded by it:
IT-21for Piemonte,GB-ENGfor England,US-CAfor California. You can look any code up on the ISO Online Browsing Platform. - Any other region is coded by the country followed by an official code of the
region:
ITCfor Nord-Ovest, its NUTS code,IT-001001for Agliè, its ISTAT code,US-01001for Autauga County, its FIPS code. - A region with no official code is coded by its parent and its name:
MX-GUADALAJARA.
Treat the code as an identifier: compare it, store it and join on it, but do not build it from parts or parse it, since its shape depends on the country and the level.
ISO Codes
Section titled “ISO Codes”Next to its code, a region carries its ISO code, the ISO 3166-1 code of a
country or the ISO 3166-2 code of a subdivision, and nothing when ISO does not
code it. A country also carries its ISO 3166-1 alpha-3 code, ITA for Italy.
ISO codes the divisions each country declares to it, which are not always the divisions the country uses for its statistics. So a region may carry an ISO code at level 2 in one country and at level 3 in another: the Italian regioni are level 2 and the provinces level 3, as the levels table shows.
Other Codes
Section titled “Other Codes”A region also carries the other codes it is known by, each under the name of its scheme. These are the codes national statistics and Eurostat publish data by, so a table using them joins without a lookup of your own:
| Scheme | Code | Example |
|---|---|---|
nuts0 to nuts3 |
Eurostat NUTS code at that NUTS level | Torino is ITC11 under nuts3 |
lau |
Eurostat local administrative unit, the code of a municipality | Albersdorf is 01051001 |
belfiore |
Italian cadastral code of a comune, used in the Italian tax code | Agliè is A074 |
gss |
UK GSS code of the Office for National Statistics | England is E92000001, Aberdeenshire S12000034 |
fips |
US FIPS code of the Census Bureau | Autauga County is 01001 |
iso_replaced |
The ISO 3166-2 code of a region that was replaced, kept on the regions that replaced it | Cumberland carries GB-CMA, the former Cumbria |
The NUTS regions covering a region are also listed, with their level and name, when you read a single region.
Other Details
Section titled “Other Details”Each world region also carries:
| Field | What it holds |
|---|---|
name |
The name in the national language, such as Piemonte |
full_name |
The full English name of a country, such as Italian Republic |
country |
The ISO 3166-1 alpha-2 code of its country |
continent |
The UN M49 region of its country |
flag |
A link to its flag, when it has one |
area_km2 |
The area of its boundary in km², which the Per km² option of a layer divides by |
bbox |
The box its boundary fits in, west, south, east and north |
source |
Where its boundary comes from |
license |
The licence the boundary is published under |
year |
The year the boundary represents |
start_date, end_date |
When this version of the region starts and ends, for regions that changed |
The boundaries come from the official publishers wherever they publish them:
Eurostat GISCO for Europe,
ISTAT for the Italian comuni, the
Office for National Statistics for the
United Kingdom, the US Census Bureau
for the United States, and geoBoundaries for
the rest of the world. The source, license and year of each region say
which one, so you can credit it. For more free boundary data and tools, see
Map Tools.
Joining Your Data
Section titled “Joining Your Data”When you upload a table, Geografica looks for a column naming world regions. A column joins when at least 80% of its values match a region, by:
- the ISO 3166-1 code or the name of a country, such as
ITorItaly - the ISO 3166-2 code of a region, such as
CA-ONfor Ontario
A column can mix both, so one table can hold countries and regions together.
When the dataset names its country, a value can also be one of the
other codes of a region of that country, such as the GSS code
S12000034 for Aberdeenshire.
Each row then belongs to its world region, and is drawn on its boundary. Press Create canvas on the dataset to see it on a map, as described in Create a Canvas: a table joined to the world regions starts as a choropleth, and can also be shown as a tilegram.
World Regions Through the API
Section titled “World Regions Through the API”The world regions are public, so these operations need no API key:
| Operation | Returns |
|---|---|
GET /v1/world-regions |
The world regions, filtered by country, level, parent, continent, code or a search on the name |
GET /v1/world-regions/{code} |
One region, with the NUTS regions covering it |
GET /v1/tiles/world-regions/{z}/{x}/{y}.pbf |
The boundaries as vector tiles, for drawing them on a map, as canvases do |
For example, the provinces of Piedmont:
curl "https://api.geografica.app/v1/world-regions?parent=IT-21"See the API documentation and the OpenAPI specification for every parameter and field.