Skip to content
🎉 Apache Sedona 1.8.1 is now available! Check out the new features and improvements.

ST_Envelope

Introduction: Return the envelope boundary of A

Format: ST_Envelope (A: Geometry)

Since: v1.3.0

Example:

SELECT ST_Envelope(ST_GeomFromWKT('LINESTRING(0 0, 1 3)'))

Output:

POLYGON ((0 0, 0 3, 1 3, 1 0, 0 0))