Return the temporal parent cell at the given resolution
cellToParent(cell,integer) → cell cellToParent(tcell,integer) → tcell cellToParent(tcell) → tcell
Return the ancestor of a cell at the given coarser resolution. The static form takes a single cell; the temporal form returns the ancestor of each cell in a trajectory. The no-argument form drops to the next-coarser resolution.
SELECT cellToParent(h3index '8a2a1072b59ffff', 5); -- 852a1073fffffff SELECT getResolution(cellToParent(th3index '8a2a1072b59ffff@2001-01-01', 5)); -- 5@2001-01-01 SELECT getResolution(cellToParent(tquadbin '48a6227affffffff@2001-01-01', 5)); -- 5@2001-01-01 SELECT getResolution(cellToParent(ts2cell '47c3c@2001-01-01', 5)); -- 5@2001-01-01