tileget
Tile download utility - easily download xyz-tile data.
Requirements
- Python >= 3.14
Installation
pip install tileget
Usage
usage: tileget [-h] [-e OUTPUT_DIR] [-o OUTPUT_FILE] [--extent EXTENT EXTENT EXTENT EXTENT]
[--geojson GEOJSON] [--minzoom MINZOOM] [--maxzoom MAXZOOM] [--rps RPS] [--overwrite]
[--timeout TIMEOUT] [--tms] [--retries RETRIES] [--retry-delay RETRY_DELAY]
[--format FORMAT]
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
-o, --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
--rps RPS requests per second, must be positive, default to 1
--overwrite overwrite existing files
--timeout TIMEOUT wait response until this value in seconds, default to 5.0
--tms if set, parse z/x/y as TMS
--retries RETRIES max retry count on error, default to 3
--retry-delay RETRY_DELAY
base delay in seconds for exponential backoff, default to 1.0
--format FORMAT tile format for mbtiles metadata (e.g. png, jpg, pbf). used when url has no extension
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
# with rate limiting and retry options
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 --rps 5 --retries 5 --retry-delay 2.0 --timeout 10 --overwrite
Metadata
Release files for tileget 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tileget-1.1.0.tar.gz | 5.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tileget-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.7 kB
Release files / tileget-1.1.0.tar.gz
| Download URL | tileget-1.1.0.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
04e4cce3297e74d7173bd0528a3a11a991ac6e334a93b5dbf7fe2162023de87f
|
|
BLAKE2b-256 checksum How to use checksums |
1256a90d7ad4d23c3a24c55e80771444048e4c33c782a8e9aba7c4c3aa673c2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.10 {"installer":{"name":"uv","version":"0.11.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / tileget-1.1.0-py3-none-any.whl
| Download URL | tileget-1.1.0-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
19bebef3dcee8a750c570211a483980974a5d41f18f6e04d3a0de3359e716e65
|
|
BLAKE2b-256 checksum How to use checksums |
be9d2beaf02de35be9e23736ad7b86c0d55fc1b3f77a294d86c8dec09d3cfd57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.10 {"installer":{"name":"uv","version":"0.11.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|