Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arabic, chinese, etc. place names searchable #20

Open
klokan opened this issue Jul 25, 2016 · 3 comments
Open

Arabic, chinese, etc. place names searchable #20

klokan opened this issue Jul 25, 2016 · 3 comments
Assignees
Labels
Milestone

Comments

@klokan
Copy link
Member

klokan commented Jul 25, 2016

In this moment it seems like the non-latin names are ignored - the search results are not delivered.

There are street names in OpenStreetNames available only in local language scripts - which you can't discover with OSMNames search, even if they are in the TSV export now (and are going to be in the "alternative_names" columns.

Example:

 "name": "Guelmim كلميم",

discoverable under "Guelmim" but not discoverable under "كلميم".
Surprisingly cyrilic characters are index it seems - as there are some results for "Москва".

@klokan
Copy link
Member Author

klokan commented Oct 6, 2016

@klokan
Copy link
Member Author

klokan commented Feb 23, 2017

An alternative would be transliteration before indexing / and before search:
unidecode see https://pypi.python.org/pypi/Unidecode

Used at https:/mapbox/carmen#handling-non-latin-text

@MartinMikita MartinMikita modified the milestone: v2.0 Jul 13, 2017
@klokan
Copy link
Member Author

klokan commented Aug 8, 2017

unidecode before indexing is the way to go.

@klokan klokan modified the milestones: v2.0, v2.1 Aug 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants