Google

Calculating Geographic Distance With R

a brief discussion of two methods for computing map distance