<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>In the UK, this algorithm is useless if you expect to get the actual address that you could send a letter to, or that you could ask for directions to.</p>
<div> </div>
<p><br /></p>
<p>On 2017-10-19 13:23, Marc Gemis wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">Maybe it is interesting to repeat how Nominatim resolves addresses,<br /> just in case someone wants to do a search after adding an address.<br /> <br /> - Nominatim starts from an address point (or building way with<br /> address). It takes the house number from it and the street name.<br /> - It tries to match the street name with a nearby street.<br /> - The rest of the info, suburb, city, country, etc are taken from the<br /> way. i.e. it looks in which boundary the way lies and work its way up<br /> the admin levels.<br /> - In case there is no boundary, it can use a place node as well to<br /> determine the name of a certain admin level, but that is less precise<br /> <br /> - postal codes are taken from the address point, when specified. This<br /> is needed in UK/USA but not in e.g. Belgium or Germany.<br /> <br /> <br /> <a href="http://nominatim.openstreetmap.org" target="_blank" rel="noopener noreferrer">http://nominatim.openstreetmap.org</a> is your friend to understand where<br /> the data is coming from.<br /> <br /> Of course, if you only work with a relational database (as Lester<br /> pointed out), one prefers all data on the address node.<br /> Relational DB with GIS extensions do not need this (e.g. Nominatim).<br /> <br /> Nominatim's approach currently has problems with streets on the border<br /> of e.g. 2 villages. Sara Hoffmann (Lonvia) told me that there are some<br /> plans to fix this.<br /> <br /> regards<br /> <br /> m.<br /> <br /> On Thu, Oct 19, 2017 at 10:35 AM, Adam Snape <<a href="mailto:adam.c.snape@gmail.com">adam.c.snape@gmail.com</a>> wrote:
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">I'm convinced that many such addresses are unnecessarily long (are there<br /> really multiple Weldons in the Swanscome postal area?). Nevertheless we<br /> should have a way of mapping them if they are the official address. I agree<br /> that more general guidance would aid consistency. My address mapping<br /> practice is as follows. I would welcome correction if others feel I am doing<br /> something incorrectly::<br /> <br /> The post town<br /> <a href="https://en.wikipedia.org/wiki/List_of_post_towns_in_the_United_Kingdom" target="_blank" rel="noopener noreferrer">https://en.wikipedia.org/wiki/List_of_post_towns_in_the_United_Kingdom</a> is<br /> tagged as addr:city (whether or not it is a city or indeed whether an<br /> otherwise more important place is nearer). Though this should all be in<br /> upper case when used I add the tag in lower case with an initial capital<br /> letter as it would normally be written in a sentence.<br /> <br /> For sub divisions of this area the wiki has documented tags addr:suburb and<br /> addr:hamlet. I tend to default to suburb everywhere except when dealing with<br /> an actual isolated hamlet. Where there are two subdivisions as in Steve's<br /> example, I'd use hamlet for the smaller one  and suburb for the larger one.<br /> <br /> The wiki suggests to avoid addr:street and addr:place together but I use<br /> them for things like named retail/business parks where there is also a<br /> street address eg. <a href="https://www.openstreetmap.org/way/527520264" target="_blank" rel="noopener noreferrer">https://www.openstreetmap.org/way/527520264</a><br /> <br /> I do not tag the name of the property separately if it is the same as the<br /> main name=* tag<br /> <br /> Counties have not been formally part of postal addresses for many years.<br /> Royal Mail permits people to optionally add the name of the old Postal<br /> County, modern administrative or ceremonial county, or traditional county to<br /> their address according to their personal preference, but this plays no role<br /> in delivery. So I do not tag a county in the address.<br /> <br /> <br /> So I'd tag Steve's example: name=The Spring River, addr:street=Talbot Lane,<br /> addr:hamlet=Weldon, addr:suburb=Ebbsfleet Valley, addr:city=Swanscombe,<br /> addr:postcode=DA10 1AZ<br /> <br /> I hope that helps<br /> <br /> Adam<br /> <br /> <br /> On 18 Oct 2017 11:49 p.m., "Steve Doerr" <<a href="mailto:doerr.stephen@gmail.com">doerr.stephen@gmail.com</a>> wrote:<br /> <br /> On 10/10/2017 19:07, Robert Whittaker (OSM lists) wrote:
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><br /> It doesn't seem to have been mentioned here yet, but this quarter's UK<br /> mapping project is to improve addresses and postcodes:<br /> <a href="https://osmuk.org/uncategorized/jump-in-to-our-quarterly-mapping-project/" target="_blank" rel="noopener noreferrer">https://osmuk.org/uncategorized/jump-in-to-our-quarterly-mapping-project/</a><br /> <br /> </blockquote>
<br /> It would be useful to have some guidance on tagging for UK addresses. For<br /> instance, how would you tag the different elements of the following address<br /> for a pub/carvery that opened recently near me:<br /> <br /> The Spring River<br /> Talbot Lane<br /> Weldon<br /> Ebbsfleet Valley<br /> SWANSCOMBE<br /> DA10 1AZ<br /> <br /> Regards,<br /> Steve<br /> <br /> <br /> _______________________________________________<br /> Talk-GB mailing list<br /> <a href="mailto:Talk-GB@openstreetmap.org">Talk-GB@openstreetmap.org</a><br /> <a href="https://lists.openstreetmap.org/listinfo/talk-gb" target="_blank" rel="noopener noreferrer">https://lists.openstreetmap.org/listinfo/talk-gb</a><br /> <br /> <br /> <br /> _______________________________________________<br /> Talk-GB mailing list<br /> <a href="mailto:Talk-GB@openstreetmap.org">Talk-GB@openstreetmap.org</a><br /> <a href="https://lists.openstreetmap.org/listinfo/talk-gb" target="_blank" rel="noopener noreferrer">https://lists.openstreetmap.org/listinfo/talk-gb</a><br /> </blockquote>
<br /> _______________________________________________<br /> Talk-GB mailing list<br /> <a href="mailto:Talk-GB@openstreetmap.org">Talk-GB@openstreetmap.org</a><br /> <a href="https://lists.openstreetmap.org/listinfo/talk-gb" target="_blank" rel="noopener noreferrer">https://lists.openstreetmap.org/listinfo/talk-gb</a></div>
</blockquote>
</body></html>