Table.geo_distance
geo_distancelat1long1lat2long2unitsas
Documentation
Computes the distance between two latitude/longitude points on each row of the table.
Arguments
lat1: The latitude of the first point, either a Column or single value.long1: The longitude of the first point, either a Column or single value.lat2: The latitude of the second point, either a Column or single value.long2: The longitude of the second point, either a Column or single value.units: The unit to return the result in.as: The name of the resulting column to add.