Convert raster geodata into GPS raser device maps
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cartoload-0.1.0.tar.gz.
File metadata
- Download URL: cartoload-0.1.0.tar.gz
- Upload date:
- Size: 194.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f70736acc81eb67eb87cf3b069a9c1417bb1b7aedaf3c22baee5db47c9a1be9
|
|
| MD5 |
0630953b1888fefb1ebec6f955c9b894
|
|
| BLAKE2b-256 |
e45e6e2e3d78275b433c7d0fb058c87c54c26a0e4547acce96a2feb2a2d31cc5
|
Provenance
The following attestation bundles were made for cartoload-0.1.0.tar.gz:
Publisher:
publish.yml on burgdev/cartoload
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cartoload-0.1.0.tar.gz -
Subject digest:
9f70736acc81eb67eb87cf3b069a9c1417bb1b7aedaf3c22baee5db47c9a1be9 - Sigstore transparency entry: 1965818738
- Sigstore integration time:
-
Permalink:
burgdev/cartoload@9a5347e087f3a86d10954d06aaa3587bd12f2494 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/burgdev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9a5347e087f3a86d10954d06aaa3587bd12f2494 -
Trigger Event:
repository_dispatch
-
Statement type:
File details
Details for the file cartoload-0.1.0-py3-none-any.whl.
File metadata
- Download URL: cartoload-0.1.0-py3-none-any.whl
- Upload date:
- Size: 229.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa6480cc848aadd09f035a0cf9fc33a20e3532fd211efd02feabece61adac2f8
|
|
| MD5 |
0127b089707ed696f81a76090fd175ce
|
|
| BLAKE2b-256 |
e5a2610d39f5df6932d9338d60803be64ffe6d6501002a81a1296d6e200e6830
|
Provenance
The following attestation bundles were made for cartoload-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on burgdev/cartoload
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cartoload-0.1.0-py3-none-any.whl -
Subject digest:
aa6480cc848aadd09f035a0cf9fc33a20e3532fd211efd02feabece61adac2f8 - Sigstore transparency entry: 1965819066
- Sigstore integration time:
-
Permalink:
burgdev/cartoload@9a5347e087f3a86d10954d06aaa3587bd12f2494 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/burgdev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9a5347e087f3a86d10954d06aaa3587bd12f2494 -
Trigger Event:
repository_dispatch
-
Statement type: