Skip to content

developmentseed/tipmtiles

Repository files navigation

TiPMTiles


Documentation:

Source Code: https://github.com/developmentseed/tipmtiles


tipmtiles* 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.

tipmtiles is a DEMO project to showcase the use of aiopmtiles.

Install

python -m pip install pip -U
git clone https://github.com/developmentseed/tipmtiles.git
cd tipmtiles
python -m pip install -e ".[server]"

Launch

uvicorn tipmtiles.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

License

See LICENSE

Authors

Created by Development Seed

*tipmtiles 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.

About

Serving Tiles from PMTiles

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published