Skip to main content
Returns a LineString with the min/max values of each dimension of the bounding box of the given geometry as its start/end coordinates. SQL reference: ST_BoundingDiagonal

Signature

Parameters

ColumnOrName
required
Geometry to return bounding diagonal of.

Returns

Column
LineString spanning min and max values of each dimension of the given geometry