If you need an extract which is not included on the downloads page, you need to download the planet file and create your own extract.

Preparation

  1. Download the planet file
  2. Install tilelive and MBTiles support.
npm install -g tilelive mbtiles

Choose your Bounding Box

  1. Visit boundingbox.klokantech.com and drag a rectangle around your desired area.
  2. Copy the bounding box in CSV format

Choose Bounding Box

Create Extract

To create an extract the tilelive-copy utility is used. It takes a bounding box and a MBTiles file as input and creates an extract clipped to the bounding box.

Replace the bounding box in the following command with your bounding box.

tilelive-copy \
    --minzoom=0 --maxzoom=14 \
    --bounds="5.9559,45.818,10.4921,47.8084" \
    planet.mbtiles my-extract-for-switzerland.mbtiles
K

OpenMapTiles.org is an open-source project from Klokan Technologies GmbH and OSM community
Share this page on