hello, i got a problem similar to https://help.openstreetmap.org/questions/722/why-does-nominatim-return-an-error-for-queries-from-internet-explorer that is my call to nominatim:
Suche Flughafen Hamburg
in Firefox i can read the answer in standard tab.
In InternetExplorer i also receive the same result (after having a detail look with a debug tool) But calling that link inside a webpage wih jquery... in Firefox anything is fine. $.ajax({ url: url, type : "GET", success: function(result){ alert("success"); }, error: function(err) { alert("error"); } Using the internet explorer debugger the code runs to the error section. Without giving me useful information. it feels the URL isnt called. Any ideas, what the problem is? am using jquery-1.7.2 and jquery-ui-1.8.22 thanks asked 19 Dec '12, 15:43 Cortadillo |
Have you checked your encoding as suggested in the question you linked to? Try searching for something without any special characters in it like 'london' and see if that works. If it does it would suggest an encoding problem - follow the advice from https://help.openstreetmap.org/questions/722/why-does-nominatim-return-an-error-for-queries-from-internet-explorer. Alternatively can you try using format=jsonv2 instead. The v2 format was introduced to fix a problem with a conflict between the property 'class' used in the original json format. If neither of these are the cause you will need to use the debugger to view the actual response comming back from the nominatim server. You could also try replacing answered 19 Dec '12, 15:57 twain |
I would suggest that using InternetExplorer is the problem. ;-) ... it was in the question you've linked to.