Closed eklem closed 2 years ago
https://en.wikipedia.org/wiki/Euclidean_distance_matrix
Try this formula. Will do it as shortest distance between two points along a sphere. https://stackoverflow.com/questions/27928/calculate-distance-between-two-latitude-longitude-points-haversine-formula/27943#27943
https://en.wikipedia.org/wiki/Euclidean_distance_matrix