<div dir="ltr"><div>Yes, I've played with it and it helps with edge cases where the postcode is not obvious. I'm very chary about the implicit intellectual property rights: there was a link recently tweeted by Peter Wells regarding IPR associated with UPRNs, but this may be outdated as it was back in 2016.</div><div><br></div><div>Note that the UPRN->Postcode applies to non-addressable objects too which is a little odd.</div><div><br></div><div>The main thing which the lookup assists with is correctly associating a property both to a postcode & a street. This helps when UPRNs within a street are a straight sequence of numbers ordered from low housenumber to high housenumber (which is true of most properties which existed before UPRNs were created & partially true for those afterward: Conwy, Gedling, Nottingham, Wirral are areas I've tested this). Here is <a href="https://wiki.openstreetmap.org/wiki/File:Stoneby_proxy_address.png">an example</a> for a single street in New Brighton, Wirral where I've taken all UPRNs matching the two postcodes, ordered them & assigned proxy house numbers solely on the basis of that sequence. You can compare this with actual even house numbers which I had previously surveyed. I have a number of other examples where I've used the UPRN sequence to infer housenumbers. All done by hand and in most cases I know either one or more house numbers already or am familiar with typical numbering patterns in the area. I'm currently playing with Wirral data as a testbed (& have the UPRN->PC lookups too).: I have done some desultory surveying around Wallasey, two Birkenhead stations, Hoylake & West Kirby. In addition the old Naptan data often has housenumbers in the indicator field (true for much of the Merseyside transport area & also for Greater Manchester). These existing addresses provide a useful cross-check against those inferred from UPRNs.</div><div><br></div><div>My rough plan for an automated methodology::</div><div><br></div><div>* assign UPRNs to roads (this is way easier with the lookups, otherwise one needs to pull more UPRNs than necessary & filter them out). Only UPRNs which coincide with an OS Open Local building are used (to exclude <a href="http://substations.post">substations.post</a> boxes etc). UPRNs in very small INSPIRE parcels could also be potentially exlcuded. Note most (probably all) of the non-address UPRNs are not contained in the sequence runs for a road anyway.<br></div><div>* find all sequences with 3 or more UPRNs for the road</div><div>* crudely assign proxy addresses directly according to the sequence</div><div>* refinements tbd: a) multiple UPRNs at one location (use only the first, adjust sequence; >3 not usable); b) expect zigzag patterns in a vector from the sequence of even/odds, divergences indicate missing/additional numbers); c) cross-check with other available open data (these can be used to anchor proxy numbers).<br></div><div><br></div><div>Any mapping I've done uses an entirely manual version of this, and I have multiple examples where I've been able to solve an irritating issue which I failed to notice when actually surveying.</div><div><br></div><div>TLDR: they are potentially very useful, but advice from ODI, Peter Wells or Owen should be sought.<br></div><div><br></div><div>Jerry<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 1 Jul 2021 at 21:06, Rob Nickerson <<a href="mailto:rob.j.nickerson@gmail.com">rob.j.nickerson@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi all,</div><div><br></div><div>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:</div><div><br></div><div style="margin-left:40px">"National datasets of UPRNs matched to postcode units and statistical geographies are available as open data in ONS's <a href="https://geoportal.statistics.gov.uk/search?collection=Dataset&sort=name&tags=all(PRD_NSUL)" title="National Statistics Address Lookup (NSUL)" target="_blank">National Statistics Address Lookup</a> (NSUL) and <a href="https://geoportal.statistics.gov.uk/search?collection=Dataset&sort=name&tags=all(PRD_ONSUD)" title="ONS UPRN Directory" target="_blank">ONS UPRN Directory</a>
 (ONSUD). From late 2020 those datasets also associate UPRNs with 
postcodes, enabling the calculation of notional geographic extents for 
individual postcode units."</div><div><br></div><div>Has anyone had a look at this? Do we think the licence is sufficiently "open" for OpenStreetMap use? <br></div><div><br></div><div>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.</div><div><br></div><div>[1] <a href="https://www.owenboswarva.com/blog/post-addr3.htm" target="_blank">https://www.owenboswarva.com/blog/post-addr3.htm</a> <br></div><div>[2] <a href="https://osmuk.org/wp-content/uploads/2021/06/NSUL_Apr_2021_extract.zip" target="_blank">https://osmuk.org/wp-content/uploads/2021/06/NSUL_Apr_2021_extract.zip</a></div><div><br></div><div>Thank you,<br></div><div><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><span style="color:rgb(0,0,255)"><b>Rob</b></span><br></div></div></div></div></div></div></div>
_______________________________________________<br>
Talk-GB mailing list<br>
<a href="mailto:Talk-GB@openstreetmap.org" target="_blank">Talk-GB@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/talk-gb" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/talk-gb</a><br>
</blockquote></div>