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

ST_Area

Introduction: Return the area of A

ST_Area

Format: ST_Area (A: Geometry)

Return type: Double

Since: v1.3.0

Example:

SELECT ST_Area(ST_GeomFromText("POLYGON(0 0, 0 10, 10 10, 0 10, 0 0)"))

Output:

10