Skip to main content
Return the minimum-width rotated rectangle enclosing a geometry. Unlike ST_OrientedEnvelope which minimizes area, this function minimizes the width (shortest side) of the enclosing rectangle. SQL reference: ST_MinimumWidthRectangle

Signature

Parameters

ColumnOrName
required
Geometry column to compute minimum-width rectangle for.

Returns

Column
Minimum-width rotated rectangle as a geometry column.