12.07.2015 Views

a case study of combined text and icon placement

a case study of combined text and icon placement

a case study of combined text and icon placement

SHOW MORE
SHOW LESS

Transform your PDFs into Flipbooks and boost your revenue!

Leverage SEO-optimized Flipbooks, powerful backlinks, and multimedia content to professionally showcase your products and significantly increase your reach.

MethodThe test is performed by repeating <strong>text</strong> <strong>placement</strong> where the data shown in Figure 2 was used. In the test we were onlyinterested in comparing methods for choosing c<strong>and</strong>idate positions; therefore, we only run the first three steps in the process(i.e., no deletion was performed). In all the executions the following weights were used (cf. Eq. 1; see Zhang <strong>and</strong> Harrie foranalytic definitions <strong>of</strong> preference, disturbance <strong>and</strong> overlap):* Preference 0.1* Disturbance 0.3* Overlap 1.0Furthermore, all the parameters to control the simulated annealing were the same in all executions (e.g. if the objectivefunction was less than 1.8 the iteration was ended).Figure 2: An example <strong>of</strong> <strong>text</strong> label <strong>and</strong> <strong>icon</strong> <strong>placement</strong> using 8 r<strong>and</strong>omly chosen c<strong>and</strong>idate positions. The value <strong>of</strong> theobjective function was equal to 1.72 (using the weights given above).We tested the following sets <strong>of</strong> c<strong>and</strong>idate positions:* Number <strong>of</strong> c<strong>and</strong>idate positions: 4 – R<strong>and</strong>om selection* Number <strong>of</strong> c<strong>and</strong>idate positions: 8 – R<strong>and</strong>om selection* Number <strong>of</strong> c<strong>and</strong>idate positions: 4 – Stratified selection* Number <strong>of</strong> c<strong>and</strong>idate positions: 8 – Stratified selectionFor each set <strong>of</strong> c<strong>and</strong>idate position we made four executions. Since simulated annealing contains a r<strong>and</strong>om process the resultis not the same a set <strong>of</strong> c<strong>and</strong>idates.


ResultThe result <strong>of</strong> the <strong>case</strong> <strong>study</strong> is presented in Figure 3.Number <strong>of</strong> c<strong>and</strong>idate positions: 4 Number <strong>of</strong> c<strong>and</strong>idate positions: 8R<strong>and</strong>om selectionR<strong>and</strong>om selectionNumber <strong>of</strong> c<strong>and</strong>idate positions: 4 Number <strong>of</strong> c<strong>and</strong>idate positions: 8Stratified selectionStratified selectionFigure 3: Result <strong>of</strong> the <strong>case</strong> <strong>study</strong>. On the Y-axis the objective function (Equation 1 without the label removal part) is shown<strong>and</strong> on the X-axis the execution time (ms). The test was performed on a PC with Pentium IV, 3.0 GHz processorDISCUSSIONA weak relationship is indicated if we look at figure 3 column-wise. An interpretation is that smaller number <strong>of</strong> c<strong>and</strong>idatepositions would more likely result in faster map labeling (since the optimization process has fewer positions to examine).However it is harder to make any real conclusions based in this result; e.g. the stratified selections with eight c<strong>and</strong>idatepositions has a better execution time than the same selection with only four c<strong>and</strong>idate positions three <strong>of</strong> four times.Figure 3 also indicates that the r<strong>and</strong>om selection gives lower value <strong>of</strong> the objective function when four c<strong>and</strong>idate positionsare used, but that a stratified gives better result when 8 c<strong>and</strong>idates were used. This is somewhat surprising for us since wethought that a stratified selection ought to improve the chance to find a solution with less overlaps between the <strong>text</strong> labels<strong>and</strong> <strong>icon</strong>s (disregarding the number <strong>of</strong> c<strong>and</strong>idate positions). However, given our test set up, a r<strong>and</strong>om selection seems to bepreferable for 4 c<strong>and</strong>idate positions.


