Point Label Placement on Hexagonal Map Grids
Keywords: point feature label placement, raster-based method, hexagonal grids
Abstract. The past few decades have seen the development of automatically feature labelling when manual label placement was thought to be time and labour consuming. Emerging techniques like volunteered geographic information (VGI) collection are making label placement more complexed with many features in a limited space, especially for points of interest (POI). In order to improve the quality and the efficiency of point feature labelling, there have been massive researches focusing on issues like position models, assessment criteria and optimization methods. Most of the researches were using vector-based methods while raster-based methods were less used, because vector-based methods have the advantage of easy definition of features and labels but are usually followed by computation complexity problems for features with high density. In contrast raster-based methods are faster and more flexible, though being harder to represent features and labels precisely on the map grids. Considering that hexagon partitioning was rarely used in raster-based methods, compared with the most commonly used square portioning, and hexagon was potentially useful for its oblique sides and isotropic orientations, hexagonal grids were used in this research to investigate better point feature labelling approaches.
A new raster-based method was promoted to figure out high quality label placement of POI in dense area. Labels were placed on a hexagonal map grids based on the principles that one Chinese character is set to one hexagon unit with the mathematical relationship of h = ((√3+1)/2)a, while h is the side length of a hexagon unit and a is the size of a Chinese character. Considering that hexagon grids are divided into flat topped type and pointy topped type, which leads to different orientations, split hexagons were promoted to extend orientations from 6 to 8 based on pointy topped grids. A hexagon is partitioned into two parts labelled ‘left’ and ‘right’ and a split hexagon is the combination of a ‘left’ part and a ‘right’ part separately from two neighboring hexagons, as shown in figure 1. Then every hexagon on the grid will have four status: not-occupied {(0,0)}, half-occupied {(0,1) and (1,0)} and both-occupied {(1,1)}. Based on the fundamental concepts above, specific definitions were made on how labels were supposed to be represented on hexagonal map grids, including the length, orientation, writing direction, character orientation and position of the labels.
The approach first initially arranges labels of POI with different combinations of label orientations while pursuing coherence as much as possible, including procedures of rasterization of vector data, POI grouping and initial scheme computation. Every POI in a same group would have same label orientation and every POI group may have several accessible orientations thus making initial schemes diverse. Then a second positioning algorithm was conducted to handle overlapping (labels with POI, labels with labels) problems and improve the overall quality of labelling. The algorithm used the methods of position changing and label turning, which allow label to change its position around POI and sometimes change the orientation when it is necessary to avoid collisions. Quality of labels in a closed block was assessed from three aspects: preferential orientation, occlusion and spaciousness. POI data was chosen from restaurant, hotel and shop facilities and figure 2 showed one of the examples of label placement results using this method. The results have shown good orientation consistency of labels and occlusions were reduced to the lowest, though several label-label occlusions remained due to the limited space. After being compared with vector-based method, the approach has shown better performance on maintaining map legibility, aesthetics and harmony.