tilekiln
Tilekiln is a set of command-line utilities for generating and serving Mapbox Vector Tiles (MVTs). It uses PostgreSQL with PostGIS as the data source, relying on STAsMVT to serialize tiles. It is designed for complex worldwide basemap tiles requiring minutely updates and high load, though simpler tools like tilemaker or planetiler may suffice for daily updates. Tilekiln operates with a source database for tile generation and a separate storage database for caching served tiles. Architecture decouples the generation and serving paths allowing upscale or downscale of services as needed. By using a storage database, tile generation is kept entirely out of the critical request path. Requirements include PostgreSQL 10+, PostGIS 3.1+, and Python 3.10, plus a PostGIS database in EPSG 3857 containing geospatial data. CLI commands include config testing and SQL printing for debugging, generate commands for tiles, zoom levels, or specific layers, and storage commands for initializing, destroying, inspecting, and deleti