coords must contain two columns: the first one for the longitude
or "X" coordinates, and the second one for the latitude or "Y" coordinates.
The "Haversine" method is used to compute great-circle distances from
longitude/latitude, while the "Euclidean" method should be used for "X/Y"
coordinates.