Skip to main content
Generate a polygon geometry column from the minimum and maximum coordinates of an envelope with an option to add SRID SQL reference: ST_MakeEnvelope

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.
Optional[ColumnOrNameOrNumber]
default:"None"
SRID to be set for the envelope.

Returns

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