Extract region geometries (ISO 3166 countries and subdivisions) from OpenStreetMap in order to create a region dataset compatible with OpenMapTiles. This allows highlighting of countries, states, provinces, etc.
⚡ Preview the data Reduced quality, up to zoom level 8
The following data is provided:
- Land borders of countries (as defined in ISO_3166-1) extracted from OpenStreetMap as GeoJSON
- Land borders of subdivisions (as defined in ISO_3166-2) extracted from OpenStreetMap as GeoJSON
- Simplified geometries of all countries/subdivisions as GeoJSON
- Vector tile set in mbtiles format with 2 layers (countries, subdivisions) for simplified rendering of the data, compatible with OpenMapTiles
This data is Copyright 2020 OpenStreetMap contributors. It is available under the Open Database License (ODbL). For more information see https://www.openstreetmap.org/copyright
The code in this repository is licensed under the MIT license.
Have a look at the steps required to extract and prepare the data
Run this script to generate release assets in prepare-release/release-assets
:
{version}
should be the version tag, e.g. v0.2.0
prepare-release/prepare-release.sh {version}
This data is used in the Q Locator Map Tool, for which a demo is also available.