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

ST_Contains

Introduction: Return true if A fully contains B

ST_Contains returning true ST_Contains returning false

Format: ST_Contains (A:geometry, B:geometry)

Return type: Boolean

SQL example:

SELECT *
FROM pointdf
WHERE ST_Contains(ST_PolygonFromEnvelope(1.0,100.0,1000.0,1100.0), pointdf.arealandmark)