I am trying to create a Convex Hull or ConcaveHull as a polygon Z from a set of points Z which I am grouping by id. I tried to use ST_ConvexHull but it's returning Polygon in 2D, not in 3D.
My inputs point are LiDAR representation of tree canopies and I would like to combine them into a single canopy with Polygon Z geometry type.
The pseudo query should look something like:
SELECT st_3dconvexhull(st_collect(geom)) FROM points_z
GROUP BY canopy_id;