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.
pip install cartoloador just run it with uvx
uvx cartoload --help# Build a layer from example configs
cartoload build \
--sources examples/configs/sources/swisstopo.yaml \
--layers examples/configs/layers/switzerland.yaml \
--layer ch_basemap_25kfrom 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")Full documentation is available at burgdev.github.io/cartoload.
git clone https://github.com/burgdev/cartoload.git
cd cartoload
uv sync --all-groups
just testjust 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 imageLGPL - see LICENSE file.