Closed Max1234-Ita closed 1 year ago
As you see 2nd line displays old_name (https://nominatim.openstreetmap.org/ui/details.html?osmtype=W&osmid=113138320&class=highway) also old_name / alt_name should searchable and visible for cities
As you see 2nd line displays old_name (nominatim.openstreetmap.org/ui/details.html?osmtype=W&osmid=113138320&class=highway) also old_name / alt_name should searchable and visible for cities
I don't read very well Cyrillic alphabet, but I guess this is a search for a street which has _oldname set (and actually works). The issue comes up when a village (or city) is searched with its old_name: it looks it isn't showing up in the search results.
The tag old_name for cities is available to search in Cyrillic, but not available to search in Latin languages. See Grodno (https://www.openstreetmap.org/relation/130921)
To do: support old_name:* in search, probably it's not part of the map and only map update is needed.
Problem will fix in new maps August 2023.
Use Italy Lombardy map for test. Test cases: https://www.openstreetmap.org/node/62515300 Lungavilla / Calcababbio https://www.openstreetmap.org/node/62515810 Verrua Po / Verrua Siccomario https://www.openstreetmap.org/node/517735981 Villapia / Tiracoda
Just tried with OsmAnd v.4.5.5 Beta, it looks it works. I tried searching just for "Siccomario", however, and in effect several villages with that word in their name/old_name are found ( Verrua Po - Verrua Siccomario is among them). Unfortunately they are at random places in a very long list:
I think matches coresponding to inhabited locations (cities, towns, villages, etc) should be listed first, before all the other match types (roads, bridges, tunnels and amenities such as bus stops, etc.)... but I guess this is a different issue :-)
Thank you so much!
Problem will fix in new maps August 2023.
Use Italy Lombardy map for test. Test cases: https://www.openstreetmap.org/node/62515300 Lungavilla / Calcababbio https://www.openstreetmap.org/node/62515810 Verrua Po / Verrua Siccomario https://www.openstreetmap.org/node/517735981 Villapia / Tiracoda
I am not completely sure if it is the same thing, but if I search for „Düsseldorf Hotel Nikko“ there is not shown the Hotel Nikko (what is now Clayton Hotel, but I added the old_name tonight) in the search list. It only appears a wikipedia article tagged at the building next door. But when tapping at the Clayton Hotel you can see in the details of this hotel the old name, so I would guess OsmAnd can read the old names, but OsmAnd cannot reliably search for old names. Or can be the problem that „Hotel Nikko“ is only in the Live Updates, but not in the normal maps?
I am not completely sure if it is the same thing, but if I search for „Düsseldorf Hotel Nikko“ there is not shown the Hotel Nikko (what is now Clayton Hotel, but I added the old_name tonight) in the search list. It only appears a wikipedia article tagged at the building next door. But when tapping at the Clayton Hotel you can see in the details of this hotel the old name, so I would guess OsmAnd can read the old names, but OsmAnd cannot reliably search for old names. Or can be the problem that „Hotel Nikko“ is only in the Live Updates, but not in the normal maps?
The live updates are included included in the cartography and subsequently deleted after the monthly packages have been built, as they are just temporary modifications to the map;
Perhaps the hotel tags have been changed recently? Try checking the same item after next monthly update: if so, you should find it in the regular map too (otherwise, I guess it's a bug).
Yes, I recently added the old_name-tag. But you said, OsmAnd should work with the live updates, and it does, because when tapping on the hotel, the old name is shown. Only the search function doesn't find the old name. But I will try again after the next monthly update. Until then, you can form your own opinion. It is this hotel: https://www.openstreetmap.org/node/3176636861
It's the same with the December maps, so it seems to be a bug. Maybe this issue should be re-opened?
OsmAnd~ 4.6.0#1135m, released: 2023-12-01 @Neuwessi11 cannot confirm
Interesting. The same with my OsmAnd 4.5.10. But when I search for the Hotel Nikko, I would never search only for 'nikko'. But you are right, this is not a problem of handling the old_name tag, but a problem of the search function, which is one of the worst search functions I ever met. Searching for 'nikko hotel' gives a very good result, but searching for 'hotel nikko' (what is simply the name of the hotel) or 'hotel nikko düsseldorf' is just a catastrophe. But anyway - thank you for the information!
Description
I know of some locations in Italy which have either old_name or alt_name keys mapped in OSM. e.g.:
Voghera (map: Italy-Lombardy): Piazza Francesco Meardi: https://www.openstreetmap.org/way/910629447 Tags: place=square; name=Piazza Francesco Meardi; alt_name=Piazza Rossella; old_name=Piazza Rossella
Lungavilla (map: Italy-Lombardy): https://www.openstreetmap.org/node/62515300 Tags: place=village; name=Lungavilla; old_name=Calcababbio
Pizzo (map: Italy-Calabria): https://www.openstreetmap.org/node/67276014 Tags: place=village; name=Pizzo; alt_name=Pizzo Calabro
I noticed that in OsmAnd, if I search for alt_names/old_names of a street, they appear in the search results, however the search is not successful if the old/alt_name belongs to a city or village, i.e.:
Search for Voghera, Piazza Rossella: Successful (returned "Piazza Francesco Meardi"; would be better if it was "Piazza Francesco Meardi (Piazza Rossella)", but it's OK)
Search for "Calcababbio": Unsuccessful. A place named Calcababbio actually exists in the same map, but it's about 12Km away, I would expect to see "Lungavilla" listed among the results.
Search for ""Pizzo Calabro": Unsuccessful. A lot of results appear, but "Pizzo (village)" is not in the list.
Steps to reproduce
Actual result
Searching for old_name or alt_name of locations returns a result only if the old/alt_name belongs to a street or square; place=village, place=city etc. seems to be disregarded
Expected result
Search for old_name or alt_name should return results also for place_city, place=village etc.
Your Environment
OsmAnd Version: OsmAnd Plus v. 4.5.3 (Beta) Android/iOS version: Android 11 Device model: Samsung Galaxy A50 (SM-A505 FN)