ST_BoundingDiagonal
Bounding Box
ST_BoundingDiagonal (Python)
Returns a LineString with the min/max values of each dimension of the bounding box of the given geometry as its start/end coordinates.
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:

