Skip to main content

GEO_PERIMETER

Calculates the perimeter of a polygon

Updated today

Description

The GEO_PERIMETER() function calculates the perimeter length of a polygon in miles or kilometers.

Syntax

GEO_PERIMETER(geometry, [unit])

Output

number

Variables

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

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

Example

GEO_PERIMETER(`territory`, 'mi')

Territory

Geo Perimeter

Territory A

18.42

Territory B

72.46

Did this answer your question?