I have a layer of point data, and a layer that contains polygons of all the lakes in a region. I am trying to find the K closest of these lakes for each point. The distance should be measured from the point to the closest edge of each lake.
All solutions I have seen so far either can only connect a point to the centroid of the lake polygon, and can only make the closest connection (whereas I am trying to make K connections from each point to the closest lake polygons).
The tools I have tried to far:
- "Join by lines (hub lines)" - this can only connect each point with its nearest single lake
- GRASS v.distance tool - can only connect each point to 1 polygon
Below is an image of what I am trying to achieve (shown for a single point and for k=3).