Skip to content

Extract region geometries (ISO 3166 countries and subdivisions) from OpenStreetMap in order to create a region dataset compatible with OpenMapTiles.

nzzdev/osm-regions

Repository files navigation

OSM Regions

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

Data

The following data is provided:

License

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.

Rebuilding the data

Have a look at the steps required to extract and prepare the data

Preparing a new release

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}

Uses

This data is used in the Q Locator Map Tool, for which a demo is also available.

Gallery

Countries (overview)

Screenshot Countries

Subdivisions (overview)

Screenshot Subdivisions

Close-ups

Screenshot Liechtenstein

Screenshot Appenzell Innerrhoden

About

Extract region geometries (ISO 3166 countries and subdivisions) from OpenStreetMap in order to create a region dataset compatible with OpenMapTiles.

Resources

Stars

Watchers

Forks

Packages

No packages published