Skip to main content

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: __main__.py [-h] [-e OUTPUT_DIR] [-o OUTPUT_FILE] [--extent EXTENT EXTENT EXTENT EXTENT] [--geojson GEOJSON] [--minzoom MINZOOM] [--maxzoom MAXZOOM] [--interval INTERVAL] [--overwrite] [--timeout TIMEOUT] [--tms]
                   tileurl

xyz-tile download tool

positional arguments:
  tileurl               xyz-tile url in {z}/{x}/{y} template

options:
  -h, --help            show this help message and exit
  -e OUTPUT_DIR, --output_dir OUTPUT_DIR
                        output dir
  -o OUTPUT_FILE, --output_file OUTPUT_FILE
                        output mbtiles file
  --extent EXTENT EXTENT EXTENT EXTENT
                        min_lon min_lat max_lon max_lat, whitespace delimited
  --geojson GEOJSON     path to geojson file of Feature or FeatureCollection
  --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 miliseconds in integer, default to 5000
  --tms                 if set, parse z/x/y as TMS

examples

# basic usage
tileget http://path/to/tile/{z}/{x}/{y}.jpg -e output_dir --extent 141.23 40.56 142.45 43.78
tileget http://path/to/tile/{z}/{x}/{y}.jpg -o output.mbtiles --geojson input.geojson

# optional arguments
tileget http://path/to/tile/{z}/{x}/{y}.jpg -e output_dir --extent 141.23 40.56 142.45 43.78 --minzoom 0 --maxzoom 16 --interval 500 --timeout 5000 --overwrite

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.4.2.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

tileget-0.4.2-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file tileget-0.4.2.tar.gz.

File metadata

  • Download URL: tileget-0.4.2.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.4

File hashes

Hashes for tileget-0.4.2.tar.gz
Algorithm Hash digest
SHA256 a863c3ba605eca738d1049a713157fc32810c1935d622a039b2a6b0d380889e6
MD5 c1304028213f14aac09a022d7195b389
BLAKE2b-256 abeb47f1832ebc456b2b71d20485cd4fef3430c4d4e58fc72a68b0bdf4ff967b

See more details on using hashes here.

File details

Details for the file tileget-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: tileget-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.4

File hashes

Hashes for tileget-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6df2183a662f108c265acdf9880709744b8715fc098648143692617525104169
MD5 3faf3b21505062285ed117ea2562b59d
BLAKE2b-256 14ec13e4a9f5c5e255226df929128d1097919390d6051fb561ed802809713310

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page