Show HN: Geocode the planet(630M addresses), indexed in 5h on a 9 GB RAM budget ...
Show HN @show
Show HN: Geocode the planet(630M addresses), indexed in 5h on a 9 GB RAM budget github.com · 5 points · 0 comments · HN thread
TL;DR open-geocode is a self-hosted geocoding engine written in pure Rust, built on OpenStreetMap and OpenAddresses data. The README claims a full planet index (630.9M records, 26.3 GB file) builds in about 5h20m on a 24-core desktop within a 9 GB memory budget, and reports benchmark numbers against Photon, Pelias and Nominatim. The story has no comments yet.
- Forward, autocomplete, reverse and batch geocoding served from a single memory-mapped file, with no PostgreSQL or Elasticsearch to run.
- Netherlands benchmark against Photon and Pelias: 0.36 GB disk and 1.1 GiB RAM while serving, versus 3.94 GB/23.5 GiB for Photon and 7.00 GB/39.4 GiB for Pelias; forward p50 0.72 ms vs 2.0 ms and 4.7 ms.
- On the MESSY STREETS benchmark, the planet pack scores 100% CRR and 78.0% GH6 (within 0.6 km), behind Google Maps v3 (88.3%) and most commercial geocoders listed, and ahead of Photon (62.8%), Pelias (67.8%) and Nominatim (55.6%).
- 52 benchmark inputs were answered with a fallback area rather than a full address; full-answer CRR is 94.4%.
- Licensed under Apache 2.0; a build skips OpenAddresses datasets whose licences forbid commercial use unless a non-commercial flag is given. Docker images are published for amd64 and arm64.
Discussion No comments have been posted yet, so there is no thread to summarise. The story has 5 points and no discussion.