geo-index icon indicating copy to clipboard operation
geo-index copied to clipboard

What does nearest neighbor to a point mean in the docs?

Open ogencoglu opened this issue 10 months ago • 3 comments
trafficstars

# Find the nearest neighbors in the RTree to the point (5, 5)
results = rt.neighbors(tree, 5, 5)

What is the definition of nearest (or distance in general) between bounding boxes (rectangles) and a point here?

ogencoglu avatar Jan 09 '25 23:01 ogencoglu