I'm currently looking for a way to build a couple of kd trees for quickly querying some n-dimensional data. However, I'm having some issue with the scipy KD tree algorithm
My data consists of id -> {data: somedata, coordinate: x, y}
I want to be able to query base on the coordinate and k-nearest neighbour's ids as well as getting the fix radius neghbour's id. Judging from the scipy implementation of KDTree and cKDtree, this is not available.
My other options are writing my own KD tree, which will not be that great because I'm just me, or ...?