Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

is it possible to get only N closest points that match the distance predicate?


Yes. That library has a flexible kNN method built in. https://pkg.go.dev/github.com/tidwall/rtree#RTree.Nearby




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: