Next Article in Journal
Genetic Programming to Optimize 3D Trajectories
Previous Article in Journal
Analysis of the Impact of the Digital Economy on Carbon Emission Reduction and Its Spatial Spillover Effect—The Case of Eastern Coastal Cities in China
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Improved ANN-Based Label Placement Method Considering Surrounding Features for Schematic Metro Maps

Faculty of Geosciences and Engineering, Southwest Jiaotong University, Chengdu 611756, China
*
Author to whom correspondence should be addressed.
ISPRS Int. J. Geo-Inf. 2024, 13(8), 294; https://doi.org/10.3390/ijgi13080294
Submission received: 3 June 2024 / Revised: 25 July 2024 / Accepted: 15 August 2024 / Published: 19 August 2024
(This article belongs to the Topic Geocomputation and Artificial Intelligence for Mapping)

Abstract

:
On schematic metro maps, high-quality label placement is helpful to passengers performing route planning and orientation tasks. It has been reported that the artificial neural network (ANN) has the potential to place labels with learned labeling knowledge. However, the previous ANN-based method only considered the effects of station points and their connected edges. Indeed, unconnected but surrounding features (points, edges, and labels) also significantly affect the quality of label placement. To address this, we have proposed an improved method. The relations between label positions and both connected and surrounding features are first modeled based on labeling natural intelligence (i.e., the experience, knowledge, and rules of labeling established by cartographers). Then, ANN is employed to learn such relations. Quantitative evaluations show that our method reaches lower percentages of label–point overlap (0.00%), label–edge overlap (4.12%), and label–label overlap (20.58%) compared to the benchmark (4.17%, 14.29%, and 35.11%, respectively). On the other hand, our method effectively avoids ambiguous labels and ensures labels from the same line are placed on the same side. Qualitative evaluations show that approximately 75% of users prefer our results. This novel method has the potential to advance the automated generation of schematic metro maps.

1. Introduction

Schematic metro maps are abstract representations of metro networks where the complexity is reduced by removing geographical features, simplifying lines, reorienting lines, etc. [1,2]. With such maps, passengers can quickly and accurately perform metro route planning and orientation tasks. One prominent example is the London Underground map (see Figure 1), where simplified metro lines are in vertical, horizontal, and diagonal directions. On the other hand, the congested areas have been expanded, and most details of geographic features have been removed. At present, these design principles usually serve as a basis for guiding automatic schematic metro map design [3].
Generally, the automatic schematic metro map design is divided into two subtasks: metro map layout and metro map labeling [4,5,6,7,8]. The research on metro map layout has received much attention and achieved remarkable results. In the early stage, a series of criteria for map layouts have been defined, and some methods for automatically generating schematic maps have been proposed with these criteria [4,9,10]. Later, researchers aimed to improve metro map layouts from different perspectives. It has been pointed out that the edge lengths should be maintained equal to ensure regular spacing between stations [1,11,12]. On the other hand, the directions of the edge are commonly along vertical, horizontal, and 45-degree diagonals, named octolinearity [13]. Recently, it has been found that other direction design styles (e.g., multilinear and curvilinear) may be preferred by passengers in some scenes [2,13]. Moreover, the topological relation between features and the main structure of the network should be preserved for high-quality schematic metro maps [14,15,16,17,18].
Figure 1. Schematic metro map of London was designed by Harry Beck in the 1930s [19].
Figure 1. Schematic metro map of London was designed by Harry Beck in the 1930s [19].
Ijgi 13 00294 g001
The research on metro map labeling has received relatively limited attention [1,6,7,11]. In theory, the automatic labeling method should be developed based on the labeling natural intelligence of schematic metro maps (i.e., the experience, knowledge, and rules in labeling established by cartographers). In practice, such labeling natural intelligence is complex, and it is challenging to model them with mathematical expressions. The point labeling natural intelligence on topographic maps (which have formed a series of mathematical principles [20,21,22]) is commonly used as an alternative [11]. However, the applicability of these principles to schematic metro maps may be inappropriate in some situations [6]. For example, one crucial aspect of metro map labeling states: “labels of those points touching the same passing line are placed together on the same side” (see Figure 2a). By contrast, on topographic maps, points are usually positioned adjacent to rather than touching the line, and one labeling principle states: “a label and the corresponding point should be placed at the same side” (see Figure 2b).
The modeling of labeling natural intelligence for schematic metro maps has been reconsidered in recent years [6,7,23]. Labeling natural intelligence has been modeled from official schematic metro maps in two ways: to count labeling positions for point–edge situations in a statistical manner [6] and to learn the characteristics of point–edge situations by an artificial neural network (ANN) [7]. The first way depends on the pre-defined point–edge situations. In other words, if a specific relation is not pre-defined, it may be difficult to identify appropriate labeling positions for this relation. Theoretically, this problem can be solved by pre-defining all relations, but it requires a lot of time and resources. The second way employs an artificial neural network (with good generalization ability) to learn the characteristics of point–edge situations and infer labeling positions with examples. Although it is a good idea, the basic unit used for learning, i.e., point–edge situations, only considers the point referred to by the label and the edges connected to the point. Indeed, the unconnected but surrounding points and edges also significantly affect the quality of label placement. Figure 3a shows the fixed label position of a point–edge situation, and no overlaps are observed. However, overlaps occur in Figure 3b when other features (points and edges in this case) surround this fixed label. To address this, we aim to develop an improved labeling method by integrating relations between label positions and both connected and surrounding features into the ANN model.
The remainder of this article is organized as follows: In Section 2, we analyze and model the labeling natural intelligence of schematic metro maps. In Section 3, we propose an ANN-based label placement method with labeling natural intelligence. In Section 4, the experimental evaluation is presented. Some discussion and conclusions are made in Section 5 and Section 6, respectively.

