Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add administrative areas for Great Britain (GB) #111

Open
viovet-dan opened this issue Jul 9, 2018 · 5 comments
Open

Add administrative areas for Great Britain (GB) #111

viovet-dan opened this issue Jul 9, 2018 · 5 comments

Comments

@viovet-dan
Copy link

viovet-dan commented Jul 9, 2018

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",

@bojanz
Copy link
Contributor

bojanz commented Jul 9, 2018

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

@bojanz bojanz closed this as completed Jul 9, 2018
@viovet-dan
Copy link
Author

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.

@brandonkelly
Copy link

@bojanz Could this be worth reconsidering, now that subdivisions aren’t autogenerated from Google?

@bojanz bojanz reopened this Feb 14, 2024
@bojanz bojanz changed the title GB Formatting wrong Add administrative areas for Great Britain (GB) Feb 14, 2024
@bojanz
Copy link
Contributor

bojanz commented Feb 14, 2024

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.

@i-just
Copy link

i-just commented Feb 15, 2024

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants