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
country_extracts.tsv directly in GitHub and create a PR.
You can use the
create_extracts.py 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 create_extracts.py bbox planet.mbtiles city_extracts.tsv
To use create-extracts inside the Docker Compose workflow you need to have
planet.mbtiles ready in the
Now merge-jobs will merge the MBTiles files into
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