SDO_UTIL.H3_GRID_DISK

Format

SDO_UTIL.H3_GRID_DISK(
      h3_key IN RAW,
      k      IN NUMBER
) RETURN SYS.ODCIRAWLIST;

Description

Produces a filled-in disk of cells that are at most grid distance k from the origin cell.

Parameters

h3_key

The origin H3 cell.

k

The maximum grid distance from the origin cell.

Usage Notes

This function can be queried with the TABLE operator. The result is a collection of H3 cell identifiers, each returned as a RAW value.

Examples

The following example returns the cells within grid distance 3 of the specified origin cell:

SELECT *
FROM TABLE(SDO_UTIL.H3_GRID_DISK('085283473FFFFFFF', 3));