{ "name": "area", "type": "function", "groups": ["GeometryGroup"], "description": "Returns the area of a geometry polygon object. Calculations are always planimetric in the Spatial Reference System (SRS) of this geometry, and the units of the returned area will match the units for the SRS. This differs from the calculations performed by the $area function, which will perform ellipsoidal calculations based on the project's ellipsoid and area unit settings.", "arguments": [{ "arg": "geometry", "description": "polygon geometry object" }], "examples": [{ "expression": "area(geom_from_wkt('POLYGON((0 0, 4 0, 4 2, 0 2, 0 0))'))", "returns": "8.0" }], "tags": ["planimetric", "polygon", "spatial", "reference", "system", "calculations", "area", "project", "settings", "surface", "ellipsoid", "units"] }