How to group latitude/longitude points that are ‘close’ to each other?
There are a number of ways of determining the distance between two points, but for plotting points on a 2-D graph you probably want the Euclidean distance. If (x1, y1) represents your first point and (x2, y2) represents your second, the distance is d = sqrt( (x2-x1)^2 + (y2-y1)^2 ) Regarding grouping, you may want … Read more