v0.8.0 docs · things may still move · contact@gridpin.dev

Documentation

Everything you need to go from an empty directory to millisecond, fully offline geocoding: one engine, a data file per country (a few regions add a small companion file), and every way to call it, listed below.

Quick start

Get started in 5 minutes

GridPin is an offline geocoder: a country in a memory-mapped file (most are a single file; some regions add a small companion, POI is separate), forward and reverse lookups in milliseconds. Throughput is entirely query-shape dependent — exact lookups run at ~3,000/s per core and reverse at ~1,800/s, while typo-tolerant fuzzy matching is much slower (tens of ms per query); see the benchmarks. No server, no database import; once the files are on disk, no query leaves your machine. To look before installing, open the live demo (it runs on Streamlit's server).

1

Download a sheet

A sheet is a data file per country — France is a single 365 MB file with 26.1M addresses; most countries are one file, though a few regional datasets add a small companion and the optional POI layer is separate. Put it anywhere on disk.

2

Grab the CLI

One self-contained binary from the releases page — download, unpack, put on PATH (see Install below). It memory-maps the sheet on first use and is ready instantly.

3

Query

Forward, reverse, or batch. Every query runs on your machine; not a byte of what you geocode leaves it.

Install

CLI. Prebuilt self-contained binaries for Linux x86_64 (x86_64-unknown-linux-gnu), macOS Apple Silicon (aarch64-apple-darwin) and Windows x86_64 (x86_64-pc-windows-msvc) are attached to every GitHub release; any other target (Intel macOS, Linux arm64/musl, Windows arm) builds from source:

terminal
# macOS (Apple silicon) example; pick your platform archive
$ base=https://github.com/gridpin/gridpin/releases/download/v0.8.0
$ curl -fsSLO "$base/gridpin-aarch64-apple-darwin.tar.gz"
$ curl -fsSLO "$base/gridpin-release-signers"
$ curl -fsSLO https://dl.gridpin.dev/v0.8.0/attestation.json
$ curl -fsSLO https://dl.gridpin.dev/v0.8.0/attestation.json.sig
# unpacking runs its contents sooner or later — authenticate first. The trust root comes
# from the OTHER channel: whoever owns one can swap the archive AND its checksum line.
$ ssh-keygen -Y verify -f gridpin-release-signers -I gridpin-release \
    -n gridpin-g02 -s attestation.json.sig < attestation.json \
    || { echo "signature does not verify — STOP"; exit 1; }
# extract the EXPECTED hash from the attestation you just authenticated, then COMPARE.
# Printing a hash is not a check: something has to fail when it differs.
$ want=$(python3 -c 'import json;print([a["sha256"] for a in json.load(open("attestation.json"))["assets"] if a["name"]=="gridpin-aarch64-apple-darwin.tar.gz"][0])')
$ test "$want" = "$(shasum -a 256 gridpin-aarch64-apple-darwin.tar.gz | cut -d' ' -f1)" \
    || { echo "archive does not match the signed attestation — STOP"; exit 1; }
$ tar xzf gridpin-aarch64-apple-darwin.tar.gz && sudo mv gridpin /usr/local/bin/
$ gridpin --help

# or build from source (stable Rust)
$ cargo build --release --manifest-path gridpin/Cargo.toml

Python. pip install gridpin

DuckDB. Two ways to get gridpin_ext:

duckdb
-- 1. from DuckDB's own community catalog, which signs and verifies the extension
-- there; that trust root is DuckDB's, not ours. The current release needs DuckDB 1.5.6 or newer;
-- older DuckDB versions install an older build:
INSTALL gridpin_ext FROM community;
LOAD gridpin_ext;
-- the catalog can lag our releases: Germany needs 0.2.0+, Spain needs 0.3.0+, Brazil needs 0.4.0+, the United States needs 0.5.0+, Canada needs 0.6.0+, Mexico needs 0.7.0+, Australia needs 0.8.0+
SELECT extension_version FROM duckdb_extensions() WHERE extension_name = 'gridpin_ext';
duckdb
# 2. when the catalog is unreachable, or for the current release on DuckDB 1.5.5: download
# gridpin_ext-<platform>.zip from the releases page. It is built for DuckDB 1.5.5 only.
# It is loadable code, so authenticate it BEFORE loading — see "Verifying a release"
# in the README; the trust root comes from the other channel, never from the download.
$ ssh-keygen -Y verify -f gridpin-release-signers -I gridpin-release \
    -n gridpin-g02 -s attestation.json.sig < attestation.json \
    || { echo "signature does not verify — STOP"; exit 1; }
$ want=$(python3 -c 'import json;print([a["sha256"] for a in json.load(open("attestation.json"))["assets"] if a["name"]=="gridpin_ext-osx_arm64.zip"][0])')
$ test "$want" = "$(shasum -a 256 gridpin_ext-osx_arm64.zip | cut -d' ' -f1)" \
    || { echo "extension does not match the signed attestation — STOP"; exit 1; }
# The file inside is named gridpin_ext.duckdb_extension — keep that name: DuckDB derives
# the entry symbol from the file's basename, so it must load as gridpin_ext.
$ unzip gridpin_ext-osx_arm64.zip
$ duckdb -unsigned
duckdb
LOAD '/path/to/gridpin_ext.duckdb_extension';

Forward geocoding

Address in, ranked candidates out. -k sets how many candidates you want.

terminalCLI
$ gridpin query france.bin "1 rue de la Paix Paris" -k 3

Reverse geocoding

Coordinates in, nearest known address out — with a precision flag and its distance, so an approximate hit is never dressed up as exact.

terminalCLI
$ gridpin reverse france.bin 48.8686 2.3305

Batch mode and spreadsheets

JSON Lines in ({"q": "1 rue de la Paix Paris"} per line), JSON Lines out ({"results": […candidates…]} per line, order preserved). This is the fastest path for large jobs.

terminalCLI
$ gridpin batch france.bin in.jsonl out.jsonl -k 1

A .csv, .tsv or .tab file comes back with all its columns plus gp_lat, gp_lon, gp_precision, gp_confidence, gp_weak, gp_street, gp_housenumber, gp_postcode, gp_commune, gp_region. The address column is address, query or q, or name it with --column (several columns are joined with a comma). Every row stays, in order; a row without an answer keeps empty gp_* cells. Input must be UTF-8 (in Excel: Save As → CSV UTF-8). -k 3 gives up to three rows per address with gp_rank.

terminalCSV
$ gridpin batch usa.bin addresses.csv geocoded.csv
$ gridpin batch usa.bin orders.csv geocoded.csv --column "street,city,zip" --delimiter ";"

Local server

gridpin serve usa.bin listens on 127.0.0.1:8080. GET /v1/geocode?q=… answers {"results": [...]}, the same JSON as one line of gridpin batch; POST /v1/geocode takes {"queries": [...]} (up to 10 000). GET /search, /reverse and /status answer in the Nominatim format (json, jsonv2, geojson), so geopy and Leaflet Control Geocoder work with a changed base URL. What differs from Nominatim: no osm_type/osm_id, no polygons, no XML, one country per process. /health reports the sheet and turns ok once the start-up warming is done (about 20 s on the United States file). Recipe with geopy: a local geocoding server; in a container: Docker.

terminalCLI
$ gridpin serve usa.bin --port 8080

Sheets

gridpin sheets list, gridpin sheets where [cc], gridpin sheets verify [cc|file], gridpin sheets fetch cc [--offline]: the cache folder is shared with gridpin-mcp (GRIDPIN_HOME, $XDG_CACHE_HOME/gridpin, ~/.cache/gridpin), downloads go through the system curl, and GRIDPIN_OFFLINE=1 keeps everything local.

Parse and compare addresses

gridpin parse usa.bin "<address>" prints how the engine reads the line; gridpin same usa.bin "<a>" "<b>" says whether two lines name the same place, and --pairs in.jsonl out.jsonl does it for a file of {"a", "b"} lines. From Python: Geocoder.parse and Geocoder.same_address. The level is house, street, commune, different or unknown; house is given only when neither answer is weak, and when a line has no answer the verdict carries a text comparison instead.

Observed on Wikidata pairs: a clean address and its mechanically distorted copy (same place), and 3,000 pairs of different addresses in one commune (truth farther apart than 150 m). Engine 09238e49 (0.7.0), 2026-11-01.

CountrySame-place pairshousestreetunknownDifferent-place pairscalled house
United States3,65553.8%23.5%19.5%3,0001
Canada2,78556.2%33.0%9.6%3,0000
France2,31736.0%35.8%23.7%3,0001
Italy2,53537.2%35.7%20.2%3,0000
Spain1,59128.2%21.3%35.6%3,0002
Mexico90915.8%13.1%59.0%3,0000
Netherlands4,22261.6%12.2%19.2%3,0001
Brazil2,37629.7%13.3%44.3%3,0002
Serbia67138.7%10.1%50.7%3,0002
Which sheet? United States 1.45 GB / 95.33M point addresses + 34.52M range points (Overture: NAD and state and county open data; Census TIGER/Line 2025 address ranges; one nationwide sheet, point addresses in 35 states — see the state table in the sheet passport) · Canada 183 MB / 16.94M (Overture: Statistics Canada National Address Register, Adresses Québec, Yukon; one nationwide sheet; answers carry the Canadian postal code) · Germany 213 MB / 19.27M (Overture/OpenAddresses, 15 of 16 Länder) · France 365 MB / 26.1M addresses (BAN registry) · Italy 247 MB / 25.9M (Overture/ANNCSU) · Spain 185 MB / 15.27M (Overture/CartoCiudad, all 52 postal provinces) · Australia 130 MB / 11.92M (Overture: G-NAF via OpenAddresses; one nationwide sheet including the external territories) · Mexico 156 MB / 14.14M (Overture: INEGI address layer via AddressForAll, surveyed 2009–2010; one nationwide sheet; answers carry the postal code where the source has one) · Netherlands 103 MB / 9.9M (Overture/BAG) · Brazil 677 MB / 67.19M (Overture / IBGE CNEFE 2022, one nationwide sheet) · Serbia 32 MB / 2.6M (Overture/RGZ). Germany: Bavaria is not covered. In local spot checks, Bavarian queries typically returned a distant same-named address with low confidence; less often, an empty answer. Neither outcome establishes coverage. These spot checks illustrate failure modes, not population rates. There is no Germany POI layer. The free tier ships static builds of all available countries; monthly updates are subscriber-only. Client update required: use GridPin 0.8.0 for Australia; older engines lack the Australian rules ("3/45 Smith St" units, four-digit postcodes that read like house numbers, "25 Mitchell St, Darwin NT 800" without the leading zero, house ranges, "Sydney NSW 2000" and a postcode alone as a place, a place name before the address). Use 0.7.0 or newer for Mexico; older engines lack the Mexican rules ("06700 Cuauhtémoc, CDMX" tails, Mexico City codes written without the leading zero, "#" and "C.P." marks, "s/n" addresses, typeless streets under a bare postal code). Use 0.6.0 or newer for Canada (older engines lack the Canadian rules: place written before the address, Edmonton and Calgary quadrants, French street types in front, "A9A 9A9" postal codes), 0.5.0 or newer for the United States (older engines lack the US rules: trailing street types, directions, ZIP+4, state tails) and 0.4.0 or newer for Brazil. Data notice: the Open G-NAF licence does not allow using this data to compile addresses for sending mail unless each address is verified against a second source. For an existing Python installation: pip install --upgrade gridpin==0.8.0. Links on this page target the v0.8.0 release and its attestation. The previous v0.1.0 to v0.5.0 releases remain unchanged.
Python

Python

The same engine as a wheel. Exact lookups run at ~3,000/s per core from Python; use geocode_many(), the CLI batch mode, or DuckDB to spread messy input across cores.

terminalpip
$ pip install gridpin

With pandas: pip install "gridpin[pandas]", then gridpin.sheets.fetch("us"), gridpin.geocode_df(df, "address", "us") (or df.gridpin.geocode(...)) and gridpin.reverse_df(df, "us"); the gp_* columns are the same as in gridpin batch CSV and gp_geocode_df in R. gridpin.sheets.list / path / verify / fetch use the same cache and checks as gridpin sheets. Without extras the wheel still has no dependencies; [geopy] adds the geopy class.

To fetch a sheet in one step, add gridpin-mcp: gridpin-fetch fr downloads the France sheet into ~/.cache/gridpin, checks its size and SHA-256 against the signed release, and prints the path; gridpin_mcp.sheets.download("fr") does the same from Python. Country codes: br de es fr it nl rs.

geocode.pyPython
import gridpin

g = gridpin.Geocoder("france.bin")   # mmap, opens instantly

# forward: query, k candidates
hits = g.geocode("1 rue de la Paix Paris", 1)

# reverse: lat, lon, k candidates
addr = g.reverse(48.8686, 2.3305, 1)

# exact lookups ~3,000/s per core

Results are plain objects with the same fields as the JSON response format below.

DuckDB

DuckDB extension

Geocode whole tables without leaving SQL. Load the extension, point it at a sheet, and call scalar functions in your queries.

duckdbSQL
LOAD gridpin_ext;
SELECT gridpin_load('france.bin');

-- forward: one JSON result per row
SELECT gridpin_geocode(address) FROM orders;

-- reverse: nearest address per coordinate pair
SELECT gridpin_reverse(lat, lon) FROM pings;

Both functions return the standard JSON response as a string; unpack fields with DuckDB's json_extract or the ->> operator.

Switching sheets. One index per session. Loading the same sheet again is a no-op; loading a different sheet is a hard error — it never silently replaces the loaded index. Switch explicitly with gridpin_reset(), which must be its own statement, then load the new sheet:

duckdbSQL
SELECT gridpin_load('france.bin');  -- index loaded
SELECT gridpin_load('italy.bin');   -- ERROR: 'italy.bin' while 'france.bin' is loaded; run gridpin_reset()
SELECT gridpin_reset();             -- index unloaded
SELECT gridpin_load('italy.bin');   -- index loaded
AI agents

MCP server

gridpin-mcp exposes GridPin to AI agents over the Model Context Protocol. It runs on the user's machine over stdio; geocoding never leaves it, and the only network step is the one-time sheet download, checked against the signed release.

terminalClaude Code
$ claude mcp add gridpin -- uvx gridpin-mcp
mcp.jsonClaude Desktop, Cursor, …
{ "mcpServers": { "gridpin": { "command": "uvx", "args": ["gridpin-mcp"] } } }

Tools: list_countries, download_sheet (the only one that uses the network), geocode, reverse and batch (up to 1,000 addresses per call). Results have the response format below. The server is listed in the MCP Registry as io.github.gridpin/gridpin-mcp; source in mcp/.

Interfaces

All ways to use it

One engine and the same country files behind every interface. Each one is described on this page or on its own guide; pick the one that matches where your addresses are.

Every recipe and every country page: guides.

R

The R package gridpin from R-universe: binary packages for Windows and macOS, a Rust build from source elsewhere. Answers carry precision, confidence and weak; sf = TRUE returns sf points. Recipe with DuckDB and sf: offline geocoding in R.

RR
install.packages("gridpin", repos = c("https://gridpin.r-universe.dev", "https://cloud.r-project.org"))
library(gridpin)
gp_download("us")   # once: fetched and checked against the release checksums
gp_geocode("1600 Pennsylvania Ave NW, Washington, DC 20500", "us")

Node.js

npm install gridpin (Node.js 18 or newer) brings the engine for Linux x64 and arm64, macOS on Apple silicon and Windows x64; no build step. sheets.fetch downloads a country once and checks it against the signed release; the cache folder is shared with the CLI and gridpin-mcp.

geocode.jsNode.js
const { Geocoder, sheets } = require("gridpin");

const g = new Geocoder(await sheets.fetch("us"));
g.geocode("1600 Pennsylvania Ave NW, Washington, DC", { k: 1 });
g.geocodeMany(["233 S Wacker Dr, Chicago", "350 5th Ave, New York"]);   // one list per row
g.reverse(38.8977, -77.0365);

QGIS

The GridPin Geocoder plugin (QGIS 3.44 or newer): Plugins → Manage and Install Plugins → Settings → Show also experimental plugins, then search “GridPin”. Processing → GridPin → Download country sheet, then Geocode address field turns any layer or table into points (rows without a match keep no geometry); the locator bar answers gp <address>. The plugin version in the catalog may trail a release by a few days; it lists the countries it knows.

LangChain

pip install langchain-gridpin gives two tools, GridPinGeocode and GridPinReverse, for any chat model with tool calling; the answers are the response format below, and nothing leaves the machine.

tools.pyPython
from langchain_gridpin import GridPinGeocode, GridPinReverse, download_sheet

download_sheet("us")   # once
GridPinGeocode(country="us").invoke({"query": "1600 Pennsylvania Ave NW, Washington, DC 20500"})

Docker

One image per country with the file inside, and an engine image for a file you mount; the server inside is gridpin serve on port 8080. Tags, compose and the engine image: offline geocoding in Docker.

terminalDocker
$ docker run --rm -p 127.0.0.1:8080:8080 ghcr.io/gridpin/gridpin:us

Rust

The engine is the gridpin crate: cargo add gridpin, API reference on docs.rs. The crate also installs the command-line program: cargo install gridpin.

Reference

Response format

Every interface — CLI, Python, DuckDB, MCP — returns the same result shape. One object per candidate, best match first.

resultJSON
{
  "lat": 48.8686,
  "lon": 2.3305,
  "precision": "house",
  "score": 412.0,          // illustrative values
  "confidence": 0.84,
  "street": "Rue de la Paix",
  "housenumber": "5",
  "commune": "Paris 2e Arrondissement",
  "postcode": "75002",
  "flags": ["street_exact", "commune_prefix", "house_rep"],
  "weak": false
}
FieldTypeMeaning
lat, lon float WGS84 coordinates of the pin.
precision enum How exact the pin is: house — forward: exact point for the requested house number; reverse: the nearest house is within 50 m interp — interpolated along the street between known numbers near — forward: snapped to the nearest known number on the street; reverse: the nearest house is 50–250 m from your point street — street-level match, no usable house number city — locality-level match only approximate — reverse only: the nearest known house is more than 250 m away
score float Raw ranking score used to order candidates. Comparable within one query, not across queries.
confidence float 0..1 Ordering estimate 0..1; on some sheets a higher band is not more accurate (see Confidence bands). For a cut-off, use weak.
weak bool true when the engine itself says the answer needs a check before use: city level, confidence below 0.30, or a fuzzy street below 0.60. An exact house on an exact street is never weak.
street string Matched street name, as stored in the sheet (forward and reverse alike — the house number is never glued into it).
housenumber string, optional House number with its suffix ("27", "12bis"). Present when a house is resolved: forward exact/near answers report the stored matched number, interpolation reports the requested number, and reverse reports the nearest house. Omitted for street/city-only answers.
commune string Matched municipality / locality.
postcode string Postal code of the matched address, when the source data has one.
flags string[] Match explanation (street_exact/street_fuzzy, commune_exact/commune_prefix, house_rep, pc_exact/pc_dept, ml, poi_layer). Omitted entirely when empty — treat a missing key as [].
distance_m float, optional Reverse queries only: metres from the queried point to the returned address.
region string, optional Administrative region of the pin, where the sheet carries admin polygons.

Confidence bands

Addresses with a known point (300 per country)

The true point is the address itself, so this is the share to expect on real address lists.

Country[0.0, 0.3)[0.3, 0.5)[0.5, 0.7)[0.7, 0.9)[0.9, 1.0]weak = falseweak = true
United States43 % of 789 % of 102100 % of 192 % of 13100 % of 17196 % of 28169 % of 13
Canada75 % of 480 % of 76100 % of 486 % of 1497 % of 19792 % of 28886 % of 7
Brazil13 % of 318 % of 1390 % of 2194 % of 9974 % of 2790 % of 14711 % of 44
Germany6 % of 1684 % of 1991 % of 94100 % of 3697 % of 10992 % of 2670 % of 7
Spain33 % of 2178 % of 2379 % of 1991 % of 177100 % of 2390 % of 22555 % of 38
Australia0 % of 292 % of 40——96 % of 25896 % of 2980 % of 2
Mexico41 % of 6169 % of 5286 % of 3788 % of 3494 % of 3683 % of 14549 % of 75
France100 % of 390 % of 20100 % of 197 % of 3599 % of 23698 % of 291100 % of 4
Italy0 % of 678 % of 2775 % of 886 % of 3592 % of 20689 % of 2770 % of 5
Netherlands100 % of 192 % of 2575 % of 486 % of 798 % of 26297 % of 297100 % of 2
Serbia0 % of 259 % of 17—100 % of 1293 % of 26791 % of 29650 % of 2

Wikidata objects with an address

The true point is the object (a museum, a station), which can stand far from its street address; shares are lower because of the truth, not only the engine.

Country[0.0, 0.3)[0.3, 0.5)[0.5, 0.7)[0.7, 0.9)[0.9, 1.0]weak = falseweak = true
United States13 % of 118237 % of 57150 % of 63653 % of 14771 % of 93551 % of 255213 % of 919
Canada29 % of 92448 % of 17877 % of 113577 % of 3981 % of 42269 % of 204229 % of 656
Brazil9 % of 59228 % of 11754 % of 67346 % of 6766 % of 10255 % of 86212 % of 689
Spain23 % of 51762 % of 12065 % of 5777 % of 31691 % of 12477 % of 56827 % of 566
Mexico21 % of 52949 % of 24777 % of 20563 % of 12183 % of 14570 % of 66920 % of 578
France22 % of 81937 % of 23153 % of 40189 % of 38574 % of 20666 % of 119323 % of 849
Italy20 % of 119166 % of 23945 % of 21273 % of 20385 % of 35359 % of 118523 % of 1013
Netherlands27 % of 93171 % of 27959 % of 236976 % of 5192 % of 24058 % of 340129 % of 469
Serbia22 % of 21533 % of 937 % of 29972 % of 4086 % of 1441 % of 45712 % of 120

Observed on the published benchmark sets, engine f2dea2f0b9dc, 2026-11-05: share of answers within 150 m of the true point, by confidence band, top answer only. These are observations, not guarantees.

Empty results: the CLI prints nothing (exit 0), Python returns an empty list, DuckDB's gridpin_geocode/gridpin_reverse return the string '{}'.

Optional

POI layer

Addresses are the core index. Places — "pharmacie gare de Lyon" — live in an opt-in, separate file, currently for France: 231 MB of Overture places.

How the cascade works

The POI layer never sits inside the address index — it is a second file, and the engine runs the cascade for you when you pass it:

cascade
# CLI
$ gridpin query france.bin "pharmacie gare de Lyon" --poi fr_poi.bin -k 1

# Python
g = gridpin.Geocoder("france.bin", poi="fr_poi.bin")

-- DuckDB
SELECT gridpin_load_poi('fr_poi.bin');  -- after gridpin_load(...)

Cascade rules (built in): 1) the address index answers first; 2) the POI file is consulted only when the address result is empty, city-level or low-confidence; 3) an exact address match is never overridden. POI answers carry a "poi_layer" flag. Without --poi the engine behaves exactly as before — the layer is strictly opt-in.

