J'ai ajouté short_name pour le Québec, mais je pense effectivement que c'est
inutile à comparer avec Ontario. Dans ce cas, le ON fonctionne sans doute à
cause de state_code=ON.
Et effectivement, lorsque les relations de territoires sont ajoutées et
fonctionnelles, les is_in et addr:province sont inutiles et Nominatim fourni
correctement l'info.
Pierre
Le lundi 19 mars 2018 11 h 18 min 23 s HAE, Matthew Darwin
<[email protected]> a écrit :
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 <[email protected]> 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
_______________________________________________
Talk-ca mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/talk-ca