Name | mbutil-zyx JSON |
Version |
0.4.1
JSON |
| download |
home_page | None |
Summary | MBUtil with ZYX scheme |
upload_time | 2024-08-02 14:31:00 |
maintainer | None |
docs_url | None |
author | Lars Maxfield |
requires_python | >=3 |
license | Copyright (c), Development Seed All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - Neither the name "Development Seed" nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
keywords |
mbutil
zyx
vips
libvips
pyvips
dzsave
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
|
coveralls test coverage |
No coveralls.
|
# MBUtil ZYX
MBUtil ZYX is a fork of the MBUtil utility for importing and exporting the [MBTiles](http://mbtiles.org/) format including the ZYX scheme from `vips dzsave --google`.
This fork was created and [published to PyPI](https://pypi.org/project/mbutil-zyx) because the currently published version of `mbutil` on PyPI does not include the ZYX scheme.
## Installation
Git checkout (requires git)
git clone https://github.com/larsmaxfield/mbutil_zyx.git
cd mbutil_zyx
# get usage
./mb-util-zyx -h
Then to install the mb-util-zyx command globally:
sudo python setup.py install
# then you can run:
mb-util-zyx
Python installation (requires easy_install)
easy_install mbutil_zyx
mb-util-zyx -h
## Usage
$ mb-util-zyx -h
Usage: mb-util-zyx [options] input output
Examples:
Export an mbtiles file to a directory of files:
$ mb-util-zyx world.mbtiles tiles # tiles must not already exist
Import a directory of tiles into an mbtiles file:
$ mb-util-zyx tiles world.mbtiles # mbtiles file must not already exist
Options:
-h, --help Show this help message and exit
--scheme=SCHEME Tiling scheme of the tiles. Default is "xyz" (z/x/y),
other options are "tms" which is also z/x/y
but uses a flipped y coordinate, and "wms" which replicates
the MapServer WMS TileCache directory structure "z/000/000/x/000/000/y.png"''',
and "zyx" which is the format vips dzsave --layout google uses.
--image_format=FORMAT
The format of the image tiles, either png, jpg, webp or pbf
--grid_callback=CALLBACK
Option to control JSONP callback for UTFGrid tiles. If
grids are not used as JSONP, you can
remove callbacks specifying --grid_callback=""
--do_compression Do mbtiles compression
--silent Dictate whether the operations should run silently
Export an `mbtiles` file to files on the filesystem:
mb-util-zyx World_Light.mbtiles adirectory
Import a directory into a `mbtiles` file
mb-util-zyx directory World_Light.mbtiles
## Requirements
* Python `>= 2.6`
## Metadata
MBUtil ZYX imports and exports metadata as JSON, in the root of the tile directory, as a file named `metadata.json`.
```javascript
{
"name": "World Light",
"description": "A Test Metadata",
"version": "3"
}
```
## Testing
This project uses [nosetests](http://readthedocs.org/docs/nose/en/latest/) for testing. Install nosetests:
pip install nose
or
easy_install nose
Then run:
nosetests
## See Also
* [node-mbtiles provides mbpipe](https://github.com/mapbox/node-mbtiles/wiki/Post-processing-MBTiles-with-MBPipe), a useful utility.
* [mbliberator](https://github.com/calvinmetcalf/mbliberator) a similar program but in node.
## License
BSD - see LICENSE.md
## Authors
- Tom MacWright (tmcw)
- Dane Springmeyer (springmeyer)
- Mathieu Leplatre (leplatrem)
Raw data
{
"_id": null,
"home_page": null,
"name": "mbutil-zyx",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3",
"maintainer_email": null,
"keywords": "mbutil, zyx, vips, libvips, pyvips, dzsave",
"author": "Lars Maxfield",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/43/7d/1f2db381bfac1348270c4f3c143c8bc7591671238b47326056565d989aa8/mbutil_zyx-0.4.1.tar.gz",
"platform": null,
"description": "# MBUtil ZYX\n\nMBUtil ZYX is a fork of the MBUtil utility for importing and exporting the [MBTiles](http://mbtiles.org/) format including the ZYX scheme from `vips dzsave --google`.\nThis fork was created and [published to PyPI](https://pypi.org/project/mbutil-zyx) because the currently published version of `mbutil` on PyPI does not include the ZYX scheme.\n\n## Installation\n\nGit checkout (requires git)\n\n git clone https://github.com/larsmaxfield/mbutil_zyx.git\n cd mbutil_zyx\n # get usage\n ./mb-util-zyx -h\n\nThen to install the mb-util-zyx command globally:\n\n sudo python setup.py install\n # then you can run:\n mb-util-zyx\n\nPython installation (requires easy_install)\n\n easy_install mbutil_zyx\n mb-util-zyx -h\n\n## Usage\n\n $ mb-util-zyx -h\n Usage: mb-util-zyx [options] input output\n\n Examples:\n\n Export an mbtiles file to a directory of files:\n $ mb-util-zyx world.mbtiles tiles # tiles must not already exist\n\n Import a directory of tiles into an mbtiles file:\n $ mb-util-zyx 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 and \"zyx\" which is the format vips dzsave --layout google uses.\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 silently\n\n\n Export an `mbtiles` file to files on the filesystem:\n\n mb-util-zyx World_Light.mbtiles adirectory\n\n\n Import a directory into a `mbtiles` file\n\n mb-util-zyx directory World_Light.mbtiles\n\n## Requirements\n\n* Python `>= 2.6`\n\n## Metadata\n\nMBUtil ZYX 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)\n",
"bugtrack_url": null,
"license": "Copyright (c), Development Seed All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - Neither the name \"Development Seed\" nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ",
"summary": "MBUtil with ZYX scheme",
"version": "0.4.1",
"project_urls": {
"Homepage": "https://github.com/larsmaxfield/mbutil_zyx",
"Issues": "https://github.com/larsmaxfield/mbutil_zyx"
},
"split_keywords": [
"mbutil",
" zyx",
" vips",
" libvips",
" pyvips",
" dzsave"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "72b8c6520a443809a6f6a910f7b56ed927270f865d9f5ad1488705cb3d50642f",
"md5": "1d1ea58022fd6f396345f744aac9ddb6",
"sha256": "548afbb8b94e62abadded4c7071ede915b73da77d3142c6dd6a6dbda03cf3ae4"
},
"downloads": -1,
"filename": "mbutil_zyx-0.4.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1d1ea58022fd6f396345f744aac9ddb6",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3",
"size": 8437,
"upload_time": "2024-08-02T14:30:58",
"upload_time_iso_8601": "2024-08-02T14:30:58.848472Z",
"url": "https://files.pythonhosted.org/packages/72/b8/c6520a443809a6f6a910f7b56ed927270f865d9f5ad1488705cb3d50642f/mbutil_zyx-0.4.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "437d1f2db381bfac1348270c4f3c143c8bc7591671238b47326056565d989aa8",
"md5": "76df9fc06920601035c5f961bf8a3286",
"sha256": "ac4dfd534e537835d22218da8e2f83fa1cfcf4fcb3ca362433e54a83b69b1982"
},
"downloads": -1,
"filename": "mbutil_zyx-0.4.1.tar.gz",
"has_sig": false,
"md5_digest": "76df9fc06920601035c5f961bf8a3286",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3",
"size": 9027,
"upload_time": "2024-08-02T14:31:00",
"upload_time_iso_8601": "2024-08-02T14:31:00.002625Z",
"url": "https://files.pythonhosted.org/packages/43/7d/1f2db381bfac1348270c4f3c143c8bc7591671238b47326056565d989aa8/mbutil_zyx-0.4.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-02 14:31:00",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "larsmaxfield",
"github_project": "mbutil_zyx",
"travis_ci": true,
"coveralls": false,
"github_actions": true,
"lcname": "mbutil-zyx"
}