<div dir="ltr"><div>Hi all,</div><div><br></div><div>I have made a layer of the NSUL postcode data which is available in JOSM, iD along with other editors. I've tested this in JOSM so here are the instructions for that:</div><div><br></div><div>Imagery -> Imagery Preferences...</div><div>Click the "+WMTS" button</div><div>In box 2 paste this URL: <a href="https://api.mapbox.com/styles/v1/robjn/ckqlezb1x0fmm17mox6x74cug/wmts?access_token=pk.eyJ1Ijoicm9iam4iLCJhIjoid0dYNkY1QSJ9.A-0lzQOawGYICYPfURsjDA">https://api.mapbox.com/styles/v1/robjn/ckqlezb1x0fmm17mox6x74cug/wmts?access_token=pk.eyJ1Ijoicm9iam4iLCJhIjoid0dYNkY1QSJ9.A-0lzQOawGYICYPfURsjDA</a></div><div>Tick the Set Default Layer checkbox and then click "3. Get Layers"</div><div>Select the postcodes layer and type a suitable layer name in box 4 (e.g. "Postcodes (NSUL)")</div><div>Click Ok</div><div><br></div><div>The layer can now be added the same way you add aerial imagery layers in JOSM.</div><div><br></div><div>P.S. For those who want to experiment: I see that JOSM now supports Mapbox Vector Tile (MVT) layers. You can try this by adding the following layer to JOSM: mvt:<a href="https://api.mapbox.com/v4/robjn.3uur23nz/{zoom}/{x}/{y}.mvt?access_token=pk.eyJ1Ijoicm9iam4iLCJhIjoid0dYNkY1QSJ9.A-0lzQOawGYICYPfURsjDA">https://api.mapbox.com/v4/robjn.3uur23nz/{zoom}/{x}/{y}.mvt?access_token=pk.eyJ1Ijoicm9iam4iLCJhIjoid0dYNkY1QSJ9.A-0lzQOawGYICYPfURsjDA</a>  Please note that I have not yet worked out how to add a style to these MVT layers so all you get is the point locations. However you can right click the layer in the layer menu and click "Convert to OSM Data" which is pretty cool.<br></div><div><br></div><div>P.P.S If style changes are of use, please let me know. Also happy to give copies of my process / any output files.<br></div><div><br></div><div>Happy mapping,<br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="color:rgb(0,0,255)"><b>Rob</b></span><br></div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 1 Jul 2021 at 21:03, 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>
</blockquote></div>