organicmaps / organicmaps

🍃 Organic Maps is a free Android & iOS offline maps app for travelers, tourists, hikers, and cyclists. It uses crowd-sourced OpenStreetMap data and is developed with love by MapsWithMe (MapsMe) founders and our community. No ads, no tracking, no data collection, no crapware. Please donate to support the development!

Home Page:https://organicmaps.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The search for toponyms does not work well

Korb opened this issue · comments

commented

Describe the issue
When I enter, for example, "Подгорица, Черногория" (Wikipedia) or "Podgorica, Montenegro" (Wikipedia) into the application's search bar, I always get the same "Sorry, we didn't find anything. Try changing your search terms." (in the English version of the application it probably looks something like "Unfortunately, we didn't find anything. Try changing your search terms.")

At the same time, when using OSM search in the SAS.Planet application, the settlement is found both when using the Cyrillic alphabet and when using the Latin alphabet.

Steps to reproduce

  1. Open organicmaps
  2. Click on the second icon below, with the image of a magnifying glass
  3. Type the text "Подгорица, Черногория" or "Podgorica, Montenegro" (without quotes)
  4. Read the message about no results

Expected behaviour
I expect to see, at a minimum, the name of the administrative center of the municipality. Or better yet, a list of: a locality, an airport of the same name, a railway station of the same name, a stadium of the same name and a football club of the same name.

Screenshots

Screenshot_20240415_214902

System information:

OS version: Funtouch OS 14
Model: Vivo T1 (4G) / V2153
Hardware version: MP_0.1
Build number: PD22010F_EX_A_14.2.7.2.W20
Baseband version: S.HA.1.1.c2-00054-DIVAR_GENSP_PACK-1.29062.71
Kernel version: 4.19.157-perf+ #1 Fri Mar 1 16:22:31 CST 2024
Compile time: 1 Mar 2024 11:02:07
Android security update: 1 March 2024
Google Play system update: 1 April 2024

Organic Maps version: 2024.03.31-8-FDroid

While "sr" (Serbian Cyrillic) language is supported in the map data, it looks like it is not enabled in indexer/categories_holder.hpp for the search (and is absent in data/cagegories.txt). Any help with adding translations is appreciated: https://github.com/organicmaps/organicmaps/blob/master/docs/TRANSLATIONS.md

Moreover, I found that the search is not stable. Repeat the sequence (Montenegro is not downloaded):

  • "Подгорица" // ok
  • "Подгорица Montenegro" // bad
  • "Подгорица" (delete Montenegro) // bad ?! again