Routing · In development
Routing from one file, with a Valhalla-compatible API
geolith Routing is a routing engine with Valhalla-compatible endpoints: /route, /sources-to-targets, /isochrone, /trace-route, /trace-attributes, for auto, pedestrian and bicycle. It answers from the routing part of a .glx file that geolith's builder writes, read in ranges, so it needs no database. On Berlin its JSON responses are byte-identical to the reference engine (Valhalla 3.9.1) on every measured request.
Status · In development
In development, not deployed: there is no routing endpoint to call yet, on geolith.app or api.geolith.app, and no routing plan, price or key.
Definition
What is geolith Routing?
geolith Routing is a routing engine in development. The geolith builder turns OpenStreetMap into a road graph and writes it as the routing part of a .glx file; the router reads only the parts of that file a request touches and answers in Valhalla’s request and response shapes, on kebab-case paths. It is not deployed: there is no hosted endpoint, plan or key for it.
Detail
Status
Where routing stands on geolith/routing main. Nothing below is deployed.
Detail
Endpoints
Valhalla’s request and response bodies, on kebab-case paths (Valhalla’s /sources_to_targets is /sources-to-targets here).
Detail
How it works
One file, no database. The router keeps the tile index in memory and fetches only the blocks a request touches.
Detail
How it fits with search and tiles
The same builder writes all three. A .glx file holds parts: a search part for geolith Search and a routing part for routing. Vector tiles ship as .pmtiles. Search and tiles (India tile set today; planet tiles in development) are live at api.geolith.app today; routing is not.
Routing · In development · not deployed
Request shapes
Valhalla request bodies. ROUTER_HOST stands for a router you run; there is no hosted endpoint.
Routing · In development
Endpoints, traffic, self-hosting and accuracy
Solutions · In development
What routing is for
Questions
Routing: questions
No. There is no routing endpoint on geolith.app or api.geolith.app, no routing plan and no routing key. The hosted API offers geocoding and vector tiles (India tile set today; planet tiles in development) only.
There is no date. Nothing is offered until a deployed server answers real requests from files geolith builds and passes the 100-route gate: route length within 2% and duration within 5% on at least 95 of 100 routes, and no route the reference finds that geolith does not. Progress is tracked at https://docs.geolith.app/routing/status.
That is the design: the request and response bodies are Valhalla’s. Two things change: the base URL, and the paths, which are kebab-case (/sources-to-targets, /trace-route, /trace-attributes).
Sources
- Routing overview (in development), geolith docs (read 2026-11-08)
- Routing: status and roadmap, geolith docs (read 2026-11-08)
- Valhalla turn-by-turn API reference, Valhalla (open source, MIT) (read 2026-11-08)
Routing · In development
Follow routing progress.
Read how the router works today and what has to pass before it is deployed.