This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Nominatim search failed in local installation

0

Hi,

I have Nominatim with the Spanish data set install in local. I have a server with Debian Squeeze 7 and a Ubuntu 14.04.2 desktop version. I can not make search working. The map is shown perfeclty and when I click on the search button it fails saying:

Nominatim has encountered an error with your request.
Details: Illegal query string (not an UTF-8 string): albacete

The URL request is:

http://my_server_ip/nominatim/search.php?q=albacete&viewbox=-168.76%2C63.71%2C168.76%2C-63.71

I already did tehe instalation in another server with ubuntu server but I do not know why it is failing in this two cases.

Any help? Thanks!

asked 14 May '15, 14:08

Juanma%20MR's gravatar image

Juanma MR
41447
accept rate: 0%

4

Run the query with the additional URL parameter debug=1. It should give you more detailed information on the data base error that is the root of the problem.

(17 May '15, 22:35) lonvia
2

Thanks, your sugestion gave me the key. I have different instalations and migrating database from one to another missed some functions from nominatim. Your solution pointed directly to the problem. The message thrown without debug was confusing and missleading.

(21 May '15, 09:58) Juanma MR

Source code available on GitHub .