Sunday, 9 June 2019

Calculating distance between two points with QGIS 2.14.0


I have two shapefiles with the following information:




  • List A: ID 1 | xA | yA | ID 2




  • List B: ID 1 | xB | yB | ID 2





{x;y} = {lat;lon}


I want to calculate the distance between two points, e.g. ID 1: distance from {xA,yA} to {xB,yB}.


The KBS is WGS 84 and I need the result in meters. Can anyone tell me how to do that?




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...