postcode icon indicating copy to clipboard operation
postcode copied to clipboard

Question concerning postCode with CEDEX in French DOMTOM

Open rdefaux opened this issue 4 weeks ago • 0 comments

Hello,

I don't know if it's an issue or not...

For example, I think the following address is correct : 97839 LE TAMPON CEDEX, LA REUNION the actual code give me this error : Validates and formats postcodes in Réunion. Postcodes consist of 5 digits, starting with 974, without separator.

But, in fact, for la Réunion postcode could start with 974 or 978 for CEDEX.

Same for Guadeloupe

97054 ST MARTIN CEDEX, GUADELOUPE seems correct (we use this address with success in 2019)

Error : Validates and formats postcodes in Guadeloupe. Postcode format is 971NN, where N stands for a digit.

But postCode could start with 971 or 970 for CEDEX.

I don't know for other DOMTOM. And I'm not totally sure...

I try to find more official documentation. I found this : https://www.data.gouv.fr/datasets/liste-des-cedex/discussions And in discussion there's a link to https://raw.githubusercontent.com/cquest/geocodage-spd/20ff02d9e44771eb817c0ff08b5ea54b7379e99b/insee-sirene/cedex.csv that seems to contains all cedex But it's not really official...

Hope this help And thanks for your work ! Romaric

rdefaux avatar Dec 03 '25 11:12 rdefaux