Personal tools
You are here: Home SinnottsFormula
FrontPage >> MapInfoRoadmap >> GIS Algorithms >> SphericalTrigonometry >>

SinnottsFormula

Document Actions
last edited 3 years ago by BillThoen

Calculating Distance Between Points on the Earth

A common task for GIS software is to calculate the distance between to two points on the surface of the earth. The shortest distance between these points is the great circle route that connects them. This is the trace of a plane that passes through the two points and the center of the sphere at its intersection with the surface of the sphere. Sinnott's formula is used to calculate this distance.

Sinnott's Formula

c = sin^2((lat1-lat0)/2) + cos(lat1) * cos(lat0) * sin^2((lon1-lon0)/2)

d = 2 * R * (arcsin(sqrt(c))

The variables are:

(lon0, lat0) location of the first point

(lon1, lat1) location of the second point

R is the radius of the earth

d is the distance between the points

« December 2008 »
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
 

Powered by Plone, the Open Source Content Management System

This site conforms to the following standards: