4.3 Different Label Heights and
Numbers of Points
We compare the Na
¨
ıve algorithm with Algorithms 1-
4 proposed in this work w.r.t. different label heights.
Tables 3 and 4 show the performance w.r.t. label
height ranging from 10 to 30. Height increasing re-
sults in performance degradation, suggesting that the
number of labels which can be displayed simultane-
ously decreases due to the fact that labels tend to
block more labels. As shown in the tables, Algorithms
1-4 are better than the Na
¨
ıve algorithm in most cases.
Finally, we analyze the running time of Algo-
rithms 1-4. We show Algorithms 1, 2 and 4 on differ-
ent numbers of points ranging from 100 points to 500
points. Table 5 shows their running times. As Algo-
rithm 3 needs to solve the trigonometric functions in
the constraints of the objective function, the problem
size that the algorithm is able to solve in a reasonable
amount of time is rather limited. Table 6 shows the
results of Algorithm 3 for the number of points rang-
ing from 10 to 30. Due to its extremely high running
time, Algorithm 3 is hard to be practical in real-world
applications.
Table 3: Different label heights in the moving mode.
Moving 10 15 20 25 30
Na
¨
ıve 0.626 0.626 0.502 0.439 0.436
Alg. 1 0.839 0.738 0.661 0.502 0.436
Alg. 2 0.837 0.711 0.661 0.502 0.436
Table 4: Different label heights in the rotating mode.
Rotating 10 15 20 25 30
Na
¨
ıve 0.689 0.621 0.542 0.478 0.437
Alg. 3 0.721 0.626 0.558 0.536 0.474
Alg. 4 0.695 0.642 0.558 0.489 0.437
Table 5: Running times of Algorithms 1, 2 and 4 w.r.t. dif-
ferent numbers of points.
100 200 300 400 500
Alg. 1 9.533 32.405 62.303 83.067 152.077
Alg. 2 7.237 29.127 56.037 76.406 127.237
Alg. 4 9.094 37.979 77.51 150.768 237.526
Table 6: Algorithm 3’s running time w.r.t. different num-
bers of points.
10 15 20 25
Running time 1522.768 6079.111 15148.168 30456.744
(sec)
5 CONCLUSIONS
In this paper, we proposed various algorithms for an-
notating trajectory-based dynamic map in the frame-
work of 1-sided boundary labeling. Future research
directions include allowing more sophisticated opera-
tions, such as zooming, scaling, etc, to be performed
during the course of the navigation, as well as relaxing
the number of sides to which labels can be attached.
ACKNOWLEDGEMENTS
The second author was supported in part by National
Science Council, Taiwan, ROC, under Grant MOST
109-2221-E-002-142-MY3.
REFERENCES
Barth, L., Niedermann, B., N
¨
ollenburg, M., and Strash,
D. (2016). Temporal map labeling: a new unified
framework with experiments. In Proc. of 24th Int’l
Conf. on Advances in Geographic Information Sys-
tems, page 23. ACM.
Been, K., Daiches, E., and Yap, C. (2006). Dynamic map
labeling. IEEE Trans. on Visualization and Computer
Graphics, 12(5):773–780.
Bekos, M. A., Kaufmann, M., Symvonis, A., and Wolff,
A. (2007). Boundary labeling: models and efficient
algorithms for rectangular maps. Computational Ge-
ometry, 36(3):215–236.
Fekete, J.-D. and Plaisant, C. (1999). Excentric labeling:
dynamic neighborhood labeling for data visualization.
In Proc. of Conf. on Human Factors in Computing
Systems, pages 512–519. ACM.
Fink, M., Haunert, J.-H., Schulz, A., Spoerhase, J., and
Wolff, A. (2012). Algorithms for labeling focus re-
gions. IEEE Trans. on Visualization and Computer
Graphics, 18(12):2583–2592.
Gemsa, A., Niedermann, B., and N
¨
ollenburg, M. (2013).
Trajectory-based dynamic map labeling. In Proc. of
Int’l Symp. on Algorithms and Computation, pages
413–423. Springer.
Gemsa, A., N
¨
ollenburg, M., and Rutter, I. (2016a). Consis-
tent labeling of rotating maps. Computational Geom-
etry, 7(1):308–331.
Gemsa, A., N
¨
ollenburg, M., and Rutter, I. (2016b). Evalua-
tion of labeling strategies for rotating maps. J. Exper-
imental Algorithmics (JEA), 21:1–4.
Haunert, J.-H. and Hermes, T. (2014). Labeling circular
focus regions based on a tractable case of maximum
weight independent set of rectangles. In Proc. of 2nd
ACM Int’l Workshop on Interacting with Maps, pages
15–21. ACM.
Heinsohn, N., Gerasch, A., and Kaufmann, M. (2014).
Boundary labeling methods for dynamic focus re-
gions. In Proc. of 2014 IEEE Pacific Visualization
Symp. (PacificVis), pages 243–247. IEEE.
N
¨
ollenburg, M., Polishchuk, V., and Sysikaski, M. (2010).
Dynamic one-sided boundary labeling. In Proc. of
18th Int’l Conf. on Advances in Geographic Informa-
tion Systems, pages 310–319. ACM.
Trajectory-Based Dynamic Boundary Map Labeling
149