gcdist: Greater circle distance
Description
Greater circle distance function to calculate spatial distance from lat-long data. Called by various functions.Usage
gcdist(x1, y1, x2, y2)
Value
- The distance in km is returned
Details
Function for great circle distance -- due to T. Keitt.
See http://www.census.gov/cgi-bin/geo/gisfaq?Q5.1.