Honest numbers. On a name-plus-city POI pilot with Wikidata coordinates as truth (France), GridPin with the POI layer resolves 49% of queries within 500 m (62% within 2 km). Photon resolves 71% within 500 m on the same set — it is stronger on POIs today. The layer is young and opt-in: address lookup is the core product, POI is an adjacent capability we are still building out.

Pipeline

Building sheets yourself

The prep/ pipeline that produces sheets is public: plain DuckDB SQL from raw source data to the finished file. You can build a working sheet for any supported country end-to-end. Official sheets differ in one part: the curated per-country rules section is private, so a self-built sheet runs on the engine's built-in defaults.

Try it on Monaco

Monaco is the smallest end-to-end example: it builds a sheet from a raw OSM extract. The same target runs in CI as a public smoke test with 23 live-query checks.

terminalmake
$ make mc      # build the Monaco sheet from an OSM extract
$ make smoke   # build Monaco + run the 23 live-query checks CI runs

Under the hood the targets run gridpin build, which turns the sorted CSV stream from prep/ into a sheet; gridpin repack replaces the provenance record of a finished sheet without rebuilding its data, and gridpin meta prints it.

Full countries

The same pipeline builds any country in the atlas, but plan for it: a full-country build takes hours and tens of gigabytes of temporary disk for the source data and intermediate tables. That is exactly the work the subscription buys you out of — fresh, tested sheets arrive monthly; the free tier is static, with no update schedule.

