Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
asadawadia
· 3y ago · 0 comments
is it possible to get only N closest points that match the distance predicate?
Comments
[–]
tidwall
3y ago
Yes. That library has a flexible kNN method built in.
https://pkg.go.dev/github.com/tidwall/rtree#RTree.Nearby