Perimeter

The Perimeter function calculates the perimeter of a geography, in specified units.

You can use the Perimeter function on SnowflakeΒ and BigQuery connections.

PerimeterΒ is one of Sigma's Geography functions.

Syntax

Perimeter(units, polygon)

The function arguments are:

units
Required
The unit of measurement for the perimeter
Valid values are "kilometers", "meters", and "miles".
polygon
Required
The object for which we calculate the perimeter
Must be in valid Geography polygon format.

Examples

Perimeter("meters", \[Coordinates\])

Perimeter("kilometers", \[Coordinates\])

Perimeter("miles", \[Coordinates\])

The Perimeter function returns the following values for the Coordinates column values that define a polygon, when specifying area in meters, kilometers, or miles: