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

ST_Covers

Introduction: Return true if A covers B

ST_Covers returning true ST_Covers returning false

Format: ST_Covers (A: Geometry, B: Geometry)

Return type: Boolean

Since: v1.3.0

Example:

SELECT ST_Covers(ST_GeomFromWKT('POLYGON((-2 0,0 2,2 0,-2 0))'), ST_GeomFromWKT('POLYGON((-1 0,0 1,1 0,-1 0))'))

Output:

true