forked from mapbox/mbtiles-spec
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Line-breaking 1.1 spec, expanding README
- Loading branch information
Showing
2 changed files
with
62 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,62 @@ | ||
# MBTiles Specification | ||
|
||
MBTiles is a specification for storing tiled map data in [SQLite](http://sqlite.org/) databases for immediate usage and for transfer. MBTiles files, known as **tilesets**, must implement the specification below to ensure compatibility with devices. | ||
MBTiles is a specification for storing tiled map data in | ||
[SQLite](http://sqlite.org/) databases for immediate usage and for transfer. | ||
MBTiles files, known as **tilesets**, must implement the specification below | ||
to ensure compatibility with devices. | ||
|
||
# Versions | ||
|
||
* In-progress / unstable: [2.0](https://github.com/mapbox/mbtiles-spec/blob/master/2.0/spec.md) | ||
* **Stable**: [1.1](https://github.com/mapbox/mbtiles-spec/blob/master/1.1/spec.md) | ||
* [1.0](https://github.com/mapbox/mbtiles-spec/blob/master/1.0/spec.md) | ||
|
||
# Changelog | ||
|
||
## Roadmap | ||
|
||
* The format will switch tile ordering to the XYZ schema popularized by | ||
OpenStreetMap and away from the Tile Map Service specification. | ||
|
||
## 1.1 | ||
|
||
* `name='format'` row **required** in `metadata` table. | ||
* `name='bounds'` row suggested in `metadata` table. | ||
* optional UTFGrid-based interaction spec. | ||
|
||
# Concept | ||
|
||
MBTiles is a compact, restrictive specification. It supports only | ||
tiled data, including image tiles and interactivity grid tiles. Only the | ||
Spherical Mercator projection is supported for presentation - tile display - | ||
and only latitude-longitude coordinates are supported for metadata such | ||
as bounds and centers. | ||
|
||
It is a minimum specification - only specifying the ways in which data | ||
must be retrievable. Thus MBTiles files can internally compress and optimize | ||
data, and construct views that adhere to the MBTiles specification. | ||
|
||
Unlike [Spatialite](http://www.gaia-gis.it/spatialite/), GeoJSON, | ||
and Rasterlite, MBTiles is not raw data storage - it is storage | ||
for presentational data, like rendered map tiles. | ||
|
||
One MBTiles file represents a single tileset, optionally including grids | ||
of interactivity data. Multiple tilesets - layers, or maps in other terms, | ||
can be represented by multiple MBTiles files. | ||
|
||
# Implementations | ||
|
||
[Implementing software is tracked on the Wiki](https://github.com/mapbox/mbtiles-spec/wiki/Implementations). | ||
|
||
# License | ||
|
||
The text of this specification is licensed under a | ||
[Creative Commons Attribution 3.0 United States License](http://creativecommons.org/licenses/by/3.0/us/). | ||
However, the use of this spec in products and code is entirely free: | ||
there are no royalties, restrictions, or requirements. | ||
|
||
# Authors | ||
|
||
* Tom MacWright (tmcw) | ||
* Will White (willwhite) | ||
* Konstantin Kaefer (kkaefer) | ||
* Justin Miller (incanus) |