Convert H3 index to GeoPoint(将 H3 索引转换为 GeoPoint(Convert H3 index to GeoPoint))¶
Supported in: Batch, Faster, Streaming
Convert an H3 index into the GeoPoint representing the center of the corresponding H3 hexagon.
Expression categories: Geospatial
Declared arguments¶
- Expression: The H3 index to convert to a GeoPoint.
Expression\
Output type: GeoPoint
Examples¶
Example 1: Base case¶
Argument values:
- Expression:
h3
| h3 | Output |
|---|---|
| 85aa614bfffffff | { latitude: -20.040068721942628, longitude: 79.95021089904623, } |
| 852aa84ffffffff | { latitude: 38.926035503721714, longitude: -77.1525762709701, } |
Example 2: Null case¶
Argument values:
- Expression:
h3
| h3 | Output |
|---|---|
| null | null |
Example 3: Edge case¶
Argument values:
- Expression:
h3
| h3 | Output |
|---|---|
| h3 | null |
中文翻译¶
将 H3 索引转换为 GeoPoint(Convert H3 index to GeoPoint)¶
支持:批处理(Batch)、快速处理(Faster)、流处理(Streaming)
将 H3 索引转换为表示对应 H3 六边形中心点的 GeoPoint。
表达式类别: 地理空间(Geospatial)
声明的参数¶
- 表达式(Expression): 要转换为 GeoPoint 的 H3 索引。
表达式\
输出类型: GeoPoint
示例¶
示例 1:基本情况¶
参数值:
- 表达式:
h3
| h3 | 输出 |
|---|---|
| 85aa614bfffffff | { 纬度(latitude):-20.040068721942628, 经度(longitude):79.95021089904623, } |
| 852aa84ffffffff | { 纬度(latitude):38.926035503721714, 经度(longitude):-77.1525762709701, } |
示例 2:空值情况¶
参数值:
- 表达式:
h3
| h3 | 输出 |
|---|---|
| null | null |
示例 3:边界情况¶
参数值:
- 表达式:
h3
| h3 | 输出 |
|---|---|
| h3 | null |