Abstract
In this paper we present approximation algorithm for the following NP-hard map labeling problem: Given a set S of n distinct sites in the plane, one needs to place at each site a uniform square of maximum possible size such that all the squares are along the same direction. This generalizes the classical problem of labeling points with axis-parallel squares and restricts the most general version where the squares can have different orientations. We obtain factor-4 and factor-\(5\sqrt 2 \) approximation algorithms for this problem. These algorithms also work for two generalized versions of the problem. We also revisit the problem of labeling each point with maximum uniform axis-parallel square pairs and improve the previous approximation factor of 4 to 3.
Similar content being viewed by others
References
P. Agarwal, M. van Kreveld, and S. Suri, “Label placement by maximum independent set in rectangles,” Comp. Geom. Theory and Appl., vol. 11, pp.209–218, 1998.
D. Beus and D. Crockett, “Automated production of 1:24,000 scale quadrangle maps,” in Proc. 1994 ASPRS/ACSM Annual Convention and Exposition, vol. 1, pp. 94–99,1994.
J. Christensen, J. Marks, and S. Shieber, “Algorithms for cartographic label placement,” in Proc. 1993 ASPRS/ ACSM Annual Convention and Exposition, vol. 1, pp. 75–89, 1993.
J. Christenson, J. Marks, and S. Shieber, “An empirical study of algorithms for point-feature label placement,”ACM Transactions on Graphics, vol. 14, pp. 203–222, 1995.
J. Doerschler and H. Freeman, “A rule-based system for cartographic name placement,” CACM, vol. 35, pp. 68–79, 1992.
A. Datta, II.-P. Lenhof, C. Schwarz, and M. Smid, “Static and dynamic algorithms for k-point clustering problems,” in Proc. 3rd Worksh. Algorithms and Data Structures,LNCS 709, Springer-verlag: Berlin, 1993, pp.265–276.
S. Doddi, M. Marathe, and B. Moret, “Point set labeling with specified positions,” in Proc. 16th Annu. ACM Sympos. Comput. Geom., June 2000, pp.182–190.
S. Doddi, M. Marathe, A. Mirzaian, B. Moret, and B. Zhu, “Map labeling and its generalizations,” in Proc. 8th ACM-SIAM Symp on Discrete Algorithms (SODA'97), New Orleans, LA, Jan. 1997, pp. 148–157.
D. Eppstein and J. Erickson, “Iterated nearest neighbors and finding minimal polytopes,” Discrete & Comput. Geom., vol. 11, pp. 321–350, 1994.
M. Formann and F. Wagner, “A packing problem with applications to lettering of maps,” in Proc. 7th Annu. ACM Sympos. Comput. Geom., 1991, pp. 281–288.
M. Garey and D. Johnson, Computers and Intractability: A Guide to the Theory of NP-completeness, Freeman: San Francisco, CA, 1979.
C. Iturriaga and A. Lubiw, “Elastic labels: The two-axis case,” in Proc. Graph Drawing'97, 1997, pp. 181–192.
E. Imhof, “Positioning names on maps,” The American Cartographer, vol. 2, pp. 128–144,1975.
C. Jones, “Cartographic name placement with Prolog,” Proc. IEEE Computer Graphics and Applications, vol.5, pp. 36–47,1989.
M. van Kreveld, T. Strijk, and A. Wolff, “Point set labeling with sliding labels,” Comp. Geom. Theory and Appl., vol.13, pp.21–47,1999.
K. Kakoulis and I. Tollis, “An algorithm for labeling edges of hierarchical drawings,” in Proc. Graph Drawing'97, 1997, pp. 169–180.
K. Kakoulis and I. Tollis. “A unified approach to labeling graphical features,” in Proc. 14th Annu. ACM Sympos. Comput. Geom., 1998a, pp. 347–356.
K. Kakoulis and I. Tollis, “On the multiple label placement problem,” in Proc. 10th Canadian Conf. on Comput. Geom., 1998b, pp. 66–67.
D. Knuth and A. Raghunathan, “The problem of compatible representatives,” SIAM J. Disc. Math., vol.5, pp. 422–427, 1992.
F.P. Preparata and M.I. Shamos, Computational Geometry: An Introduction,Springer-Verlag: Berlin,1985.
C.K. Poon, B. Zhu, and F. Chin, “A polynomial time solution for labeling a rectilinear map,” Inform. Process. Lett., vol. 65(4), pp. 201–207,1998.
Z.P. Qin, A. Wolff, Y. Xu, and B. Zhu, “New algorithms for two-label point labeling,” in Proc. 8th European Symp. on Algorithms (ESA'00), LNCS Series, Springer-verlag: Berlin, 2000, pp. 368–379.
M. Spriggs, “On the complexity of labeling maps with square pairs,” “Dept. of Computer Science, University of Saskatchewan, Canada,2000 (unpublished manuscript).”
T. Strijk and A. Wolff, “Labeling points with circles,”Tech ReportB99-08, Institut fur Informatik, Freie Universitat, Berlin, April 1999.
F. Wagner, “Approximate map labeling is in Ώ (n log n),” Inform. Process. Lett., vol. 52, pp. 161–165,1994.
F. Wagner and A. Wolff, “Map labeling heuristics: Provably good and practically useful,” in Proc. 11th Annu. ACM Sympos. Comput. Geom.,1995, pp.109–118.
B. Zhu and C.K. Poon, “Efficient approximation algorithms for multi-label map labeling, in Proc. 10th Intl Symp. on Algorithms and Computation (ISAAC'99), LNCS series,Springer-verlag: Berlin,1999, pp. 143–152.
B. Zhu and C.K. Poon, “Efficient approximation algorithms for two-label point labeling,” Intl. J. Computational Geometry and Applications, vol. 11(4), pp. 455–464,2001.
Author information
Authors and Affiliations
Rights and permissions
About this article
Cite this article
Zhu, B., Qin, Z. New Approximation Algorithms for Map Labeling with Sliding Labels. Journal of Combinatorial Optimization 6, 99–110 (2002). https://doi.org/10.1023/A:1013326409918
Issue Date:
DOI: https://doi.org/10.1023/A:1013326409918