duckdb_spatial
duckdb_spatial copied to clipboard
what is ST_Envelope_Agg ?
The web docs mention aggregation functions including ST_Envelope_Agg (which shows a :duck: native implementation). How is this defined? I don't see it in the GitHub README either. I'd be very interested in aggregation functions.
Sorry about that, we're working on updating the docs and the readme here on GitHub properly.
The ST_Envelope_Agg basically returns a bounding box (as a polygon) containing the bounding box of all the input geometries. The signature is GEOMETRY ST_Envelope_Agg(GEOMETRY). The source is here
Hmm, come to think of it it should probably be changed/aliased to ST_Extent, like in PostGIS