geolith-cli 0.4.0

Rust vector tile generator — OSM + Overture Maps → protomaps PMTiles
Documentation

geolith-cli

Crates.io docs.rs Licence

The geolith command: one Rust program that turns OpenStreetMap and Overture Maps into PMTiles vector tiles, .glx geocoding and routing files, Terrain-RGB, 3D Tiles, raster basemaps and raster datasets, at planet scale, on one machine.

Install

Needs Rust 1.99 or later.

cargo install geolith-cli
geolith --version

The package is geolith-cli; the binary it installs is geolith.

Use

geolith --help

The full guide, with every flag and a planet build, is at docs.geolith.app/builder.

The builders are also libraries: geolith, geolith-tiles-builder, geolith-search-builder, geolith-routing-builder and geolith-dataset-builder.

Upgrading to 0.4

Things that behave differently from 0.3.x (the full list is in the CHANGELOG.md of this crate):

  • A build whose area touches Survey of India land stops unless it gets the Survey of India file (--india-boundary for tiles, --india-outline for search and routing). Without --bbox the area is the whole world.
  • No claim line (disputed, disputed_by, claimed_by) is drawn inside India, and a geocoding record there takes its admin parents only from Indian divisions.
  • Bad input stops the build instead of giving a smaller archive: an unreadable Parquet file, a missing or wrong geometry column, a data folder that lacks an Overture type with --reclaim-source-after-read, a bad flag value.
  • A caught geometry panic is counted (geometry failures: N features skipped) and the build fails above 100; release builds unwind, they do not abort.
  • Outputs carry the data credits, and --places-source does nothing.

Links

Licence

Source-available under FSL-1.1-ALv2: use, change and self-host freely, including commercially; offering it as a competing hosted service is not allowed. Each release becomes Apache-2.0 two years after it is published. Third-party notices are in NOTICE.md, which ships in this package.