Convert H3 index to GeoPoint

Supported in: Batch, 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<H3 Index>

Output type: GeoPoint

Examples

Example 1: Base case

Argument values:

  • Expression: h3
h3Output
85aa614bfffffff{
latitude: -20.040068721942628,
longitude: 79.95021089904623,
}
852aa84ffffffff{
latitude: 38.926035503721714,
longitude: -77.1525762709701,
}

Example 2: Null case

Argument values:

  • Expression: h3
h3Output
nullnull

Example 3: Edge case

Argument values:

  • Expression: h3
h3Output
h3null