2. Analysis and Modeling of Labeling Natural Intelligence

To learn the new relations, we first conduct a thorough analysis of labeling natural intelligence. Then, we model them with a set of variables.

2.1. Analysis of Labeling Natural Intelligence

Through a thorough survey of the literature on metro map labeling (see Table 1), we have identified four common labeling natural intelligences: (1) place labels without overlaps; (2) place labels without ambiguity; (3) place labels from the same passing line on the same side; and (4) place labels in the most preferred positions.

2.1.1. Place Labels without Overlaps

The avoidance of overlapping labels is the most basic and important aspect [1,10], which aims to ensure the clarity and legibility of the map. Overlapping labels can be categorized into three kinds of cases: label–point overlap, label–edge overlap, and label–label overlap, as shown in Figure 4.

2.1.2. Place Labels without Ambiguity

Labels are often the only way to identify stations on a metro map. Therefore, ambiguous associations must be forbidden to ensure that passengers can accurately identify the location of each station. Two examples of ambiguous labels are shown in Figure 5. In these examples, it is unclear which point the labels associate.

2.1.3. Place Labels from the Same Passing Line on the Same Side

To maintain consistency and continuity on the metro maps, it is necessary to place labels for points touching the same passing line on the same side as much as possible, as shown in Figure 6. Additionally, if the labels are arbitrarily placed on the two sides of the passing line, this can lead to visual confusion and make the map difficult to read.

2.1.4. Place Labels in the Most Preferred Position

Labels should be placed in the most preferred position among all acceptable positions. Such a preferred position means the visual and cognitive preferences when viewing schematic metro maps. Some examples of preferred label placements are shown in Figure 7 (see reference [6] for the preferred label positions of all point–edge situations).
Conflicts may be caused among the four labeling natural intelligences mentioned above. In Figure 8a, all labels are placed on the right of the passing line, and this satisfies the third labeling natural intelligence but violates the first one. Indeed, such overlapped results are most unacceptable, and some possible improvements (e.g., Figure 8b,c) will be made by designers. This indicates that there exists a labeling natural intelligence that determines the prioritization among labeling principles.

2.2. Modeling of Labeling Natural Intelligence

To ensure the labeling natural intelligence to be learned by the ANN model, it is necessary to model them mathematically. As the basic unit to be learned is the labels, we first define the candidate labels for station points. Generally, the direction of labels can be horizontal and vertical. For each direction, eight fixed positions are commonly used. As a result, 16 candidate labels are defined for each station point, as shown in Figure 9.

2.2.1. Modeling of Overlaps

For label–point and label–edge overlaps, we respectively define 16 binary variables (( x 1 ,   x 2 ,   x 3 ,   ,   x 16 ) and ( x 17 ,   x 18 ,   x 19 ,   ,   x 32 )) to denote whether candidate labels 1 to 16 are overlapped or not. If a candidate label is overlapped, it is recorded as 1, and vice versa as 0. For label and label overlap, we define 16 variables ( x 33 ,   x 34 ,   x 35 ,   ,   x 48 ) to denote the percentage of overlapped area, which ranges from 0 to 1. Some examples are shown in Figure 10. In Figure 10a, the second candidate label of p 1 is overlapped by p 2 , hence, the variable x 2 of p 1 is recorded 1.

2.2.2. Modeling of Ambiguity

The ambiguity of a label can be measured by the distances of the label from the points. The distance between a label and its point is usually fixed in the given metro schematic map. The label is ambiguous when the distances between the label and other points approximate this fixed distance. Therefore, we define 16 variables ( x 49 ,   x 50 ,   x 51 ,   ,   x 64 ) to denote the minimum distances between the candidate labels and other points. It is noted that the distance measure used in this paper is the minimum Euclidean distance between the point and the label contour, as shown in Figure 11.

2.2.3. Modeling of Passing Line Direction

To model the principle “labels for points touching the same passing line are placed on the same side”, the identification of the type of passing line is required. In this paper, we adopt the previous method [7], which employs direction to classify passing lines into five types: horizontal, vertical, left diagonal, right diagonal, and hybrid types. Then, a five-dimensional binary variable ( x 65 ,   x 66 ,   ,   x 69 ) is used to represent these five passing line directions, as shown in Figure 12.
As the official schematic metro maps are well-designed productions by cartographic experts, they are already considered the most preferred position and the priority among labeling principles. Therefore, this labeling natural intelligence will be observed by learning the relations between label positions and map features. In summary, the mathematical model of labeling natural intelligence for each station point’s 16 candidate labels can be defined as the following matrix ( N × 69 , where N is the number of points, see Table 2), which is used as the input to the ANN model.

3. ANN-Based Label Placement Method with Natural Intelligence

In this section, we propose an ANN-based label placement method. To implement this method, the construction of the ANN model is required. Then, the training and testing datasets are developed.

3.1. Construction of the ANN Labeling Model

As mentioned in the previous section, ANN has a good generalization capability to perform well on unseen or new data after being trained on a dataset [31,32,33]. Several common architectures or models of ANN (e.g., multilayer feedforward, MLF, and convolutional neural network, CNN) have been developed over the years to address various tasks and challenges, such as image and speech recognition [34,35], natural language processing [36], and recommendation systems [37]. In cartography, ANN can be applied to enhance various aspects, such as map generalization [38,39,40,41] and map production [42,43].
In this study, we treat the label placement as a supervised learning task. Then, the MLF model is selected for its suitability for supervised tasks [44]. A complete MLF model typically contains the following components: input, hidden, and output layers. The number of hidden layers and the number of neurons in the hidden layers are determined by a “trial-by-error” method [7]. This method involves initially training neural networks with varying numbers of hidden neurons, followed by an assessment based on generalization error to determine the optimal number. For activation functions, preference is given to nonlinear options. Among these, the Rectified Linear Unit (ReLU) is employed in this study for its computational efficiency and nonlinear properties. Finally, we construct the ANN model using PyTorch, which is a popular open-source machine learning library developed by Facebook’s AI Research lab (FAIR). Figure 13 shows the constructed ANN model.
The model’s initial values of parameters and hyperparameters are required before the training and testing phase. Usually, the parameters are randomly initialized and dynamically optimized in the training process. The hyperparameters (e.g., learning rate) are set manually, and their initial values are listed in Table 3.

