whosonfirst-data / whosonfirst-data-postalcode-gb

Who's On First postal code data for GB
https://whosonfirst.mapzen.com
Other
2 stars 2 forks source link

Sync against ONS Postcode Directory #2

Closed tomtaylor closed 5 years ago

tomtaylor commented 5 years ago

Here's the first part of updating the UK postcodes against the best official source I can find - the ONS Postcode Directory.

I've deprecated ~13000 partial postcodes, like W1A and W1A 1. These aren't real postcodes, so I don't think they should be treated as such. Up for discussion.

I've ceased ~1000 postcodes that the ONS doesn't recognise as ever existing.

All other postcodes I've updated their geometry Points, and set their inception and cessation dates, along with mz:is_current. Mostly the geometries haven't moved, except for small rounding errors, but in some cases the centroid will have changed subtly. These should probably also get their metadata, like the os:admin IDs updated, but I haven't done this yet.

I still need to build new features for ~50000 new postcodes, but haven't worked out how to build the hierarchy for these yet.

I haven't touched Northern Ireland postcodes, because they're under more restrictive licensing. The metadata such as the inception/cessation dates might be more relaxed, but I haven't checked this yet.

tomtaylor commented 5 years ago

Closing this in favour of a single commit.