Temporal Cell Index Types

Input and Output

Constructors

Conversions

  • ::: Convert between a tcell and a tbigint

  • ::: Cast a temporal cell to a temporal geodetic or planar point of cell centroids

Accessors

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

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

  • valueAtTimestamp: Return the cell identifier at a given timestamp, using step interpolation

Transformations

Modifications

  • insert, update: Insert a temporal cell into another one, or update one with another

  • deleteTime: Delete a time value from a temporal cell

Restrictions

Static Geometry Coverage

  • geoToH3Cell, geoToQuadbinCell, geoToS2Cell: Return the cell of a grid that contains a point geometry at the given resolution

  • cellset: Return the set of cells of a grid covering a geometry at the given resolution

  • eEq: Return whether a temporal cell trajectory ever takes one of the cells in a cell set

Inspection

  • getResolution: Return the resolution of each cell in a trajectory

  • isValidCell: Return a temporal boolean stating at each instant whether the value is a valid cell

Hierarchy

  • cellToParent: Return the temporal parent cell at the given resolution

Latitude and Longitude Conversions

  • tcell: Return the temporal cell at the given resolution that contains each point in a temporal geodetic or planar point

  • cellToPoint, tgeompoint: Return the temporal geodetic centroid of each cell in a trajectory

  • cellToBoundary: Return the temporal polygon boundary of each cell in a trajectory, as a temporal geography

Bounding Box Operations

Metric Functions

  • cellArea: Return the area of a cell, and the temporal area of each cell in a trajectory

Set-Returning Functions

  • gridDisk: All cells within k grid steps of the origin

  • cellToChildren: All children of a cell at the given target resolution

  • compactCells: Compacted representation of a cell set, finer cells being merged into their parent whenever the parent's full set of children is present

  • uncompactCells: Uncompacted representation at the given resolution, the inverse of compactCells

Ever and Always Relationships

Spatiotemporal Relationships

Comparisons

Aggregations

H3-Specific Operations

QUADBIN-Specific Operations

S2-Specific Operations