The <strong>case</strong> <strong>study</strong> presented here is the first test <strong>of</strong> evaluate methods to choose c<strong>and</strong>idate positions. To make better conclusionsthe test material must be more extensive.CONCLUSIONSThe aim <strong>of</strong> the <strong>study</strong> is to evaluate methods to selecting c<strong>and</strong>idate positions for the <strong>text</strong> labels <strong>and</strong> the <strong>icon</strong>s before thecombinatorial optimization. A <strong>case</strong> <strong>study</strong> was performed where either 4 or 8 c<strong>and</strong>idate positions were chosen; thec<strong>and</strong>idates were chosen either r<strong>and</strong>om or by a stratified approach. The <strong>case</strong> <strong>study</strong> indicates that, for our test set up, a largenumber <strong>of</strong> r<strong>and</strong>omly selected c<strong>and</strong>idate positions give the worst result. It is the most time-consuming approach even thoughthe value <strong>of</strong> the objective function is acceptable. Another indication from the test set up is that a r<strong>and</strong>om selection <strong>of</strong>c<strong>and</strong>idate positions gives (a little bit) better map quality (value <strong>of</strong> the objective function) than a stratified selection.ACKNOWLEDGEMENTSThis project was financed by the International Office <strong>and</strong> the GIS Centre at Lund University, <strong>and</strong> the GiMoDig project, IST-2000-30090 (which is funded by the European Union via the Information Society Technologies (IST) Programme). The<strong>study</strong> is also partly supported by the National Science Foundation <strong>of</strong> China, under grant No. 40101024. We would like tothank our colleagues in the GiMoDig project. Data for the <strong>case</strong> <strong>study</strong> were kindly provided by the National L<strong>and</strong> Survey <strong>of</strong>Finl<strong>and</strong>.REFERENCESChristensen, J., Marks, J., <strong>and</strong> Shieber, S, 1995. An empirical <strong>study</strong> <strong>of</strong> algorithms for Point-label <strong>placement</strong>, ACMTransactions on Graphics, Vol. 14, No. 3, pp 203-232Dörschlag, D., Petzold, I., <strong>and</strong> Plűmer, L., 2003. Placing objects automatically in areas <strong>of</strong> maps. Proceedings <strong>of</strong> the DurbanICC 2003, South Africa.Harrie, L. <strong>and</strong> Johansson, M., 2003, Real-time data generalization <strong>and</strong> integration using Java. Ge<strong>of</strong>orum Perspektiv, Februar2003, pp.29-34.Harrie, L, Stigmar, H., Koivula, T., <strong>and</strong> Lehto, L., 2004. An Algorithm for Icon Placement on a Real-Time Map. In: Fisher,P., 2004. Developments in Spatial Data H<strong>and</strong>ling, Springer.Imh<strong>of</strong>, E., 1975. Positioning Names on Maps. The American Cartographer, Vol. 2, No. 2, pp. 128-144.Petzold, I., Gröger, G., <strong>and</strong> Plűmer, L., 2003, Fast Screen Map Labeling – Data Structures <strong>and</strong> Algorithms. In Proceedings<strong>of</strong> the 21st International Cartographic Conference (ICC), 10 - 16 August 2003, Durban, South Africa, pp.288-299.Russell, S., <strong>and</strong> P. Norvig, 1995. Artificial Intelligence – A Modern Approach, Prentice-Hall.Strijk, T., <strong>and</strong> van Kreveld, M., 2002, Practical extensions <strong>of</strong> point labeling in the slider model. GeoInformatica, 6:2,pp.181-197, 2002.van Dijk, S., 2001. Genetic Algorithms for Map Labeling. PhD thesisT, Utrecht University.van Kreveld, M., Strijk, T., <strong>and</strong> Wolff, A., 1999. Point Labeling with Sliding Labels, Computational Geometry, Vol. 13, pp.21-47.Vivid Solutions, 2005. Java Topology Suite, http://www.vividsolutions.com/jts/jtshome.htm (accessed 2005-04-21).Wolff, A., Knipping, L., <strong>and</strong> van Kreveld, M., 1999. A simple <strong>and</strong> efficient algorithm for high-quality line labeling. In:Proceedings 15th European Workshop on Computational Geometry (CG'99), pages 93-96, Sophia-Antipolis, 15-17 March 1999.Wolff, A., 2005. The Map-Labeling Bibliography, http://i11www.ira.uka.de/~awolff/map-labeling/bibliography/ (accessed2005-04-21).Zhang, Q <strong>and</strong> Harrie, L., 2005a. Real-Time Map Labelling for Mobile Applications. Computers, Environment <strong>and</strong> UrbanSystems, Accepted.Zhang, Q <strong>and</strong> Harrie, L., 2005b. A real-time Method OF PlacING <strong>text</strong> <strong>and</strong> Icon labels simultaneously. Submitted.Zoraster, S., 1997. Practical Results Using Simulated Annealing for Point Feature Label Placement. Cartography <strong>and</strong>Geographic Information Systems, 24:4, pp.228-238.


A BIOGRAPHY OF THE PRESENTING AUTHORLars has a Master <strong>of</strong> Science in Geodesy from Royal Institute <strong>of</strong> Technology, Stockholm, Sweden (1993). Since 1994 hehas been active in Cartography <strong>and</strong> GIS at Lund University, Sweden. He completed his PhD 2001, with a thesis aboutoptimisation techniques in cartographic generalisation. Is currently a post doctoral fellow at Lund University.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!