Opened 6 years ago

Closed 6 years ago

#4707 closed defect (invalid)

Nominatim search doesn't work in bbox

Reported by: cranik Owned by: geocoding@…
Priority: major Milestone:
Component: nominatim Version: 2.0
Keywords: Cc: cranik

Description

Nominatim worked well for searching the POI by type in bbox before, but now it returns the empty answer.

e.g. search for bars in Manchester:

http://nominatim.openstreetmap.org/search?q=bar&limit=20&format=json&email=info@galileo-app.com&bounded=1&viewbox=27.538543,53.912676,27.538651,53.912563

Change History (3)

comment:1 Changed 6 years ago by Sarah Hoffmann

Your example box is very small and somewhere in the middle of Minsk: http://www.openstreetmap.org/?box=yes&bbox=27.538543,53.912676,27.538651,53.912563 Are you sure you copied the right example?

comment:2 Changed 6 years ago by cranik

Cc: cranik added
Last edited 6 years ago by cranik (previous) (diff)

comment:3 Changed 6 years ago by Sarah Hoffmann

Resolution: invalid
Status: newclosed

Your viewbox is still tiny: http://www.openstreetmap.org/?box=yes&bbox=-2.249724,53.468505,-2.249616,53.468409 and does not contain any pubs or bars, so the empty answer is completely correct.

The behaviour of the bounded parameter got fixed lately. If bounded=1 is given, Nominatim will really only return objects within that box. Remove the bounded parameter if you want the old behaviour back.

Note: See TracTickets for help on using tickets.