Skip to main content

GEO_AREA

Calculates the area of a polygon

Updated today

Description

The GEO_AREA() function calculates the area of a polygon geometry in square miles or square kilometers.

Syntax

GEO_AREA(geometry, [unit])

Output

number

Variables

  • geometry: The polygon geometry whose area you want to calculate.

  • unit : The unit used for the calculation. Supported values are mi or km.

Example

GEO_AREA(`countries`, 'mi')

Countries

Geo Area

A

12248.67

B

432156.89

C

3214569.63

Did this answer your question?