Tile Operation tool
Project description
tile-operator
usage
CLI
tile download
$ python to.py -v download https://tile.openstreetmap.jp/{z}/{x}/{y}.png tests/data/test.geojson 18
Tile Download
Options:
tile_url=https://tile.openstreetmap.jp/{z}/{x}/{y}.png
file_path=tests/data/test.geojson
zoom_level=18
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 30/30 [00:05<00:00, 5.11it/s]
help
$ python to.py --help
Usage: to.py [OPTIONS] COMMAND [ARGS]...
Tile operator v0.0.1
Options:
--version Show the version and exit.
-v, --verbose verbose mode
--help Show this message and exit.
Commands:
operate Tile Operation
python
- install
$ pip install git+https://github.com/nokonoko1203/tile-operator.git
from tile_operator.operate import TileOperate
to = TileOperate(
tile_url="https://tile.openstreetmap.jp/{z}/{x}/{y}.png",
file_path="tests/data/test.geojson",
zoom_level=18,
)
to.set_tile_list()
to.download_all_tiles()
test
$ pytest -qs tests
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tile_operator-0.0.1.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for tile_operator-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88f29729dab5837667b7b95e56a97417599e0408fa39276b0b2d0158399d4fcf |
|
MD5 | 7e62e43e4f0c5e54a5acf521720b4246 |
|
BLAKE2b-256 | 81c53945d5758397e0c55917448568fc97eefa63eee3930be96d576c27b79a1a |