R/duckdb-funs.R
ST_Envelope_Agg.Rd
Alias for ST_Extent_Agg.
Computes the minimal-bounding-box polygon containing the set of input geometries.
ST_Envelope_Agg(col0)
GEOMETRY
The spatial extension (LOAD spatial;).
spatial
LOAD spatial;
SELECT ST_Extent_Agg(geom) FROM UNNEST([ST_Point(1,1), ST_Point(5,5)]) AS _(geom); -- POLYGON ((1 1, 1 5, 5 5, 5 1, 1 1))