[Talk-ca] Cleanup of addr:country, addr:province, addr:state

Matthew Darwin matthew at mdarwin.ca
Mon Mar 19 15:18:20 UTC 2018


Searching on "110 Laurier Avenue West, on" in Nominatim already works 
(it finds Ottawa City hall) even though the address has no 
addr:province tag for City Halle.  So I don't think this is a good 
reason to be adding addr:province/addr:province:short_name tags. IMO.  
Unless there is another use case I am missing.  Similarly your example 
of searching for "Toronto, ON" works fine.

I'm guessing this works because the Ontario admin relation has 
ISO3166-2 tag of CA-ON



On 2018-03-10 04:51 PM, Pierre Béland wrote:
> Non, inutile si relations. Dans relation province d'Ontario
> - ajouter short_name='ON'.
>
> De cette façon, Recherche Toronto, ON
> devrait fonctionner. A essayer :)
>
>
> Pierre
>
>
> Le samedi 10 mars 2018 15:39:53 HNE, john whelan 
> <jwhelan0112 at gmail.com> a écrit :
>
>
> So you're suggesting adding short_name='ON' to ones that have 
> addr:province=Ontario
>
> How would that work?
>
> addr:province=Ontario
> addr:province:short_name=ON ?
>
> Merci John
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-ca/attachments/20180319/171e09c9/attachment.html>


More information about the Talk-ca mailing list