Topology-Preserving Line Densification for Creating Contiguous Cartograms
Nihal Z. Miaji, Adi Singhania, Matthias E. Goh, Callista Le, Atima Tharatipyakul, Michael T. Gastner
TL;DR
This work tackles topology violations in contiguous cartograms caused by discretizing region boundaries. It introduces 5FCarto, a topology-preserving line-densification pipeline that combines a graded quadtree, constrained Delaunay triangulation, and line densification to ensure polygons remain connected and non-overlapping under density-equalizing map projections. Across 32 real-world maps and a 2024 US election cartogram, 5FCarto achieves zero intersections and superior area accuracy with competitive running times compared to state-of-the-art baselines. The approach provides an open-source, robust framework for producing topology-preserving cartograms suitable for geovisualization and quantitative analysis.
Abstract
Cartograms depict geographic regions with areas proportional to quantitative data. However, when created using density-equalizing map projections, cartograms may exhibit invalid topologies if boundary polygons are drawn using only a finite set of vertices connected by straight lines. Here we introduce a method for topology-preserving line densification that guarantees that cartogram regions remain connected and non-overlapping when using density-equalizing map projections. By combining our densification technique with a flow-based cartogram generator, we present a robust framework for strictly topology-preserving cartogram construction. Quantitative evaluations demonstrate that the proposed algorithm produces cartograms with greater accuracy and speed than alternative methods while maintaining comparable shape fidelity.
