Skip to content
πŸŽ‰ SedonaDB 0.4.0 is out now! πŸ—ΊοΈ Python DataFrame API, R dplyr, Geography support & GPU-accelerated spatial joins. Read the release blog β†’

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

SQL example:

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