Hello,

I'm looking for a way to have the database for support FRANCE zipcode.

Anyone can help me plz ?

Thanks

Comments

lilou’s picture

Zipcode database in attachment.

lilou’s picture

StatusFileSize
new417.94 KB

Zipped file (remove .patch)

thierry_gd’s picture

Category: task » feature
StatusFileSize
new13.83 KB

Little update on the previously uploaded patch

toma’s picture

Thanks for your contrib, i would like to use this module for my french project, i want to have all the country names in french, like United States = Etats Unis etc , anyone know how to do this!

ankur’s picture

Status: Needs review » Fixed

With the latest commits, French geocoding via Google is now available. As for zipcodes, I found France to be a little tricky. Although in the US zipcodes can span more than one city, it is very unusual and usually only happens in really small areas. However, when I last checked, it seemed that a single zipcode in France could span multiple cities/towns. If this is not the case and someone can give me a database with one city for each zipcode, I'll happily add it to the zipcodes directory, though with Google geocoding, I wouldn't understand the desire to geocode off of zipcodes when you have the accuracy of google geocoding.

-Ankur

ray007’s picture

Location search uses the data in the zipcodes table by calling location_latlon_rough().
Without having the data for your country in there, the location search doesn't work.

Anonymous’s picture

Status: Fixed » Closed (fixed)
stomerfull’s picture

out of date

chapsou’s picture

Version: 5.x-1.x-dev » 7.x-3.2
Issue summary: View changes
Status: Closed (fixed) » Active
chapsou’s picture

Hello,

I'm looking for a way to have the database for support FRANCE zipcode.

Anyone can help me plz ?

Thanks

phily’s picture

Version: 7.x-3.2 » 7.x-3.7
Component: Code » Data update
Status: Active » Needs review
StatusFileSize
new378.42 KB
new344.31 KB

Old topic but not closed yet so here is an update of zipcodes for France with lat/long coordinates, in csv and mysql formats;-)
Data are available at https://www.data.gouv.fr/fr/datasets/base-officielle-des-codes-postaux/

lambic’s picture

There are a few errors in zipcodes.fr.mysql from #11, so here's a working copy. Some of the postal codes still don't have coordinates though

lambic’s picture

StatusFileSize
new344.13 KB

oops, help if I attach the file