Spatial Distance
Returns a column with the name New Column by calculating the distance between two sets of latitude and longitude columns.Here the first two colnames are for the the first set of lat and long and the other two are for the second set of lat and longs.
Basic Usage
:: spatial_distance(colname,colname,colname,colname)
Output
Returns a column with the name New Column
Function Parameters
- argument 1 : first set of latitude column
- argument 2 : first set of longitude column
- argument 3 : second set of latitude column
- argument 4 ; second set of longitude column
info
- Minimum arguments needed are 4
- Maximum arguments 4
- First argument must be a column name