osm-search / Nominatim

Open Source search based on OpenStreetMap data
https://nominatim.org
GNU General Public License v3.0
3.08k stars 712 forks source link

bbox bounded generic search doesn't work anymore #3298

Closed Juanjo-MC closed 8 months ago

Juanjo-MC commented 8 months ago

Hi,

until recently, it was possible to perform generic searches (ie q=restaurants) when the query was bounded to a view box. It seems that it is not the case anymore.

Is this on purpose or is it a bug?

Cheers

mtmail commented 8 months ago

Likely related to https://github.com/osm-search/Nominatim/pull/3290 from last week. You can still run queries "restaurants near $latitude,$longitude" plus the bounded view filter. For example https://nominatim.openstreetmap.org/ui/search.html?q=restaurants+near+54.32270%2C10.13547

Nominatim isn't the best tool to extract data from OSM. If you want to list every restaurant in a geographic area something like Overpass API will return all.

lonvia commented 8 months ago

That was not intentional. I'll do a fix but it will be a couple of days.