Y
Hacker News
new
|
ask
|
show
|
jobs
by
asadawadia
1211 days ago
is it possible to get only N closest points that match the distance predicate?
1 comments
tidwall
1210 days ago
Yes. That library has a flexible kNN method built in.
https://pkg.go.dev/github.com/tidwall/rtree#RTree.Nearby
link