Open viovet-dan opened 6 years ago
You will want to open a bug report at https://github.com/googlei18n/libaddressinput/issues, our dataset is automatically generated from Google's endpoint.
However, do note that according to the Universal Postal Union, administrative areas are not used for postal addresses in the UK: http://www.upu.int/fileadmin/documentsFiles/activities/addressingUnit/gbrEn.pdf
Thanks for pointing me in the right direction.
Although the administrative area is not "required" for a postal address (this rule was changed in 2010), it is still widley used in the UK.
@bojanz Could this be worth reconsidering, now that subdivisions aren’t autogenerated from Google?
Sure! I've been wanting to add an opt-in mechanism for "unused for official addressing but still wanted" administrative areas. Great Britain would be a good use case as it used to be one of the most requested ones, back when we couldn't do anything about it.
Great news @bojanz! We had a lot of requests about GB counties. An optin mechanism sounds great! A while ago, we decided to roll our own dataset for GB coutnties as a lot of people needed those, but having all the data come from one source, would be amazing and could potentially simplify things for our users. The most prominent example of where GB counties are often being used is: shipping zones - the shipping availability, timings and cost are often different for non-mainland UK (e.g. Shetland Islands, Northern Ireland). In case it helps, the PR I linked to above has links to some issues where people explained their needs. I hope this helps!
Hi @bojanz
Sure! I've been wanting to add an opt-in mechanism for "unused for official addressing but still wanted" administrative areas. Great Britain would be a good use case as it used to be one of the most requested ones, back when we couldn't do anything about it.
Any update on this?
Currently the format is "format": "%recipient\n%organization\n%addressLine1\n%addressLine2\n%locality\n%postalCode",
it should be
"format": "%recipient\n%organization\n%addressLine1\n%addressLine2\n%locality\n%administrativeArea\n%postalCode",