35.45 SDO_UTIL.H3_PENTAGON_AREA

Format

SDO_UTIL.H3_PENTAGON_AREA(
  resolution IN NUMBER,
  unit       IN VARCHAR2 DEFAULT 'SQ_KM'
 ) RETURN NUMBER;

Description

Returns the size of a pentagon at the given resolution.

Parameters

resolution

The H3 level to query.

unit

The unit of area measurement to use (see Table 6-26).

Usage Notes

All pentagons at a given level are the same size in the H3 coordinate system (SRID 4326).

Examples

The following example shows the area of the smallest H3 pentagon (level 15):

SELECT SDO_UTIL.H3_PENTAGON_AREA(15, 'SQ_M') FROM DUAL;
.452