pub fn ceiling_resolve_cell<'a, I>(
tile_versions_newest_first: I,
_coord: &[CoordValue],
params: &CeilingParams,
) -> ArrayResult<CeilingResult>Expand description
Resolve the Ceiling for a single cell coordinate.
tile_versions_newest_first — (TileId, raw_cell_bytes) pairs ordered
newest-first by system_from_ms. The caller is responsible for the
ordering; this function additionally defends against misuse with a guard
that skips entries where tile_id.system_from_ms > params.system_as_of.
For each version the function applies:
- System-time guard: skip if
tile_id.system_from_ms > system_as_of. - Sentinel check: tombstone →
Tombstoned; GDPR erasure →Erased. - Valid-time filter (when
valid_at_msisSome): if the decoded payload’s valid-time interval does not containvt, continue to the next older version. - Return
Live(payload).
If the iterator is exhausted without a match, returns NotFound.