Documentation

Pelias-compatible geocoding

Geolith Search

Geocoding, autocomplete and reverse geocoding on Postgres and TIN. Learn the API, how ranking works, and how to run it yourself.

Capabilities

What you get

Pelias-compatible

Same endpoints, parameters and GeoJSON response shape as Pelias.

Postgres + TIN

PostGIS for geometry and the TIN extension for BM25 text search.

Ranked in the index

BM25 plus place importance, with a time budget on every query.

Four endpoints

Search, autocomplete, structured search and reverse geocoding.

Safe input

User text is tokenized, never parsed as query syntax, never logged.

One binary

A Rust axum service with a warmed Postgres connection pool.

Navigate

Jump into the docs