Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

short_name used instead of name for results in languages without translated name #5166

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: andersg
[Submitted to the original trac issue database at 8.40am, Sunday, 4th May 2014]

Search result for places which has short_name set using accept-language which is missing an explicit translation will give you the short_name instead of name.

Example:
New York City displayed with accept-language=sv will have NYC as first component of display_name and as city in address details. I expect it to be New York City.

Example url:
http://nominatim.openstreetmap.org/search.php?q=new%20york%20city&accept-language=sv&addressdetails=1&format=json

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 9.23pm, Tuesday, 19th May 2020]

short_name is no longer the preferred tag.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant