35.36 SDO_UTIL.H3_BOUNDARY

Format

SDO_UTIL.H3_BOUNDARY(
  h3_key IN RAW,
  srid IN NUMBER DEFAULT NULL
) RETURN MDSYS.SDO_GEOMETRY;

Description

Computes a polygon representing the given cell.

Parameters

h3_key

The H3 cell.

srid

Optional srid for the returned geometry. Must be a geodetic (longitude/latitude) coordinate system.

Usage Notes

Edges which cross faces of the H3 icsohedron model may have extra vertices along some edges to improve accuracy.

Examples

The following example computes the polygon for the given H3 cell:

SELECT SDO_UTIL.H3_BOUNDARY('0877AA5145FFFFFF') FROM DUAL;
SDO_GEOMETRY(2003, 4326, NULL, SDO_ELEM_INFO_ARRAY(1, 1003, 1), SDO_ORDINATE_ARRAY(48.8614522, 2.3465296, 
48.8610871, 2.35865517, 48.8505953, 2.36541433, 48.8404669, 2.36004832, 48.840831, 2.34792133, 48.8513246, 
2.34116178, 48.8614522, 2.3465296))