mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 03:22:14 +00:00
docs for h3CellAreaM2
This commit is contained in:
parent
bd6019cc95
commit
924cb5dede
@ -808,4 +808,40 @@ Result:
|
||||
└─────────┘
|
||||
```
|
||||
|
||||
## h3CellAreaM2 {#h3cellaream2}
|
||||
|
||||
Returns the exact area of a specific cell in square meters corresponding to the given input H3 index.
|
||||
|
||||
**Syntax**
|
||||
|
||||
``` sql
|
||||
h3CellAreaM2(index)
|
||||
```
|
||||
|
||||
**Parameter**
|
||||
|
||||
- `index` — Hexagon index number. Type: [UInt64](../../../sql-reference/data-types/int-uint.md).
|
||||
|
||||
**Returned value**
|
||||
|
||||
- Cell area in square meters.
|
||||
|
||||
Type: [Float64](../../../sql-reference/data-types/float.md).
|
||||
|
||||
**Example**
|
||||
|
||||
Query:
|
||||
|
||||
``` sql
|
||||
SELECT h3CellAreaM2(579205133326352383) AS area;
|
||||
```
|
||||
|
||||
Result:
|
||||
|
||||
``` text
|
||||
┌───────────────area─┐
|
||||
│ 4106166334463.9233 │
|
||||
└────────────────────┘
|
||||
```
|
||||
|
||||
[Original article](https://clickhouse.com/docs/en/sql-reference/functions/geo/h3) <!--hide-->
|
||||
|
Loading…
Reference in New Issue
Block a user