Coder Social home page Coder Social logo

OpenStreetMap fields old_name, alt_name etc. are not considered when looking for cities, while they are when serching for roads about osmand HOT 13 CLOSED

Max1234-Ita avatar Max1234-Ita commented on July 18, 2024
OpenStreetMap fields old_name, alt_name etc. are not considered when looking for cities, while they are when serching for roads

from osmand.

Comments (13)

Neuwessi11 avatar Neuwessi11 commented on July 18, 2024 1

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!

from osmand.

vshcherb avatar vshcherb commented on July 18, 2024

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
telegram-cloud-photo-size-4-5834589127906016521-y

from osmand.

Max1234-Ita avatar Max1234-Ita commented on July 18, 2024

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 telegram-cloud-photo-size-4-5834589127906016521-y

I don't read very well Cyrillic alphabet, but I guess this is a search for a street which has old_name 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.

from osmand.

DmitryAlexei avatar DmitryAlexei commented on July 18, 2024

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)

from osmand.

vshcherb avatar vshcherb commented on July 18, 2024

To do: support old_name:* in search, probably it's not part of the map and only map update is needed.

from osmand.

ivanPyrohivskyi avatar ivanPyrohivskyi commented on July 18, 2024

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

from osmand.

Max1234-Ita avatar Max1234-Ita commented on July 18, 2024

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!

from osmand.

DmitryAlexei avatar DmitryAlexei commented on July 18, 2024

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

  1. Test cases almost ok. For Verrua Po village in the second line there is no information about old_name
  1. Works fine with old_name:de (https://www.openstreetmap.org/relation/130921) and diacritic symbols (https://www.openstreetmap.org/node/3009772106)

from osmand.

Neuwessi11 avatar Neuwessi11 commented on July 18, 2024

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?

from osmand.

Max1234-Ita avatar Max1234-Ita commented on July 18, 2024

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).

from osmand.

Neuwessi11 avatar Neuwessi11 commented on July 18, 2024

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

from osmand.

Neuwessi11 avatar Neuwessi11 commented on July 18, 2024

It's the same with the December maps, so it seems to be a bug.
Maybe this issue should be re-opened?

from osmand.

DmitryAlexei avatar DmitryAlexei commented on July 18, 2024

OsmAnd~ 4.6.0#1135m, released: 2023-12-01
@Neuwessi11 cannot confirm

  • fresh nightly build
  • fresh maps (from December)
  • search for Nikko

from osmand.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.