3.2. Training and Testing the ANN Labeling Model

The original training and testing datasets are collected as pictures from the official schematic metro maps, which are well-designed productions by cartographic experts. To fill the characteristic matrix ( N × 69 ), we vectorize pictures of metro maps by ArcGIS 10.6.1 software. It is noted that the sizes of vector pictures are various, leading to significant differences in the size of the labels. To handle this, we keep the label size similar, i.e., the same size of language characters in name labels. Specifically, the lengths of characters on schematic maps are utilized as benchmarks to guide the “zoom in” or “zoom out” function of these vectorized pictures. That is, the side lengths of the minimum bounding rectangle (MBR) of the characters on different schematic metro maps are equal. This standardization is achieved by dividing all coordinates of the points on a schematic metro map by the length of the MBR of a character. Then, we generate the candidate labels for each station point, as shown in Figure 14. Finally, we fill the characteristic matrix with ArcGIS functions, such as “Select Layer by Location” and “Near”.
It is noted that the common metric “accuracy” is limited when evaluating the testing labeling outcomes because the same input may produce multiple correct outputs. This may be attributed to the individual preferences of schematic network map designers [7].

4. Experimental Evaluation

Quantitative and qualitative evaluations have been conducted in this section. Five evaluation metrics of the labeling results have been compared between our method and the benchmark [7]. On the other hand, a survey has been conducted by asking users to select the more pleasing labeling results.

4.1. Experimental Data

The official schematic metro maps were collected from 15 cities (Chengdu, Guangzhou, Hong Kong, Nanjing, Shenzhen, Suzhou, Tianjin, Wuhan, Beijing, Xiamen, Chongqing, Singapore, Madrid, New York, and London) in different countries, as shown in Figure 15. A total of 3048 station points are sampled from these maps. The training set is from 12 cities (Chengdu, Guangzhou, Hong Kong, Shenzhen, Tianjin, Wuhan, Beijing, Xiamen, Chongqing, Madrid, New York, and London) with 2635 station points. The test set is from three cities (Nanjing, Suzhou, and Singapore) with 413 stations.

4.2. Experimental Evaluation Method

Four metrics corresponding to the most common labeling natural intelligence (see Section 2) are used for quantitative evaluation, i.e., the number of overlapping labels ( N u m overlapping ), the sum of the closest distance from each label to other points ( D i s minimum ), the number of labels placed at the most preferred position ( N u m preference ), and the number of labels placed on the same side ( N u m consistency ). On the other hand, the map-load level ( M L L ) is a crucial aspect of map design, and it was used to evaluate schematic metro maps.
N u m overlapping includes overlap between label and point ( O v e r l a p label point ), overlap between label and edge ( O v e r l a p label edge ), as well as overlap between label and label ( O v e r l a p label label ). M L L can be calculated by the Graphic Map Load Measuring Tool (GMLMT) [45]. In order to calculate the N u m consistency , we define the side where the labels should be placed, which is determined by the majority.
Qualitative evaluation asks users to select the more pleasing labeling results from our method and benchmark. In this survey, we obtained the selection of 42 participants through the “Wenjuanxing” online platform.

4.3. Experimental Results

Figure 16, Figure 17 and Figure 18 show the labeling results of our method and the benchmark. Table 4 lists the N u m overlapping , O v e r l a p label point , O v e r l a p label edge , and O v e r l a p label label . The results show that the N u m overlapping of our method is significantly lower than that of the benchmark. More precisely, the O v e r l a p label point , O v e r l a p label edge , and O v e r l a p label label of our method are lower than those of the benchmark, accounting for 0.00%, 4.12%, and 20.58% of the total number of labels (413), compared with 4.17%, 14.29%, and 35.11% for the benchmark, respectively. These results indicate that our method is effective in avoiding overlapping labels.
Table 5 shows the D i s minimum of our method and the benchmark. The results show that the D i s minimum of our method is larger than that of the benchmark. This indicates that our method is good at avoiding ambiguous labels, as shown in Figure 19.
Table 6 lists the N u m preference and N u m consistency of our method and the benchmark. It was found that the N u m preference of our method is lower than that of the benchmark. This is because our method prioritizes the avoidance of overlapping labels at the expense of preference. On the other hand, N u m consistency is comparable between our method and the benchmark.
Figure 20, Figure 21 and Figure 22 show the map-load level (ranging from 0 to 100) distribution on the resulting maps of our method and the benchmark. Specifically, the maps are divided into 100 grids, and the map-load level for each grid is calculated. We focus on the grids that contain overlapping labels (marked by green boxes) or ambiguous labels (marked by blue boxes) in the benchmark but do not in our method.
It was found that the map-load levels of the blue boxes and most of the green boxes decreased in our resulting maps. This finding indicates that our method can place labels with a lower map-load level. Further, we found that the map-load levels decrease after eliminating label–label overlaps (green solid boxes) but increase after eliminating label–point or label–edge overlaps (green dotted boxes, see Figure 22). This is because the visual complexity of the label–point or label–edge overlap seems lower than that of the label–label overlap. However, it is clear that our label placements in green dotted boxes, despite having larger map-load levels, are more readable. This implies that the map-load level calculated by GMLMT is only an objective estimation of visual complexity. Therefore, a subjective evaluation of readability for label placement is required.
Table 7 presents the preferences of 42 participants regarding label placement generated by our method compared to the benchmark. Results show that 35 participants (83.3%), 30 participants (71.4%), and 31 participants (73.8%) preferred our labeling results for Nanjing, Suzhou, and Singapore, respectively. These results reveal that the label placements of our method are more pleasing than the benchmark.

