Skip to content

RS_Envelope

Returns the envelope (bounding box) of a raster as a geometry.

Usage

geometry RS_Envelope(rast: raster)

Arguments

  • rast (raster): Input raster

Examples

SELECT RS_Envelope(RS_Example());
┌──────────────────────────────────────────────────────────────────────────────┐
│                           rs_envelope(rs_example())                          │
│                                    struct                                    │
╞══════════════════════════════════════════════════════════════════════════════╡
│ {item: POLYGON((43.08 79.07,203.07999999999998 79.07,203.07999999999998 207… │
└──────────────────────────────────────────────────────────────────────────────┘