geolith-cli 0.4.2

Rust vector tile generator — OSM + Overture Maps → protomaps PMTiles
Documentation
# geolith-cli

[![Crates.io](https://img.shields.io/crates/v/geolith-cli?style=flat-square&logo=rust)](https://crates.io/crates/geolith-cli)
[![docs.rs](https://img.shields.io/docsrs/geolith-cli?style=flat-square&logo=docsdotrs)](https://docs.rs/geolith-cli)
[![Licence](https://img.shields.io/badge/licence-FSL--1.1--ALv2-blue?style=flat-square)](https://fsl.software/)

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.

```bash
cargo install geolith-cli
geolith --version
```

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

## Use

```bash
geolith --help
```

The full guide, with every flag and a planet build, is at
[docs.geolith.app/builder](https://docs.geolith.app/builder).

The builders are also libraries:
[`geolith`](https://crates.io/crates/geolith),
[`geolith-tiles-builder`](https://crates.io/crates/geolith-tiles-builder),
[`geolith-search-builder`](https://crates.io/crates/geolith-search-builder),
[`geolith-routing-builder`](https://crates.io/crates/geolith-routing-builder) and
[`geolith-dataset-builder`](https://crates.io/crates/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

- Website: [geolith.app]https://geolith.app
- Docs: [docs.geolith.app/builder]https://docs.geolith.app/builder

## Licence

Source-available under [FSL-1.1-ALv2](https://fsl.software/): 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.