5. Discussion

5.1. Impact Analysis of Different Characteristics and Settings

An ablation study has been conducted to analyze the impact of different components or settings of our method on the resulting schematic metro maps. Specifically, hidden layers-based and characteristic variables-based ablation experiments have been performed, respectively (see Table 8 for details on these experiments).
Table 9 shows the results of hidden layers-based ablation experiments. No significant impact was found after removing any hidden layers. Table 10 shows the results of characteristic variables-based ablation experiments. It was found that O v e r l a p label point , O v e r l a p label edge , and O v e r l a p label label significantly increase while D i s minimum decreases after removing characteristic variable 1 (label–point overlaps) and characteristic variable 2 (label–edge overlaps). These results indicate that these two characteristics play an important role in avoiding overlapping and ambiguous labels. On the other hand, this implies that the remaining characteristics may be redundant in the original experiment.

5.2. Reduce Overlapping Labels Using an Optimization Algorithm

The overlapping labels still exist in our labeling results, and most of them are caused by adjacent station points touching a horizontal passing line, as shown in Figure 23a. On official schematic metro maps, labels of such points are usually progressively placed crosswise up and down based on heuristic information, as shown in Figure 23b. However, such heuristic information heavily depends on human intelligence, and it is difficult to integrate them into the characteristic matrix.
The traditional method was employed to reduce these remaining overlapping labels automatically. Specifically, the label placement is treated as a combinatorial optimization problem in a limited cartographic space. To solve the optimization problem means to maximize or minimize one or more objective functions.
In this process, an initial label placement is required to input, and a random placement is commonly used due to simplicity. However, such placement is inappropriate for schematic metro maps because these maps require special constraints, e.g., labels from the same passing line should be placed on the same side as much as possible.
The labeling result of our method can be used as an appropriate initial label placement. In order to verify this idea, we employed a genetic algorithm (one commonly used optimization algorithm) to optimize the following objective function:
O b j e c t i v e   f u n c t i o n = M i n ( O v e r l a p label point + O v e r l a p label edge + O v e r l a p label label )
Figure 24 shows the results optimized from our label placement and the random label placement. No overlapping labels appear in both optimized results. It is clear that the results from our label placement exhibit better preference and consistency.
On the other hand, Table 11 shows the overlapping labels of two initial label placements and the iterations required for optimization. The findings suggest that the optimization from our label placement performs fewer iterations, implying its effectiveness for practical application.

6. Conclusions

On schematic metro maps, high-quality name labels are helpful to passengers performing metro route planning and orientation tasks. It has been reported that an artificial neural network (ANN) is an effective and efficient way to place high-quality labels. In this study, we developed an improved labeling method by integrating relations between label positions and both connected and surrounding features into the ANN model.
Quantitative and qualitative evaluations with a benchmark have been conducted using three official schematic metro maps. Quantitative results show our method can produce schematic metro maps with fewer overlapping labels than the benchmark. Specifically, the number of three types of overlaps (label–point, label–edge, and label–label) by our method is lower than that of the benchmark, accounting for 0.00%, 4.12%, and 20.58% of the total number of labels, compared with 4.17%, 14.29%, and 35.11% for the benchmark, respectively. On the other hand, our method is good at avoiding ambiguous labels and also trying to ensure labels from the same passing line on the same side. It should be noted that the reduction in overlapping and ambiguous labels is achieved at the cost of the label position preference. Qualitative results show that most users (around 75%) are more satisfied with our schematic maps than those of the benchmark. Thus, based on the experimental results, it may be concluded that the improved ANN-based label placement method is effective.
On the other hand, our method can be extended to place labels for topographic maps, which usually include multiple features (i.e., points, lines, and areas). The key to developing an ANN-based method for labeling topographic maps is to define effective relationships between labels and features based on labeling natural intelligence. It is believed that this method can significantly improve the quality and efficiency of label placement on topographic maps.
There are limitations to this new method. First, a particular type of overlapping label (i.e., occurring at adjacent station points touching a horizontal passing line) still exists in our labeling results. Although an optimization algorithm-based method has been discussed to address this limitation, future work will focus on how to model it to achieve completely automatic label placement based on artificial neural networks. Second, the developed characteristic matrix may include redundant variables, and an improved matrix will be explored.

Author Contributions

Conceptualization, Zhiwei Wu; funding acquisition, Tian Lan; investigation, Zhiwei Wu, Chenzhen Sun, Donglin Cheng, Xing Shi, and Guangjun Zeng; methodology, Zhiwei Wu and Tian Lan; supervision, Tian Lan; visualization, Meisheng Chen; writing—original draft, Zhiwei Wu; writing—review and editing, Zhiwei Wu and Tian Lan. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China (Grant Nos. 42101442 and 42394063).

Data Availability Statement

