makinacorpus/mbutil

Name: mbutil

Owner: Makina Corpus

Description: Importer and Exporter of MBTiles

Created: 2011-04-07 07:41:09.0

Updated: 2013-01-01 20:06:25.0

Pushed: 2011-05-02 10:28:03.0

Homepage:

Size: 3542

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

MBUtil

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

Installation

Git checkout (requires git)

git clone git://github.com/mapbox/mbutil.git
cd mbutil
./mb-util -h

Python installation (requires easy_install)

easy_install mbutil
mb-util -h
Usage

Export an mbtiles file to files on the filesystem:

mb-util World_Light.mbtiles adirectory

Import a directory into a mbtiles file

mb-util directory World_Light.mbtiles
Requirements
Metadata

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

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

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.