geotree
Joined: 23/07/2007 18:28:40
Messages: 138
Location: France
Offline
|
richardbarran wrote:
I guess that the inclusion of CEDEX codes is a bug?
It is not a bug.
CEDEX codes (and some other special codes such as ARMEES for military places) are valid postal codes according to LaPoste database.
Now if you want to get only "ordinary" postal codes you can use this rule :
when there is more than one code for a single city, keep only codes ending with '00' (Ex: NANTES = 44100 44000 44300 44200).
If result is empty, keep codes ending by '0' (Ex: GENNEVILLIERS = 92230).
In GeoNames, we are planning to add the word "CEDEX" to those special codes (Ex: GENNEVILLIERS "92230", "92626 CEDEX", etc).
|