The simplest spatial aggregation once both points and shapes are supported is ST_EXTENT. This is also the only aggregation being considered for non-licensing due to its potential usage in Kibana. The function is similar to ST_BOUNDS, but instead of generating the bounds for a geometry argument, it aggregates over all geometries for that field, and produces a combined bounding box.
Description
The simplest spatial aggregation once both points and shapes are supported is
ST_EXTENT
. This is also the only aggregation being considered for non-licensing due to its potential usage in Kibana. The function is similar toST_BOUNDS
, but instead of generating the bounds for a geometry argument, it aggregates over all geometries for that field, and produces a combined bounding box.For reference, the PostGIS documentation is https://postgis.net/docs/ST_Extent.html