# libpysal.cg.arcdist¶

libpysal.cg.arcdist(pt0, pt1, radius=6371.0)[source]

Arc distance between two points on a sphere.

Parameters
pt0point

assumed to be in form (lng,lat)

pt1point

assumed to be in form (lng,lat)

radiusradius of the sphere

The arc distance between pt0 and pt1 using supplied radius
>>> pt0 = (0,0)