Temporal H3 Cell Indices

Conversions

Static Geometry Coverage

  • geoToH3Cell: Return the H3 cell containing a point geometry at the given resolution

  • geoToH3IndexSet: Return the set of H3 cells covering a geometry at the given resolution

Accessors

  • startValue, endValue: Return the first or last H3 cell identifier of a temporal value

  • valueN: Return the nth distinct H3 cell identifier

  • getValues: Return the set of distinct H3 cell identifiers the trajectory takes

  • valueAtTimestamp: Return the H3 cell identifier at a given timestamp

Index Inspection

  • th3GetResolution: Return the temporal resolution level (0-15) of each cell

  • th3GetBaseCellNumber: Return the temporal base-cell number (0-121) of each cell

  • isValidCell: Return a temporal boolean of whether each value is a valid cell

  • th3IsResClassIii: Return a temporal boolean of whether each cell has Class-III orientation

  • th3IsPentagon: Return a temporal boolean of whether each cell is a pentagon

Hierarchy

Lat/Lng Conversions

Directed Edges

Vertices

  • th3CellToVertex: Return the temporal H3 vertex at the given vertex number

  • th3VertexToLatlng: Return the temporal geodetic coordinates of each vertex

  • isValidVertex: Return a temporal boolean of whether each value is a valid vertex

Grid Traversal

Metrics

  • th3CellArea: Return the temporal area of each cell in the requested unit

  • th3EdgeLength: Return the temporal length of each directed edge in the requested unit

  • greatCircleDistance: Return the temporal great-circle distance between two temporal geodetic points

Ever and Always Comparisons

  • ever_eq, ?=: Return whether a temporal H3 cell is ever equal to the probe

  • always_eq, %=: Return whether a temporal H3 cell is always equal to the probe

  • ever_ne, ?<>: Return whether a temporal H3 cell is ever different from the probe

  • always_ne, %<>: Return whether a temporal H3 cell is always different from the probe

Temporal Comparisons

  • #=, #<>: Return the per-instant equality or inequality between a temporal H3 cell and a probe

Bounding Box Operations

Set-Returning Helpers

Spatial Relationships

Indexing