Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 973 Bytes

README.md

File metadata and controls

20 lines (11 loc) · 973 Bytes

PHP-MBTiles-Server

About

This is a fork of bmcbride's PHP-MBTiles-Server work. With a few security updates.

An extremely simple PHP script for extracting images from an MBTiles sqlite database file. Examples for use with Leaflet and OpenLayers included.

Dependencies

Limitations

This script simply extracts the images from the MBTiles database and DOES NOT support UTFGrid interation!

Beware!

MBTiles files generated from TileMill (currently) use the "TMS" tiling scheme. MapBox hosted tiles (currently) use the "XYZ" tiling scheme. If you use mbutil to export the tile images to a filesystem directory, the default scheme is "XYZ".