Support for 7-digit postal codes in Egypt#14
Support for 7-digit postal codes in Egypt#14BenMorel merged 2 commits intobrick:masterfrom faustbrian:patch-1
Conversation
Then new Egypt Postal code system depends on assigning 7 digit postal code number to every block of buildings, which assure better accuracy of identifying the postal code. https://epostalmap.com/en/
|
Hi @faustbrian, thanks for your PR! The site you linked to is not an official website, and I'm having trouble finding information about 7-digit postcodes. Do you have an official source of information? |
|
@BenMorel I don't really have any official sources. The closest would probably be https://www.upu.int/UPU/media/upu/PostalEntitiesFiles/addressingUnit/egyEn.pdf but that's not official from a government. We started to notice this because we use this package in a logistics product and customers recently started to use 7 digit postal codes for Egypt consignments instead of 5 digit postal codes, so currently we have a workaround that if validation fails for 5 digits we check for 7 digits and that works. All the third-party vendors we integrate also started to recognize 7 digit postal codes for Egypt. |
|
Thank you, the upu.int source looks good to me. Can you please change this sentence in the class docblock:
and add a link to the PDF above in the docblock as well? |
|
@BenMorel done |
|
Thank you, @faustbrian! |
|
Released as 0.3.2. |
The new Egypt Postal code system depends on assigning 7 digit postal code number to every block of buildings, which assure better accuracy of identifying the postal code.
https://epostalmap.com/en/