GridPin is an offline address geocoder (the engine is Apache-2.0): one file per country, no database to import. Version 0.10.0 came out on 22 November. What changed since my October post:
- It can stand in for a server you already call.
gridpin servenow answers in the formats of Photon, Pelias, the French BAN service and the US Census geocoder, besides Nominatim. You change the base URL in the client. - New data. Poland (8.63M addresses), New Zealand (2.43M) and all 16 German Länder. The US is covered since 0.5.
For example, geopy’s Photon class against your own machine:
gridpin serve poland.bin
from geopy.geocoders import Photon
g = Photon(domain="127.0.0.1:8080/photon", scheme="http")
print(g.geocode("Piotrkowska 100, Łódź").point)
Measured. Share of rows whose first answer is within 150 m of an independent reference point. Same queries for all three, public Photon and public Nominatim, an empty answer is a miss:
| Query set | Rows | GridPin | Photon | Nominatim |
|---|---|---|---|---|
| Poland, base-station sites | 1,000 | 67.5% | 44.7% | 31.0% |
| New Zealand, polling places | 1,000 | 88.8% | 70.2% | 25.6% |
| New Zealand, clean addresses | 2,000 | 85.7% | 84.3% | 75.8% |
| United States, clean addresses | 3,655 | 39.3% | 41.3% | 42.5% |
| Brazil, clean addresses | 2,376 | 23.3% | 25.5% | 17.3% |
Where it trails. Nominatim and Photon both lead on clean US addresses, and Photon leads on clean Brazilian ones and on the Spanish sets other than distorted addresses. On clean New Zealand addresses GridPin and Photon are level at 150 m, but within 50 m both services are well ahead: 643 rows for GridPin, 1,061 for Photon, 1,089 for Nominatim. All counts and the method: https://gridpin.dev/bench
Limits. Thirteen countries: Australia, Brazil, Canada, France, Germany, Italy, Mexico, the Netherlands, New Zealand, Poland, Serbia, Spain and the United States. Bavaria and New Zealand have no postcodes, because their sources carry none. In seven US states there are only address ranges, so those answers are interpolated. The build pipeline is public; the curated per-country rules inside the official files are not, so a file you build yourself runs on the engine’s defaults. The compatible routes are not complete copies; what differs is listed per format: https://gridpin.dev/docs#server
Disclosure: I maintain GridPin. The code, tests, benchmarks and this post were written with AI coding agents; I direct the work and make the decisions. Addresses it gets wrong are the most useful feedback.

