itacart.boundary.is_trapezoidal_cell
- itacart.boundary.is_trapezoidal_cell(cell)[source]
Whether a cell has been clipped at a boundary line.
Trapezoidal cells break the equal-area guarantee; this is the check that should gate any area-sensitive cadastral computation.
- Parameters:
cell (
str) – Compositional index string.- Return type:
- Returns:
A boolean for a single cell, or a positionally aligned list.
- Raises:
NonExistentCellError – If any cell of the index names no cell. The predicate is the arbiter and the contract ends there: a spelling it denies is refused rather than answered for the cell it would otherwise fold onto.