Python bindings for libkdtree: FIX of find_within_range...

Paul elegant_dice at yahoo.com
Thu Dec 13 01:29:36 UTC 2012


Note:

I had some recent comms with a student who wanted to use libkdtree,

the tarball is not a good one to use, we should update it to the latest
from the code repo,

cheers,
Paul

On 12 December 2012 18:01, Willi Richert <w.richert at gmx.net> wrote:

> +libkdtree-devel
>
> Does anyone have had similar problems with libkdtree++ on Fedore17?
>
> Thanks,
> wr
>
>
> 2012/12/12 Rob <prowelr at zoominternet.net>
>
>> There appears to be something wrong with the python bindings from the
>> Fedora17 packages.  They say they are using 0.7.0 but for whatever reason
>> their bindings don't work.  The ones you sent to me do though.  I can
>> compile and use your tarball at will.  So this begs the question of whether
>> your code is more recent than the 0.7.0 tarballs on goliath.debian.org.
>>
>> As a workaround I've since compiled and copied your interface module and
>> the .so file to the python library directories on my system to supercede
>> the ones from the distro.
>>
>> What would be really awesome would be the use of subclassing and
>> overloading the sorting methods from the base object so each dimension can
>> be sorted like when using the library in c++...thus allowing for a generic
>> implementation instead of kdtree_3f, kdtree_4i, or whatever. Not sure if
>> that level of binding is even possible in python.
>>
>> Thanks.
>> RP
>>
>>
>>
>>
>>
>> On 12/11/2012 03:05 PM, Willi Richert wrote:
>>
>>> So I just looked at it and got no errors:
>>>
>>>   wr@[willi]:~/entwicklung/**libkdtree/python-bindings> python kdtest.py
>>> 41
>>>
>>>   wr@[willi]:~/entwicklung/**libkdtree/python-bindings> python kdtest.py
>>> 51
>>>
>>>   wr@[willi]:~/entwicklung/**libkdtree/python-bindings> python kdtest.py
>>> 43
>>>
>>>   wr@[willi]:~/entwicklung/**libkdtree/python-bindings> python kdtest.py
>>> 59
>>>
>>>   wr@[willi]:~/entwicklung/**libkdtree/python-bindings> md5sum kdtest.py
>>> 13f459bda4343ddd7097866c6b1fab**73  kdtest.py
>>>
>>> Do we have the same version?
>>>
>>> I have attached the generated files as a tarball for you to compare with
>>> your python_bindings.
>>>
>>> Have you updated your libkdtree to the most recent version?
>>>
>>> Thanks,
>>> wr
>>>
>>
>
> _______________________________________________
> libkdtree-devel mailing list
> libkdtree-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/libkdtree-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/libkdtree-devel/attachments/20121213/54e3d062/attachment.html>


More information about the libkdtree-devel mailing list