35.45 SDO_UTIL.H3_IS_PENTAGON
Format
SDO_UTIL.H3_IS_PENTAGON( h3_key IN RAW ) RETURN BOOLEAN;
Description
Returns a boolean value that determines whether a given cell is a pentagon (instead of a hexagon) or not.
Usage Notes
At each H3 resolution, there are exactly 12 pentagons (centered at the vertices of the icosahedron used for the H3 projection) and all other cells are hexagons. All 12 pentagons at any given H3 resolution are identical in size. The centers of the 12 pentagons are the same at all resolutions, and all the pentagon centers are in the ocean.
Examples
The following examples call SDO_UTIL.H3_IS_PENTAGON to determine if
the given cell is a pentagon or not.
SQL> SELECT SDO_UTIL.H3_IS_PENTAGON('08928342E20FFFFF') pentagon;
PENTAGON
-----------
FALSE
SQL> SELECT SDO_UTIL.H3_IS_PENTAGON('08FD600000000000') pentagon;
PENTAGON
-----------
TRUEParent topic: SDO_UTIL Package (Utility)