-
Notifications
You must be signed in to change notification settings - Fork 2
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
Restore administrative hierarchy for GB postcodes #14
Comments
I see there was a new drop of ONS postcode data last month so it would be nice to discuss this before we do the next import. |
It seems like there are a few overlapping things happening here:
|
Hello, just catching up on this. Yes, I made the decision to parent these by just the We could add the |
Hey Tom π
This would be my preference, because otherwise I'm going to need to figure out a way of PIP-ing them for Pelias users, either after downloading or by hosting alternative distribution files on our CDN, which I'd like to avoid if possible. What's the easiest path to restoring the admin hierarchy to what it was before but also supporting Seems to me that having either multiple hierarchies or having a single hierarchy with In order to achieve this we'll need to change |
@straup for this file you linked: https://github.com/whosonfirst/whosonfirst-placetypes/blob/main/placetypes/postalcode.json#L5 is the expected behaviour that the |
@missinglink Yes, that is correct. |
@missinglink hi! I'd prefer to have both hierarchies in place (admin first, then postalregion). I don't know when I'm going to get to it at the moment - a bit too snowed under at the moment - but I'd also like to get the ONS update out, so hopefully not too long... |
Yeah all good, sounds like we're all on the same page for the next release which will happen when it happens, no stress. |
Hey @tomtaylor, anything I can do to help get this moving? |
@missinglink I've got this on our internal roadmap now, hopefully will be sorted in the next few weeks. |
@missinglink if you're able to have a review of #15 when you get chance, that'd be great! |
πββοΈ moving the discussion over from #13
Pelias relies on the administrative hierarchy being set for all WOF records, the recent change in GB postcodes has removed many hierarchy entries which were previously available:
My understanding of the motivation for this change was to introduce a new
postalregion
placetype which better represents the 'postal hierarchy' of the UK, I think that's a great idea.The issue I'm facing is that GB postcodes are not associated to anything in the administrative hierarchy below the
country
, eg. 'England', 'London', etc. are missing from data in the screenshot.This makes GB postcodes different/special compared to all other WOF records and will require consumers to treat them differently.
I wanted to open a discussion about whether you'd consider reverting the deletion of the administrative hierarchy generated through PIP?
Was this change intentional? I can see that it's not always technically correct to say a postcode belongs to a single
neighbourhood
, but for the most part this is true due to the granularity of GB postcodes. I feel like themacrocounty
should always be set.How would you feel about moving the new placetype to an alternative hierarchy (at index 1) and restoring the hierarchy at index 0 so it behaves like other WOF records?
cc/ @tomtaylor @thisisaaronland @nvkelso @stepps00 @orangejulius
EN5 2LP on Github
The text was updated successfully, but these errors were encountered: