osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.67k stars 1.02k forks source link

Not possible to search by street + house no if place doesn't have an addr:street=* tag #16127

Open letypequividelespoubelles opened 1 year ago

letypequividelespoubelles commented 1 year ago

Description

Not possible to search an address if it doesn't have an addr:street= tag. In India, a lot of addresses just have the tag addr:housenumber= and addr:place=* tags. It's not possible to find them in the serach engine of OsmAnd.

How to reproduce?

Your Environment

OsmAnd Version: FDroid v 4.3.3 Android/iOS version: Device model:

Maps used (online or offline):
same with offline monthly update and live update

vshcherb commented 1 year ago

Indeed it's not supported nowadays, though it's not clear how necessary it is

letypequividelespoubelles commented 1 year ago

According to taginfo, there are 124 M addr:street=* tag, 9M addr:place=* tag of which 80% are without addr:street=* tags. So adding the possibility to search for addr:place=* tags will add roughly 7M addreses, so +5% of the total OSM addresses, so IMHO it is necessary !

And in India (at leat where I live), most of the addresses are without addr:street tags, because most streets don't have a name. So very usefull.

letypequividelespoubelles commented 1 year ago

It would be nice if osmand uses the addr:block_number= tag (mainly used in Japan) and addr:block= (mainly in India)

vshcherb commented 1 year ago

Yes, we need to use at least addr:block_number or addr:block instead of street. Places that don't have streets are searchable as they are attached to village or suburb.

Zirochkabila commented 1 year ago

OsmAnd~ 4.4.0#14172mqta, Released: 2023-02-12 Indeed, the address does not appear in the search. However, it is displayed in OSM 26.92912, 75.79701 Todarmal Marg D9

OSM

OSM Result Screenshot 2023-01-31 at 11 19 41

addr:housenumber=*

Overpass Screenshot 2023-01-31 at 11 19 41
OsmAnd No result Screenshot 2023-01-31 at 11 19 41

https://user-images.githubusercontent.com/104760013/218305067-b44c0e2d-c41e-4392-b370-baf1fbb80c8f.mp4

vshcherb commented 1 year ago

Jaipur D9

You can find it by City name + house, it's how it works or you need to add street cause it's not a common mapping

letypequividelespoubelles commented 1 year ago

it's how it works or you need to add street cause it's not a common mapping

I don't get your point @vshcherb : there are 125M addr:street in OSM, and 7M addr:place without addr:street tags (according to taginfo). So what you call "not common mapping" means you roughly forgot around 6% of the total mapped addresses.

