Tile download utility - easily download xyz-tile data
Project description
tileget
Tile download utility - easily download xyz-tile data.
installation
pip install tileget
usage
usage: tileget [-h] [--extent EXTENT EXTENT EXTENT EXTENT]
[--geojson GEOJSON] [--minzoom MINZOOM] [--maxzoom MAXZOOM]
[--interval INTERVAL] [--overwrite] [--timeout TIMEOUT]
[--parallel PARALLEL]
tileurl output_dir
xyz-tile download tool
positional arguments:
tileurl xyz-tile url in {z}/{x}/{y} template
output_dir output dir
optional arguments:
-h, --help show this help message and exit
--extent EXTENT EXTENT EXTENT EXTENT
min_lon min_lat max_lon max_lat, whitespace delimited
--geojson GEOJSON path to geojson file to get tile covered by features
--minzoom MINZOOM default to 0
--maxzoom MAXZOOM default to 16
--interval INTERVAL time taken after each-request, set as miliseconds in
interger, default to 500
--overwrite overwrite existing files
--timeout TIMEOUT wait response until this value, set as seconds in
integer, default to 5
--parallel PARALLEL num of parallel requests
examples
get tiles in extent [141.23 40.56 142.45 43.78] and in zoomlevels 0-12
tileget https://cyberjapandata.gsi.go.jp/xyz/seamlessphoto/{z}/{x}/{y}.jpg ./output_dir --extent 141.23 40.56 142.45 43.78 --maxzoom 12
parallel download - 4 threads, zoomlevels 5-13
tileget https://cyberjapandata.gsi.go.jp/xyz/seamlessphoto/{z}/{x}/{y}.jpg ./output_dir --extent 141.23 40.56 142.45 43.78 --minzoom 5 --maxzoom 13 --parallel 4
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
tileget-0.3.1.tar.gz
(3.8 kB
view hashes)