You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you enter the search string "Мариуполь Новая Почта", the Nominatim should return a list of post offices (there are many of them).
For each post office, there are corresponding "name" tags:
name: Нова Пошта
name:ru Новая Почта
name:uk Нова Пошта
name:en Nova Poshta
However, the search result is two places that do not match the given criteria.
For search phrases with tags for other languages, it works fine.
Even
"Мариуполь Нова Пошта"
"Мариуполь Nova Poshta"
"Мариуполь Нова Почта"
In the debug output I see that the search string "Мариуполь Новая Почта" is transliterated to "mariupol novaia pochta".
If I enter these characters (mariupol novaia pochta) into the search bar, everything works fine.
The set of tokens is the same in both cases, but the result of the queries is different.
This is one of these cases where a bad postcode really throws off Nominatim.
Somebody has accidentally mapped a bad postcode 'Новая' on this building. This makes Nominatim think that 'Новая' is a valid name for a postcode. In addition, Nominatim does postcode interpolation into the area to compensate for bad post-code coverage. So one of the top interpretations of your search query is "a place called 'Почта' near postcode 'Новая' in 'Мариуполь'". As it happens, the bus stops near the post office now offer a perfect match for this. The actual post office are a worse match because they are not exactly mapped as name:ru=Новая Почта but as something like name:ru=Новая Почта No 13. Nominatim thinks that the missing post office number makes it a worse match.
The fix for this is to be more careful with unconditional postcode interpolation. Not quite sure yet how to do this without making the query expensive.
When you enter the search string "Мариуполь Новая Почта", the Nominatim should return a list of post offices (there are many of them).
For each post office, there are corresponding "name" tags:
name: Нова Пошта
name:ru Новая Почта
name:uk Нова Пошта
name:en Nova Poshta
However, the search result is two places that do not match the given criteria.
For search phrases with tags for other languages, it works fine.
Even
"Мариуполь Нова Пошта"
"Мариуполь Nova Poshta"
"Мариуполь Нова Почта"
In the debug output I see that the search string "Мариуполь Новая Почта" is transliterated to "mariupol novaia pochta".
If I enter these characters (mariupol novaia pochta) into the search bar, everything works fine.
The set of tokens is the same in both cases, but the result of the queries is different.
and
Why?
The text was updated successfully, but these errors were encountered: