osmandapp / OsmAnd

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

Search cannot find highway=pedestrian as a multipolygon #21018

Open bxl-forever opened 5 days ago

bxl-forever commented 5 days ago

Description

Searching on a street name. If a street is defined as a multipolygon but no place=square tag, it cannot be searched.

Steps to reproduce

Download Standard Map for Belgium (Oct 1, 2024)

Center the map on Brussels (50.8523 4.3495)

Search this: Marché aux Poissons - Vismarkt

Actual result

The search returns a list of places in other cities. No relevant search results nearby.

Expected result

Return the following multipolygon: https://www.openstreetmap.org/relation/1629615 It has highway=pedestrian and name=Marché aux Poissons - Vismarkt

We expect it would work like a search for the following place: Place du Jardin aux Fleurs - Bloemenhofplein That search works fine and returns the following multipolygon: https://www.openstreetmap.org/relation/14039252 It has highway=pedestrian and name=Place du Jardin aux Fleurs - Bloemenhofplein and place=square

The difference is place=square but we feel there should not be a reason to index one object and not the other.

Your Environment (required)

Version  OsmAnd~ 4.3.8
10.05.2023 9:31:35
Apk Version : 4.3.8 4308
yuriiurshuliak commented 4 days ago

We've reviewed the issue and confirmed that streets with highway=pedestrian but without the place=square tag, like Marché aux Poissons - Vismarkt, are not showing in search results, while streets with the place=square tag, like Place du Jardin aux Fleurs - Bloemenhofplein, do appear correctly.

This happens because multipolygons without the place=square tag are treated as Points of Interest (POIs) in the search, not as streets. This isn't considered a bug, but rather a feature that could be improved in the future.