<div dir="ltr">Mapping postcodes to streets wouldn't fix my Victorian address. If I search for it I get the wrong suburb and postcode, but I suspect that's because individual addresses in the street aren't mapped, and the suburb and postcode are correct for the other end of the fairly short street.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 20 Jan 2021 at 11:03, Andrew Harvey <<a href="mailto:andrew.harvey4@gmail.com">andrew.harvey4@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 dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 20 Jan 2021 at 10:19, cleary <<a href="mailto:osm@97k.com" target="_blank">osm@97k.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">I was told that the correct tag for places such as towns or suburbs is postal_code=* whereas the addr:postcode tag is for individual locations.<br>
<br>
However, even with that tag on the suburb boundary, Nominatim is getting it wrong, particularly for streets close to suburb boundaries. I found multiple examples in Sydney suburbs without much effort. In each case the suburb boundary included the correct postal_code=* tag. In one instance the postcode shown by Nominatim is the special postcode for PO Boxes in an adjacent suburb, not even the usual postcode for street addresses. I can only presume a business in the area is tagged in OSM with its postal address, a PO Box in the adjacent suburb, and that has been taken by Nominatim as the postcode for this area. <br>
<br>
Perhaps we need to tag individual streets with postcodes, especially streets near suburb boundaries. <br>
<br>
One final thought ... perhaps Nominatim reads only addr:postcode=* tags and does not understand postal_code=* If so, that might explain the anomalies.<br></blockquote><div><br></div><div>There are references to postal_code=* in the Nominatim code base, I'd suggest reporting those examples you found to the Nominatim issue tracker.</div><div><br></div><div>I'm not sure if you have addresses on opposite sides of a street with different postcodes or not, so my preference is to map the actual address objects rather than adding a postcode to the road.</div></div></div>
_______________________________________________<br>
Talk-au mailing list<br>
<a href="mailto:Talk-au@openstreetmap.org" target="_blank">Talk-au@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/talk-au" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/talk-au</a><br>
</blockquote></div>