The data presented in this study are available upon request from the corresponding authors. The data are not publicly available due to privacy.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Nollenburg, M.; Wolff, A. Drawing and labeling high-quality metro maps by mixed-integer programming. IEEE Trans. Vis. Comput. Graph. 2011, 17, 626–641. [Google Scholar] [CrossRef] [PubMed]
  2. Roberts, M.J.; Gray, H.; Lesnik, J. Preference versus performance: Investigating the dissociation between objective measures and subjective ratings of usability for schematic metro maps and intuitive theories of design. Int. J. Hum. Comput. Stud. 2017, 98, 109–128. [Google Scholar] [CrossRef]
  3. Morrison, A. Public transport maps in western European cities. Cartogr. J. 1996, 33, 93–110. [Google Scholar] [CrossRef]
  4. Hong, S.-H.; Merrick, D.; do Nascimento, H.A.D. The metro map layout problem. In Lecture Notes in Computer Science; Springer: Berlin/Heidelberg, Germany, 2005; pp. 482–491. [Google Scholar]
  5. Nöllenburg, M. A survey on automated metro map layout methods. In Proceedings of the 1st Schematic Mapping Workshop, Essex, UK, 2–3 April 2014. [Google Scholar]
  6. Lan, T.; Li, Z.L.; Peng, Q.; Gong, X.Y. Automated labeling of schematic maps by optimization with knowledge acquired from existing maps. Trans. GIS 2020, 24, 1722–1739. [Google Scholar] [CrossRef]
  7. Lan, T.; Li, Z.L.; Wang, J.C.; Gong, C.Y.; Ti, P. An ANNs-based method for automated labelling of schematic metro maps. ISPRS Int. J. Geo-Inf. 2022, 11, 36. [Google Scholar] [CrossRef]
  8. Avelar, S.; Hurni, L. On the design of schematic transport maps. Cartogr. Int. J. Geogr. Inf. Geovis. 2006, 41, 217–228. [Google Scholar] [CrossRef]
  9. Stott, J.M.; Rodgers, P. Metro map layout using multicriteria optimization. In Proceedings of the Eighth International Conference on Information Visualisation, London, UK, 16 July 2004; pp. 355–362. [Google Scholar]
  10. Avelar, S. Convergence analysis and quality criteria for an iterative schematization of networks. GeoInformatica 2007, 11, 497–513. [Google Scholar] [CrossRef]
  11. Stott, J.; Rodgers, P.; Martínez-Ovando, J.C.; Walker, S.G. Automatic metro map layout using multicriteria optimization. IEEE Trans. Vis. Comput. Graph. 2011, 17, 101–114. [Google Scholar] [CrossRef] [PubMed]
  12. Wang, Y.S.; Chi, M.T. Focus+context metro maps. IEEE Trans. Vis. Comput. Graph. 2011, 17, 2528–2535. [Google Scholar] [CrossRef]
  13. Roberts, M.J.; Newton, E.J.; Lagattolla, F.D.; Hughes, S.; Hasler, M.C. Objective versus subjective measures of Paris Metro map usability: Investigating traditional octolinear versus all-curves schematics. Int. J. Hum.-Comput. Stud. 2013, 71, 363–386. [Google Scholar] [CrossRef]
  14. Mark Ware, J.; Taylor, G.E.; Anand, S.; Thomas, N. Automated production of schematic maps for mobile applications. Trans. GIS 2006, 10, 25–42. [Google Scholar] [CrossRef]
  15. Li, Z.L.; Dong, W.H. A stroke-based method for automated generation of schematic network maps. Int. J. Geogr. Inf. Sci. 2010, 24, 1631–1647. [Google Scholar] [CrossRef]
  16. Ware, M.; Richards, N. An ant colony system algorithm for automatically schematizing transport network data sets. In Proceedings of the IEEE Congress on Evolutionary Computation, Cancun, Mexico, 20–23 June 2013; pp. 1892–1900. [Google Scholar]
  17. Ti, P.; Li, Z.L. Generation of schematic network maps with automated detection and enlargement of congested areas. Int. J. Geogr. Inf. Sci. 2014, 28, 521–540. [Google Scholar] [CrossRef]
  18. Lan, T.; Li, Z.L.; Ti, P. Integrating general principles into mixed-integer programming to optimize schematic network maps. Int. J. Geogr. Inf. Sci. 2019, 33, 2305–2333. [Google Scholar] [CrossRef]
  19. Schwetman, J.D. Harry Beck’s London Underground map: A convex lens for the global city. Transfers 2014, 4, 86–103. [Google Scholar] [CrossRef]
  20. Imhof, E. Positioning names on maps. Am. Cartogr. 1975, 2, 128–144. [Google Scholar] [CrossRef]
  21. Yoeli, P. The logic of automated map lettering. Cartogr. J. 1972, 9, 99–108. [Google Scholar] [CrossRef]
  22. Christensen, J.; Marks, J.; Shieber, S. An empirical study of algorithms for point-feature label placement. ACM Trans. Graph. 1995, 14, 203–232. [Google Scholar] [CrossRef]
  23. Oucheikh, R.; Harrie, L. A feasibility study of applying generative deep learning models for map labeling. Cartogr. Geogr. Inf. Sci. 2024, 51, 168–191. [Google Scholar] [CrossRef]
  24. Wu, H.-Y.; Niedermann, B.; Takahashi, S.; Roberts, M.J.; Nöllenburg, M. A survey on transit map layout—From design, machine, and human perspectives. Comput. Graph. Forum 2020, 39, 619–646. [Google Scholar] [CrossRef]
  25. Ribeiro, J.T.; Rijo, R.; Leal, A. Fast automatic schematics for public transport spider maps. Procedia Technol. 2012, 5, 659–669. [Google Scholar] [CrossRef]
  26. Oke, O.; Siddiqui, S. Efficient automated schematic map drawing using multiobjective mixed integer programming. Comput. Oper. Res. 2015, 61, 1–17. [Google Scholar] [CrossRef]
  27. Wolff, A. Drawing subway maps: A survey. Inform. Forsch. Und Entwickl. 2007, 22, 23–44. [Google Scholar] [CrossRef]
  28. Niedermann, B.; Haunert, J.-H. An algorithmic framework for labeling network maps. Algorithmica 2018, 80, 1493–1533. [Google Scholar] [CrossRef]
  29. Netzel, R.; Ohlhausen, B.; Kurzhals, K.; Woods, R.; Burch, M.; Weiskopf, D. User performance and reading strategies for metro maps: An eye tracking study. Spat. Cogn. Comput. 2017, 17, 39–64. [Google Scholar] [CrossRef]
  30. Jacobsen, B.; Wallinger, M.; Kobourov, S.; Nöllenburg, M. MetroSets: Visualizing sets as metro maps. IEEE Trans. Vis. Comput. Graph. 2021, 27, 1257–1267. [Google Scholar] [CrossRef]
  31. Jiang, Y.N. Prediction of monthly mean daily diffuse solar radiation using artificial neural networks and comparison with other empirical models. Energy Policy 2008, 36, 3833–3837. [Google Scholar] [CrossRef]
  32. Basheer, I.A.; Hajmeer, M. Artificial neural networks: Fundamentals, computing, design, and application. J. Microbiol. Methods 2000, 43, 3–31. [Google Scholar] [CrossRef] [PubMed]
  33. Lu, Y.; Ye, L.; Su, Z.Q.; Zhou, L.M.; Cheng, L. Artificial neural network (ANN)-based crack identification in aluminum plates with lamb wave signals. J. Intell. Mater. Syst. Struct. 2009, 20, 39–49. [Google Scholar] [CrossRef]
  34. Yang, C.C.; Prasher, S.O.; Landry, J.; DiTommaso, A. Application of artificial neural networks in image recognition and classification of crop and weeds. Can. Agric. Eng. 2000, 42, 147–152. [Google Scholar]
  35. Trentin, E.; Gori, M. A survey of hybrid ANN/HMM models for automatic speech recognition. Neurocomputing 2001, 37, 91–126. [Google Scholar] [CrossRef]
  36. Rodzin, S.; Bova, V.; Kravchenko, Y.; Rodzina, L. Deep learning techniques for natural language processing. In Lecture Notes in Networks and Systems; Springer: Cham, Switzerland, 2022; pp. 121–130. [Google Scholar]
  37. Brintha, N.C.; Nagaraj, P.; Tejasri, A.; Durga, B.V.; Teja, M.T.; Kumar, M.N.V.P. A food recommendation system for predictive diabetic patients using ANN and CNN. In Proceedings of the 7th International Conference on Communication and Electronics Systems (ICCES), Coimbatore, India, 22–24 June 2022; pp. 1364–1371. [Google Scholar]
  38. Courtial, A.; El Ayedi, A.; Touya, G.; Zhang, X. Exploring the potential of deep learning segmentation for mountain roads generalisation. ISPRS Int. J. Geo-Inf. 2020, 9, 338. [Google Scholar] [CrossRef]
  39. Touya, G.; Zhang, X.; Lokhat, I. Is deep learning the new agent for map generalization? Int. J. Cartogr. 2019, 5, 142–157. [Google Scholar] [CrossRef]
  40. Feng, Y.; Thiemann, F.; Sester, M. Learning cartographic building generalization with deep convolutional neural networks. ISPRS Int. J. Geo-Inf. 2019, 8, 258. [Google Scholar] [CrossRef]
  41. Zhou, Q.; Li, Z.L. Use of artificial neural networks for selective omission in updating road networks. Cartogr. J. 2014, 51, 38–51. [Google Scholar] [CrossRef]
  42. Henry, C.J.; Storie, C.D.; Palaniappan, M.; Alhassan, V.; Swamy, M.; Aleshinloye, D.; Curtis, A.; Kim, D. Automated LULC map production using deep neural networks. Int. J. Remote Sens. 2019, 40, 4416–4440. [Google Scholar] [CrossRef]
  43. Kang, Y.H.; Gao, S.; Roth, R.E. Transferring multiscale map styles using generative adversarial networks. Int. J. Cartogr. 2019, 5, 115–141. [Google Scholar] [CrossRef]
  44. Ishak, S.; Al-Deek, H. Performance of automatic ANN-based incident detection on freeways. J. Transp. Eng. 1999, 125, 281–290. [Google Scholar] [CrossRef]
  45. Barvir, R.; Vit, V. Graphic Map Load Measuring Tool—Development and verification. Int. J. Cartogr. 2021, 7, 285–303. [Google Scholar] [CrossRef]
