跳转至
Apache Sedona 1.9.0 已正式发布,新增 Spark 4.1 支持、proj4sedona 坐标系转换、Bing Tile 函数等众多特性!

ST_Envelope

Introduction: Return the envelope boundary of A

ST_Envelope

Format: ST_Envelope (A: Geometry)

Return type: Geometry

Since: v1.0.0

SQL Example

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

Output:

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