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.

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. 

Perhaps we need to tag individual streets with postcodes, especially streets 
near suburb boundaries. 

One final thought ... perhaps Nominatim reads only addr:postcode=* tags and 
does not understand postal_code=*   If so, that might explain the anomalies.






On Wed, 20 Jan 2021, at 9:15 AM, Graeme Fitzpatrick wrote:
> Re-sent to list as well! 
> 
> Thanks
> 
> Graeme
> 
> 
> ---------- Forwarded message ---------
> From: *Graeme Fitzpatrick* <graemefi...@gmail.com>
> Date: Wed, 20 Jan 2021 at 08:14
> Subject: Re: [talk-au] OSM Search results return strange stuff for Victoria.
> To: Jonathon Rossi <j...@jonorossi.com>
> 
> 
> 
> 
> 
> On Tue, 19 Jan 2021 at 21:41, Jonathon Rossi <j...@jonorossi.com> wrote:
> > I've not mapped them before but curious now why we don't seem to have 
> > imported addr:postcode tags for suburbs, Nominatim uses them before 
> > centroids.
> > 
> > Surely addr:postcode doesn't have to be unique because it sounds like some 
> > countries have postcodes based on postal routes or other less 
> > administrative boundaries.
> 
> From recent posts re addresses on the tagging list, the UK even has 
> unique postcodes for individual buildings, & even for different 
> businesses / organisations inside the one building!
> 
> Thanks
> 
> Graeme
> 
> _______________________________________________
> Talk-au mailing list
> Talk-au@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk-au
>

_______________________________________________
Talk-au mailing list
Talk-au@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-au

Reply via email to