MBTiles server
✓ Published0🌍 Public
TThomasG77
Last edited Jul 15, 2021
Created on Jul 15, 2021
This example demonstrates serving map tiles from MBTiles files through multiple server-side implementations. It shows how raster and vector tile data can be exposed via HTTP endpoints using PHP libraries like Tileserver-PHP and MBTiles-PHP, Node.js tools such as Tileserver GL and TileStream, the Go-based mbtileserver, and Python’s python-mbtiles. The code highlights different rendering and delivery approaches, from static raster tiles to server-side vector tile processing, without relying on client-side visualization APIs like d3.geoPath or WebGL. The data source is the MBTiles format, a SQLite-based container for tiled map data.
AI-generated descriptionMBTiles server
PHP
- Tileserver-PHP https://github.com/maptiler/tileserver-php
- MBTiles-PHP (raster MBTiles) https://github.com/infostreams/mbtiles-php
NodeJS
- Tileserver GL and Tileserver GL light (no server rendering) https://tileserver.readthedocs.io/en/latest/endpoints.html#source-data
- TileStream (raster MBTiles) https://github.com/cutting-room-floor/tilestream
- Tessella https://github.com/urbica/tessella
Golang
- mbtileserver https://github.com/consbio/mbtileserver
Python
- python-mbtiles https://github.com/perrygeo/python-mbtiles