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.
- Download map tiles of the entire world.
- Install tilelive and MBTiles support.
npm install -g @mapbox/tilelive @mapbox/mbtiles
Choose your Bounding Box
- Visit boundingbox.klokantech.com and drag a rectangle around your desired area.
- Copy the bounding box in CSV format
To create an extract, use the
tilelive-copy utility. 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