This question already has an answer here:
I want to calculate minimum distance between points and a line in QGIS. I use "Distance Matrix", point shapefile contains 1337 points data, and I made unique ID as sequence number. A line is actually coast line and I convert text file to vector, then extract nodes using "Extract Nodes".
I followed manual and tutorial, but the output is different with what I expected. They mentioned that if I want to calculate minimum distance note check k=1, but I think my result contains the farthest distance. The output file's target ID is all the same. And I wonder what is the exact meaning of unique ID?
Please check and advise about my actions.