Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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?

share|improve this question
add comment

2 Answers 2

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.

share|improve this answer
add comment

Staying in QGIS, use the mmqgis plugin. Install the plugin, then use the hub distance tools. http://michaelminn.com/linux/mmqgis/

Be aware though, that it may only return the distance of the point from centre of the (fault) line. Explore your results to determine this effect.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.