docs h3ExactEdgeLengthRads

This commit is contained in:
bharatnc 2022-01-13 23:50:16 -08:00
parent 8830a9f52a
commit 768a6c47b1

View File

@ -986,4 +986,40 @@ Result:
└────────────────────┘
```
## h3ExactEdgeLengthRads {#h3exactedgelengthrads}
Returns the exact edge length of the unidirectional edge represented by the input h3 index in radians.
**Syntax**
``` sql
h3ExactEdgeLengthRads(index)
```
**Parameter**
- `index` — Hexagon index number. Type: [UInt64](../../../sql-reference/data-types/int-uint.md).
**Returned value**
- Edge length in radians.
Type: [Float64](../../../sql-reference/data-types/float.md).
**Example**
Query:
``` sql
SELECT h3ExactEdgeLengthRads(1310277011704381439) AS exactEdgeLengthRads;;
```
Result:
``` text
┌──exactEdgeLengthRads─┐
│ 0.030677980118976447 │
└──────────────────────┘
```
[Original article](https://clickhouse.com/docs/en/sql-reference/functions/geo/h3) <!--hide-->