Distance is not working


(nachiket) #1

Hi.
I want to write a script which sorts on the basis of geographical
distance.
For some unknown reason it is not working.
Can somebody have a look at it?
The code is at git://gist.github.com/1068903.git

Regards.


(Shay Banon) #2

can you try and do doc['location']. (note, this can get tricky with curl).

On Thursday, July 7, 2011 at 7:50 AM, nachiket bhagwat wrote:

Hi.
I want to write a script which sorts on the basis of geographical
distance.
For some unknown reason it is not working.
Can somebody have a look at it?
The code is at git://gist.github.com/1068903.git (http://gist.github.com/1068903.git)

Regards.


(system) #3