I have a data frame having two columns latitude and longitude and 863 rows so that each row has a point coordinate defined by latitude and longitude. Latitudes and longitudes may be entered in any of three different formats decimal degrees DDDD degrees and decimal minutes DDMMMM or degrees minutes and decimal seconds DDMMSSSS. This routine calculates the distance between two points given the.
143 55 353839 E.
Enter the latitude and longitude of two locations and select calculate. Sometimes getting right and sometimes getting irrelevant distance. There are a number of latitudelongitude distance calculators available online. A sinĀ² Df2 cos f1 cos f2 sinĀ² Dl2 c 2 atan2 a 1a d R c.