Hacker News
Hyper-optimized reverse geocoding API
46 points by tananaev
ago
|
12 comments
tananaev
|next
[-]
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.
KomoD
|next
|previous
[-]
> docker run -e PBF_URLS="https://download.geofabrik.de/planet-latest.osm.pbf"
Geofabrik doesn't offer a "planet" pbf.
supriyo-biswas
|next
|previous
[-]
I don’t get the point in writing another geocoder when such programs already exist, e.g: https://pelias.io/
macrolet
|next
|previous
[-]
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.