Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cartoload-0.1.0.tar.gz (194.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cartoload-0.1.0-py3-none-any.whl (229.4 kB view details)

Uploaded Python 3

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

Hashes for cartoload-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9f70736acc81eb67eb87cf3b069a9c1417bb1b7aedaf3c22baee5db47c9a1be9
MD5 0630953b1888fefb1ebec6f955c9b894
BLAKE2b-256 e45e6e2e3d78275b433c7d0fb058c87c54c26a0e4547acce96a2feb2a2d31cc5

See more details on using hashes here.

Provenance

The following attestation bundles were made for cartoload-0.1.0.tar.gz:

Publisher: publish.yml on burgdev/cartoload

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for cartoload-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aa6480cc848aadd09f035a0cf9fc33a20e3532fd211efd02feabece61adac2f8
MD5 0127b089707ed696f81a76090fd175ce
BLAKE2b-256 e5a2610d39f5df6932d9338d60803be64ffe6d6501002a81a1296d6e200e6830

See more details on using hashes here.

Provenance

The following attestation bundles were made for cartoload-0.1.0-py3-none-any.whl:

Publisher: publish.yml on burgdev/cartoload

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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