Significantly faster tile generation, bug fixes, Python 3.10 bump
generate-tiles Script Update
Updated generate-tiles script generate tiles from PostgreSQL using tilelive-copy with tilelive-pgquery.
If run without MID_ZOOM environment variable, this script will generate all tiles from MIN_ZOOM to MAX_ZOOM (inclusive), just like it did before, but also doing the metadata update (see below).
If MID_ZOOM env var is set, generate-tiles will first generate all tiles from MIN_ZOOM to MID_ZOOM. Afterwards, mbtiles-tools impute finds the most duplicated small tiles at MID_ZOOM, and treats them as "empty" -- it copies empty tiles to the next MID_ZOOM+1 level as is, without regenerating them. impute also makes a list of all non-empty tiles, and generate-tiles script generates one zoom level for just that list. Once done, the same process is repeated for the next zoom level until MAX_ZOOM.
Lastly, generate-tiles runs mbtiles-tools meta-generate to update mbtiles metadata unless TILESET_FILE is not set.
Change Summary
- Implement quick tile generation with imputing by @nyurik in #383
- Pass min/max zooms to tilelive-pgquery by @nyurik in #381
- Use docker --pull when building make targets, bump to python 3.10 by @nyurik in #386
- Increase timeout to 180 seconds by @etresoft in #387
New Contributors
Full Changelog: v6.0.1...v6.1.0