H3_EDGE_LENGTH_KM
Learn how to use the H3_EDGE_LENGTH_KM utility function in PlaidCloud Lakehouse. Returns the average hexagon edge length in kilometers at the given resolution.
Returns the average hexagon edge length in kilometers at the given resolution. Excludes pentagons.
Analyze Syntax
func.h3_edge_length_km(res)
Analyze Examples
func.h3_edge_length_km(1)
┌───────────────────────────┐
│ func.h3_edge_length_km(1) │
├───────────────────────────┤
│ 483.0568390711111 │
└───────────────────────────┘
SQL Syntax
H3_EDGE_LENGTH_KM(res)
SQL Examples
SELECT H3_EDGE_LENGTH_KM(1);
┌──────────────────────┐
│ h3_edge_length_km(1) │
├──────────────────────┤
│ 483.0568390711111 │
└──────────────────────┘