ST_Envelope (A: Geometry)
SELECT ST_Envelope(ST_GeomFromWKT('LINESTRING(0 0, 1 3)'))
POLYGON ((0 0, 0 3, 1 3, 1 0, 0 0))
Was this page helpful?