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

ST_CoveredBy

Introduction: Return true if A is covered by B

ST_CoveredBy returning true ST_CoveredBy returning false

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

Return type: Boolean

Since: v1.3.0

SQL Example

SELECT ST_CoveredBy(ST_GeomFromWKT('POLYGON((0 0,3 0,3 3,0 3,0 0))'),  ST_GeomFromWKT('POLYGON((1 1,2 1,2 2,1 2,1 1))'))

Output:

false