-
Notifications
You must be signed in to change notification settings - Fork 286
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
Support for custom language sets #494
Comments
I install both nominatim and photon.
If It's a way to get just name:sr and name:en will be perfect. |
|
I will try and give you feedback. |
I was explore importing and how photon works.
|
I found this too in source code "Updated" I was add 'sr' everywhere in "Updated" Actuly I was successfully update new elasticsearch from nominatim with comand: |
HI @lonvia @deicidemilan were you able to make this work with languages other than the defaults? I'm thinking of trying to make this work with Japanese. I am assuming that, in some manner, it would be possible to get this library to work with all of the options listed here: https://wiki.openstreetmap.org/wiki/Nominatim/Country_Codes I understand that Japanese might be particularly tricky given the difference in composition etc, so I appreciate any ideas you may have on how this could be accomplished. |
I need further languages. I notice that when searching food i town in china I get results, but when searching for (google translated) 垫 I get non related results elsewhere in china, like motorways. Is it as "simply" as indexing chinese osm data or are there more configuration like in Nomantim needed? |
@Lelelo1 Please note that Photon does not searching by category, so a search for 'food' will usually not yield the expected results. As for integrating Chinese: it can be simply added as a language in the list. The problem is that Chinese is not well supported by standard analysers, so there is probably some effort necessary, to change the analysers that ES uses. See #563 for an attempt to port Photon to Japanese. |
Hello, @lonvia!
How can we configurate |
|
Hello,
Is there a way to get more details from API as namedetails? For example i need Belgrade on Serbian language (cyrilic).
http://photon.komoot.de/api/?q=beograd&limit=5&osm_tag=place:village&osm_tag=place:town&osm_tag=place:city
This returns only one name.
Nominatim have it, but it's not Autocomplete, Partial search or Wildcard searches.
https://search.meetserbia.rs/search.php?city=beograd&format=jsonv2&namedetails=1&type=administrative
I Install both on my server so I can change code or conf if it posible to get this.
The text was updated successfully, but these errors were encountered: