Skip to content
πŸŽ‰ SedonaDB 0.4.0 is out now! πŸ—ΊοΈ Python DataFrame API, R dplyr, Geography support & GPU-accelerated spatial joins. Read the release blog β†’

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