Opened 7 years ago

Closed 5 years ago

#4405 closed defect (fixed)

Nominatin search returns coordinates out of viewbox

Reported by: maacub Owned by: geocoding@…
Priority: minor Milestone:
Component: nominatim Version:
Keywords: Cc:

Description

The search returns coordinates out of area, by example: http://nominatim.openstreetmap.org/search?format=json&osm_type=N&bounded=1&limit=100&viewbox=-5.662003755569458,43.54285569139583,-5.656328201293945,43.540312592581586&q=[restaurant]

The result: ..."lat":"43.5419773","lon":"-5.6667121","display_name":"Pulperia... It is out of the viewbox parameters. Isn't it?

Thanks in advance!

Change History (2)

comment:1 Changed 7 years ago by Sarah Hoffmann

This happens when no object can be found in the viewbox given. Nominatim retries the search with $sLargeViewboxSQL. It probably shouldn't be doing that when bounded=1 is given.

comment:2 Changed 5 years ago by Sarah Hoffmann

Resolution: fixed
Status: newclosed

Fixed in 3eb21a7/nominatim.

Note: See TracTickets for help on using tickets.