
Pairwise Line Labeling of Geographic Boundaries: An Efficient and Practical Algorithm
Author(s) -
Maxim A. Rylov,
Andreas W. Reimer
Publication year - 2015
Publication title -
cartographic perspectives
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.286
H-Index - 12
ISSN - 1048-9053
DOI - 10.14714/cp79.1212
Subject(s) - pairwise comparison , computer science , line (geometry) , position (finance) , set (abstract data type) , scale (ratio) , data mining , simple (philosophy) , line segment , algorithm , sample (material) , artificial intelligence , pattern recognition (psychology) , mathematics , geography , cartography , philosophy , chemistry , geometry , finance , epistemology , chromatography , economics , programming language
We present an algorithm that labels linear features with two matched toponyms describing the left and the right side of a line, respectively. Such a pairwise line labeling strategy is commonly used in manually produced maps to differentiate administrative or other geographic divisions. Our approach solves two basic tasks of the automated map labeling problem, namely candidate-position generation and position evaluation for a given scale. The quality of the name placement is evaluated by comparison to a set of established cartographic principles and guidelines for linear features. We give some results of our experiments based on real datasets. The implementation of our algorithm shows that it is simple and robust, and the resulting sample maps demonstrate its practical efficiency.