Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: python
Fetching contributors…

Cannot retrieve contributors at this time

41 lines (24 sloc) 0.844 kb

MBUtil

MBUtil is a utility for importing and exporting the MBTiles format.

Usage

Export an mbtiles file to files on the filesystem:

mbutil --input World_Light.mbtiles --output adirectory

Import a directory into a mbtiles file

mbutil --input directory --output World_Light.mbtiles

Building

MBUtil requires cmake, boost and SQLite to build.

cmake .
make

Ubuntu

sudo apt-get install cmake

Metadata

MBUtil imports and exports metadata as JSON, in the root of the tile directory, as a file named metadata.json.

{
    "metadata": {
        "name": "World Light",
        "description": "A Test Metadata",
        "version": "3"
    }
}

Authors

  • Tom MacWright (tmcw)
Jump to Line
Something went wrong with that request. Please try again.