Skip to content
πŸŽ‰ Apache Sedona 1.9.1 is out now! πŸ—ΊοΈ Geography SQL functions, Box2D & Box3D types, raster Python UDFs & more. Read the release notes β†’

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

SQL example:

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