In QGIS, how do I get the distance between a layer of points and a polyline layer? I have tried with a distance matrix but it does not seem to be working, I have a layer of points and a polyline; the perpendicular to the polyline must be found and then from the point of intersection the distance to the previous vertex must be calculated not the next. Is possible to have distance automatically?
I have tried with a v.net.connect
but not working as it serves me. any ideas? I post this photo. I have to find d1
, d2
and d3
, the distance of the vertex.
This is the example I have export the distance of all points from the left vertex. I have tried with v.net.connect
but the distance are from point to point that intersect. Any ideas?