Delivery

Getting the files

Everything published today is free and needs no key, no account and no sign-up. Download only the file of the country your addresses are in: each file is one country, ready to query on its own. Click a file name to download it.

FileWhat’s insideSize
usa.binUnited States. 95.33M point addresses plus 34.52M points from address ranges, in 50 states and the District of Columbia. 7 states have address ranges only.1.45 GB
canada.binCanada. 16.94M addresses in all provinces and territories.183 MB
germany.binGermany. 19.27M addresses in 15 of 16 Länder. Bavaria is not covered.213 MB
france.binFrance. 26.1M addresses from the national registry (BAN).365 MB
italy.binItaly. 25.9M addresses.247 MB
spain.binSpain. 15.27M addresses in all 52 postal provinces, including Ceuta and Melilla.185 MB
australia.binAustralia. 11.92M addresses in all states and territories, including the external territories.130 MB
mexico.binMexico. 14.14M addresses in all 32 states, from an address layer surveyed in 2009–2010.156 MB
netherlands.binNetherlands. 9.9M addresses.103 MB
brazil.binBrazil. 67.19M addresses in 26 states and the Federal District.677 MB
serbia.binSerbia. 2.6M addresses.32 MB
fr_poi.binFrance, places. Optional add-on to france.bin: places by name, such as “pharmacie gare de Lyon”. Not needed to geocode addresses.231 MB

