Appearance
H3_CELL_TO_HEXSTRING
Converts the BIGINT value of an H3 cell ID to hexadecimal format.
Syntax
sql
H3_CELL_TO_HEXSTRING(<cell>)Arguments
<cell>: A BIGINT representing the H3 cell ID.
Returns
A VARCHAR containing the hexadecimal value of the passed in H3 cell ID.
Example
sql
SELECT h3_cell_to_hexstring(h3_point_to_cell('POINT(0 0)', 3));
-- 83754efffffffff