Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting from distance for geography coordinates
Message
From
22/11/2011 13:29:26
 
 
To
22/11/2011 12:41:31
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01529492
Message ID:
01529566
Views:
14
>By the way
>
>You are using a constant 3958.75586574. I believe this is the radius of the earth in miles. If you want km, I'd use 6371
>
>Source - http://www.movable-type.co.uk/scripts/latlong-db.html

Thanks, I had the assumption it was kilometers. I will have to check back that code.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform