Skip to main content
Top
Published in: Environmental Earth Sciences 20/2016

01-10-2016 | Original Article

A grid algorithm suitable for line and area feature label placement

Authors: Changbin Wu, Yuan Ding, Xinxin Zhou, Guonian Lu

Published in: Environmental Earth Sciences | Issue 20/2016

Log in

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

The labelling problem has been central in the framework of automated cartography. The quality and efficiency of label placement have great influences on the expression and understanding of maps. Although many algorithms have been developed to address the labelling problems of point features, very little work has been directed towards those of line or area features. Owing to the weakness of these approaches, the label quality rules of line or area features were reconsidered and strengthened based on the cognizance of cartographers. Such rules should be separate from the labelling algorithms to be appropriate for the program’s flexibility. A new grid algorithm, in contrast to traditional vector-based methods, is proposed. For the line feature, the cells passed by a line are computed, and their parallel cells are selected as the bottom of the text. For the area feature, a maximal inclusive rectangle is searched for the numerical label of its corresponding polygon (area), the midpoint of which is considered the potential position. A test program was developed and shows that the algorithm is simple and appropriate. The efficiency of the algorithm is closely related to the cell density.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Literature
go back to reference Barrault M (2001) A methodology for placement and evaluation of area map labels. Comput Environ Urban Syst 25(1):33–52CrossRef Barrault M (2001) A methodology for placement and evaluation of area map labels. Comput Environ Urban Syst 25(1):33–52CrossRef
go back to reference Barrault M, Lecordix F (1995) An automated system for linear feature name placement which complies with cartographic quality criteria. In: Proceedings of Auto-Carto 12, Charlotte, NC.ACSM/ASPRS, Bethesda, pp. 321–330 Barrault M, Lecordix F (1995) An automated system for linear feature name placement which complies with cartographic quality criteria. In: Proceedings of Auto-Carto 12, Charlotte, NC.ACSM/ASPRS, Bethesda, pp. 321–330
go back to reference Bekos M, Kaufmann M, Potika K, Symvonis A (2006) Polygon labelling of minimum leader length. In: APVis ‘06 Proceedings of the 2006 Asia-Pacific symposium on information visualisation, vol. 60, pp 15–21 Bekos M, Kaufmann M, Potika K, Symvonis A (2006) Polygon labelling of minimum leader length. In: APVis ‘06 Proceedings of the 2006 Asia-Pacific symposium on information visualisation, vol. 60, pp 15–21
go back to reference Benkert M, Gudmundsson J, Knauer C, Oostrum R (2009) A polynomial-time approximation algorithm for a geometric dispersion problem. Int J Comput Geom Appl 19(3):1–22CrossRef Benkert M, Gudmundsson J, Knauer C, Oostrum R (2009) A polynomial-time approximation algorithm for a geometric dispersion problem. Int J Comput Geom Appl 19(3):1–22CrossRef
go back to reference Christensen J, Marks J, Shieber SM (1995) An empirical study of algorithms for point feature label placement. ACM Trans Graph 14(3):203–232CrossRef Christensen J, Marks J, Shieber SM (1995) An empirical study of algorithms for point feature label placement. ACM Trans Graph 14(3):203–232CrossRef
go back to reference Cravo GL, Ribeiro GM, Lorena LAN (2008) A greedy randomized adaptive search procedure for the point-feature cartographic label placement. Comput Geosci 34(4):373–386CrossRef Cravo GL, Ribeiro GM, Lorena LAN (2008) A greedy randomized adaptive search procedure for the point-feature cartographic label placement. Comput Geosci 34(4):373–386CrossRef
go back to reference Dörschlag D, Petzold I, Plümer L (2003) Placing objects automatically in areas of maps. In: Proceedings of 23rd internat cartographic conference (ICC’03), Durban, South Africa, pp. 269–275 Dörschlag D, Petzold I, Plümer L (2003) Placing objects automatically in areas of maps. In: Proceedings of 23rd internat cartographic conference (ICC’03), Durban, South Africa, pp. 269–275
go back to reference Fan H, Zhang Z, Du D (1999) The algorithm design and implementation of adding annotation to map for linear feature automatically. Acta Geod et Cartogr Sin 28(1):86–89 (in Chinese) Fan H, Zhang Z, Du D (1999) The algorithm design and implementation of adding annotation to map for linear feature automatically. Acta Geod et Cartogr Sin 28(1):86–89 (in Chinese)
go back to reference Formann M, Wagner F (1991) A packing problem with applications to lettering of maps. In: Proceedings of the seventh annual ACM symposium on computational geometry, New Hampshire, pp. 281–288 Formann M, Wagner F (1991) A packing problem with applications to lettering of maps. In: Proceedings of the seventh annual ACM symposium on computational geometry, New Hampshire, pp. 281–288
go back to reference Fuchs G, Schumann H (2004) Intelligent icon positioning for interactive map-based information systems. In: Proceedings 15th international conference of the Information Resources Management Association, IRMA 2004, New Orleans, USA Fuchs G, Schumann H (2004) Intelligent icon positioning for interactive map-based information systems. In: Proceedings 15th international conference of the Information Resources Management Association, IRMA 2004, New Orleans, USA
go back to reference Gemsa A, Niedermann B, Nöllenburg M (2015) Label placement in road maps. Comput Sci 9079:221–234 Gemsa A, Niedermann B, Nöllenburg M (2015) Label placement in road maps. Comput Sci 9079:221–234
go back to reference Gomes SP, Lorena LAN, Ribeiro GM (2015) A constructive genetic algorithm for discrete dispersion on point feature cartographic label placement problems. Geogr Anal 48(1):43–58CrossRef Gomes SP, Lorena LAN, Ribeiro GM (2015) A constructive genetic algorithm for discrete dispersion on point feature cartographic label placement problems. Geogr Anal 48(1):43–58CrossRef
go back to reference He Z, Harada K (2006) A learning method based on Hopfield neural network and its application in point-feature labeling placement problem. Int J Comput Sci Netw Secur 6(3):10–16 He Z, Harada K (2006) A learning method based on Hopfield neural network and its application in point-feature labeling placement problem. Int J Comput Sci Netw Secur 6(3):10–16
go back to reference Jiang Y, Zhang S, Lan X, Lu G (2005) Automatic placement of GIS vector map annotation in area feature by long-diagonal. Geomat Inf Sci Wuhan Univ 30(6):544–548 (in Chinese) Jiang Y, Zhang S, Lan X, Lu G (2005) Automatic placement of GIS vector map annotation in area feature by long-diagonal. Geomat Inf Sci Wuhan Univ 30(6):544–548 (in Chinese)
go back to reference Mauri GR, Ribeiro GM, Lorena LAN (2010) A new mathematical model and a Lagrangean decomposition for the point-feature cartographic label placement problem. Comput Oper Res 37:2164–2172CrossRef Mauri GR, Ribeiro GM, Lorena LAN (2010) A new mathematical model and a Lagrangean decomposition for the point-feature cartographic label placement problem. Comput Oper Res 37:2164–2172CrossRef
go back to reference Pfefferkorn C, Burr D, Harrison D, Hechman B, Oresky C, Rothermel J (1985) A cartographic expert system. In: Proceedings of the seventh international symposium on automated cartography (AUTOCARTO 7), pp. 399–407 Pfefferkorn C, Burr D, Harrison D, Hechman B, Oresky C, Rothermel J (1985) A cartographic expert system. In: Proceedings of the seventh international symposium on automated cartography (AUTOCARTO 7), pp. 399–407
go back to reference Rabello RL, Mauri GR, Ribeiro GM, Lorena LAN (2014) A clustering search metaheuristic for the point-feature cartographic label placement problem. Eur J Oper Res 234:802–808CrossRef Rabello RL, Mauri GR, Ribeiro GM, Lorena LAN (2014) A clustering search metaheuristic for the point-feature cartographic label placement problem. Eur J Oper Res 234:802–808CrossRef
go back to reference Ribeiro GM, Mauri GR, Lorena LAN (2011) A lagrangean decomposition for the maximum independent set problem applied to map labeling. Oper Res Int J 11:229–243CrossRef Ribeiro GM, Mauri GR, Lorena LAN (2011) A lagrangean decomposition for the maximum independent set problem applied to map labeling. Oper Res Int J 11:229–243CrossRef
go back to reference Rylov MA, Reimer AW (2015) Improving label placement quality by considering basemap detail with a raster-based approach. Geoinformatica 19:463–486CrossRef Rylov MA, Reimer AW (2015) Improving label placement quality by considering basemap detail with a raster-based approach. Geoinformatica 19:463–486CrossRef
go back to reference Samet H (2013) Sorting in space: multidimensional, spatial, and metric data structures for applications in spatial databases. Geographic Information Systems (GIS), and Location-Based Services. In: Proceedings of the 29th IEEE international conference on data engineering, Brisbane, Australia, pp. 1254–1257 Samet H (2013) Sorting in space: multidimensional, spatial, and metric data structures for applications in spatial databases. Geographic Information Systems (GIS), and Location-Based Services. In: Proceedings of the 29th IEEE international conference on data engineering, Brisbane, Australia, pp. 1254–1257
go back to reference Schreyer M, Raidl GR (2002) Letting ants labeling point features. In: Proceedings of the 2002 IEEE congress on evolutionary computation at the IEEE world congress on computational intelligence, pp. 1564–1569 Schreyer M, Raidl GR (2002) Letting ants labeling point features. In: Proceedings of the 2002 IEEE congress on evolutionary computation at the IEEE world congress on computational intelligence, pp. 1564–1569
go back to reference Schwartges N, Haunert JH, Wolff A, Zwiebler D (2014) Point labeling with sliding labels in interactive maps. Lect Notes Geoinform Cartogr 22(11):295–310CrossRef Schwartges N, Haunert JH, Wolff A, Zwiebler D (2014) Point labeling with sliding labels in interactive maps. Lect Notes Geoinform Cartogr 22(11):295–310CrossRef
go back to reference van Dijk S, van Kreveld M, Strijk T, Wolff A (2002) Towards an evaluation of quality for names placement methods. Int J Geogr Inf Sci 16(7):641–661CrossRef van Dijk S, van Kreveld M, Strijk T, Wolff A (2002) Towards an evaluation of quality for names placement methods. Int J Geogr Inf Sci 16(7):641–661CrossRef
go back to reference van Roessel JW (1989) An algorithm for locating candidate labeling boxes within a polygon. Am Cartogr 16(3):201–209CrossRef van Roessel JW (1989) An algorithm for locating candidate labeling boxes within a polygon. Am Cartogr 16(3):201–209CrossRef
go back to reference Viswanathan N, Chu CCN (2005) FastPlace: efficient analytical placement using cell shifting, iterative local refinement and a hybrid net model. IEEE Trans Comput Aided Des Integr Circu Syst 24(5):722–733CrossRef Viswanathan N, Chu CCN (2005) FastPlace: efficient analytical placement using cell shifting, iterative local refinement and a hybrid net model. IEEE Trans Comput Aided Des Integr Circu Syst 24(5):722–733CrossRef
go back to reference Wagner F, Wolff A, Kapoor V, Strijk T (2001) Three rules suffice for good label placement. Algorithmica 30:334–349CrossRef Wagner F, Wolff A, Kapoor V, Strijk T (2001) Three rules suffice for good label placement. Algorithmica 30:334–349CrossRef
go back to reference Wolff A, Knipping L, van Kreveld M, Strijk T, Agarwal PK (2000) A simple and efficient algorithm for high-quality line labeling. In: Peter M, Atkinson, David JM (eds), Innovations in GIS VII: GeoComputation, chapter 11, pp. 147–159 Wolff A, Knipping L, van Kreveld M, Strijk T, Agarwal PK (2000) A simple and efficient algorithm for high-quality line labeling. In: Peter M, Atkinson, David JM (eds), Innovations in GIS VII: GeoComputation, chapter 11, pp. 147–159
go back to reference Yamamoto M, Lorena L (2005) A constructive genetic approach to point-feature cartographic label placement. In: IbarakiT, Nonobe K, Yagiura M (eds) Metaheuristics: Progress as Real Problem Solvers. Kluwer Academic Publishers, Alphen aan den Rijn, pp 285–300 Yamamoto M, Lorena L (2005) A constructive genetic approach to point-feature cartographic label placement. In: IbarakiT, Nonobe K, Yagiura M (eds) Metaheuristics: Progress as Real Problem Solvers. Kluwer Academic Publishers, Alphen aan den Rijn, pp 285–300
go back to reference Yamamoto M, Camara G, Lorena LAN (2002) Tabu search heuristic for point-feature cartographic label placement. GeoInformatica 6(1):77–90CrossRef Yamamoto M, Camara G, Lorena LAN (2002) Tabu search heuristic for point-feature cartographic label placement. GeoInformatica 6(1):77–90CrossRef
go back to reference Yoeli P (1972) The logic of automated map lettering. Cartogr J 9(2):99–108CrossRef Yoeli P (1972) The logic of automated map lettering. Cartogr J 9(2):99–108CrossRef
go back to reference Zalika B, Kolingerova I (2001) A cell-based point-in-polygon algorithm suitable for large sets of points. Comput Geosci 27:1135–1145CrossRef Zalika B, Kolingerova I (2001) A cell-based point-in-polygon algorithm suitable for large sets of points. Comput Geosci 27:1135–1145CrossRef
go back to reference Zhang Q, Harrie L (2006) Placing text and icon labels simultaneously: a real-time method. Cartogr Geogr Inf Sci 33(1):53–64CrossRef Zhang Q, Harrie L (2006) Placing text and icon labels simultaneously: a real-time method. Cartogr Geogr Inf Sci 33(1):53–64CrossRef
Metadata
Title
A grid algorithm suitable for line and area feature label placement
Authors
Changbin Wu
Yuan Ding
Xinxin Zhou
Guonian Lu
Publication date
01-10-2016
Publisher
Springer Berlin Heidelberg
Published in
Environmental Earth Sciences / Issue 20/2016
Print ISSN: 1866-6280
Electronic ISSN: 1866-6299
DOI
https://doi.org/10.1007/s12665-016-6190-4

Other articles of this Issue 20/2016

Environmental Earth Sciences 20/2016 Go to the issue