Heres an example of how to calculate a distance matrix for geographic points expressed as decimal latitudes and longitudes using R. Distance between points Calculate the geographic distance between two sets of points on the WGS ellipsoid lonlatTRUE or on a plane lonlatFALSE. Provide the x1 y1 x2 and y2 values to find the distance using this distance between two points calculator.
Heres an example of how to calculate a distance matrix for geographic points expressed as decimal latitudes and longitudes using R.
D. Euclidean. This video shows an example of determining the length of a segment on the coordinate plane by using the distance formulaComplete Video List. This will be slow for larger rasters or very high res.