Public | Automated Build

Last pushed: 4 months ago
Short Description
Create extracts
Full Description


The create-extracts component is responsible for cutting out specific country and
city extracts as specified in the CSV files from the latest planet MBTiles file.


Submit new Extract

You can modify the city_extracts.tsv and country_extracts.tsv directly in GitHub and create a PR.


You can use the Python script yourself to generate an extract and optionally upload it to S3.

# Create extracts limited by a bounding box specified in the TSV file
python bbox planet.mbtiles city_extracts.tsv


To use create-extracts inside the Docker Compose workflow you need to have
a full planet.mbtiles ready in the export folder.

Now merge-jobs will merge the MBTiles files into ./export/planet.mbtiles.
create-extracts will use tilelive-copy to cut out extracts for countries and cities.
To produce the extracts for all cities and countries this can take up to several days.
The results will be first be stored in the export folder and then uploaded
to a S3 if configured.

docker-compose run create-extracts
Docker Pull Command
Source Repository