Version: dev

Relational keys and geometry

Deterministic keys, ranking and grouping for relational index sets, and the polygon geometry used by regridding.

OperationKindBindingsSummary
area_tolerance_okfunctionPython, RustCombined rel+abs area-agreement gate with a sliver floor (B.5 / §5.8.2).
distinctfunctionPython, RustSet semantics over rows: sort by the §5.5.1 total order, then drop
group_aggregatefunctionPython, RustGroup-by + semiring aggregate (rule 5).
intersect_polygonfunctionPython, RustClip two lon-lat polygon rings; return the overlap ring (RFC §8.1).
polygon_areafunctionPython, RustReference (unsigned) area of an overlap ring under manifold.
rankfunctionPython, RustDense integer renumbering (rule 3): assign IDs by position in the sorted distinct sequence.
skolemfunctionPython, RustCanonical-tuple Skolem key (rule 4).
skolem_edgefunctionPython, RustCanonical key for an undirected pair (a symmetric relation): (min(a, b), max(a, b)).
rankingtypePython, RustResult of rank.
float_key_errorerrorPython, RustRaised when a relational key contains a floating-point component.
geometry_errorerrorPython, RustA polygon-clip / area evaluation failed (bad operand, degenerate input).

All topics