Pelias-compatible geocoding
Geocoding, autocomplete and reverse geocoding on Postgres and TIN. Learn the API, how ranking works, and how to run it yourself.
Capabilities
Same endpoints, parameters and GeoJSON response shape as Pelias.
PostGIS for geometry and the TIN extension for BM25 text search.
BM25 plus place importance, with a time budget on every query.
Search, autocomplete, structured search and reverse geocoding.
User text is tokenized, never parsed as query syntax, never logged.
A Rust axum service with a warmed Postgres connection pool.
Navigate
What geolith search is, a first request, and configuration.
Read moreEvery endpoint, parameter, response field and error.
Read moreHow ranking, focus points, budgets and reverse geocoding work.
Read moreBuild the database, create the indexes and run the service.
Read more