How One Team Geocoded 14.4 Million French Businesses Using a Free Government API
A development team needed GPS coordinates for over 14.3 million French business establishments listed in the SIRENE registry to enable location-based searches. Since the official monthly GeoSirene dataset from INSEE leaves newly registered businesses without coordinates, the team built a two-layer pipeline combining monthly bulk imports with daily incremental updates. They used France's free Base Adresse Nationale (BAN) API, which accepts bulk CSV requests without an API key and is optimised for French addresses, processing data in chunks of 8,000 rows with a one-second pause between requests. Results with a confidence score below 0.4 are discarded, as a missing coordinate is considered less harmful than an inaccurate one for radius-based queries. The solution runs daily alongside a live application without requiring database locks or paid third-party geocoding services.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in