{ "info": { "author": "Tom MacWright", "author_email": "tom@macwright.org", "bugtrack_url": null, "classifiers": [], "description": "# MBUtil\n\nMBUtil is a utility for importing and exporting the [MBTiles](http://mbtiles.org/) format,\ntypically created with [Mapbox](http://mapbox.com/) [TileMill](http://mapbox.com/tilemill/).\n\nBefore exporting tiles to disk, see if there's a [Mapbox Hosting plan](http://mapbox.com/plans/)\nor an open source [MBTiles server implementation](https://github.com/mapbox/mbtiles-spec/wiki/Implementations)\nthat works for you - tiles on disk are notoriously difficult to manage.\n\n[![Build Status](https://secure.travis-ci.org/mapbox/mbutil.png)](http://travis-ci.org/mapbox/mbutil)\n\n## Installation\n\nGit checkout (requires git)\n\n git clone git://github.com/mapbox/mbutil.git\n cd mbutil\n # get usage\n ./mb-util -h\n\nThen to install the mb-util command globally:\n\n sudo python setup.py install\n # then you can run:\n mb-util\n\nPython installation (requires easy_install)\n\n easy_install mbutil\n mb-util -h\n\n## Usage\n\n $ mb-util -h\n Usage: mb-util [options] input output\n\n Examples:\n\n Export an mbtiles file to a directory of files:\n $ mb-util world.mbtiles tiles # tiles must not already exist\n\n Import a directory of tiles into an mbtiles file:\n $ mb-util tiles world.mbtiles # mbtiles file must not already exist\n\n Options:\n -h, --help Show this help message and exit\n --scheme=SCHEME Tiling scheme of the tiles. Default is \"xyz\" (z/x/y),\n other options are \"tms\" which is also z/x/y\n but uses a flipped y coordinate, and \"wms\" which replicates\n the MapServer WMS TileCache directory structure \"z/000/000/x/000/000/y.png\"''',\n --image_format=FORMAT\n The format of the image tiles, either png, jpg, webp or pbf\n --grid_callback=CALLBACK\n Option to control JSONP callback for UTFGrid tiles. If\n grids are not used as JSONP, you can\n remove callbacks specifying --grid_callback=\"\"\n --do_compression Do mbtiles compression\n --silent Dictate whether the operations should run silentl\n\n\n Export an `mbtiles` file to files on the filesystem:\n\n mb-util World_Light.mbtiles adirectory\n\n\n Import a directory into a `mbtiles` file\n\n mb-util directory World_Light.mbtiles\n\n## Requirements\n\n* Python `>= 2.6`\n\n## Metadata\n\nMBUtil imports and exports metadata as JSON, in the root of the tile directory, as a file named `metadata.json`.\n\n```javascript\n{\n \"name\": \"World Light\",\n \"description\": \"A Test Metadata\",\n \"version\": \"3\"\n}\n```\n\n## Testing\n\nThis project uses [nosetests](http://readthedocs.org/docs/nose/en/latest/) for testing. Install nosetests:\n\n pip install nose\nor\n\n easy_install nose\n\nThen run:\n\n nosetests\n\n## See Also\n\n* [node-mbtiles provides mbpipe](https://github.com/mapbox/node-mbtiles/wiki/Post-processing-MBTiles-with-MBPipe), a useful utility.\n* [mbliberator](https://github.com/calvinmetcalf/mbliberator) a similar program but in node.\n\n## License\n\nBSD - see LICENSE.md\n\n## Authors\n\n- Tom MacWright (tmcw)\n- Dane Springmeyer (springmeyer)\n- Mathieu Leplatre (leplatrem)", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mapbox/mbutil", "keywords": "", "license": "LICENSE.md", "maintainer": "", "maintainer_email": "", "name": "mbutil", "package_url": "https://pypi.org/project/mbutil/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/mbutil/", "project_urls": { "Homepage": "https://github.com/mapbox/mbutil" }, "release_url": "https://pypi.org/project/mbutil/0.3.0/", "requires_dist": null, "requires_python": "", "summary": "An importer and exporter for MBTiles", "version": "0.3.0" }, "last_serial": 2849125, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "ab918b10a92b4714df5a98b30fa05130", "sha256": "3ee86a44e02a6568ac0bbaf7871ed414c1e4d4ca793bd9d8498bbf942924a0ee" }, "downloads": -1, "filename": "mbutil-0.0.1.tar.gz", "has_sig": false, "md5_digest": "ab918b10a92b4714df5a98b30fa05130", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4040, "upload_time": "2011-03-15T05:20:44", "url": "https://files.pythonhosted.org/packages/29/66/a2e8ed9a3b20f0406f47fd042c898494475bf0f4d62536fa4e601fee6c3f/mbutil-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "58bcbbfbc1b28f4a9c1e17d48d46dcbe", "sha256": "c709822839492c02b6f8518346fe170f2430a9cb445e446eb04efcecfbac4156" }, "downloads": -1, "filename": "mbutil-0.0.2.tar.gz", "has_sig": false, "md5_digest": "58bcbbfbc1b28f4a9c1e17d48d46dcbe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5029, "upload_time": "2011-06-15T00:08:58", "url": "https://files.pythonhosted.org/packages/dc/a0/3a76c98066009316b2cf934d2c0c5d8b03091db6fa1e609a4c1fff331b5a/mbutil-0.0.2.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "4e0f16496400473f0dadb3d66ddf65f4", "sha256": "c103781c5ac15c2518e534a02536d3f457a12771f73989d3419bc3268819e0c3" }, "downloads": -1, "filename": "mbutil-0.1.0.tar.gz", "has_sig": false, "md5_digest": "4e0f16496400473f0dadb3d66ddf65f4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5877, "upload_time": "2012-05-18T18:55:17", "url": "https://files.pythonhosted.org/packages/cb/3e/82a7397e30e523d30c3851fd7b09144566d24bfd5ac069bb1131040304b8/mbutil-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "6d22ae138e80579881c8ebcdccc2f92b", "sha256": "e78e7a3717b8e3f05945266002669170efb481e43443da0bcb56da6b29773bc2" }, "downloads": -1, "filename": "mbutil-0.1.1.tar.gz", "has_sig": false, "md5_digest": "6d22ae138e80579881c8ebcdccc2f92b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5881, "upload_time": "2012-08-20T15:56:40", "url": "https://files.pythonhosted.org/packages/df/cd/5aaf0df01b9ffc7190688d784ee975b9195f1874d65bdbf1aad3fe02b468/mbutil-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "959fee1068a40eafda7159e66c547808", "sha256": "550426fd2cc88c82e00ba6f67716f3cd54f0e72048188f66eac97425006450a2" }, "downloads": -1, "filename": "mbutil-0.2.0.tar.gz", "has_sig": false, "md5_digest": "959fee1068a40eafda7159e66c547808", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6704, "upload_time": "2013-09-09T15:54:31", "url": "https://files.pythonhosted.org/packages/c6/b2/a6049eda9a342e07c6f4a26c911d3861ae41b2356ce7b7dfeb06862a6c16/mbutil-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "976d0d8fa2673074c83b15a53e12fe2f", "sha256": "ebbc67c966f71a45e6cc6e9e17a840efdc0aa56557abac71a58beb92f0572eaa" }, "downloads": -1, "filename": "mbutil-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "976d0d8fa2673074c83b15a53e12fe2f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10062, "upload_time": "2017-05-03T13:41:34", "url": "https://files.pythonhosted.org/packages/b2/e1/0f3b74ba4d44cbeb9b95fc69c64157c9e5670fabbe3e584487244421f782/mbutil-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0c6c9fda7738e1ab0d9c206e1c53ffd1", "sha256": "78fca26f2497c4e20592792e2fe4abd5fd51e58a03a023a42a54274b7c13c419" }, "downloads": -1, "filename": "mbutil-0.3.0.tar.gz", "has_sig": false, "md5_digest": "0c6c9fda7738e1ab0d9c206e1c53ffd1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8307, "upload_time": "2017-05-03T13:41:36", "url": "https://files.pythonhosted.org/packages/08/2d/49fb7b4fe74775e456e562a3dfde901cbaf51c5a068f182b4ab945cf811f/mbutil-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "976d0d8fa2673074c83b15a53e12fe2f", "sha256": "ebbc67c966f71a45e6cc6e9e17a840efdc0aa56557abac71a58beb92f0572eaa" }, "downloads": -1, "filename": "mbutil-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "976d0d8fa2673074c83b15a53e12fe2f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10062, "upload_time": "2017-05-03T13:41:34", "url": "https://files.pythonhosted.org/packages/b2/e1/0f3b74ba4d44cbeb9b95fc69c64157c9e5670fabbe3e584487244421f782/mbutil-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0c6c9fda7738e1ab0d9c206e1c53ffd1", "sha256": "78fca26f2497c4e20592792e2fe4abd5fd51e58a03a023a42a54274b7c13c419" }, "downloads": -1, "filename": "mbutil-0.3.0.tar.gz", "has_sig": false, "md5_digest": "0c6c9fda7738e1ab0d9c206e1c53ffd1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8307, "upload_time": "2017-05-03T13:41:36", "url": "https://files.pythonhosted.org/packages/08/2d/49fb7b4fe74775e456e562a3dfde901cbaf51c5a068f182b4ab945cf811f/mbutil-0.3.0.tar.gz" } ] }