And OSMAnd doesn't look for addr:block (used in India) and addr:block_number(Japan). So how are we supposed to search for a place with just addr:housenumber=, addr:block= and addr:place=* ? Let's say there are around 500 different places in New Delhi, and each of them have 4 different blocks. It means searching with just house addr:housenumber=1 and addr:city=ND (as addr:place and addr:block doesn't count for OSMand) would give around 2000 results. (It's a very theoretic calculus, because a lot of addresses are missing (or mistagged) in India, I think mainly because a tagging scheme that suits for India (housenumber + block + place) isn't taken into account by large OSM datas consummers.)

vshcherb commented 1 year ago

The address is searchable: City name + house. Most of the houses without street name in OSM don't have it legally , so it's poor mapping if address has a street it should be mapped.

OsmAnd supports assigning houses directly to City / District. Block could / should be treated as a street but than it's a different issue than it was started

Zirochkabila commented 1 year ago

OsmAnd~ 4.4.0#14188mqta, Released: 2023-02-19 House isn't displayed in the search

https://user-images.githubusercontent.com/104760013/219940461-23a478c9-34ce-4690-bda9-756db8c78114.mp4

letypequividelespoubelles commented 1 year ago

linked with #5150 and #6478

Zirochkabila commented 1 year ago

OsmAnd~ 4.4.0#14228mqta, Released: 2023-03-10 If searching by City name + house, the house is displayed.

https://user-images.githubusercontent.com/104760013/224330844-f12efc1f-739f-4548-8e98-4a8a409f1d18.mp4

Zirochkabila commented 1 year ago

addr:street

taginfo Screenshot 2023-01-31 at 11 19 41

addr:place

taginfo Screenshot 2023-01-31 at 11 19 41

other keys

without addr:street=* Screenshot 2023-01-31 at 11 19 41
xmd5a2 commented 1 year ago

Overpass query: https://overpass-turbo.eu/s/1sqf It is true that there are many such objects in India изображение

xmd5a2 commented 1 year ago

Bengaluru addr:housenumber: 10171 addr:street: 6913 No addr:street: 3258 Places with to addr:street in addresses: https://www.openstreetmap.org/way/559491999 https://www.openstreetmap.org/way/346816247 (all buildings nearby)

Mumbai addr:housenumber: 5770 addr:street: 2315 No addr:street: 3455 Places with no addr:street (unselected) Screenshot_2023-03-16_09-33-56

Delhi addr:housenumber: 7578 addr:street: 3081 No addr:street: 4497 Place where buildings have addr:place tag with value not matching to nearest place=town: https://www.openstreetmap.org/node/10603882373#map=16/28.7295/77.1710 https://www.openstreetmap.org/node/10613922967#map=15/28.7303/77.1713 Screenshot_2023-03-16_09-43-03

Ahmedabad addr:street: 458 addr:housenumber: 548 No addr:street: 90

Hyderabad addr:housenumber: 1884 addr:street: 1294 No addr:street: 590 Wrong mapping: all address in addr:housenumber https://www.openstreetmap.org/node/7363305985

Half of the buildings without addr:street in most populated cities of India do not have a named street nearby. Most of them obviously belongs to landuses (residential,industrial) or place=* (https://www.openstreetmap.org/node/5613978039). Some of them contains addr:place with name of nearest landuse. Huge percent of wrong/incomplete mapping.

xmd5a2 commented 1 year ago

Philippines

Manila addr:housenumber: 62326 addr:street: 35253 No addr:street: 27073 Districts with addr:block_number wiki adresses: https://www.openstreetmap.org/way/1075387661 https://www.openstreetmap.org/way/248631616 https://www.openstreetmap.org/way/363388598 Most of missing addr:street buildings are there.

Brunei

addr:housenumber: 10065 addr:street: 9876 No addr:street: 189

Indonesia

Jakarta agglomeration addr:housenumber: 29296 addr:street: 9755 No addr:street: 19541 Districts with addr like addr:housenumber + addr:place=Blok J5 (most of missing addr:street buildings are there): https://www.openstreetmap.org/node/7790313701 https://www.openstreetmap.org/node/7796128309 No addr:street quarter: https://www.openstreetmap.org/way/378107860

Papua New Guinea

Almost no addresses

Malaysia

Kuala Lumpur agglomeration addr:housenumber: 33547 addr:street: 32403 No addr:street: 1144 District with no addr:street: https://www.openstreetmap.org/relation/14594273

Vietnam

Ha Noi agglomeration addr:housenumber: 15075 addr:street: 14046 No addr:street: 1029

Thailand

Bangkok agglomeration addr:housenumber: 10915 addr:street: 7291 No addr:street: 3624 addr:district: 989 District with addr:district and addr:subdistrict: https://www.openstreetmap.org/node/942310380 District with very complicated addresses: https://www.openstreetmap.org/way/659240674

vshcherb commented 1 year ago

Looks like for most of the houses are searchable as place+housenumber (https://www.openstreetmap.org/node/5420217732) and probably thats how many people will search for these houses. For the original request https://nominatim.openstreetmap.org/ui/details.html?osmtype=N&osmid=3824193784&class=building it means that OsmAnd already supports "Bani Park D9" search if there is boudnary specified.