Calculating distance in Kilometres and Miles from Latitude and Longitude
Using SQL you can have your database return the distance between 2 sets of Lat and Long points, and using some math functions also take into account the curvature of the earth.
URL: http://www.sixfive.co.uk/index.cfm/2007/4/9/Calculating-distance-in-Kilometres-and-Miles-from-Latitude-and-Longitude
Report this snippet
Comments
Subscribe to comments