Skip to main content

Spatial_Table.st_length

st_lengthfrom_columnto_columnas

Group: Calculations
Aliases: st_distance

Documentation

Gets the distance in meters between two spatial objects on each row. Note this assumes that the spatial objects are in WGS84 coordinate system (EPSG:4326).

Arguments

  • from_column: The column, expression, or name/index of the column containing the starting spatial objects.
  • end_column: The column, expression, or name/index of the column containing the ending spatial objects.

Returns

A new table with the existing columns and a new column containing the distance.