Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
Calculates the H3 cell resolution.
Read more about H3 Cell.
geo_h3cell_level(
h3cell)
Learn more about syntax conventions.
Name | Type | Required | Description |
---|---|---|---|
h3cell | string |
✔️ | An H3 Cell token value as it was calculated by geo_point_to_h3cell(). |
An integer that represents H3 Cell level. Valid level is in range [0, 15]. If the H3 Cell is invalid, the query will produce a null result.
print cell_res = geo_h3cell_level('862a1072fffffff')
Output
cell_res |
---|
6 |
print cell_res = geo_h3cell_level(geo_point_to_h3cell(1,1,10))
Output
cell_res |
---|
10 |
The following example returns true because of the invalid H3 Cell token input.
print invalid_res = isnull(geo_h3cell_level('abc'))
Output
invalid_res |
---|
1 |