mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
docs h3ExactEdgeLengthRads
This commit is contained in:
parent
8830a9f52a
commit
768a6c47b1
@ -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-->
|
||||
|
Loading…
Reference in New Issue
Block a user