QGIS how to use the NNJoin Plugin algorithm within a Python script?

by applebrown   Last Updated December 06, 2017 15:22 PM

I have two layers: 1 point layer and 1 line layer. My goal is to calculate the nearest line to every point and I am doing this with the NNJoin Plugin. Now I want to do the same within a Python script, but I do not know how to access the NNJoin-Algorithm from here. Is this even possible? If not, are there any alternatives?

Thank you in advance!

Note: I have already read through the duplicate question but it doesn't quite answer my question.



Related Questions


Updated December 06, 2017 14:22 PM

Updated July 23, 2018 10:22 AM

Updated December 28, 2017 14:22 PM

Updated July 25, 2019 00:22 AM