|
|
|
Using geo data you may find the nearest shop location to a customer, to determine the distance to a hospital and etc. Sometimes two towns only minutes apart may have completely different geo codes because they are in different states. According to geo codes it may seem that there is a huge distance between these towns. Two towns situated hours away from each other may have geo codes only one digit different.
This formula will help you to calculate the distance using latitude and longitude of a geo code.
 where dist - exact distance in miles and x is calculated according to the formula:

Using this formula you will calculate the distance in miles. To convert it in kilometers, you may use the formula:
1 mile = 1.609kilometers.
|
|
| Site-wide ads for $12/month |
| Your Ads Here |
| Your Ads Here |
|
|