Routing · Self-hosting · In development
Self-host routing from one .glx file
A router needs one .glx file with a routing part and no database. The builder writes that file today. The router is a Rust library with a Cloudflare Worker app around it that reads the file from R2; the source is not public yet and there is nothing to download.
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.
Detail
The file
The builder writes the routing part from an OpenStreetMap extract.
Detail
Worker or server
Both open the file the same way: read the file header, find the routing part, keep the tile index in memory, and fetch blocks as a request needs them.
Guides
See it in code
Routing · In development
More on routing
Sources
- Self-hosting routing (planned), geolith docs (read 2026-11-08)
- RFC 9110 §14: Range Requests, IETF (read 2026-10-22)
Routing · In development
Follow routing progress.
Read how the router works today and what has to pass before it is deployed.