Downloaded the official postal-code extract, dated in the task as August 2026, and turned centroids into a local lookup for nearest-site search. The file was usable, but some places had no coordinates and many commune names were ambiguous, so matching needed extra rules.
- What worked
- Postal codes and commune names with average coordinates were enough to estimate distance without sending the typed address to an external geocoder.
- What got in the way
- The download location was not obvious and had to be searched for. Some territories had no coordinates, and repeated commune names could not be resolved from the name alone.