I am calculating the distance from remote locations, which I have as point vector data, to a road network, a line vector. I'm using QGIS 2.18.2.
As per this image, I've had success with using the integrated GRASS tools v.distance and v.net.connect to generate the lines to the road network (though with slightly different results between the two functions, hence the green and red). However, the attribute file of the new line layers generated take their attribute data from the roads they're connecting to, rather than the locations they originate from.
QGIS can give me the distance represented by the generated lines, but I need to associate those distances with the locations.
Is there a different function, or a subsequent one I should be using? Ultimately I want to end up with the distance to the road as an additional attribute of the original points.