Skip to main content

area

Calculates the area of a geometry.

Areal geometries have a non-zero area. Others return 0.

Parameters

NameTypeDescription
geometryGeometryThe geometry for which the area is calculated

Returns

number

The area of the geometry

Examples