cartoload
Convert raster geodata into Garmin GPS raster maps (*.img).
cartoload is an open-source CLI tool and Python library that converts geodata from WMTS or GeoTIFF source into raster maps for Garmin GPS devices. It is the pipeline engine behind the Cartoload service, but is fully usable standalone.
Installation
pip install cartoload
or just run it with uvx
uvx cartoload --help
Quick Start
# Build a layer from example configs
cartoload build \
--sources examples/configs/sources/swisstopo.yaml \
--layers examples/configs/layers/switzerland.yaml \
--layer ch_basemap_25k
Usage as a Library
from cartoload.config import SourceConfig, LayerConfig
from cartoload.pipeline import build_layer
source = SourceConfig(id="my_source", type="wmts", url_template="...")
layer = LayerConfig(id="my_layer", name="My Layer", source="my_source")
output_path = await build_layer(layer, cache_dir="/tmp/cache")
Documentation
Full documentation is available at burgdev.github.io/cartoload.
Development
git clone https://github.com/burgdev/cartoload.git
cd cartoload
uv sync --all-groups
just test
Docker Build
just docker build [--mkgmap]
./cartoload-docker build -c config.yaml -l my_layer # server image
./cartoload-docker --local build -c config.yaml -l my_layer # local image
./cartoload-docker --local --mkgmap build ... # local mkgmap image
License
LGPL - see LICENSE file.
Metadata
Release files for cartoload 0.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 | Provenance | Actions |
|---|---|---|---|---|
| cartoload-0.1.0.tar.gz | 194.3 kB | With provenance | Details for cartoload-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cartoload-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for cartoload-0.1.0-py3-none-any.whl |
Total release size: 423.7 kB
Release files / cartoload-0.1.0.tar.gz
| Download URL | cartoload-0.1.0.tar.gz |
|---|---|
| Size | 194.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9f70736acc81eb67eb87cf3b069a9c1417bb1b7aedaf3c22baee5db47c9a1be9
|
|
BLAKE2b-256 checksum How to use checksums |
e45e6e2e3d78275b433c7d0fb058c87c54c26a0e4547acce96a2feb2a2d31cc5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 26, 2026.
Transparency logRelease files / cartoload-0.1.0-py3-none-any.whl
| Download URL | cartoload-0.1.0-py3-none-any.whl |
|---|---|
| Size | 229.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aa6480cc848aadd09f035a0cf9fc33a20e3532fd211efd02feabece61adac2f8
|
|
BLAKE2b-256 checksum How to use checksums |
e5a2610d39f5df6932d9338d60803be64ffe6d6501002a81a1296d6e200e6830
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 26, 2026.
Transparency logSecurity for cartoload 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for cartoload-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 26, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.