Skip to content

RS_ConvexHull

Returns the convex hull geometry of a raster.

Usage

geometry RS_ConvexHull(rast: raster)

Arguments

  • rast (raster): Input raster

Examples

SELECT RS_ConvexHull(RS_Example());
┌──────────────────────────────────────────────────────────────────────────────┐
│                          rs_convexhull(rs_example())                         │
│                                    struct                                    │
╞══════════════════════════════════════════════════════════════════════════════╡
│ {item: POLYGON((43.08 79.07,171.07999999999998 143.07,203.07999999999998 20… │
└──────────────────────────────────────────────────────────────────────────────┘