35.46 SDO_UTIL.H3_PENTAGON_EDGELEN

Format

SDO_UTIL.H3_PENTAGON_EDGELEN(
  resolution IN NUMBER,
  unit       IN VARCHAR2 DEFAULT 'KM'
 ) RETURN NUMBER;

Description

Returns the length of an edge 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 length of one side of the largest H3 pentagons:

SELECT SDO_UTIL.H3_PENTAGON_EDGELEN(0, 'KM') FROM DUAL;
1215.4