KDTree in NearestNeighbors.jl with Rectangles as leaf nodes

Hi All,

I have a few hundreds of rectangles on which I want to conduct knn search. The KDTree being ideal data structure for me. I am not able find an interface that can take HyperRectangle as input. Is there any interface available for the same?

Otherwise, if there is a RTree implementation planned that will be helpful as well.

regards,

Sambit

You should check RegionTrees.jl. It’s maybe what you’re looking for.