Skip to content
Apache Sedona 1.9.0 is out now, featuring Spark 4.1 support, proj4sedona CRS transformation, Bing Tile functions, and more!

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))