跳转至
🎉 Apache Sedona 1.9.1 已正式发布!🗺️ 新增 Geography SQL 函数、Box2D 与 Box3D 类型、栅格 Python UDF 等。查看发布说明 →

ST_Intersects

Introduction: Return true if A intersects B

ST_Intersects returning true ST_Intersects returning false

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

Return type: Boolean

Since: v1.2.0

Example:

SELECT ST_Intersects(ST_GeomFromWKT('LINESTRING(-43.23456 72.4567,-43.23456 72.4568)'), ST_GeomFromWKT('POINT(-43.23456 72.4567772)'))

Output:

true