A New Construction Method for Rectangular Cartograms
Abstract
:1. Introduction
- (1)
- Rectangular Simplification: Each geographic region must be simplified into a rectangular shape, without overlap.
- (2)
- Area Proportionality: The area of each rectangle must accurately reflect the attribute value (e.g., population) of the corresponding region.
- (3)
- Adjacency Preservation: The original adjacency relationships between regions must be preserved after the transformation.
- (4)
- Relative Spatial Orientation Preservation: The relative spatial orientation of regions must be maintained to reflect accurate spatial relationships.
- (1)
- Maximizing Area Accuracy: Ensuring that the areas of the rectangles are as accurate as possible in representing the underlying attribute data.
- (2)
- Minimizing Spatial Orientation Distortion: Reducing distortions in the relative spatial orientation of regions to maintain geographical similarity to the original map.
- (3)
- Minimizing Adjacency Errors: Ensuring that adjacency relationships between regions are preserved as accurately as possible to maintain the recognizability of each region.
- (1)
- Rectangular Segmentation and Cartogram Method (RSC Method)
- (1)
- Rectangular Segmentation: Simplify the shapes of regions into rectangles while preserving their spatial orientation and adjacency. This generates a rectangular segmentation map.
- (2)
- Cartogram Generation: Adjust the area of each rectangle to match the statistical data for each region, producing the final rectangular cartogram.
- (2)
- Direct Rectangular Cartogram Method (DRC Method)
- (1)
- The RSC method effectively preserves the relative positions and adjacency relationships of regions, resulting in accurate geographical layouts. However, this method is complex and cumbersome, with high computational demands and long processing times, particularly when determining the optimal solution from a large number of possible layouts. Additionally, there are currently no public implementations of these algorithms, making it difficult to reproduce and verify their effectiveness.
- (2)
- In contrast, the DRC method is theoretically simpler, involves fewer steps, and has publicly available algorithm code [35], facilitating direct application and verification. Although ensuring accurate area precision, the DRC method does not fully utilize the geographic information from the original map, resulting in errors in adjacency and orientation relationships.
2. Algorithm Overview
2.1. Basic Definitions
2.2. Algorithm Workflow
3. Data Preprocessing
4. Generation of Rectangular Segmentation Map
4.1. Calculation of Relative Positional Relationships of Rectangular Segmentation Units
4.2. Calculation of Initial Length and Width of Rectangular Segmentation Units
4.3. Dynamic Adjustment of Length and Width of Rectangular Segmentation Units
4.3.1. Adjustment Order of Weighted Breadth-First Search
4.3.2. Strategy for Dynamic Adjustment
4.4. Algorithm Demonstration
5. Generation of Rectangular Cartogram
5.1. Expected Area Calculation of Cartogram Units
5.2. Position Determination Strategies for Cartogram Units
- (1)
- Case 1
- (1)
- A and B remain adjacent and share a coincident edge.
- (2)
- The center point of the coincident edge between A and B must maintain its relative position on the right edge of A.
- (3)
- The relative position of the centroids of A and B are maintained.
- (2)
- Case 2
- (1)
- A and B still maintain an adjacency relationship and have a coincident edge.
- (2)
- This common point is a vertex of unit B.
- (3)
- The relative positions of the centroids of A and B remain unchanged.
- (3)
- Case 3
5.3. Algorithm Flow
5.4. Algorithm Demonstration
6. Evaluation Metrics and Experimental Results and Analysis
6.1. Evaluation Metrics for Rectangular Cartogram
6.2. Experiment Data
6.3. Our Algorithm vs. RecMap Algorithm
6.4. Our Algorithm vs. Evolution Strategies Algorithm
7. Discussion and Conclusions
- (1)
- In generating the rectangular segmentation maps, we simplified the calculation of adjacency layouts, which may result in suboptimal adjacency relationships among the units in the final cartogram.
- (2)
- During the generation of the rectangular cartogram, when calculating the position of the next unit, we primarily focused on the accuracy of area representation and the relative positioning of adjacent units but paid insufficient attention to the aspect ratio of the rectangles. Further adjustments could incorporate the aspect ratio based on practical needs, potentially leading to a more optimal solution, though this would increase computational costs.
Supplementary Materials
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- McCleary, G.F. An Effective Graphic “Vocabulary”. IEEE Comput. Graph. Appl. 1983, 3, 46–53. [Google Scholar] [CrossRef]
- Wang, L.; Jiang, N.; Li, X.; Zhang, W. A Survey of Cartogram. J. Comput. -Aided Des. Comput. Graph. 2017, 29, 393–405. Available online: https://www.jcad.cn/en/article/id/bbdbf467-e066-4cfe-a623-536cab802455 (accessed on 10 November 2022).
- Hennig, B.D. Rediscovering the World: Gridded Cartograms of Human and Physical Space. Ph.D. Thesis, University of Sheffield, Sheffield, UK, 2011. [Google Scholar]
- Tobler, W. Thirty Five Years of Computer Cartograms. Ann. Assoc. Am. Geogr. 2004, 94, 58–73. [Google Scholar] [CrossRef]
- Keim, D.A.; Panse, C.; North, S.C. Medial-axis-based cartograms. IEEE Comput. Graph. Appl. 2005, 25, 60–68. [Google Scholar] [CrossRef] [PubMed]
- Raisz, E. The Rectangular Statistical Cartogram. Geogr. Rev. 1934, 24, 292–296. [Google Scholar] [CrossRef]
- Raisz, E. Rectangular Statistical cartograms of the World. J. Geogr. 1936, 35, 8–10. [Google Scholar] [CrossRef]
- Ai, T. Maps Adaptable to Represent Spatial Cognition. Nat. Remote Sens. Bull. 2008, 12, 347–354. [Google Scholar] [CrossRef]
- Nusrat, S.; Kobourov, S. The state of the art in cartograms. Comput. Graph. Forum 2016, 35, 619–642. [Google Scholar] [CrossRef]
- Chen, Y.; Zhao, Y.; Du, X. Overview of Cartogram Algorithm. J. Syst. Simul. 2016, 28, 1970–1978. [Google Scholar] [CrossRef]
- Zhao, Z.; Ren, L. Research on Information Heritage Based on Cartogram Method. China Popul.·Resour. Environ. 2016, 26, 526–529. Available online: http://www.zgrz.cbpt.cnki.net/WKC/WebPublication/paperDigest.aspx?paperID=a3b2fc20-74a5-479c-8448-94decc8cdfea (accessed on 13 November 2022).
- Pappenberger, F.; Cloke, H.L.; Baugh, C.A. Cartograms for Use in Forecasting Weather-Driven Natural Hazards. Cartogr. J. 2019, 56, 134–145. [Google Scholar] [CrossRef]
- Lin, W.D.; Jhong, S.-Y.; Huang, W.; Lin, C.-C. Drawing social networks using area-labeling rectangular cartograms. J. Internet Technol. 2012, 13, 327–336. [Google Scholar] [CrossRef]
- Wang, L.; Li, X.; Ding, L.; Yu, X.; Hu, T. Visualization and Analysis of Transport Accessibility Changes Based on Time Cartograms. ISPRS Int. J. Geo-Inf. 2022, 11, 432. [Google Scholar] [CrossRef]
- Kronenfeld, B.J.; Yoo, K.i. Effectiveness of animated choropleth and proportional symbol cartograms for epidemiological dashboards. Cartogr. Geogr. Inf. Sci. 2024, 51, 330–346. [Google Scholar] [CrossRef]
- Dorling, D. Area Cartograms: Their Use and Creation. In The Map Reader; Wiley-Blackwell: Hoboken, NJ, USA, 2011; pp. 252–260. [Google Scholar] [CrossRef]
- Nickel, S.; Sondag, M.; Meulemans, W.; Kobourov, S.; Peltonen, J.; Nöllenburg, M. Multicriteria Optimization for Dynamic Demers Cartograms. IEEE Trans. Vis. Comput. Graph. 2022, 28, 2376–2387. [Google Scholar] [CrossRef]
- Gastner, M.T.; Newman, M.E.J. Diffusion-based method for producing density-equalizing maps. Proc. Natl. Acad. Sci. USA 2004, 101, 7499–7504. [Google Scholar] [CrossRef]
- Olson, J.M. Noncontiguous area Cartograms. Prof. Geogr. 1976, 28, 371–380. [Google Scholar] [CrossRef]
- Fung, K.L.T.; Perrault, S.T.; Gastner, M.T. Effectiveness of Area-to-Value Legends and Grid Lines in Contiguous Area Cartograms. IEEE Trans. Vis. Comput. Graph. 2024, 30, 4631–4647. [Google Scholar] [CrossRef]
- Jia, F.; Wang, W.; Yang, J.; Li, T.; Song, G.; Xu, Y. Effectiveness of Rectangular Cartogram for Conveying Quantitative Information: An Eye Tracking-Based Evaluation. ISPRS Int. J. Geo-Inf. 2023, 12, 39. [Google Scholar] [CrossRef]
- Skowronnek, A. Beyond Choropleth Maps: A Review of Techniques to Visualize Quantitative Areal Geodata. 2016. Available online: https://alsino.io/static/papers/BeyondChoropleths_AlsinoSkowronnek.pdf (accessed on 13 November 2024).
- Ai, T.; Zhou, M.; Chen, Y. The LOD Representation and TreeMap Visualization of Attribute Information in Thematic Mapping. Acta Geod. Cartogr. Sin. 2013, 42, 453–460. [Google Scholar]
- Buchin, K.; Eppstein, D.; Löffler, M.; Nöllenburg, M.; Silveira, R.I. Adjacency-Preserving Spatial Treemaps. In Proceedings of the Algorithms and Data Structures; Springer: Berlin/Heidelberg, Germany, 2011; pp. 159–170. [Google Scholar] [CrossRef]
- Slingsby, A.; Dykes, J.; Wood, J. Rectangular Hierarchical Cartograms for Socio-Economic Data. J. Maps 2010, 6, 330–345. [Google Scholar] [CrossRef]
- Scheibel, W.; Limberger, D.; Döllner, J. Survey of treemap layout algorithms. In Proceedings of the 13th International Symposium on Visual Information Communication and Interaction, Eindhoven, The Netherlands, 8–10 December 2020; pp. 1–9. [Google Scholar] [CrossRef]
- Xu, J.; Shen, H.-W. VMap: An Interactive Rectangular Space-filling Visualization for Map-like Vertex-centric Graph Exploration. arXiv 2023. [Google Scholar] [CrossRef]
- Kant, G.; He, X. Regular edge labeling of 4-connected plane graphs and its applications in graph drawing problems. Theor. Comput. Sci. 1997, 172, 175–193. [Google Scholar] [CrossRef]
- van Kreveld, M.; Speckmann, B. On rectangular cartograms. Comput. Geom. 2007, 37, 175–187. [Google Scholar] [CrossRef]
- van Kreveld, M.; Speckmann, B. Rectangular cartogram computation with sea regions. In Proceedings of the 22nd International Cartographic Conference, A Coruña, Spain, 9–16 July 2005; p. 10. Available online: https://research-portal.uu.nl/en/publications/rectangular-cartogram-computation-with-sea-regions (accessed on 13 November 2022).
- Speckmann, B.; van Kreveld, M.; Florisson, S. A Linear Programming Approach to Rectangular Cartograms. In Progress in Spatial Data Handling: 12th International Symposium on Spatial Data Handling; Riedl, A., Kainz, W., Elmes, G.A., Eds.; Springer: Berlin/Heidelberg, Germany, 2006; pp. 529–546. [Google Scholar] [CrossRef]
- Buchin, K.; Speckmann, B.; Verdonschot, S. Evolution Strategies for Optimizing Rectangular Cartograms. In Proceedings of the Geographic Information Science; Springer: Berlin/Heidelberg, Germany, 2012; pp. 29–42. [Google Scholar] [CrossRef]
- Heilmann, R.; Keim, D.A.; Panse, C.; Sips, M. RecMap: Rectangular Map Approximations. In Proceedings of the IEEE Symposium on Information Visualization, Austin, TX, USA, 10–12 October 2004; pp. 33–40. [Google Scholar] [CrossRef]
- Panse, C. Rectangular statistical cartograms in R: The recmap package. J. Stat. Softw. 2018, 86, 1–27. [Google Scholar] [CrossRef]
- Recmap. Available online: https://github.com/cpanse/recmap.git (accessed on 20 May 2023).
- Alam, M.J.; Kobourov, S.G.; Veeramoni, S. Quantitative Measures for Cartogram Generation Techniques. Comput. Graph. Forum 2015, 34, 351–360. [Google Scholar] [CrossRef]
Unit | Initial Length | Initial Width |
---|---|---|
A | 2 | 1 |
B | 1 | 2 |
C | 2 | 1 |
D | 1 | 1 |
E | 2 | 1 |
F | 2 | 1 |
Geographic Data | Statistical Data | Year | Number of Units | Data Characteristics |
---|---|---|---|---|
districts in Wuhan City | Population | 2022 | 13 | The units in the central urban area have a small geographical area but a large population. |
cities in Hubei province | Urbanization Rate | 2020 | 17 | The attribute data of each unit show little variation, and the geographical areas are also relatively consistent. |
states within the ‘lower 48 states’ of the United States | Population | 2010 | 48 | There are many units, and there is a significant variation in the population numbers among them. |
Data | Construction Algorithm | Area Error | Adjacency Error | Average Angle Error | Maximum Angle Error |
---|---|---|---|---|---|
Population in Wuhan | RecMap | 0 | 0.6 | 0.082 | 0.44 |
Proposed algorithm | 0 | 0.161 | 0.015 | 0.074 | |
Urbanization rate of Hubei Province | RecMap | 0 | 0.579 | 0.086 | 0.49 |
Proposed algorithm | 0 | 0.054 | 0.026 | 0.174 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Published by MDPI on behalf of the International Society for Photogrammetry and Remote Sensing. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Wang, L.; Yuan, H.; Li, X.; Lu, P.; Li, Y. A New Construction Method for Rectangular Cartograms. ISPRS Int. J. Geo-Inf. 2025, 14, 25. https://doi.org/10.3390/ijgi14010025
Wang L, Yuan H, Li X, Lu P, Li Y. A New Construction Method for Rectangular Cartograms. ISPRS International Journal of Geo-Information. 2025; 14(1):25. https://doi.org/10.3390/ijgi14010025
Chicago/Turabian StyleWang, Lina, Haoxun Yuan, Xiang Li, Pengfei Lu, and Yaru Li. 2025. "A New Construction Method for Rectangular Cartograms" ISPRS International Journal of Geo-Information 14, no. 1: 25. https://doi.org/10.3390/ijgi14010025
APA StyleWang, L., Yuan, H., Li, X., Lu, P., & Li, Y. (2025). A New Construction Method for Rectangular Cartograms. ISPRS International Journal of Geo-Information, 14(1), 25. https://doi.org/10.3390/ijgi14010025