Hyper-optimized reverse geocoding API
tananaev
61 points
12 comments
March 19, 2026
Related Discussions
Found 5 related stories in 86.0ms across 8,303 title embeddings via pgvector HNSW
- GeoJSON tosh · 153 pts · May 08, 2026 · 49% similar
- Free IP Geolocation Database todsacerdoti · 14 pts · March 02, 2026 · 48% similar
- OpenTrafficMap moooo99 · 198 pts · April 29, 2026 · 45% similar
- Fast-Servers tosh · 104 pts · March 05, 2026 · 45% similar
- Accelerate – Embedded language for high-performance array computations tosh · 82 pts · May 16, 2026 · 39% similar
Discussion Highlights (5 comments)
tananaev
Self-hosted reverse geocoder with sub-millisecond query latency. C++ builder parses OSM PBF files into a compact binary index using S2 geometry cells. Rust server memory-maps the index and serves a Nominatim-compatible API. Docker support with automatic HTTPS.
majorchord
I just want a regular (non-reverse) geocoding system that's actually easy to self-host. Windows CE apps were doing this 20 years ago with single file databases of only a few GBs, why do I need a 500GB+ postgres monster to do the same thing today?
macrolet
Great. But look at the query feature of OSM. Try it. At higher zoom levels like 15, querying for features at the same coordinates as your example reveals nearby features. Like hotel buildings, post offices, recycling points, etc. The nominatin format is not enough. What is more, an extended feature set could be used together with an LLM. I am very interested in that, so, feel free to reach out to me if you want to discuss more.
supriyo-biswas
I don’t get the point in writing another geocoder when such programs already exist, e.g: https://pelias.io/
KomoD
> docker run -e PBF_URLS=" https://download.geofabrik.de/planet-latest.osm.pbf " Geofabrik doesn't offer a "planet" pbf.