osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.63k stars 1.01k forks source link

Search: parse address with apartment and search by at least building/street #12673

Open stragu opened 3 years ago

stragu commented 3 years ago

Searching for "5/44 Yeronga street, Brisbane" does not return "44 Yeronga st". If a more precise apartment address does not exist, OsmAnd should still return the main address.

image

vshcherb commented 2 years ago

Looks like that address is not present correctly in OSM https://nominatim.openstreetmap.org/ui/search.html?q=5%2F44+Yeronga+street%2C+Brisbane

stragu commented 2 years ago

But 44 Yeronga st exists: https://nominatim.openstreetmap.org/ui/search.html?q=44+Yeronga+street%2C+Brisbane

The point of this report is to say that, if no precise unit/apartment address is found (e.g. unit 5, number 44, Yeronga st), OsmAnd should still return the location of the street number (i.e. number 44, Yeronga st). Just like the search still returns the suburb "Yeronga" in the search results, as shown above.

In the search process, it could look like this:

I guess we'd have to look for what kind of convention there is in different areas (unit number usually before or after street number?), but it seems that the convention (and the most logical) is starting with the most precise (i.e. unit number) and follow with more and more general (housenumber, street, suburb, etc.)

vshcherb commented 2 years ago
Screen Shot 2022-10-03 at 20 53 41

OsmAnd also finds it but on 2nd place