KD Tree with great circle distances

"ashwin .D" <[email protected]>
Newsgroups gmane.comp.python.scientific.user
Message-ID <CAH0LXy5wsheKwr91a_ZjsJSYsE9id-V2vr02Eit9KWV50ZQYZA@mail.gmail.com>
Hello,
           I am using -
https://docs.scipy.org/doc/scipy/reference/generated/scipy.spatial.KDTree.html#scipy.spatial.KDTree
which  I believe is using Euclidean distances underneath the hood. But I
want to be able to use great circle distances. Is this the only way to do
this -
https://stackoverflow.com/questions/20654918/python-how-to-speed-up-calculation-of-distances-between-cities
or is there some way I can extend that class to use great circle
distances(maybe somebody has already done that ? ) I have a irregular
shaped grid in a WGS 84 ellipsoid(can be assumed to be a sphere) and so I
want to use great circle distances or if somebody can convince me not to
that would be great as well.


Best regards,
Ashwin.

_______________________________________________
SciPy-User mailing list
[email protected]
https://mail.python.org/mailman/listinfo/scipy-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.