[SciPy-User] kdtree, custom distance function

Oleksandr Huziy guziy.sasha@gmail....
Mon Nov 14 11:05:36 CST 2011


Hello,

I am trying to use scipy.spatial.kdtree to interpolate data from a lat/lon
grid to a set of points (also with lat/lon coordinates).

Is it possible to specify a custom distance function for the kdtree that
should be used for querying?

Also is there a function that computes distance on a sphere in
scipy.spatial?

thanks

--
Oleksandr Huziy
UQAM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20111114/59e6db01/attachment.html 


More information about the SciPy-User mailing list