Skip to content
LocusQ

TileGen

What it is

Builds an OpenMapTiles basemap and a 3D overlay as PMTiles from any OSM PBF with Planetiler, and seals them into encrypted .lqtiles for Pro.

<name>-base.pmtiles uses the OpenMapTiles 3.16 profile at zoom 0–14, with render_height on buildings for 3D. <name>-overlay.pmtiles adds enriched 3D buildings and trees at zoom 13–14. The PBF can come from pg2osm or a Geofabrik extract.

secure reads one 32-byte key from LOCUSQ_STORAGE_KEY, never from a flag, a config file or an archive, and writes .lqtiles. verify --kind sealed decrypts the archive and compares it with the open source.

verify checks structure, layers and the exact zoom range, and writes a size report per layer and zoom. An existing output that passes pmtiles verify is skipped unless you pass --force.

Install

The repositories and packages are private while LocusQ is in private release. Ask for access and say which tools you need.

Build the image

The image builds on first use. Its cargo fetch step needs an SSH agent with access to the private locusq-core repository; the image keeps no key.

bash
docker build --ssh default --target runtime -t locusq-tilegen:local .

Build tiles for an area

Pass a Geofabrik area name, or --pbf with a file you already have. bin/locusq-tilegen --help lists every flag.

bash
bin/locusq-tilegen basemap --area <geofabrik-name>

Minimal usage

Build the base and overlay tilesets from a PBF you have, then check the result:

bash
bin/locusq-tilegen all     --pbf data/some.osm.pbf --name some
bin/locusq-tilegen verify  output/some-base.pmtiles --kind basemap

Product page: TileGen. Release notes: Changelog.