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

ST_Within

Introduction: Return true if A is fully contained by B

ST_Within returning true ST_Within returning false

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

Return type: Boolean

SQL example:

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