g_distance function

Compute the distance between two geometries