Appearance
H3_CELL_RESOLUTION
Returns the resolution of an H3 cell.
Syntax
sql
H3_CELL_RESOLUTION(<cell>)Arguments
<cell>: ABIGINTrepresenting the H3 cell ID.
Returns
An INTEGER between 0-15 (inclusive) representing the resolution of the input H3 cell.
Example
sql
SELECT h3_cell_resolution(h3_point_to_cell('POINT(0 0)'::geography, 3));
-- 3