Skip to main content
Returns the planar bounding box of all geometries in A as a typed Box2D. Empty geometries and null values are skipped. If all inputs are empty or null, the result is null. Mirrors PostGIS ST_Extent. ST_Extent is the typed counterpart to ST_Envelope_Agg. ST_Envelope_Agg returns the envelope as a Geometry; ST_Extent returns it as a Box2D value that serializes to a struct of four doubles.

Signatures

Parameters

Geometry
required
The column of geometries to aggregate.

Return type

The planar bounding box enclosing every geometry in the column.

Example