Opened 7 years ago

Closed 7 years ago

#4672 closed defect (fixed)

Search for [amenities] with bounded=1 gets Internal Server Error or No Results

Reported by: Krille von Stralau Owned by: geocoding@…
Priority: major Milestone:
Component: nominatim Version:
Keywords: bounded,, amenity Cc:

Description

This query produces an Internal Server Error 500

http://nominatim.openstreetmap.org/search?q=%5Bpub%5D&limit=10&addressdetails=1&bounded=1&viewbox=13.45,52.51,13.48,52.49&format=xml

When I add a country code, it doesn't crash, but still gets no results where it should:

http://nominatim.openstreetmap.org/search?q=%5Bplayground%5D&limit=10&addressdetails=1&bounded=1&viewbox=13.45,52.51,13.48,52.49&format=xml&countrycodes=de

It should work like this and it did before now:

"bounded=[0|1]

Restrict the results to only items contained with the bounding box. Restricting the results to the bounding box also enables searching by amenity only, for example a search query of just "[pub]" would normally be rejected but with bounded=1 will result in a list of items matching within the bounding box."

See http://wiki.openstreetmap.org/wiki/Nominatim

May correspond to Ticket #4541

Change History (1)

comment:1 Changed 7 years ago by Sarah Hoffmann

Resolution: fixed
Status: newclosed

Fixed.

Note: See TracTickets for help on using tickets.