Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (24 sloc) 850 Bytes

MBUtil (cpp)

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.