Roadmap¶
Honest about what is done, what is next, and what is aspirational.
Now — foundations¶
Putting conventions and tooling in place before the data grows.
- Documentation site with MkDocs + Material
- Written conventions: naming, admin levels, property schema, CRS, planetary
- Licensing policy and approved-source list
- Disputed-boundaries policy
- Catalog generator wired to manifests
- CI building and deploying the site
- Ingestion pipeline: fetch, normalise, simplify, split, manifest, preview
- Chile from IDE Chile DPA 2023 — ADM1, ADM2 and ADM3
- Preview generation and interactive maps
- Data validation workflow with a licence allow-list
Done — the Americas¶
55 territories, 95 datasets, 16,195 features. Country outlines from Natural Earth; first-level and municipal tiers from geoBoundaries under permissive licences only; Chile from IDE Chile.
Two of the 57 UN M49 territories ship nothing: Bonaire, Sint Eustatius and Saba and Bouvet Island are absent from Natural Earth under their ISO codes and have no permissively licensed subdivision data.
Coverage gaps¶
Fifteen countries have no first-level divisions here because their geoBoundaries ADM1 is copyleft — ODbL for Colombia, Costa Rica, Cuba, Guatemala, Guyana, Honduras, Haiti, Nicaragua, Panama, Suriname, Trinidad and Tobago, Uruguay and Saint Vincent and the Grenadines; CC-BY-SA for Grenada and Greenland. Several of them do have a permissively licensed municipal tier, so they appear in the catalog with an ADM2 and no ADM1 above it.
Closing a gap means finding a national SDI or an HDX release under permissive terms — not relaxing the rule. See Approved sources.
Also outstanding for this continent:
- Peru's districts — geoBoundaries stops at its 196 provinces
- Verify the suspect unit counts before trusting them: Jamaica ADM2 (827 against 14 parishes) and Saint Lucia ADM2 (547 against 10 quarters) look mis-tiered and were left out; Bahamas ADM1/ADM2 (32/34) are near-identical
- Guadeloupe, Martinique, French Guiana and the US Virgin Islands have a municipal tier but no ADM1 upstream, so they cannot be split
- Translate generated catalog pages into Spanish
Done — Europe¶
51 territories, 97 datasets, 59,265 features. The same pipeline and sources as the Americas: outlines from Natural Earth, first-level and municipal tiers from geoBoundaries under permissive licences only. geoBoundaries is now read from a pinned commit of its repository rather than its API, so a rebuild fetches exactly the same files.
Three attribution-only licences joined the allow-list for national data that geoBoundaries redistributes: the UK's Open Government Licence v3.0, Germany's Data licence Germany – attribution – 2.0 and Open Data Commons Attribution 1.0 (France's communes). France's 35,010 communes also add a fifth level, ADM5, to the contract.
Seventeen countries have both a first level and a municipal tier: Belgium,
Bulgaria, Bosnia and Herzegovina, Belarus, Germany, Denmark, Spain, France,
the United Kingdom, Greece, Ireland, Italy, North Macedonia, the Netherlands,
Norway, Romania and Sweden. Kosovo is published as XKX, a user-assigned
code, with the dispute stated in its manifest — see
Disputed boundaries. Svalbard and Jan Mayen
ships nothing: Natural Earth draws both inside Norway's outline.
Coverage gaps¶
Nineteen countries have no first-level divisions here. Their geoBoundaries ADM1 is ODbL (Estonia, Finland, Croatia, Iceland, Liechtenstein, Lithuania, Luxembourg, Monaco, Montenegro, Poland, Portugal, Russia, San Marino, Serbia, Slovakia, Ukraine), CC-BY-SA (Austria, Kosovo) or under swisstopo's own licence, which is not on the allow-list (Switzerland). Iceland, Luxembourg, Portugal and Ukraine have a permissively licensed municipal tier, published without an ADM1 above it. Åland, the Faroe Islands, Guernsey, Gibraltar, the Isle of Man, Jersey and Vatican City have nothing below the outline upstream.
Seventeen countries have no municipal tier here because it is copyleft or under a licence not on the allow-list: Austria, Switzerland, Czechia, Estonia, Finland, Croatia, Hungary, Lithuania, Poland, Russia, Serbia, Slovakia, Slovenia and Kosovo, plus Liechtenstein, Montenegro and San Marino, whose municipalities are their first level. Czechia, Hungary and Slovenia still publish their first level. Albania's 61 municipalities and Moldova's communes are not in geoBoundaries at all.
Also outstanding for this continent:
- Intermediate levels (v1.4.0): France's 96 départements and 320 arrondissements, Italy's 20 regions and 107 provinces, Germany's 38 government regions, Czechia's 77 districts, Belgium's 43 arrondissements, and the second levels of Greece (14 units) and Bosnia and Herzegovina (12)
- Intermediate levels under a copyleft or unclear licence: France's cantons, Spain's provinces, Austria, Switzerland, Poland, Hungary, Slovakia, Finland, Belgium's ADM2 and Luxembourg
- Germany's municipalities (Gemeinden) — not in geoBoundaries; the published tier is the 401 districts
- Newer vintages where a reform has happened since: Belgium's 2019 mergers, Norway's 2020 and 2024 reforms, Ukraine's 2020 raions, Iceland's mergers (74 units against 64), Albania's 2015 municipalities
- Catalog previews for the three levels too dense for 2 MB even at the coarsest simplification: Spain ADM3, France ADM5 and Italy ADM4
Done — Africa¶
60 territories, 125 datasets, 7,934 features. The same pipeline and sources: outlines from Natural Earth, first-level and municipal tiers from geoBoundaries under permissive licences only, read from the same pinned commit. No new licence was needed — every African entry is either on the allow-list or copyleft.
Twenty countries have both a first level and a municipal tier: Angola, Burundi, Benin, Burkina Faso, the Central African Republic, Côte d'Ivoire, Djibouti, Guinea, Gambia, Liberia, Mali, Nigeria, Rwanda, Sudan, Senegal, Sierra Leone, South Sudan, South Africa, Zambia and Zimbabwe. Cameroon, Ethiopia, Kenya, Libya and Namibia have a first level only. Réunion and Mayotte publish their communes without an outline, as Guadeloupe and Martinique do: Natural Earth draws them inside France.
Somalia's outline is Natural Earth's Somalia and Somaliland dissolved into one, matching ISO 3166 and geoBoundaries' Somali districts. Western Sahara follows Natural Earth's default view, which leaves only the area east of the Moroccan berm outside Morocco. Both, with Chagos, the Scattered Islands, Mayotte, Halaib, Abyei and the Ilemi Triangle, are in Disputed boundaries.
Coverage gaps¶
Twenty-nine countries have no first-level divisions here because their geoBoundaries ADM1 is ODbL (Algeria, Cabo Verde, Chad, Comoros, Congo, DR Congo, Egypt, Equatorial Guinea, Eritrea, Eswatini, Guinea-Bissau, Lesotho, Madagascar, Malawi, Mauritius, Morocco, Mozambique, Niger, São Tomé and Príncipe, Somalia, Tanzania, Togo, Tunisia, Uganda) or CC-BY-SA (Botswana, Gabon, Ghana, Mauritania, Seychelles). Most of them do have a permissively licensed municipal tier, published without an ADM1 above it. Western Sahara, the French Southern Territories, the British Indian Ocean Territory and Saint Helena have nothing below the outline upstream.
Eleven countries have no municipal tier here because it is copyleft: Algeria, Cameroon, Ethiopia, Morocco, Tunisia, Guinea-Bissau, São Tomé and Príncipe, Eswatini, Togo, and Cabo Verde and Mauritius, whose municipalities are their first level. Namibia's constituencies are left out for quality, not licence (see the table below).
Also outstanding for this continent:
- Newer vintages where a reform has happened since: Burundi (2025: 5 provinces, 42 communes), Angola (2024: 21 provinces), Burkina Faso (2025), Mali (2023: 19 regions), the Central African Republic (2020: 20 prefectures), Ethiopia (new regions 2020–2023), Sierra Leone (2017) and Namibia (2013: 14 regions)
- Namibia's constituencies from a source whose names can be trusted
- Intermediate levels (v1.4.0): South Africa's 52 district and metropolitan municipalities, Mali's cercles, Guinea's prefectures and the second levels of Algeria, Burkina Faso, Cameroon, the Central African Republic, Comoros, Madagascar, Niger, Réunion and Seychelles
- Ethiopia's zones (ODbL)
Done — Asia¶
51 territories, 106 datasets, 12,399 features. The same pipeline and
sources: outlines from Natural Earth, first-level and municipal tiers from
geoBoundaries under permissive licences only, read from the same pinned
commit. One licence joined the allow-list: the Singapore Open Data Licence
(SG-ODL-1.0), for Singapore's planning areas.
Twenty territories have both a first level and a municipal tier: Afghanistan, Armenia, Bangladesh, Brunei, Bhutan, China, Georgia, Iraq, Israel, Jordan, South Korea, Lebanon, Myanmar, Nepal, Pakistan, the Philippines, North Korea, Palestine, Syria and Vietnam. India and Turkmenistan have a first level only; Qatar's municipalities are its first level. Hong Kong and Macao publish their outline only.
Taiwan is published as TWN, as ISO 3166 lists it; China's first level from
geoBoundaries also includes it, Hong Kong and Macao, as ISO 3166-2 does.
Cyprus is Natural Earth's Cyprus, Northern Cyprus and the UN buffer zone
dissolved into one, and Kazakhstan includes Baikonur. Kashmir, Palestine, the
Golan Heights, Abkhazia, South Ossetia and the South China Sea follow Natural
Earth's default view. All of them are in
Disputed boundaries.
Coverage gaps¶
Twenty-six territories have no first-level divisions here because their geoBoundaries ADM1 is ODbL (Bahrain, Cambodia, Cyprus, Indonesia, Iran, Japan, Kazakhstan, Kuwait, Kyrgyzstan, Laos, Malaysia, the Maldives, Mongolia, Oman, Saudi Arabia, Singapore, Sri Lanka, Taiwan, Tajikistan, Thailand, Timor-Leste, the United Arab Emirates, Uzbekistan, Yemen, Azerbaijan) or CC-BY-SA (Türkiye). Twelve of them have a permissively licensed municipal tier, published without an ADM1 above it.
Fourteen territories have no municipal tier here because it is copyleft or not under a licence: Azerbaijan, Cyprus, India, Iran, Japan, Kazakhstan, Kuwait, Kyrgyzstan, Saudi Arabia, Taiwan, Tajikistan, Türkiye and Turkmenistan, plus Oman, whose wilayats are redistributed by direct permission, which is not a licence.
Also outstanding for this continent:
- Newer vintages where a reform has happened since: Vietnam (2025: 34 provinces, no districts), Indonesia (2022: four new provinces in Papua), Nepal (2015: 77 districts) and China's county-level divisions (2,391 upstream against about 2,850)
- India's districts and Japan's municipalities from a permissive source
- Intermediate levels (v1.4.0): the Philippines' provinces, Bangladesh's 64 districts, Myanmar's districts and Cambodia's districts
- Sri Lanka's districts (ODbL)
Done — Oceania¶
26 territories, 46 datasets, 1,391 features. The same pipeline and sources: outlines from Natural Earth, first-level and municipal tiers from geoBoundaries under permissive licences only, read from the same pinned commit. No licence was added: Australia's and New Zealand's data is CC BY 4.0, already on the allow-list.
Six territories have both a first level and a municipal tier: Australia, Fiji, Micronesia, New Zealand, Papua New Guinea and the Solomon Islands. Niue and Nauru publish their first level, which is their local tier. American Samoa, Guam, the Northern Mariana Islands, Tonga, Vanuatu and Samoa have a municipal tier without an ADM1 above it. Twelve territories publish their outline only.
Fiji, Kiribati, New Zealand and the US Minor Outlying Islands cross the
antimeridian. Natural Earth and geoBoundaries deliver them already cut at
180°, so wgj finalize had nothing to cut; it would have cut them otherwise,
and wgj validate checks that no longitude leaves −180…180. Their bounding
boxes span nearly the whole globe (see CRS).
Three territories ship nothing. Christmas Island and the Cocos (Keeling) Islands are one unit in Natural Earth with no ISO code, and Tokelau is not drawn at all; geoBoundaries has no subdivisions for any of them.
Coverage gaps¶
Seven territories have no first-level divisions here because their geoBoundaries ADM1 is ODbL (Kiribati, the Marshall Islands, Palau, Tonga, Tuvalu, Vanuatu) or CC-BY-SA (Samoa). In the Marshall Islands, Palau and Tuvalu the first level is the local government, so nothing below the outline is published. New Caledonia, French Polynesia, Wallis and Futuna, the Cook Islands, Pitcairn, Norfolk Island, Heard and McDonald Islands and the US Minor Outlying Islands have nothing below the outline upstream.
Also outstanding for this continent:
- Fiji's tikina (copyleft) and the Solomon Islands' wards (direct permission only) from a permissive source
- New Zealand's ADM2 mixes territorial authorities with Auckland's 21 local board areas; a national source would give the 67 authorities
- Intermediate levels (v1.4.0): Papua New Guinea's 87 districts
Next — from data repository to platform¶
The Americas proved the pipeline. The next releases turn the repository into something a program can depend on: first a stable contract, then the tooling, then libraries that speak it. In order:
Phase 0 — engineering hygiene (done)
- Lint, type checks and tests —
ruff,mypy,pytest— run by a CI workflow on every pull request - Pipeline bug fixes, listed in the Changelog
- Every documentation page brought in line with what the data contains
Phase 1 — data contract v1 (done; v1.0.0 is tagged from the merge)
-
data/index.json: one file listing every territory, level and file withbytes,sha256,bboxand licence — see Global index & schemas - JSON Schemas in
schemas/for the manifest, the index, a feature, its properties and the country registry, applied in CI - A stable Feature
idon every feature:{ISO3}:{LEVEL}:{key} -
parentID,parentISOandadm1ISOon every sub-national feature, not only Chile's -
shapeISOno longer filled with opaque geoBoundaries ids, and the duplicated codes resolved (US-SD,MX-CMX,EC-X, Belize cleared) - A finalize step (now
wgj finalize) that writes all of the above and the canonical file layout, checked in CI - Tagged data releases: a release workflow that publishes a GitHub Release
with per-country zips,
index.jsonandSHA256SUMSon every tag (tag pending merge)
Phase 2 — the pipeline as a package (done)
- The scripts became an installable Python package,
wgjunderpipeline/, with a CLI —wgj fetch,build,finalize,previews,manifest,index,validateandall— documented in Data pipeline - Tests that run on
fixtures/data/— three small territories and their index — so CI needs no data checkout - Previews generated from Python (mapshaper still runs through Node)
scripts/*.py stayed as compatibility shims for one release and were
retired in Phase 4, as planned.
Phase 3 — client libraries (done; first publication pending)
- Python
geoworld(packages/python/geoworld, PyPI) - TypeScript
geoworld(packages/js/geoworld, npm) - Published:
python-v0.1.0andjs-v0.1.0tags, once the PyPI and npm publishers are configured
Both are thin clients with the same API: read index.json from a pinned data
version, download on demand, cache, verify sha256, navigate by id. No
server involved — they fetch static files. See
Client libraries.
Phase 4 — framework adapters and onboarding
-
geoworld-maplibre,geoworld-leafletandgeoworld-reacton top ofgeoworld— see Client libraries - Worked examples in
examples/(Leaflet, MapLibre, React; no build step) - Issue forms (new country, data problem, library bug), a pull request
template and
CODEOWNERS - The
scripts/*.pycompatibility shims kept since Phase 2 are removed
Later — global coverage¶
- ADM0 for every country (Natural Earth is the obvious starting point)
- ADM1 for every country (geoBoundaries)
- ADM2 where openly licensed sources exist
- TopoJSON alongside GeoJSON
- Versioned documentation (tagged data releases moved up to Phase 1)
ADM3 is explicitly not a goal at global scale. Very few countries publish it openly and the file sizes become unmanageable.
Eventually — the Moon and Mars¶
The conventions are already written, deliberately: the latitude convention in particular cannot be inferred from the data after the fact, so getting it wrong is expensive to discover and expensive to fix.
- Lunar quadrangles, IAU 2015 body-fixed frame
- Martian quadrangles
- Named surface features from the IAU Gazetteer
- USGS Astrogeology WMS basemaps in preview maps
Known data problems¶
Tracked, not hidden.
| Problem | Where | Status |
|---|---|---|
| Antártica commune (12202) absent — 345 of 346 | Chile ADM3 | Won't fix; the official DPA package excludes the Antarctic claim |
| 15 countries have no permissively licensed ADM1 | Americas | Awaiting a permissive source |
Most municipal units have no official code upstream, so shapeISO is "" on 15,364 features |
22 municipal datasets from geoBoundaries | By design since 1.0.0 — an empty code is honest, an opaque id was not. Use id; a national source with codes would close it |
169 name-keyed ids carry a numeric suffix (COL:ADM2:albania-2) because the upstream has several units with the same name and no code |
COL 84, HND 28, SLV 18, ARG 16, GTM 6, USA 6, MEX 4, BLZ 2, BRA 2, VIR 2, SUR 1 | Stable per data version; may renumber on an upstream refresh — pin a version |
| 12 municipal units overlap no ADM1 parent | ARG ADM2 (8, Buenos Aires city), BRA ADM2 (3), USA ADM2 (1) | Kept in unassigned parts with adm1ISO: "unassigned" and no parentID |
| Municipal tier assignment unverified for 19 territories | pipeline/src/wgj/tables/countries.json |
Marked verify and shipped as review |
| Peru's districts unavailable — geoBoundaries stops at provinces | Peru | Awaiting a source |
| 19 countries have no permissively licensed ADM1 | Europe | Awaiting a permissive source |
shapeISO is "" on 58,492 features — every European municipal dataset but Portugal's |
20 municipal datasets from geoBoundaries | By design, as above; use id |
| 863 name-keyed ids carry a numeric suffix. Some are true namesakes (Lagoa and Calheta in Portugal, San Teodoro in Italy); others are one municipality drawn as several features upstream | FRA 791, ROU 48, UKR 10, NOR 6, PRT 5, BGR 1, GRC 1, ITA 1 | Stable per data version; may renumber on an upstream refresh — pin a version |
| 129 communes overlap none of the 13 metropolitan regions | FRA ADM5 (the five overseas departments) | Kept in ADM5/unassigned.geojson |
| No combined file: the level is published as its region parts only | FRA ADM5 | By design — a single file would exceed the 18 MiB budget. Use the parts (iter_parts) |
| No catalog preview: over 2 MB even at the coarsest simplification | ESP ADM3, FRA ADM5, ITA ADM4 | The data files are complete; only the catalog map is missing |
| Municipal tier assignment unverified for 11 territories | BEL, DEU, ESP, FRA, GBR, IRL, ISL, NOR, PRT, ROU, UKR | Marked verify and shipped as review |
| Budapest is drawn inside Pest county: the metadata counts 20 units, the file has 19 | HUN ADM1 | Upstream; awaiting a fix or another source |
| Sofia Province has 23 units against 22 municipalities: two are named Zlatitsa | BGR ADM2 (BGR:ADM2:BG-23.zlatitsa-2) |
Upstream; awaiting a fix |
| The first level is the five NUTS 1 macro-regions, not the 20 regions | ITA ADM1 | Upstream tiering; regions and provinces are an open item above |
| Crimea: inside Russia's outline in Natural Earth, inside Ukraine's raions in geoBoundaries | RUS ADM0, UKR ADM0 and ADM2 | Documented in Disputed boundaries |
| 29 countries have no permissively licensed ADM1 | Africa | Awaiting a permissive source |
shapeISO is "" on 7,490 features — every African municipal dataset but Seychelles' |
41 municipal datasets from geoBoundaries | By design, as above; use id |
| 193 name-keyed ids carry a numeric suffix, mostly Malagasy communes that share a name in different districts — Madagascar's first level is not published, so the name is the only key | MDG 150, EGY 33, MLI 4, GIN 2, NER 2, UGA 2 | Stable per data version; may renumber on an upstream refresh — pin a version |
| Fourteen Egyptian units are named "Zemam Out", and two are named "Suhag" next to one named "Suhag-2" | EGY ADM2 | Upstream names; the second Suhag is pinned as suhag-3 in id_overrides.json |
| Municipal tier assignment unverified for 18 territories | AGO, BDI, BFA, BWA, CAF, CIV, COM, ETH, GMB, GNQ, LSO, MDG, MLI, MYT, REU, SLE, SYC, UGA | Marked verify and shipped as review |
| Constituencies left out: seven of 109 are named "Luderitz", and six overlap no region | NAM ADM2 | Awaiting a better source |
| Local government areas share their ISO region's code (Brikama and Kanifing are both in GM-W; Janjanbureh and Kuntaur in GM-M), so four are keyed by name | GMB ADM1 | Correct ISO codes; documented in shapeiso_fixes.json |
Upstream first-level codes were missing or malformed and are corrected in shapeiso_fixes.json |
CIV (none), ZAF (no ZA- prefix), ZWE (not ISO), CAF, BEN, SDN |
Fixed |
| Western Sahara: Natural Earth draws the area west of the Moroccan berm inside Morocco | MAR ADM0, ESH ADM0 | Documented in Disputed boundaries |
| 26 territories have no permissively licensed ADM1 | Asia | Awaiting a permissive source |
| 365 name-keyed ids carry a numeric suffix, mostly Cambodian communes and Mongolian sums that share a name in different provinces, whose first level is not published | KHM 204, MNG 62, CHN 34, PHL 32, VNM 12, THA 10, BGD 4, LAO 3, NPL 2, MDV 1, YEM 1 | Stable per data version; may renumber on an upstream refresh — pin a version |
| 10 municipal units overlap no ADM1 parent | CHN ADM2 (5), VNM ADM2 (5) | Kept in unassigned parts |
Upstream first-level codes and names were missing or wrong: China's provinces all carry CHN and Guangdong is named "Guangzhou Province"; Macao's county-level unit has no name; Côn Đảo is a 64th Vietnamese province sharing Bà Rịa–Vũng Tàu's code |
CHN, VNM | Fixed in shapeiso_fixes.json and name_fixes.json |
| Taiwan, Hong Kong and Macao are both territories of their own and units of China's first level | TWN, HKG, MAC, CHN ADM1 | By design, as ISO 3166-1 and 3166-2 list them; see Disputed boundaries |
| Municipal tier assignment unverified for 21 territories | ARM, BGD, CHN, GEO, IDN, KHM, KOR, LKA, MDV, MMR, MYS, NPL, PAK, PHL, PRK, PSE, SGP, SYR, TLS, UZB, VNM | Marked verify and shipped as review |
| 7 territories have no permissively licensed ADM1 | Oceania | Awaiting a permissive source |
Ten New Zealand names with macrons arrive double-encoded (Å\u008ctorohanga) |
NZL ADM2 | Fixed in name_fixes.json |
| 4 municipal units overlap no ADM1 parent | FJI ADM2 (Rotuma), FSM ADM2 (Eauripik), SLB ADM2 (2) | Kept in unassigned parts |
| Christmas Island, the Cocos (Keeling) Islands and Tokelau ship nothing | CXR, CCK, TKL | No outline in Natural Earth under their codes, no subdivisions upstream |
| Municipal tier assignment unverified for 9 territories | ASM, AUS, FJI, FSM, NZL, PNG, SLB, VUT, WSM | Marked verify and shipped as review |
Not planned¶
- A hosted API or tile service. This is a data repository, and the client libraries are client-side: they fetch static files. Cloudflare, jsDelivr and your own CDN do the serving better.
- Geocoding or address data. Different problem, different sources.
- Historical boundaries. Interesting, and a project of its own.
- Sub-metre accuracy. These are administrative boundaries, not cadastral surveys.
Contributing to the roadmap¶
Open an issue. Countries where you have local knowledge of the authoritative open source are especially useful — finding a legally usable source is consistently the hardest part.