DOI QR코드

DOI QR Code

Map Labeling for Collinear Sites

동일선상 위치들에 대한 지도 레이블링

  • Kim, Jae-hoon (Division of Computer Software, Busan University of Foreign Studies)
  • Received : 2020.07.10
  • Accepted : 2020.08.03
  • Published : 2020.10.31

Abstract

In a map, placing the labels, corresponding to names or explanations of specific features, is called map labeling. In this paper, n points on a line are given, and placing rectangular labels for the points is considered. Particularly, the labels have a same height and their lower sides lie on a straight line in the upper of the line on which the given points are. The points and the labels are connected by polygonal lines, which are called leader lines. The leader lines are classified into straight leader lines and bended leader lines, where the straight leader line consists of only the vertical line and the bended leader line consists of vertical, horizontal, vertical lines. The problem is placing the labels to minimize the number of bended leader lines, and we propose an O(nlogn)-time algorithm, which improves the O(n2)-time algorithm previously provided in [13].

지도에서 특별한 지형지물에 이름이나 설명문에 해당하는 레이블을 붙이는 것을 지도 레이블링(map labeling)이라고 한다. 본 논문에서는 직선상에 n개의 점들이 주어지고 점들에 대한 직사각형의 레이블을 위치시키는 문제를 다룬다. 특별히 레이블들의 높이는 모두 같고, 점들이 위치한 직선의 위쪽에 아래 변들이 모두 동일 선 위에 위치하도록 놓는다. 그리고 점과 레이블을 꺾은선으로 연결하고 이것을 지시선이라 부른다. 지시선은 수직선만으로 구성된 직선 지시선과 수직선, 수평선, 수직선으로 구성된 꺾인 지시선으로 나뉜다. 문제는 꺾인 지시선의 수를 최소화하도록 레이블을 위치시키는 것이고, 우리는 O(nlogn) 시간 알고리즘을 제안함으로서 [13]에서 제안한 O(n2) 시간 알고리즘을 개선한다.

Keywords

References

  1. E. Imhof, "Die anordnung der namen in der karte," in International Yearbook of Cartograghy, pp. 93-129, 1962.
  2. P. Yoeli, "The logic of automated map lettering," The Cartographic Journal, vol. 9, pp. 99-108, Mar. 1972. https://doi.org/10.1179/000870472787352505
  3. F. Klute, G. Li, R. Loffler, M. Nollenburg, and M. Schmidt, "Exploring semi-automatic map labeling," in Proceedings of the 27th ACM SIGSPATIAL International Conference on Advances in Geographic Information Systems, pp. 13-22, 2019.
  4. B. Niedermann and J. -H. Haunert, "An algorithmic framework for labeling network maps," Algorithmica, vol. 80, pp. 1493-1533, Jan. 2018. https://doi.org/10.1007/s00453-017-0350-0
  5. F. Krumpe, "Labeling points of interest in dynamic maps using disk labels," in Proceedings of the 10th International Conference on Geographic Information Science, pp. 1-14, 2018.
  6. R. G. Cano, C. C. Souza, and P. J. Rezende, "Fast optimal labelings for rotating maps," in Proceedings of the 11th International Conference and Workshops on Algorithms and Computation, pp. 161-173, 2017.
  7. C. -S. Liao, C. -W. Liang, and S. -H. Poon, "Approximation algorithms on consistent dynamic map labeling," Theoretical Computer Science, vol. 640, pp. 84-93, Aug. 2016. https://doi.org/10.1016/j.tcs.2016.06.006
  8. R. Loffler, M. Nollenburg, and F. Staals, "Mixed map labeling," Journal of Spatial Information Science, vol. 13, pp. 3-32, Dec. 2016.
  9. A. Gemsa, M. Nollenburg, and I. Rutter, "Evaluation of labeling strategies for rotating maps," ACM Journal of Experimatal Algorithmics, vol. 21, pp. 1-21, Aug. 2016.
  10. M. Formann and F. Wagner, "A packing problem with applications to lettering of maps," in Proceedings of the 7th Annual ACM Symposium on Computational Geometry, pp. 281-288, 1991.
  11. P. K. Agarwal, M. Kreveld, and S. Suri, "Label placement by maximum independent set in rectangles," Computational Geometry: Theory and Applications, vol. 11, pp. 233-238, December 1998.
  12. C. Iturriage and A. Lubiw, "NP-hardness of some map labeling problems," University of Waterloo, Canada, Technical Report CS-97-18, 1997.
  13. C. Iturriaga and A. Lubiw, "Elastic labels around the perimeter of a map," Journal of Algorithms, vol. 47, pp. 14-39, Apr. 2003. https://doi.org/10.1016/S0196-6774(03)00004-X
  14. M. A. Bekos, M. Kaufmann, A. Symvonis, and A. Wolff, "Boundary labeling: Models and efficient algorithms for rectangular maps," Computational Geometry: Theory and Applications, vol. 36, pp. 215-236, Apr. 2007. https://doi.org/10.1016/j.comgeo.2006.05.003