ThatcherTiler: expect some features to be dropped.
Documentation:
Source Code: https://github.com/developmentseed/thatchertiler
ThatcherTiler
* is a lightweight Raster/Vector tiles server based on the great PMTiles Cloud-optimized + compressed single-file tile archives for vector and raster maps.
While the original idea behind PMTiles is to create a single file which can be accessed directly from map client (e.g https://protomaps.com/docs/frontends/maplibre) some map client yet do not support it (e.g Mapbox
) while a need for a tile server
between the map client and the archive.
ThatcherTiler
is a DEMO project to showcase the use of aiopmtiles.
python -m pip install pip -U
git clone https://github.com/developmentseed/thatchertiler.git
cd thatchertiler
python -m pip install -e ".[server]"
uvicorn thatchertiler.main:app --port 8080 --reload
>> INFO: Uvicorn running on http://127.0.0.1:8080 (Press CTRL+C to quit)
http://127.0.0.1:8080/api.html
http://127.0.0.1:8080/map?url=https://protomaps.github.io/PMTiles/protomaps(vector)ODbL_firenze.pmtiles
See LICENSE
Created by Development Seed
*ThatcherTiler
name comes from a long a intense debate among @nerik, @kamicut, @batpad and @vincentsarago to find the better of the worse name. Thatcher
is a reference to Margaret Thatcher
which was once Prime Minister of the United Kingdom.