--- layout: page title: Create Extracts published: true --- # Create custom Extract If you need an extract which is not included on the [downloads page](http://osm2vectortiles.org/downloads){:target="_blank"}, you can simply download the planet file and make your own extract. ## Preparation 1. [Download the planet file](http://osm2vectortiles.org/downloads){:target="_blank"} 2. [Get bounding box of your desired extract.](http://tools.geofabrik.de/calc/#type=geofabrik_standard&bbox=5.538062,47.236312,15.371071,54.954937&tab=1&proj=EPSG:4326&places=2){:target="_blank"} 3. Install tilelive utility. ```bash npm install -g tilelive ``` ## Create Extract To create an extract the tilelive-copy utility is used. It takes a bounding box and a mbtiles file as input and ouputs the extract. Replace the bounding box in the following command with your bounding box. ```bash tilelive-copy \ --minzoom=0 --maxzoom=14 \ --bounds="60.403889,29.288333,74.989862,38.5899217" \ world.mbtiles switzerland.mbtiles ```