Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting from distance for geography coordinates
Message
 
 
To
22/11/2011 12:58:50
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01529492
Message ID:
01529565
Views:
16
>>>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
>>
>>George suggests to use
>
>
>I don't care what George is suggesting
>

Are all other constants used in the calculations correct for km? In other words, should the only change be in the Earth Radius?

What is 111 ?
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform