TileStache.MBTiles | index |
Support for MBTiles file format, version 1.1.
MBTiles (http://mbtiles.org) is a specification for storing tiled map data in
SQLite databases for immediate use and for transfer. The files are designed for
portability of thousands, hundreds of thousands, or even millions of standard
map tile images in a single file.
This makes it easy to manage and share map tiles.
Read the spec:
https://github.com/mapbox/mbtiles-spec/blob/master/1.1/spec.md
MBTiles files generated by other applications such as Tilemill or Arc2Earth
can be used as data sources for the MBTiles Provider.
Example configuration:
{
"cache": { ... }.
"layers":
{
"roads":
{
"provider":
{
"name": "mbtiles",
"tileset": "collection.mbtiles"
}
}
}
}
MBTiles provider parameters:
tileset:
Required local file path to MBTiles tileset file, a SQLite 3 database file.
Classes | ||||||||||||||||||||||||||
|
Functions | ||
|