Whenever I try to send an ajax request to nominatim I am getting an empty http response for example a query I am trying to do is:

http://nominatim.openstreetmap.org/search?q=%D7%99%D7%A8%D7%95%D7%A9%D7%9C%D7%99%D7%9D&accept-language=heb&format=json&polygon=1

If I try to enter the URL through the web I see the page returns a valid json but when I try to request the following method using javascript / jquery I am being sent into .ajaxError functionality.

The exception on firebug shows 200 OK status which is wierd.

I had checked the params using firebug - the post data that I am posting is the same as above - the issue comes in the response itself. I am getting an empty response from nominatim.

I'm also pretty sure that the code is OK - it had WORKED in the past, and just stopped working a few days ago.

I even rolled versions back to be sure and it is the same.

My ajax params are:

$.ajax({
            type: "GET",
            url: url, // shown above
            data: {},
            dataType: "json",
            success: function(r){ //do something },
            error:  function(r,text,exception){ //do something }
        });

I am really trying to find something wrong in my code and to fix it, but I just don't find anything - as I mentioned - old code which I wrote and know for certain it works doesn't work anymore - that is after going back versions using svn.

Does anyone knows if there is an issue with nominatim? If not I would also be glad to get some mail and maybe contact them as I just don.t success to find a support mail.

Also if someone knows of another way to help - I would be glad to get new ideas, as I think I had lost all mine..

asked 25 Oct '10, 10:29

Itay%20Eng's gravatar image

Itay Eng
8335
accept rate: 0%

closed 25 Oct '10, 15:24

TomH's gravatar image

TomH ♦♦
3.2k83540

The question has been closed for the following reason "Other - this issue was raised on trac and dealt with there." by TomH 25 Oct '10, 15:24


This questions was answered and resolved on trac:

permanent link

answered 25 Oct '10, 15:11

twain's gravatar image

twain
2.4k2538
accept rate: 40%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×558
×236
×22
×10
×4

question asked: 25 Oct '10, 10:29

question was seen: 5,751 times

last updated: 25 Oct '10, 15:24

powered by OSQA