Skip to content
🌵SedonaDB (Rust) 0.3.0 is out now, featuring larger-than-memory spatial joins, and row-level CRS!

RS_Envelope

Introduction: Returns the envelope of the raster as a Geometry.

RS_Envelope

Format: RS_Envelope (raster: Raster)

Return type: Geometry

Since: v1.4.0

SQL Example

SELECT RS_Envelope(raster) FROM raster_table

Output:

POLYGON ((0 0,20 0,20 60,0 60,0 0))