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

Nominatim Internal Server Error on bounded=1 #4541

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments
Closed

Nominatim Internal Server Error on bounded=1 #4541

openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments

Comments

@openstreetmap-trac
Copy link

Reporter: CycleStreets
[Submitted to the original trac issue database at 6.24pm, Thursday, 23rd August 2012]

This query generates an Internal Server Error:

http://nominatim.openstreetmap.org/search?q=x&bounded=1

whereas the same query but with [http://nominatim.openstreetmap.org/search?q=x&bounded=0 bounded=0] does produce results.

I first found this problem with this query:

http://nominatim.openstreetmap.org/search?format=json&addressdetails=1&limit=10&q=lower+s&viewbox=-11,61,2,48&countrycodes=gb,ie&bounded=1

@openstreetmap-trac
Copy link
Author

Author: CycleStreets
[Added to the original trac issue at 11.07am, Friday, 24th August 2012]

Note: the internal server error does not occur if results are more likely, such as this search for [http://nominatim.openstreetmap.org/search?format=json&addressdetails=1&limit=10&q=station+road&viewbox=-11,61,2,48&countrycodes=gb,ie&bounded=1 station road].

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 11.26am, Friday, 24th August 2012]

Incidentally, you've hit two different bugs here.

The first query actually does not really make sense, one shouldn't ask for bounded results without supplying a viewbox, that confused the server. The original problem is something different, it was caused by a change in the internal table layout.

Quick-fixed both problems on the server. I shall properly check in the fix into the main repo later.

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 11.30pm, Friday, 24th August 2012]

Properly fixed now.

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