An empirical study of algorithms for point-feature label placement
- 1 July 1995
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Graphics
- Vol. 14 (3) , 203-232
- https://doi.org/10.1145/212332.212334
Abstract
A major factor affecting the clarity of graphical displays that include text labels is the degree to which labels obscure display features (including other labels) as a result of spatial overlap. Point-feature label placement (PFLP) is the problem of placing text labels adjacent to point features on a map or diagram so as to maximize legibility. This problem occurs frequently in the production of many types of informational graphics, though it arises most often in automated cartography. In this paper we present a comprehensive treatment of the PFLP problem, viewed as a type of combinatorial optimization problem. Complexity analysis reveals that the basic PFLP problem and most interesting variants of it are NP-hard. These negative results help inform a survey of previously reported algorithms for PFLP; not surprisingly, all such algorithms either have exponential time complexity or are incomplete. To solve the PFLP problem in practice, then, we must rely on good heuristic methods. We propose two new methods, one based on a discrete form of gradient descent, the other on simulated annealing, and report on a series of empirical tests comparing these and the other known algorithms for the problem. Based on this study, the first to be conducted, we identify the best approaches as a function of available computation time.Keywords
This publication has 25 references indexed in Scilit:
- A rule-based system for dense-map name placementCommunications of the ACM, 1992
- A Prolog Rule‐Based System for cartographic Name PlacementComputer Graphics Forum, 1990
- Noninteractive Automated Names Placement for the 1990 Decennial CensusCartography and Geographic Information Systems, 1990
- An Algorithm for Locating Candidate Labeling Boxes Within a PolygonThe American Cartographer, 1989
- An expert system for the automatic placement of names on a geographic mapInformation Sciences, 1988
- Heuristic Method for Label Placement in ScatterplotsPsychometrika, 1987
- ON THE PROBLEM OF PLACING NAMES IN A GEOGRAPHIC MAPInternational Journal of Pattern Recognition and Artificial Intelligence, 1987
- Thermodynamical approach to the traveling salesman problem: An efficient simulation algorithmJournal of Optimization Theory and Applications, 1985
- Optimization by Simulated AnnealingScience, 1983
- Computationally Related ProblemsSIAM Journal on Computing, 1974