Skip to main content
Return the area of A ST_Area

Signatures

ST_Area (A: Geometry)

Parameters

A
Geometry
required
The input geometry.

Return type

A numeric value.

Example

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