H3_HEX_AREA_KM2

Learn how to use the H3_HEX_AREA_KM2 utility function in PlaidCloud Lakehouse. Returns the average hexagon area in square kilometers at the given resolution.

Returns the average hexagon area in square kilometers at the given resolution. Excludes pentagons.

Analyze Syntax

func.h3_area_km2(res)

Analyze Examples

func.h3_area_km2(1)

┌─────────────────────────┐
 func.h3_hex_area_km2(1) 
├─────────────────────────┤
       609788.4417941332 
└─────────────────────────┘

SQL Syntax

H3_HEX_AREA_KM2(res)

SQL Examples

SELECT H3_HEX_AREA_KM2(1);

┌────────────────────┐
 h3_hex_area_km2(1) 
├────────────────────┤
  609788.4417941332 
└────────────────────┘