English

Mend the gap: A smart repair algorithm for noisy polygonal tilings

Computational Geometry 2026-01-14 v2 Computers and Society

Abstract

Let T={P1,,PN}T^* = \{P^*_1, \ldots, P^*_N\} be a polygonal tiling of a simply connected region in the plane, and let T={P1,,PN}T = \{P_1, \ldots, P_N\} be a noisy version of TT^* obtained by making small perturbations to the coordinates of the vertices of the polygons in TT^*. In general, TT will only be an approximate tiling, due to the presence of gaps and overlaps between the perturbed polygons in TT. The areas of these gaps and overlaps are typically small relative to the areas of the polygons themselves. Suppose that we are given the approximate tiling TT and we wish to recover the tiling TT^*. To address this problem, we introduce a new algorithm, called {\tt smart\_repair}, to modify the polygons in TT to produce a tiling T~={P~1,,P~N}\widetilde{T} = \{\widetilde{P}_1, \ldots, \widetilde{P}_N\} that closely approximates TT^*, with special attention given to reproducing the {\em adjacency relations} between the polygons in TT^* as closely as possible. The motivation for this algorithm comes from computational redistricting, where algorithms are used to build districts from smaller geographic units. Because districts in most U.S. states are required to be contiguous, these algorithms are fundamentally based on adjacency relations between units. Unfortunately, the best available map data for unit boundaries is often noisy, containing gaps and overlaps between units that can lead to substantial inaccuracies in the adjacency relations. Simple repair algorithms can exacerbate these inaccuracies, with the result that algorithmically drawn districts based on the ``repaired" units may be discontiguous, and hence not legally compliant. The algorithm presented here is specifically designed to avoid such problems. A Python implementation is publicly available as part of the MGGG Redistricting Lab's {\tt Maup} package, available at https://github.com/mggg/maup.

Keywords

Cite

@article{arxiv.2312.11415,
  title  = {Mend the gap: A smart repair algorithm for noisy polygonal tilings},
  author = {Jeanne N. Clelland},
  journal= {arXiv preprint arXiv:2312.11415},
  year   = {2026}
}

Comments

29 pages, 24 figures

R2 v1 2026-06-28T13:54:56.258Z