spatial-data-lab / knime-geospatial-extension

This repository is built for KNIME-CGA Geospatial Project, and the goal is to build Python-based nodes for geospatial analysis in KNIME Analytic Platform.
MIT License
25 stars 10 forks source link

Nearest Join node with option to return top k nearest points #323

Open koettert opened 9 months ago

koettert commented 9 months ago

Requested in the forum: https://forum.knime.com/t/geospatial-extension-nearest-join-k-result/76647

The Nearest Join node should have a new parameter which specifies how many nearest points should be returned per search. By default the parameter is 1 and uses the existing implementation. If it is greater 1 it would use a new implementation maybe similar to what is proposed here: https://stackoverflow.com/questions/62198199/k-nearest-points-from-two-dataframes-with-geopandas