OpenCageData / address-formatting

templates to format geographic addresses
MIT License
394 stars 84 forks source link

Afghanistan postal codes #89

Open machajdik opened 1 year ago

machajdik commented 1 year ago

Afghanistan introduced Postal Codes/ZIP codes in 2011 syntax source: https://www.upu.int/UPU/media/upu/PostalEntitiesFiles/addressingUnit/afgEn.pdf

freyfogle commented 1 year ago

Thanks for the contribution, I appreciate it.

One thing though, you may have seen there is a new government in Afghanistan. Do we have any evidence the postcodes announced in 2011 actually used by anyone?

This situation is actually not that uncommon with some countries announcing a different postcode scheme every time the government changes. My goal with this library is not to mirror the theoretical ideal, but rather to deal with what is actually used in the country - and thus also, hopefully, recorded in databases like OpenStreetMap.

Do you have any experience of actual current Afghani addresses?

machajdik commented 1 year ago

Good question! I dont have any first hand info on that. The Afghan Post is still active on Facebook and i found this post from August 2022, where they share their goals for the next year. Number 6 translates to "Postal Codes Promotion and Development Project". However that does not tell us if they want to implement a new system or promote the old system. And if anyone really uses those codes is also unclear.

freyfogle commented 1 year ago

ok, thanks.

Then please don't be disappointed, but I am going to hold off on merging until someone with on the ground experience from Afghanistan asks for this. I spent about 10 minutes looking for addresses on Afghani websites, but could not find any I am sorry to say.

machajdik commented 1 year ago

Yes, I agree.