(K) Nearest Neighbor search #734
erikatbeof
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I while ago, 250523, I asked on discord about using DuckDB Spatial extension for (K) Nearest Neighbor search. Since then there have been a lot of progress and there is also the VSS extension. But still, I need help to sort this out. Can I do KNN search with Duckdb and extensions and in case I can, how and does it scale well?
Background:
With points (from table a) and linesegments (from table b), all in a 2D-plane. I would like to find the orthogonal projection of the points to the linesegments. This post Distinct st_shortestline explains the problem well and offers a solution in Postgis.
/Erik
See also:
#572
#573
Beta Was this translation helpful? Give feedback.
All reactions