[GIS] Measuring the distance between lines and points in QGIS

map-pointqgisvector

Using QGIS – I have a vector of fault lines. I have point data in the form of a csv which I have also loaded into QGIS. I need to know how far each point is from the nearest fault line then enter this distance in a new column in the csv file.
Any ideas?

Best Answer

You can do this easily using the GRASS plugin with the v.distance module. Import both the fault lines (v.in.ogr in GRASS) and the csv file (v.in.ascii), then run v.distance with the "upload=dist" parameter.

Related Question