Figure 2. Comparison of labeling results between (a) schematic metro maps and (b) topographic maps.
Figure 2. Comparison of labeling results between (a) schematic metro maps and (b) topographic maps.
Ijgi 13 00294 g002
Figure 3. Limitation of label placement based on a point–edge situation.
Figure 3. Limitation of label placement based on a point–edge situation.
Ijgi 13 00294 g003
Figure 4. Three types of overlapping labels in schematic metro maps.
Figure 4. Three types of overlapping labels in schematic metro maps.
Ijgi 13 00294 g004
Figure 5. Examples of ambiguous labels.
Figure 5. Examples of ambiguous labels.
Ijgi 13 00294 g005
Figure 6. Label placements for points touching the same passing line are placed on the same side.
Figure 6. Label placements for points touching the same passing line are placed on the same side.
Ijgi 13 00294 g006
Figure 7. Examples of preferred label placements.
Figure 7. Examples of preferred label placements.
Ijgi 13 00294 g007
Figure 8. Prioritization among labeling principles exists in schematic metro map design.
Figure 8. Prioritization among labeling principles exists in schematic metro map design.
Ijgi 13 00294 g008
Figure 9. Candidate labels (lower values indicate more preferred positions) for a station point.
Figure 9. Candidate labels (lower values indicate more preferred positions) for a station point.
Ijgi 13 00294 g009
Figure 10. The variables are modeled to express overlapping labels.
Figure 10. The variables are modeled to express overlapping labels.
Ijgi 13 00294 g010
Figure 11. The variables are modelled to express the ambiguity of labels.
Figure 11. The variables are modelled to express the ambiguity of labels.
Ijgi 13 00294 g011
Figure 12. Passing lines with various directions.
Figure 12. Passing lines with various directions.
Ijgi 13 00294 g012
Figure 13. The constructed ANN model in this study.
Figure 13. The constructed ANN model in this study.
Ijgi 13 00294 g013
Figure 14. The candidate labels for each station point.
Figure 14. The candidate labels for each station point.
Ijgi 13 00294 g014
Figure 15. Schematic metro maps of cities (some station names are presented in Chinese characters).
Figure 15. Schematic metro maps of cities (some station names are presented in Chinese characters).
Ijgi 13 00294 g015aIjgi 13 00294 g015b
Figure 16. Nanjing schematic metro maps are produced using our method and the benchmark.
Figure 16. Nanjing schematic metro maps are produced using our method and the benchmark.
Ijgi 13 00294 g016
Figure 17. Suzhou schematic metro maps are produced using our method and the benchmark.
Figure 17. Suzhou schematic metro maps are produced using our method and the benchmark.
Ijgi 13 00294 g017
Figure 18. Singapore schematic metro maps are produced using our method and the benchmark.
Figure 18. Singapore schematic metro maps are produced using our method and the benchmark.
Ijgi 13 00294 g018
Figure 19. Comparison of ambiguous labels between our method and the benchmark.
Figure 19. Comparison of ambiguous labels between our method and the benchmark.
Ijgi 13 00294 g019
Figure 20. Map-load level distribution of Nanjing schematic metro maps.
Figure 20. Map-load level distribution of Nanjing schematic metro maps.
Ijgi 13 00294 g020
Figure 21. Map-load level distribution of Suzhou schematic metro maps.
Figure 21. Map-load level distribution of Suzhou schematic metro maps.
Ijgi 13 00294 g021
Figure 22. Map-load level distribution of Singapore schematic metro maps.
Figure 22. Map-load level distribution of Singapore schematic metro maps.
Ijgi 13 00294 g022
Figure 23. Major overlaps of our results and the manual placement method.
Figure 23. Major overlaps of our results and the manual placement method.
Ijgi 13 00294 g023
Figure 24. The non-overlapping results were optimized from two initial label placements.
Figure 24. The non-overlapping results were optimized from two initial label placements.
Ijgi 13 00294 g024
Table 1. Common labeling natural intelligence in the existing methods.
Table 1. Common labeling natural intelligence in the existing methods.
Labeling Natural IntelligenceSource
Place labels without overlapsReferences [1,4,5,6,7,9,11,12,24,25,26,27,28,29,30]
Place labels without ambiguityReferences [1,6,11,12,24,29,30]
Place labels from the same passing line on the same sideReferences [1,5,6,7,11,12,24,26,27,28,30]
Place labels in the most preferred positionReferences [1,4,6,7,9,11,12,26,27,28,30]
Table 2. Characteristic matrix modeling labeling natural intelligence.
Table 2. Characteristic matrix modeling labeling natural intelligence.
Variables Modeling
Label–Point Overlap
Variables Modeling
Label–Edge Overlap
Variables Modeling
Label–Label Overlap
Variables Modeling
Ambiguity of Labels
Variables Modeling Direction of Passing Lines
x 1 ,   x 2 ,   x 3 ,   ,   x 16 x 17 ,   x 18 ,   x 19 ,   ,   x 32 x 33 ,   x 34 ,   x 35 ,   ,   x 48 x 49 ,   x 50 ,   x 51 ,   ,   x 64 x 65 ,   x 66 ,   ,   x 69
Point 1 x 1 1 , x 2 1 , x 3 1 , , x 16 1 x 17 1 , x 18 1 , x 19 1 , , x 32 1 x 33 1 , x 34 1 , x 35 1 , , x 48 1 x 49 1 , x 50 1 , x 51 1 , , x 64 1 x 65 1 , x 66 1 , , x 69 1
Point 2 x 1 2 , x 2 2 , x 3 2 , , x 16 2 x 17 2 , x 18 2 , x 19 2 , , x 32 2 x 33 2 , x 34 2 , x 35 2 , , x 48 2 x 49 2 , x 50 2 , x 51 2 , , x 64 2 x 65 2 , x 66 2 , , x 69 2
Point 3 x 1 3 , x 2 3 , x 3 3 , , x 16 3 x 17 3 , x 18 3 , x 19 3 , , x 32 3 x 33 3 , x 34 3 , x 35 3 , , x 48 3 x 49 3 , x 50 3 , x 51 3 , , x 64 3 x 65 3 , x 66 3 , , x 69 3
Point N x 1 n , x 2 n , x 3 n , , x 16 n x 17 n , x 18 n , x 19 n , , x 32 n x 33 n , x 34 n , x 35 n , , x 48 n x 49 n , x 50 n , x 51 n , , x 64 n x 65 n , x 66 n , , x 69 n
Table 3. Initial values of parameters.
Table 3. Initial values of parameters.
HyperparametersInitial ValuesExplanation
Learning rate0.005Controls the balance between convergence speed and stability
Batch size5The number of training examples utilized in one iteration of the training process
Momentum0.9Accelerates optimization, smooths gradient updates, and helps overcome noisy gradients and oscillations
Step size
Gamma
7
0.1
Affects the change in the learning rate
Number of epochs50Determines how many times the network learns from the entire training dataset
Table 4. The number of overlapping labels produced by our method and the benchmark.
Table 4. The number of overlapping labels produced by our method and the benchmark.
CityMethod O v e r l a p l a b e l p o i n t O v e r l a p l a b e l e d g e O v e r l a p l a b e l l a b e l N u m o v e r l a p p i n g
NanjingOur method063339
Benchmark 9245891
SuzhouOur method023941
Benchmark 175462
SingaporeOur method091221
Benchmark 7283368
Table 5. The D i s minimum of our method and the benchmark.
Table 5. The D i s minimum of our method and the benchmark.
CityMethod D i s m i n i m u m
NanjingOur method2234.7
Benchmark 1807.3
SuzhouOur method1939.7
Benchmark 1792.6
SingaporeOur method3542.1
Benchmark 3111.6
Table 6. The N u m preference and N u m consistency of our method and the benchmark.
Table 6. The N u m preference and N u m consistency of our method and the benchmark.
CityMethod N u m preference N u m consistency
NanjingOur method104135
Benchmark138136
SuzhouOur method89111
Benchmark120116
SingaporeOur method121129
Benchmark135125
Table 7. Preferences of schematic metro maps between our method and the benchmark.
Table 7. Preferences of schematic metro maps between our method and the benchmark.
CityMethodNumberProportion
NanjingOur method3583.3%
Benchmark 716.7%
SuzhouOur method3071.4%
Benchmark 1228.6%
SingaporeOur method3173.8%
Benchmark 1126.2%
Table 8. Hidden layers-based and characteristic variables-based ablation experiments.
Table 8. Hidden layers-based and characteristic variables-based ablation experiments.
ExperimentExplanation
Hidden layers-based R e m o v e _ H 1 Remove hidden layer 1 ( 69 × 512 )
R e m o v e _ H 2 Remove hidden layer 2 ( 512 × 1024 )
R e m o v e _ H 3 Remove hidden layer 3 ( 1024 × 512 )
Characteristic variables-based R e m o v e _ C 1 Remove variables of label–point overlap
R e m o v e _ C 2 Remove variables of label–edge overlap
R e m o v e _ C 3 Remove variables of label–label overlap
R e m o v e _ C 4 Remove variables of ambiguity of labels
R e m o v e _ C 5 Remove variables of direction of passing lines
Table 9. Results of hidden layers-based ablation experiments.
Table 9. Results of hidden layers-based ablation experiments.
CityExperiment O v e r l a p l a b e l p o i n t O v e r l a p l a b e l e d g e O v e r l a p l a b e l l a b e l N u m overlapping D i s minimum
Nanjing R e m o v e _ H 1 0632382178.9
R e m o v e _ H 2 1637442207.1
R e m o v e _ H 3 0735422252.9
Reference0633392234.7
Suzhou R e m o v e _ H 1 0237391961.3
R e m o v e _ H 2 0240421958.5
R e m o v e _ H 3 0241432001.7
Reference0239411939.7
Singapore R e m o v e _ H 1 0914233531.4
R e m o v e _ H 2 0914233474.7
R e m o v e _ H 3 088163550.7
Reference0912213542.1
Table 10. Results of characteristic variables-based ablation experiments.
Table 10. Results of characteristic variables-based ablation experiments.
CityExperiment O v e r l a p l a b e l p o i n t O v e r l a p l a b e l e d g e O v e r l a p l a b e l l a b e l N u m overlapping D i s minimum
Nanjing R e m o v e _ C 1 55339971973.2
R e m o v e _ C 2 41540592131.2
R e m o v e _ C 3 0637432151.2
R e m o v e _ C 4 0541462158.2
R e m o v e _ C 5 0733402207.0
Reference0633392234.7
Suzhou R e m o v e _ C 1 31644631894.3
R e m o v e _ C 2 0442461948.0
R e m o v e _ C 3 0241431939.8
R e m o v e _ C 4 0239411927.8
R e m o v e _ C 5 0240421957.3
Reference0239411939.7
Singapore R e m o v e _ C 1 376221012960.0
R e m o v e _ C 2 52327553354.9
R e m o v e _ C 3 0916253483.5
R e m o v e _ C 4 0810183516.9
R e m o v e _ C 5 0812203497.8
Reference0912213542.1
Table 11. The number of overlapping labels and the number of iterations performed for two initial label placements.
Table 11. The number of overlapping labels and the number of iterations performed for two initial label placements.
Initial PlacementOverlapping LabelsNumber of Iterations
Our method4118
Random method10558
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Wu, Z.; Lan, T.; Sun, C.; Cheng, D.; Shi, X.; Chen, M.; Zeng, G. An Improved ANN-Based Label Placement Method Considering Surrounding Features for Schematic Metro Maps. ISPRS Int. J. Geo-Inf. 2024, 13, 294. https://doi.org/10.3390/ijgi13080294

AMA Style

Wu Z, Lan T, Sun C, Cheng D, Shi X, Chen M, Zeng G. An Improved ANN-Based Label Placement Method Considering Surrounding Features for Schematic Metro Maps. ISPRS International Journal of Geo-Information. 2024; 13(8):294. https://doi.org/10.3390/ijgi13080294

Chicago/Turabian Style

Wu, Zhiwei, Tian Lan, Chenzhen Sun, Donglin Cheng, Xing Shi, Meisheng Chen, and Guangjun Zeng. 2024. "An Improved ANN-Based Label Placement Method Considering Surrounding Features for Schematic Metro Maps" ISPRS International Journal of Geo-Information 13, no. 8: 294. https://doi.org/10.3390/ijgi13080294

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop