osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.73k stars 1.03k forks source link

Search: Please leave the search radius #12340

Open Neuwessi11 opened 3 years ago

Neuwessi11 commented 3 years ago

I have a lot of problems with the search. Maybe I will open some issues for that, but for now I want to start with the following:

When I go to the search and then categories/gas stations, the search is searching near my position and finds nothing, because it is only searching in a radius of 10 km. That is very annoying! When I am searching for a gas station, I don't want to know there is none, but I want to know where is the next one.

Even more annoying: After the described, when I add to the search the name of a city, there is the same: The search finds nothing, because the searched town is not in a radius of 10 km. Sure it is not! When I am searching a gas station, it is normally some hundred km away. So I have to increase the search radius, what in my opinion is rather a weird behavoiur. (But I found out, I can be lucky about this. When searching supermarkets and adding to the search line "Borlänge" (a Swedish town), OsmAnd finds sometimes nothing and sometimes only one little store, but not the crowd of supermarkets it should.)

Why does the search not simply search in the city, if I search for a gas station (or whatever) in this city?

vshcherb commented 3 years ago

Similar to https://github.com/osmandapp/OsmAnd/issues/11467

Neuwessi11 commented 3 years ago

Sorry, @vshcherb, but #11467 has nothing to do with the search radius. Maybe you mixed it up with #12339, this could be similar.

Please reopen this one. Thanks!

vshcherb commented 3 years ago

When searching supermarkets and adding to the search line "Borlänge" (a Swedish town), OsmAnd finds sometimes nothing and sometimes only one little store, but not the crowd of supermarkets it should.) Why does the search not simply search in the city, if I search for a gas station (or whatever) in this city?

This is exactly what specified in the issue, that search in the city doesn't work, if you specify the name.

Another thing you point here couldn't be solved for now i.e. POI are searched by radius cause there are millions of them. Though if you have a restaurant called "Grill and B&Q", search by word "Grill" will bring it even though it 100 km away and doesn't bring other grill restaurants which are close.

Neuwessi11 commented 3 years ago

Ah, ok. But if you really need the search radius, then please make the radius around the actual position only if no city is searched. In the very moment someone types the name of a city, a village, or even a hamlet, then you should make the search radius around this city, village or hamlet.