Skip to content
🌵SedonaDB (Rust) 0.3.0 is out now, featuring larger-than-memory spatial joins, and row-level CRS!

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))