r/gis • u/Alternative-Bike8120 • 58m ago
Projects & Feedback Geocode the planet (630M+ address records), indexed in 5 hours on a 9 GB RAM budget
[AI Disclosure] Used AI for coding assistance during development.
[GIS Experience] Software engineer; built this an internal tool for geocoding workflows.
I've been working on a self-hostable geocoding engine in Rust, built on open data. Instead of maintaining Elasticsearch clusters, it uses a single memory-mapped file.
It features forward and reverse geocoding, autocomplete, and batch requests.
Accuracy: Outperforms TomTom and OpenCage and comes within 3 points of Mapbox on MESSY STREETS (SIGSPATIAL 2026).
Real-world data: Tested against 76,000 addresses from official registers across 19 countries, with half deliberately corrupted. 95% resolve within 100 m and 91% within 25 m.
Speed: ~17 ms median lookup time across the global dataset. On a single-country dataset (the Netherlands), 0.72 ms per lookup and 14,087 req/s, compared with 2,194 for Photon and 2,323 for Pelias.
Size: The entire planet fits in a <30 GB file; Pelias in contrast requires approximately 450 GB and days of import.
Hardware: No database or cluster is required. The index is memory-mapped and runs on a single machine, including a laptop. There are no infrastructure costs while idle.
It also offers an SDK with drop-in response compatibility for supported Google, HERE, Mapbox, and Precisely APIs.
I've also made the prebuilt USA index available for free. No build required.
Try the live API:
https://opengeocode.com/docs/api/operations/autocomplete/
To See the vendor response formats:
https://opengeocode.com/docs/compatibility/
Download the USA index:
https://opengeocode.com/docs/guides/download-packs/
GitHub: https://github.com/open-geocode-rs/open-geocode
Not done yet. There's still plenty more to get right.
