[Talk-GB] UPRN to postcode lookup

Rob Nickerson rob.j.nickerson at gmail.com
Thu Jul 1 20:03:05 UTC 2021


Hi all,

I was reading the latest (always detailed and helpful) blog post by Owen
Boswarva today on addresses [1]. One thing that it mentioned that I was not
aware of was that there is a lookup between Unique Property Reference
Numbers (UPRNs) and Postcodes:

"National datasets of UPRNs matched to postcode units and statistical
geographies are available as open data in ONS's National Statistics Address
Lookup
<https://geoportal.statistics.gov.uk/search?collection=Dataset&sort=name&tags=all(PRD_NSUL)>
(NSUL) and ONS UPRN Directory
<https://geoportal.statistics.gov.uk/search?collection=Dataset&sort=name&tags=all(PRD_ONSUD)>
(ONSUD). From late 2020 those datasets also associate UPRNs with postcodes,
enabling the calculation of notional geographic extents for individual
postcode units."

Has anyone had a look at this? Do we think the licence is sufficiently
"open" for OpenStreetMap use?

To save you downloading a huge file, I have downloaded the April 2021 NSUL
and extracted 10 entries from the North East along with the manual. This
can be downloaded from the OSM UK site [2]. I also have a bash script for
processing the data and am happy to share that or the resultant file
(Lat/Lon/Postcode csv) with you.

[1] https://www.owenboswarva.com/blog/post-addr3.htm
[2] https://osmuk.org/wp-content/uploads/2021/06/NSUL_Apr_2021_extract.zip

Thank you,
*Rob*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-gb/attachments/20210701/b4b0214c/attachment.htm>


More information about the Talk-GB mailing list