How old each sheet's data is, and what an outdated sheet costs: freshness. The engine binaries, the checksums and the signed provenance attestation are on the GitHub releases page.

Every sheet carries its provenance inside the file: gridpin meta france.bin prints the source, its license, the source release and the attribution you need when you redistribute. The release additionally ships verify_release.py, which checks the owner’s signature over the whole set — see Verifying a release.

A published sheet is a static build: it does not change under you, and no refresh schedule is promised. Regularly rebuilt sheets come with the paid plans: Paid plans.

FAQ

Frequently asked questions

Can I load two countries at once?

CLI and Python: yes — open one Geocoder per country (each is just an mmap). DuckDB: one index per session — loading the same sheet again is a no-op, but loading a different sheet is refused. Switch explicitly with SELECT gridpin_reset(); then gridpin_load the new sheet (or use a separate session per country); see switching sheets.

Can I store the results?

Yes — forever. Everything GridPin computes on your machine is yours: cache it, load it into your database, ship it inside your product.

How does this work with GDPR?

Your data never leaves your infrastructure: no API call to geocode, no third-party processor, no telemetry — the geocoder runs where your data already lives. The only network action is downloading a sheet yourself, and a downloaded sheet carries no query data.

Does it really work offline?

Fully. The engine needs only the sheet file on disk. Air-gapped VPC, a laptop on a plane, a box in a basement — all the same to GridPin.

How often is the data updated?

Monthly on subscription. Free builds are static — no update schedule — and carry the same curated rules section subscribers get: you trade freshness, not quality. Each sheet states its source and build date.

Still stuck? We answer mail fast: contact@gridpin.dev. Benchmark methodology and per-release quality numbers live on the test bench.

If GridPin is useful to you, a star on GitHub helps other people find it.