Geeks With Blogs
The Ninja's Blog The Tao begets the one, the one begets the two...... SQL
How to calculate the distance in calculate the distance in miles between 2 latitude/longitude points.

I have just had the requirement to calculate the distance between 2 locations for a client project. At first I was going down the route of rolling my own within the C# domain model and then I found this amazing piece of code in the form of an SQL function (sql server 2000/20005) courtesy of Troy DeMonbreun

Posted On Thursday, January 17, 2008 10:24 PM

Copyright © Dave "The Ninja" Lawton | Powered by: GeeksWithBlogs.net | Join free