Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

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

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: Krille von Stralau
[Submitted to the original trac issue database at 10.33am, Wednesday, 7th November 2012]

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

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 8.00pm, Wednesday, 7th November 2012]

Fixed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant