Skip to main content
Generate a polygon geometry column from the minimum and maximum coordinates of an envelope. SQL reference: ST_PolygonFromEnvelope

Signature

Parameters

ColumnOrNameOrNumber
required
Minimum X coordinate for the envelope.
ColumnOrNameOrNumber
required
Minimum Y coordinate for the envelope.
ColumnOrNameOrNumber
required
Maximum X coordinate for the envelope.
ColumnOrNameOrNumber
required
Maximum Y coordinate for the envelope.

Returns

Column
Polygon geometry column representing the envelope described by the coordinate bounds.