# deepgraph.functions.great_circle_dist¶

great_circle_dist(lat_s, lat_t, lon_s, lon_t)

Return the great circle distance between nodes.

The latitude and longitude values in the node table have to be in signed decimal degrees without compass direction (the sign indicates west/south). The great circle distance is calculated using the spherical law of cosines.