LBS Tag Cloud: A Centralized Tag Cloud for Visualization of Points of Interest in Location‑Based Services

: Taking location‑based service (LBS) as the research scenario and aiming at the limitation of visualizing LBS points of interest (POI) in conventional web maps, this article proposes a visualiza‑ tion method of LBS‑POI based on tag cloud, which is called “LBS tag cloud”. In this method, the user location is taken as the layout center, and the name of the POI is converted into a text tag and then placed around the center. The tags’ size, color, and placement location are calculated based on other attributes of the POI. The calculation of placement location is at the core of the LBS tag cloud. Firstly, the tag’s initial placement position and layout priority are calculated based on polar coordinates, and the tags are placed in the initial placement position in the order of layout priority. Then, based on the force‑directed model, a repulsive force is applied to the tag from the layout center to make it move to a position without overlapping with other tags. During the move, the quadtree partition of the text glyph is used to optimize the detection of overlaps between tags. Taking scenic spots as an example, the experimental results show that the LBS tag cloud can present the attributes and distribution of POIs completely and intuitively and can effectively represent the relationship between the POIs and user location, which is a new visualization form suitable for spatial cognition.


Introduction
With the development of mobile Internet and positioning technology, location-based services (LBS) have become the most popular spatial information service [1][2][3].In the information resources provided by LBS, points of interest (POI) are often the focus of users due to their important social functions, such as restaurants, hotels, parking lots, etc. [4].In urban areas with high population densities, there are many POIs, and it is usually difficult for normal users to explore surrounding POIs quickly and comprehensively [5].For this problem, some studies focused on information retrieval, e.g., recommending more relevant POIs according to user interests, preferences, and context [6,7]; the other studies concerned visualization of POIs, e.g., using spatial visualization and other methods to construct interactive forms suitable for user cognition [8,9].This paper focuses on the latter and proposes a novel tag cloud for the visualization of POI in LBS.
Since the POI contains geographical locations, conventional visualization methods are almost all map-based.The map uses graphic symbols and map labels to visualize each POI, which can intuitively display the spatial distribution of POIs.However, such methods have a common problem: it is difficult to take into account the global context and local details [10].In simple terms, a small-scale map can show the whole distribution of all POIs, but it cannot convey the local details; a large-scale map can display the local details but cause a loss of the map's context.When users want to obtain an overview of the big picture, they tend to use a small-scale map to show as many POIs as possible.However, this leads to a common problem: a large number of POIs can create symbol congestion or conflicts that make it difficult to identify individual POIs.While map zooming alleviates these issues, it results in a loss of map context and can also cause users to get lost in zooming [11].Researchers have designed a variety of methods, such as selection, aggregation [12], displacement [13], density surface fitting [14], pagination design [15], and multi-level structure [16], to achieve legible visualization of POIs, but such methods lead to a very limited number of POIs that are visualized simultaneously on the map, which is not conducive to the user's complete understanding of the surrounding environment.Therefore, it is of great research significance and application value to design a new visualization method that can integrate global distribution and local details and help users quickly and efficiently understand the surrounding POIs from a global perspective.
A tag cloud (also known as a word cloud, wordle, or weighted list in visual design) is a visual representation of text data only using tags, which is often used to depict keyword metadata on websites or to visualize free-form text [17,18].Recent studies have shown that the tag cloud can effectively help users quickly understand the backbone information of text data [19,20].Furthermore, many studies have explored a series of ways to improve the cognitive effect of tag clouds [21,22], and a lot of tag cloud variants for different applications have been proposed, such as SparkClouds [23], PyramidTags [24], etc.However, in general, the basic method of the tag cloud has not changed much; that is, according to the category and frequency of the word, a text symbol with a certain font color and font size is generated and placed in a two-dimensional or three-dimensional space without overlapping other symbols [25].Usually, the font size is recognized as the most significant visual variable [26], which generally corresponds to the frequency of the word; that is, the larger the symbol, the higher the frequency of the word.There are similarities between this intuitive visualization approach and the visualization requirements of LBS POIs.If a text symbol is generated based on the name of the POI, then the visual properties of the symbol can be used to represent the popularity, the price, the star rating, or other attributes that people are interested in.As a simple example, the larger the text symbol, the more popular the POI.However, the position of tags in a regular tag cloud is generally random, which does not conform to the paradigm of recording precise geographical locations in GIS.Therefore, the first problem to be solved in the tag-cloud-based POI visualization is to establish a mapping relationship between the geographical location of a POI and its corresponding text symbol's position in the tag cloud.Starting from this problem, this paper proposes a POI visualization method based on the tag cloud for LBS, which is called the LBS tag cloud.The central point of the LBS tag cloud represents the user's location, and the tags generated from POIs are placed around the central point.The position of the tag is calculated based on polar coordinates: the radial coordinate of the tag depends on the distance between the POI and the user's location (not limited to Euclidean distance), while the angular coordinate depends on the direction of the POI relative to the user's location.
The paper is structured as follows.After discussing related work in Section 2, we present the conceptual model and layout algorithm of the proposed LBS tag cloud in Section 3. Afterward, we present our experiment setup and results, respectively, in Sections 4 and 5.In Section 6, we analyze the usability of the LBS tag cloud.Finally, in Section 7, we conclude the paper with a short discussion of our work and an outlook on future research.

Related Work
This section first introduces the relevant study of POI visualization and then investigates the application of tag clouds in geographic information visualization.

Visualization of Point Data
Conventional POI visualization treats POIs as ordinary spatial points and visualizes them based on a map, using marker symbols and map labels to identify each point.However, for a large number of points, map legibility is often plagued by problems such as con-gestion and occlusion.Some studies introduced methods in the field of map generalization such as selection [27], label optimization [28], aggregation [12], and displacement [13] to increase legibility, but such methods focused on the spatial information of the POI and gave less consideration to the attribute information.There are also studies converting POIs into continuous density surfaces or statistical diagrams [8] to obtain their spatial distribution, but these methods also ignore the individual attribute information of the POI.LBS users not only pay attention to the spatial location of the POI but also pay attention to the name, type, and function, and consider how far the POI is.Putting all this information on the map at the same time is a big challenge.Some LBS applications introduced a list that uses pictures, text, and numbers to describe the attributes of the POI one by one.Although more attributes are available in this method, users need to repeatedly switch between the map and the list, which will cause a high interaction burden.The zoom function provided by the map can focus the view on a subset of POIs, but this method shows a limited number of POIs and is prone to losing contextual information.A "zoomless" map [9] was proposed for small screen devices, which distributes multiple POIs in an orderly manner on multiple pages that can be switched, decomposes the originally complex and cluttered map into multiple legible maps, and uses external labeling to represent the type and score of each POI.A "focus+context" map based on the fish-eye projection was constructed by displacing the POI symbols in the focus region outward radially [10].This method substantially reduced the clutter caused by symbol congestion, but the name of the POI was not labeled, which limited users' further understanding of surrounding POIs.

From Tag Cloud to Tag Map
In a regular tag cloud, the position of the tag does not represent a special meaning, and generally, the most important tags are placed in the center of the layout.As a fundamental visual variable in visual design, position gradually plays a more important role in the tag cloud.For example, some studies placed semantically similar tags in groups to improve the cognitive effect of the tag cloud [21], and some studies used position to represent the semantic hierarchical relationship and time sequence relationship of tags [29].
In the field of geographic information visualization, researchers focused on how to determine the position of tags according to their actual geographical location, and a new research topic, "Tag Map" or "geo word cloud", was gradually formed [30].In recent years, location-based social media has generated a wealth of geo-tagged multimedia materials that require new analytical and visual models, such as mining popular Twitter topics in a region.Tag maps, which are suitable for displaying such qualitative text-based topics, have attracted a lot of attention from researchers [31,32].Referring to existing work [33], the relevant studies were divided into two categories based on the stage of establishing associations with geographic locations when constructing a tag map: pre-association tag map and post-association tag map.The pre-association tag map calculates the placement of tags directly based on the geographic location of spatial objects, while the post-association tag map first generates several non-spatial tag clouds and then associates them with the map.Next, we will first introduce the related research on the post-association tag map.

Post-Association Tag Map
Such tag maps do not consider geographical location during the layout process.First, a regular tag cloud is generated and then associated with the map by leader lines or a spatial overlay.In the early research on post-association tag map, the regular tag cloud was simply superimposed on the map, and the layout algorithm of the tag cloud was unchanged.To provide mobile users with information on the spatial context of a location or a route, an approach was presented that gathers context information from freely available sources like Wikipedia and creates tag clouds of this data, then overlays the tag clouds on the map, which can provide users with the necessary cues to increase awareness of their spatial context [34].A method called content clouds was proposed for exploratory data analysis in qualitative GIS [35].Content clouds first extract keywords from text documents from different regions, then build tag clouds based on those keywords, and finally use leader lines to associate tag clouds with maps.Two examples using different types of documents (public meeting transcripts and green building newspaper articles) demonstrate the possible utility of content clouds in summarizing qualitative data.In another study predicting the distribution of bird species [36], a tag cloud is used to represent the relative importance of predictors for a given spatio-temporal window, where each tag is a habitat predictor name and the tag font size means the importance of each predictor.After generating a tag cloud, superimposing it on the corresponding spatial area, and making the background transparent, users can see through it and maintain the context of the underlying map.
This kind of tag map is a simple combination of tag cloud and map, and its disadvantage is that a tag cloud can only be placed on the map as a whole, and the position of each tag cannot be flexibly adjusted.In addition, conflicts can arise between multiple tag clouds.To represent the spatial distribution of topics or keywords in a more refined way, some studies began to explore a new way to build tag maps: incorporating geographic location into the layout process of tag clouds.

Pre-Association Tag Map
The pre-association tag map calculates the placement of each tag based on geographic location.According to the geometry type of the input spatial data, the pre-association tag map can be further divided into two categories: point-based tag maps and polygon-based tag maps.
1. Point-based tag maps.The input to the point-based tag map is spatial points with geographic coordinates and several attributes such as names, weights, and so on.The layout algorithm first creates tags based on the attributes of the points and then places the tags on the map according to their geographic coordinates.Through such tag maps, users can intuitively obtain the spatial distribution of topics or keywords, such as displaying the tags of geo-referenced photos on their designated map locations, representing spatiotemporal anomalies derived from geolocated Twitter messages [37], and illustrating the distribution of crime types, forest types, and city name suffixes in Germany [33].However, when there are too many or too dense spatial points, there is not enough space for all tags.To solve this problem, methods such as clustering [38], selection, boundary approximation [39], and displacement [37] are introduced to improve the clarity of tag maps.However, these methods also cause the position of the tag to deviate from the actual geographic location, and some tags may extend beyond the geographic boundary.
2. Polygon-based tag maps.The input to the polygon-based tag map is geographic polygons containing text tags with different weights or other attributes.The layout algorithm places these tags in the polygon without overlapping according to specific rules or constraints.Such tag maps are suitable for expressing important topics or keywords in a geographical region.It should be noted that the exact placement of the tag is not associated with a geographic point and has no specific geographical meaning.For arbitrary-shaped geographical regions, Taggram [40] leveraged the skeleton of a geographic region to calculate the placement of tags within the area.De Chiara et al. [41] designed a web-based interactive application called Tag@Map that can utilize tag clouds to express the distribution of the most popular 60 Italian surnames within a specific geographic boundary.However, his research did not design new layout algorithms for the specificity of geographic areas.Martin et al. [42] extracted topics from different regions from Twitter data based on the Latent Dirichlet Allocation and improved the wordle proposed by Momo to visually illustrate the occurrence of various topics geospatially.It is worth mentioning that the font size in his study represents the relative probability of specific words being in specific topic families rather than the common frequency of occurrence.Yang et al. [43] called these geographically bounded tag maps intrinsic tag maps and proposed a layout strategy that takes geometric shape and map scale into account, which can ensure that the tag with the highest rank will be assigned the largest font size and placed horizontally in the widest space as far as possible.In a later study, Yang et al. also studied the utility and usability of intrinsic tag maps [44].
In summary, the existing tag map research mainly focused on displaying qualitative data, text keywords, or hot topics related to geographical areas, and the combination with qualitative GIS is more in-depth, but it rarely involves the visualization of geographical features or places.This paper takes this as a starting point and attempts to use tag maps to visualize the POIs that are of great interest to users in LBS scenarios.

The Conceptual Model of LBS Tag Cloud
Driven by LBS users' habit of exploring the surrounding POIs around their current location, most LBS-oriented visualizations adopt a "centralized" layout scheme, that is, building visualization graphics around a central point, such as isochrone maps [45].This paper introduces a centralized layout scheme into the tag cloud, and a POI tag cloud centered on the user's location (LBS tag cloud for short) is designed.Note that instead of placing the tags on the map, this method places the tags on a blank canvas with a reference to the central point.The conceptual model of the LBS tag cloud is designed as follows: Centralized layout.A layout center has been introduced in the regular tag cloud.Take the user's location as the central point of the LBS tag cloud, and use this central point as a reference point for placing tags.Users are used to exploring POIs closer to their current location, and taking this location as the layout center is consistent with the user's intuitive perception.
Tags are generated based on the attributes of the POI.One POI corresponds to one tag, and a tag consists of two parts: text content and visual properties.The text content is usually the name of the corresponding POI, and the visual properties depend on other attributes of the POI that people are generally concerned about, such as the font size of the tag, which can indicate the star rating of the POI.Text tags have various visual variables suitable for expressing ordinal data, interval data, and ratio data, such as position, font color, font size, and font weight, as shown in Figure 1.Establish the mapping relationship between POI attributes and visual variables according to visualization requirements.For example, as recognized as the most significant visual variable in the tag cloud, font size is generally used to express the most interesting attribute of the POI: popularity.The attributes of the POI include "first-order attributes" that describe their characteristics, such as name, user rating, etc., and "second-order attributes" that describe the relationship with users, such as travel time and transportation convenience, all of which can be mapped to visual variables.Available mapping methods include unique types, class breaks, or continuous interpolation.
mentioning that the font size in his study represents the relative probability of specific words being in specific topic families rather than the common frequency of occurrence.Yang et al. [43] called these geographically bounded tag maps intrinsic tag maps and proposed a layout strategy that takes geometric shape and map scale into account, which can ensure that the tag with the highest rank will be assigned the largest font size and placed horizontally in the widest space as far as possible.In a later study, Yang et al. also studied the utility and usability of intrinsic tag maps [44].
In summary, the existing tag map research mainly focused on displaying qualitative data, text keywords, or hot topics related to geographical areas, and the combination with qualitative GIS is more in-depth, but it rarely involves the visualization of geographical features or places.This paper takes this as a starting point and attempts to use tag maps to visualize the POIs that are of great interest to users in LBS scenarios.

The Conceptual Model of LBS Tag Cloud
Driven by LBS users' habit of exploring the surrounding POIs around their current location, most LBS-oriented visualizations adopt a "centralized" layout scheme, that is, building visualization graphics around a central point, such as isochrone maps [45].This paper introduces a centralized layout scheme into the tag cloud, and a POI tag cloud centered on the user's location (LBS tag cloud for short) is designed.Note that instead of placing the tags on the map, this method places the tags on a blank canvas with a reference to the central point.The conceptual model of the LBS tag cloud is designed as follows: Centralized layout.A layout center has been introduced in the regular tag cloud.Take the user's location as the central point of the LBS tag cloud, and use this central point as a reference point for placing tags.Users are used to exploring POIs closer to their current location, and taking this location as the layout center is consistent with the user's intuitive perception.
Tags are generated based on the attributes of the POI.One POI corresponds to one tag, and a tag consists of two parts: text content and visual properties.The text content is usually the name of the corresponding POI, and the visual properties depend on other attributes of the POI that people are generally concerned about, such as the font size of the tag, which can indicate the star rating of the POI.Text tags have various visual variables suitable for expressing ordinal data, interval data, and ratio data, such as position, font color, font size, and font weight, as shown in Figure 1.Establish the mapping relationship between POI attributes and visual variables according to visualization requirements.For example, as recognized as the most significant visual variable in the tag cloud, font size is generally used to express the most interesting attribute of the POI: popularity.The attributes of the POI include "first-order attributes" that describe their characteristics, such as name, user rating, etc., and "second-order attributes" that describe the relationship with users, such as travel time and transportation convenience, all of which can be mapped to visual variables.Available mapping methods include unique types, class breaks, or continuous interpolation.Tags are placed according to their relationship to the user's location.Based on the study of cognitive psychology, the visual proximity of graphic elements often gives people the psychological impression of a close relationship.Therefore, the basic principle of tag placement is that closely related POIs (such as those with short travel times) should be placed around the central point, while other POIs should be placed farther from the central point.The relationship used to determine the placement of tags is a relationship that has practical meaning in the real world.In addition to the Euclidean distance based on the Cartesian coordinate system, there are also many meaningful connections between the POI and the user's location, such as road network distance, traffic time, traffic convenience, traffic flow, etc.
No other graphic symbols.There are no other graphic or map symbols in the LBS tag cloud.Like regular tag clouds, the layout of the LBS tag cloud needs to be as compact as possible to accommodate more POIs.In addition, tags cannot be nested, overlapped, or overlaid.
A schematic diagram of an LBS tag cloud is shown in Tags are placed according to their relationship to the user's location.Based on the study of cognitive psychology, the visual proximity of graphic elements often gives people the psychological impression of a close relationship.Therefore, the basic principle of tag placement is that closely related POIs (such as those with short travel times) should be placed around the central point, while other POIs should be placed farther from the central point.The relationship used to determine the placement of tags is a relationship that has practical meaning in the real world.In addition to the Euclidean distance based on the Cartesian coordinate system, there are also many meaningful connections between the POI and the user's location, such as road network distance, traffic time, traffic convenience, traffic flow, etc.
No other graphic symbols.There are no other graphic or map symbols in the LBS tag cloud.Like regular tag clouds, the layout of the LBS tag cloud needs to be as compact as possible to accommodate more POIs.In addition, tags cannot be nested, overlapped, or overlaid.
A schematic diagram of an LBS tag cloud is shown in

The Layout Algorithm of LBS Tag Cloud
In this part, the design ideas of the layout algorithm are first introduced, then the step-by-step flow of the algorithm is given, and finally, the tag collision detection strategy used in the algorithm is explained.

The Design Idea of the Layout Algorithm
Based on the conceptual model mentioned above, a layout algorithm that uses polar coordinates to determine how to place the tags is devised in this paper.The design idea for the algorithm is as follows: Place tags based on polar coordinates.Taking the central point as the pole, calculate the radial and angular coordinates of each tag.The radial coordinate r is calculated depending on the distance between the POI and the central point, while the angular coordinate φ is calculated based on the direction of the POI relative to the central point.It should be noted that various relationships between the POI and user location can be used to calculate the r value, such as road network distance or driving time.Taking the library as an example, the calculation of r and the φ is shown in Figure 3a.POIs except the library are weakened by gray markers.When placing tags, the r value determines the placement priority of the tag, and the tag with the lowest r value has the highest placement priority and

The Layout Algorithm of LBS Tag Cloud
In this part, the design ideas of the layout algorithm are first introduced, then the stepby-step flow of the algorithm is given, and finally, the tag collision detection strategy used in the algorithm is explained.

The Design Idea of the Layout Algorithm
Based on the conceptual model mentioned above, a layout algorithm that uses polar coordinates to determine how to place the tags is devised in this paper.The design idea for the algorithm is as follows: Place tags based on polar coordinates.Taking the central point as the pole, calculate the radial and angular coordinates of each tag.The radial coordinate r is calculated depending on the distance between the POI and the central point, while the angular coordinate φ is calculated based on the direction of the POI relative to the central point.It should be noted that various relationships between the POI and user location can be used to calculate the r value, such as road network distance or driving time.Taking the library as an example, the calculation of r and the φ is shown in Figure 3a.POIs except the library are weakened by gray markers.When placing tags, the r value determines the placement priority of the tag, and the tag with the lowest r value has the highest placement priority and will be placed in the core area close to the central point.The φ value determines the direction in which the tag is placed.
will be placed in the core area close to the central point.The φ value determines the direction in which the tag is placed.Take the LBS tag cloud in Figure 3b as an example.the direction of the tags relative to the central point is unchanged, and the distance (in pixels) from the central point is determined by the r value.If the tag has a small r value, it can be placed close to the central point, such as the museum, library, or science museum.If the r value is large and exceeds a certain threshold, the tag should be moved away from the central point to create a "farther" visual effect.As shown in Figure 3b, the amusement park is placed outside the R value of the central point.Two thresholds are critical during layout, Dfar and R: Dfar is used to denote "far" in people's spatial cognition, such as 10 km or 60 min.If a tag has a value of r that exceeds Dfar, it means that the corresponding POI is too far from the user's location, and placing the tag close to the central point will mislead the user, so it is placed away from the central point.The threshold R indicates how far apart the two tags can produce the effect of visual distance, such as 300 pixels.
This layout is in line with the laws of the real world and caters to the cognitive habits formed by people through the use of regular maps.Users can quickly learn from the tag cloud that the library is the most popular and closest, while the amusement park is farther away and less popular.
Avoid tag collisions with radial displacement.The layout space close to the central point is very limited, and when the tag with the lowest r is placed first in the core area, the tag with a higher r in the same direction cannot be placed properly.In this paper, a tag collision avoidance strategy called radial displacement is designed.When placing a new tag, first try to place it close to the central point, and if there is no conflict with other placed tags, the placement is successful.Otherwise, move the tag outward in the direction of its φ value until it does not conflict with any placed tags.As shown in Figure 4, the museum, library, and science museum (gray tags in the figure) have all been successfully placed according to the layout priority.The concert hall (black tag in the figure) will be placed next, but the space in the same direction has been occupied by the science museum; thus, the concert hall will move outward in the direction of its φ value (that is, the direction pointed by the red dotted arrow in the figure) until there is enough space.This method maintains the relative position relationship between POIs to a certain extent but changes the distance of the POI from the central point, resulting in distance deformation.Take the LBS tag cloud in Figure 3b as an example.the direction of the tags relative to the central point is unchanged, and the distance (in pixels) from the central point is determined by the r value.If the tag has a small r value, it can be placed close to the central point, such as the museum, library, or science museum.If the r value is large and exceeds a certain threshold, the tag should be moved away from the central point to create a "farther" visual effect.As shown in Figure 3b, the amusement park is placed outside the R value of the central point.Two thresholds are critical during layout, D far and R: D far is used to denote "far" in people's spatial cognition, such as 10 km or 60 min.If a tag has a value of r that exceeds D far , it means that the corresponding POI is too far from the user's location, and placing the tag close to the central point will mislead the user, so it is placed away from the central point.The threshold R indicates how far apart the two tags can produce the effect of visual distance, such as 300 pixels.
This layout is in line with the laws of the real world and caters to the cognitive habits formed by people through the use of regular maps.Users can quickly learn from the tag cloud that the library is the most popular and closest, while the amusement park is farther away and less popular.
Avoid tag collisions with radial displacement.The layout space close to the central point is very limited, and when the tag with the lowest r is placed first in the core area, the tag with a higher r in the same direction cannot be placed properly.In this paper, a tag collision avoidance strategy called radial displacement is designed.When placing a new tag, first try to place it close to the central point, and if there is no conflict with other placed tags, the placement is successful.Otherwise, move the tag outward in the direction of its φ value until it does not conflict with any placed tags.As shown in Figure 4, the museum, library, and science museum (gray tags in the figure) have all been successfully placed according to the layout priority.The concert hall (black tag in the figure) will be placed next, but the space in the same direction has been occupied by the science museum; thus, the concert hall will move outward in the direction of its φ value (that is, the direction pointed by the red dotted arrow in the figure) until there is enough space.This method maintains the relative position relationship between POIs to a certain extent but changes the distance of the POI from the central point, resulting in distance deformation.
Ensure the correct order of near and far by considering tag adjacency.The POIs are unevenly distributed around the user.If the distribution of POIs is dense in some directions, a large number of tags will compete for space in these directions, and the tag will displace radially more times and move farther outward.On the contrary, if the POIs are sparsely distributed in some directions, the tags easily obtain enough space to be placed without much displacement.Therefore, the distance deformation caused by radial displacement in different directions is inconsistent, which also means that the distance of tags in different directions is not comparable.However, for tags in the same direction or adjacent direction, the correct order of near and far should be ensured.In Figure 5, the red marker indicates the user location and the green markers indicate POIs.In (a), the concert hall and the museum have been placed, and the library should be placed next.Based on the radial displacement method described above, the library is moved outward from the central point along its φ value and looks for free space, but there is enough space just in the upper left of the concert hall, and the result is shown in Figure 5b.The order of near and far is incorrect, i.e., the lower-priority library turned out to be closer to the central point than the higher-priority concert hall, which is inconsistent with the basic layout principle set out in the conceptual model.So, when placing new tags, the distance between adjacent tags should be considered.This is executed by first calculating the maximum displacement distance of tags placed in adjacent directions and then placing the new tag according to this distance.Ensure the correct order of near and far by considering tag adjacency.The POIs are unevenly distributed around the user.If the distribution of POIs is dense in some directions, a large number of tags will compete for space in these directions, and the tag will displace radially more times and move farther outward.On the contrary, if the POIs are sparsely distributed in some directions, the tags easily obtain enough space to be placed without much displacement.Therefore, the distance deformation caused by radial displacement in different directions is inconsistent, which also means that the distance of tags in different directions is not comparable.However, for tags in the same direction or adjacent direction, the correct order of near and far should be ensured.In Figure 5, the red marker indicates the user location and the green markers indicate POIs.In (a), the concert hall and the museum have been placed, and the library should be placed next.Based on the radial displacement method described above, the library is moved outward from the central point along its φ value and looks for free space, but there is enough space just in the upper left of the concert hall, and the result is shown in Figure 5b.The order of near and far is incorrect, i.e., the lower-priority library turned out to be closer to the central point than the higher-priority concert hall, which is inconsistent with the basic layout principle set out in the conceptual model.So, when placing new tags, the distance between adjacent tags should be considered.This is executed by first calculating the maximum displacement distance of tags placed in adjacent directions and then placing the new tag according to this distance.The following strategy is designed to identify the adjacent tag: for each placed tag, calculate four angular coordinates from the central point to the four corner points of its bounding rectangle, then obtain the angle range covered by the tag based on the minimum and maximum values of these four angular coordinates.If the angular coordinate of a new tag is within the angle range of an already placed tag, it means that the two are adjacent tags.As shown in Figure 5c, the angle range of the concert hall is α, and the angular coor- The following strategy is designed to identify the adjacent tag: for each placed tag, calculate four angular coordinates from the central point to the four corner points of its bounding rectangle, then obtain the angle range covered by the tag based on the minimum and maximum values of these four angular coordinates.If the angular coordinate of a new tag is within the angle range of an already placed tag, it means that the two are adjacent tags.As shown in Figure 5c, the angle range of the concert hall is α, and the angular coordinate of the new tag park is located outside the α, so the tag park is not adjacent to the concert hall, and thus there is no need to consider the concert hall when placing the park.Contrarily, the angular coordinate of the new tag library is located within the α, so the tag library is the adjacent tag of the concert hall and should be placed farther away than the concert hall.The layout result with the constraint of the adjacent tag is shown in Figure 5d, and the order of the library and the concert hall is accurate.However, when placing the next park tag, since the park is not adjacent to the concert hall, it may be placed closer to the central point than the concert hall.Because the directions of the two are too different, we think such a layout result is reasonable.Although the correct order of near and far is guaranteed, the compactness of the layout of the tag cloud is reduced.Therefore, it is necessary to balance the two in practical applications.
In addition, two tags that are too far apart should not be placed snugly together.If the radial coordinates of the library and the concert hall differ only slightly, it can be placed close to the concert hall, while if the difference is greater than the threshold D far mentioned above, it means that the library should be placed away from the concert hall and should continue to move a certain distance (R value mentioned above) outward based on the placement radius of the concert hall.

Steps and Processes of the Layout Algorithm
The input to the algorithm is one central point and n POIs.In general, the POI data returned by the LBS search engine only contains the name, address, and geographic location described by the latitude and longitude.To obtain more semantic information that users are concerned about, user review data can be retrieved from a third-party consumer review website and converted into a quantitative value that indicates the attractiveness or popularity of the POI.Further, the traffic cost from the user's location to each POI is calculated based on the routing API provided by public map services to represent how easy it is for users to reach the POI, which can be simply called the convenience or accessibility of the POI.The popularity of the POI is not limited to user ratings, and similarly, the convenience is not limited to the traffic cost.Any attribute that can indicate the characteristics of the POI or the relationship with the user's location can be used as a proxy index of popularity or convenience.The specific process of the algorithm is as follows: Step 1: Canvas initialization.Initialize a blank canvas with width w and height h.Initialize two empty lists, TagListplaced, which stores placed tags, and TagListunplaced, which stores unplaced tags.
Step 2: Tag initialization.Generate a central tag based on the text of the central point and place it in the center of the canvas (w/2, h/2).Add the central tag to the list, TagListplaced.Create tags with the name or other attributes of the POIs as the text content and put them into the list of unplaced tags, after this, TagListunplaced = [Tag 1 , Tag 2 , Tag 3 , ..., Tag n ].
Step 3: Visual variable mapping.Determine the visual variables of the tags in the unplaced tag list based on the popularity, convenience, or other attributes of the POI, including the font, font size, font color, and so on.
Step 4: Tag position calculation.Calculates the initial placement radius of the tag based on the geographic coordinates of the POI.Calculate the Euclidean distance from each POI to the central point as the r value (other types of distances can also be used) and the φ relative to the central point.Sort the TagListunplaced in ascending order by the r value and count the minimum r min and maximum r max of all r values.The tag with the r min is placed close to the center of the canvas, and the tag with the r max is placed h/4 away from the center.Calculate the initial placement radius R i of the tag i as follows: Step 5: Place the tag one by one.If the TagListunplaced is not empty, retrieve the first tag Tag 1 and start placement.
5.1 The radial coordinate of Tag 1 is r 1 , the angular coordinate is φ 1 , and the initial placement radius is calculated as R 1 .
5.2 Fix the initial placement radius.The R 1 is corrected based on the furthest placement distance of the adjacent tags.Identify the placed tags adjacent to Tag 1 from the TagListplaced and count the maximum radial coordinate r max and the corresponding farthest placement radius Place Tag 1 on the canvas according to φ 1 and the corrected R 1 .
5.3 Tag collision detection.Check whether Tag 1 collides with the tags in the TagListplaced, and if it does, go to 5.4; if not, end the placement of Tag 1 and add Tag 1 to the TagListplaced.
5.4 Tag radial displacement.The central word exerts a repulsive force on Tag 1 , causing it to move outward.The direction of the force is the same as φ 1 , and the magnitude of the force is proportional to r 1 , which determines the step size of each displacement of the tag.After each displacement, go to 5.3.
Step 6: If the TagListunplaced is not empty, go to Step 5.If it is empty, it means that all tags have been placed.

Tag Collision Detection
During the movement of tags, real-time collision detection is required to avoid capping or overlapping tags.However, due to the irregular shape of the text outline, it is very complicated to implement continuous collision detection, and the computational cost is also very high.In this paper, a quadtree partitioning model is used to approximate the glyph outline of the text to reduce the complexity of collision detection.
Take the bounding rectangle of the tag as the initial cell and the root node of the quadtree, then divide it into four sub-cells and check whether each sub-cell intersects the glyph outline.If a cell intersects the glyph outline, then it is added to the quadtree structure and divided into four sub-cells to continue the recursive judgment; otherwise, it is not included in the tree structure.The dividing process is stopped when the cell size is less than or equal to the minimum cell size.Finally, every tag corresponds to an incomplete quadtree with leaf nodes covering the edges of the glyph outline.The collision detection starts from the root node of the quadtree and traverses downward, and tags collide only when the leaf nodes of two trees intersect.Through the root node and the internal node, the impossible intersection can be quickly eliminated, and the leaf node can accurately determine whether two tags will collide.
Figure 6 uses the Text element in SVG (Scalable Vector Graphics) to show the bounding rectangle and quadtree partitioning of the character "地" in Chinese (font size 180 px).The red border in (a) is the bounding rectangle of the text symbol.Because of the font design and the internal margin of SVG elements, there is a lot of idle space between the text and the bounding rectangle, which is not conducive to the compact placement of tags.In (b), an incomplete quadtree corresponding to the character "地" is drawn with solid red lines, with a minimum cell size of 10 px.Based on this quadtree, only the leaf nodes covering the edges of the glyph outline are drawn in (c), while the bounding rectangle is also visible, which can help visually compare the approximate effect of the quadtree on the glyph outline.It is not difficult to conclude that the smaller the minimum cell size, the finer the quadtree depicts the glyph outline, and the more complex the collision detection.
text and the bounding rectangle, which is not conducive to the compact placement o In (b), an incomplete quadtree corresponding to the character "地" is drawn with red lines, with a minimum cell size of 10 px.Based on this quadtree, only the leaf covering the edges of the glyph outline are drawn in (c), while the bounding rectan also visible, which can help visually compare the approximate effect of the quadtr the glyph outline.It is not difficult to conclude that the smaller the minimum cell siz finer the quadtree depicts the glyph outline, and the more complex the collision dete

Experiment Setup
This paper implements the layout algorithm of the LBS tag cloud in a web env ment using JavaScript and SVG.Some functions of the algorithm are implemented

Experiment Setup
This paper implements the layout algorithm of the LBS tag cloud in a web environment using JavaScript and SVG.Some functions of the algorithm are implemented based on the popular data visualization library "D3.js", including the use of the "d3-force" module to simulate the motion process of tags and the "d3-quadtree" module to realize quadtree segmentation of text glyphs.The input of the algorithm is the user's location and a POI list, and the output is the LBS tag cloud.The algorithm can be run on any browser that supports JavaScript and SVG.The experiments in this paper were conducted on the Edge browser of the Windows 10 operating system.
To prove the feasibility and scalability of the LBS tag cloud, this paper takes the "tourist attractions" that LBS users are commonly concerned about as an example and generates LBS tag clouds for different scenarios.The POI data representing tourist attractions is obtained through the Baidu Maps API, and the returned data includes name, latitude and longitude, user rating, number of user comments, etc.Since the data do not contain travel time or similar second-order attributes, Baidu Maps' route planning API is used to calculate the public transportation and driving time from the user location to each attraction as additional attributes of the attraction.
Centered on a university in Wuhan and with a search radius of 100 km, 123 wellknown attractions were collected.In the next experiment, taking the university as the hypothetical user location and combining the typical needs of LBS users, three scenarios are selected to discuss how LBS tag clouds can effectively help users explore their surroundings: (1) display all attractions; (2) display attractions with convenient transportation; and (3) display high-quality tourist attractions.

LBS Tag Cloud for All Tourist Attractions
Displaying all attractions at the same time provides LBS users with macro-level global information.When exploring all attractions, users focus both on popularity and travel time, so the following visual variable mapping scheme is adopted: the tag position indicates the travel time, and the font size indicates the popularity.Some of the parameters used in the experiment are as follows:

•
The size of the initial canvas is 2000 × 1000 px, and the background is black.

•
The number of user comments is taken as a proxy indicator of the popularity of the tourist attraction, and a simple assumption is made that the more comments, the higher the popularity of the attraction.The value is divided into five levels, and the correspondence with the font size is established.The lowest level corresponds to the minimum font size of 10 px, the highest level corresponds to the maximum font size of 30 px, and the adjacent level font size difference is 5 px.

•
The minimum cell size of a leaf node in quadtree segmentation is 5 px.

•
The value of parameter R is 200 px, while the value of parameter D far is taken for 60 min.
The resulting LBS tag cloud is shown in Figure 7, with a legend in the upper right.The central word "user location" is bolded in white to highlight the central location of the tag cloud and guide the user to interpret the tag cloud from that location.From the figure, it can be drawn:

•
All 123 attractions are completely expressed, and each attraction can be uniquely identified by its name.Users can quickly understand what attractions are around them.

•
Attractions with larger font sizes are easier to attract users' attention and bring users "more important" psychological feelings, which is in line with the representation needs of tourist attractions.

•
Most attractions with short travel times are placed close to the central point, while attractions with longer travel times are more often placed in peripheral areas.The relative direction of the attraction to the central point also remains unchanged.However, it should be noted that the positional relationship of the tags in the tag cloud is an order relationship, which can only represent the order of new and far and cannot convey the precise travel time.In addition, such a relationship only applies to tags in the same or adjacent directions, such as "Mulan Grassland" which is farther away than "Peace Park".For tags in different directions, the relationship between near and far is not comparable; for example, the "Yellow Crane Tower" at the bottom left of the central word looks significantly farther away than the "Hubei Provincial Museum" at the bottom right, which is inconsistent with the facts.
ISPRS Int.J. Geo-Inf.2023, 12, x FOR PEER REVIEW 13 of 24 convey the precise travel time.In addition, such a relationship only applies to tags in the same or adjacent directions, such as "Mulan Grassland" which is farther away than "Peace Park".For tags in different directions, the relationship between near and far is not comparable; for example, the "Yellow Crane Tower" at the bottom left of the central word looks significantly farther away than the "Hubei Provincial Museum" at the bottom right, which is inconsistent with the facts.

Introduction of the Color Variable
It is difficult for users to estimate accurate quantitative relationships based on the position of tags.Tags are distributed in all directions of the central word rather than on a single coordinate axis, making it difficult to quantitatively assess the exact distance and thus quantitatively infer the exact relationship.Inspired by isochrone maps, the LBS tag cloud introduces a color variable suitable for expressing quantitative grading information and uses color gradients to indicate the change of relationship accurately.
The travel time from the user's location to each tourist attraction is taken as a proxy indicator of convenience.The value is divided into five levels, and the correspondence with a color ramp is established.A yellow-green gradient color ramp is selected; the shorter the travel time, the closer the color is to bright yellow, and the resulting LBS tag cloud is shown in Figure 8, with the legend in the upper right.

Color Variable for More Generalized Relationships
The color-based visualization of travel times is slightly different from the representation on regular maps.Because the "location" in the regular maps is based on precise geographic coordinates, which implicitly express the accurate Euclidean distance, visual variables such as color and size are rarely used to express the distance relationship.The position in the LBS tag cloud can only show the order of near and far, so other visual variables should be integrated to accurately represent distance relationships.In addition to the Euclidean distance, many types of relationships, such as topology, direction, flow, connectivity, etc., exist between geographic objects, and these relationships may not be related to the Euclidean distance.
Taking travel time as an example, the time spent on public transportation is generally longer than that spent driving, but there are some attractions where public transportation is very convenient, so comparing the two types of time can provide users with a valuable reference from a new perspective.A new simple index is defined as the "public transport express index", whose formula is "public transit travel time-driving time-15".If the index is >0, it means that driving is more than 15 min faster than public transportation and that it is more convenient to drive by car.If the index is <0, it means that public transportation is slower only within 15 min or even faster than driving a car, and public transportation is recommended in the context of encouraging green and low-carbon travel.The LBS tag cloud generated based on this index is shown in Figure 9, which makes it easy for users to identify public transportation-friendly attractions (such as Tan Xinpei Park, Wuhan Garden Expo Park, etc.) and attractions suitable for driving (such as Peace Park, Hubei Provincial Museum, etc.).In this scenario, the public transport express index, represented by color, belongs to a generalized relationship.From this, it can be inferred that the color of the tag is very suitable for expressing relationships.On the one hand, the color enriches the level of the tag cloud, forming an obvious "center-edge" gradient effect.On the other hand, it also effectively corrects the travel time deviation caused by the position, and the difference in tag color will guide users to pay attention to the meaning of the color and then obtain a more accurate travel time.

Color Variable for More Generalized Relationships
The color-based visualization of travel times is slightly different from the representation on regular maps.Because the "location" in the regular maps is based on precise geographic coordinates, which implicitly express the accurate Euclidean distance, visual variables such as color and size are rarely used to express the distance relationship.The position in the LBS tag cloud can only show the order of near and far, so other visual variables should be integrated to accurately represent distance relationships.In addition to the Euclidean distance, many types of relationships, such as topology, direction, flow, connectivity, etc., exist between geographic objects, and these relationships may not be related to the Euclidean distance.
Taking travel time as an example, the time spent on public transportation is generally longer than that spent driving, but there are some attractions where public transportation is very convenient, so comparing the two types of time can provide users with a valuable reference from a new perspective.A new simple index is defined as the "public transport express index", whose formula is "public transit travel time-driving time-15".If the index is >0, it means that driving is more than 15 min faster than public transportation and that it is more convenient to drive by car.If the index is <0, it means that public transportation is slower only within 15 min or even faster than driving a car, and public transportation is recommended in the context of encouraging green and low-carbon travel.The LBS tag cloud generated based on this index is shown in Figure 9, which makes it easy for users to identify public transportation-friendly attractions (such as Tan Xinpei Park, Wuhan Garden Expo Park, etc.) and attractions suitable for driving (such as Peace Park, Hubei Provincial Museum, etc.).In this scenario, the public transport express index, represented by color, belongs to a generalized relationship.From this, it can be inferred that the color of the tag is very suitable for expressing relationships.

LBS Tag Cloud for Attractions with Convenient Transportation
Adding time constraints to attraction searches is a common requirement of LBS users, such as attractions with a travel time of less than 1 h (there are 72 in this experimental data).In this scenario, users no longer pay attention to the travel time with little difference but more to the rating, price, and other information about the attraction, so the following visual variable mapping scheme is designed: the tag position indicates the travel time, the font size indicates the number of comments, and the color indicates the rating.The number of comments is divided into five levels, and a mapping relationship is established with the font size.The more comments, the larger the font size.The rating is also divided into five levels, and a mapping relationship with a yellow-green gradient color ramp is established.The higher the score, the closer the color is to bright yellow.The resulting LBS tag cloud is shown in Figure 10.As can be seen from the figure, high-rated attractions and attractions with a large number of comments are highlighted, which makes it easier to attract the attention of users.The attractions with fewer comments have a smaller font size, and the color brightness of low-rated attractions is lower, reducing the tags' visual stimulation and giving users a better sense of order and quantity.In addition, the combination of tag size and color also helps users explore the inconsistency of the number of comments and ratings, such as at "Guiyuan Temple", "Emancipation Park" and other attractions with high ratings but few comments.

LBS Tag Cloud for Attractions with Convenient Transportation
Adding time constraints to attraction searches is a common requirement of LBS users, such as attractions with a travel time of less than 1 h (there are 72 in this experimental data).In this scenario, users no longer pay attention to the travel time with little difference but more to the rating, price, and other information about the attraction, so the following visual variable mapping scheme is designed: the tag position indicates the travel time, the font size indicates the number of comments, and the color indicates the rating.The number of comments is divided into five levels, and a mapping relationship is established with the font size.The more comments, the larger the font size.The rating is also divided into five levels, and a mapping relationship with a yellow-green gradient color ramp is established.The higher the score, the closer the color is to bright yellow.The resulting LBS tag cloud is shown in Figure 10.As can be seen from the figure, high-rated attractions and attractions with a large number of comments are highlighted, which makes it easier to attract the attention of users.The attractions with fewer comments have a smaller font size, and the color brightness of low-rated attractions is lower, reducing the tags' visual stimulation and giving users a better sense of order and quantity.In addition, the combination of tag size and color also helps users explore the inconsistency of the number of comments and ratings, such as at "Guiyuan Temple", "Emancipation Park" and other attractions with high ratings but few comments.

LBS Tag Cloud for High-Quality Tourist Attractions
In addition to travel time, reviews or ratings are often used as search criteria, such as showing only attractions rated between 4.6 and 5.0 (there are 47 in this experimental data).In this scenario, the travel time of attractions varies greatly, which should be highlighted, and the ratings of subtle differences can be weakened, so the following visual variable mapping scheme is designed: the position and color indicate the travel time, and the font size is the same, which does not indicate the difference in rating.A continuous single-hue color ramp is selected; the minimum travel time and the maximum travel time correspond to both ends of the color ramp, and the remaining travel time corresponds to the color ramp through linear interpolation.The resulting tag cloud is shown in Figure 11.Because the tags are all the same size, what catches the user's attention is the position and color of the tag.The position helps users initially understand the direction and distance of the attraction, while the color further assists the user in accurately estimating the travel time.However, due to the large number of similar colors in the continuous color ramp, users rely on the legend to accurately identify the correspondence between color and time.

LBS Tag Cloud for High-Quality Tourist Attractions
In addition to travel time, reviews or ratings are often used as search criteria, such as showing only attractions rated between 4.6 and 5.0 (there are 47 in this experimental data).In this scenario, the travel time of attractions varies greatly, which should be highlighted, and the ratings of subtle differences can be weakened, so the following visual variable mapping scheme is designed: the position and color indicate the travel time, and the font size is the same, which does not indicate the difference in rating.A continuous single-hue color ramp is selected; the minimum travel time and the maximum travel time correspond to both ends of the color ramp, and the remaining travel time corresponds to the color ramp through linear interpolation.The resulting tag cloud is shown in Figure 11.Because the tags are all the same size, what catches the user's attention is the position and color of the tag.The position helps users initially understand the direction and distance of the attraction, while the color further assists the user in accurately estimating the travel time.However, due to the large number of similar colors in the continuous color ramp, users rely on the legend to accurately identify the correspondence between color and time.To show the travel time more directly, the numerical value can be embedded in the tag text and visualized in combination with the name of the attraction, and the resulting LBS tag cloud is shown in Figure 12.As can be seen from the figure, this method is simple and accurate in displaying the travel time and even does not need a legend, which is suitable for representing quantitative attributes with large differences.To show the travel time more directly, the numerical value can be embedded in the tag text and visualized in combination with the name of the attraction, and the resulting LBS tag cloud is shown in Figure 12.As can be seen from the figure, this method is simple and accurate in displaying the travel time and even does not need a legend, which is suitable for representing quantitative attributes with large differences.To show the travel time more directly, the numerical value can be embedded in the tag text and visualized in combination with the name of the attraction, and the resulting LBS tag cloud is shown in Figure 12.As can be seen from the figure, this method is simple and accurate in displaying the travel time and even does not need a legend, which is suitable for representing quantitative attributes with large differences.

Usability Evaluation
The LBS tag cloud in the three scenarios has different content and adopts different visual variable mapping schemes, which effectively highlights the information that attracts the most attention from users in each scenario and demonstrates the effectiveness and scalability of the LBS tag cloud.In this section, the usability of the LBS tag cloud is further analyzed.Firstly, the LBS tag cloud is compared with the web map and other methods, and its capability of representing LBS POIs is summarized.Then, based on user experiments, the usability of the LBS tag cloud is briefly discussed.Finally, the main innovations of the LBS tag cloud and future work are summarized.

Usability Evaluation
The LBS tag cloud in the three scenarios has different content and adopts different visual variable mapping schemes, which effectively highlights the information that attracts the most attention from users in each scenario and demonstrates the effectiveness and scalability of the LBS tag cloud.In this section, the usability of the LBS tag cloud is further analyzed.Firstly, the LBS tag cloud is compared with the web map and other methods, and its capability of representing LBS POIs is summarized.Then, based on user experiments, the usability of the LBS tag cloud is briefly discussed.Finally, the main innovations of the LBS tag cloud and future work are summarized.

LBS Tag Cloud versus Existing Methods
Based on the Baidu Maps, surrounding attractions are retrieved and visualized; a screenshot of the visualization is shown in Figure 13.Numeric symbols and simple circular symbols are used to distinguish popular attractions from ordinary attractions, and the position of the symbols represents the geographical location of the attractions.Compared with this POI visualization based on such a web map, the LBS tag cloud has the following four advantages: 1.
More POIs can be displayed.The current map extent has completely covered the main urban area of Wuhan, but there are only 10 numeric symbols and about 30 circular symbols, and the number of attractions that can be displayed is much smaller than the LBS tag cloud.In addition, the annotations for visible attractions are not fully displayed.The list on the left can be used to view the names of the numeric symbols one by one; however, the names of circular symbols cannot be viewed.

2.
Global context and local details can be maintained.Users can zoom in on the map to explore more attractions, but at the same time, some attractions will fall out of the viewport, so users need to zoom and pan frequently, and in this process, it is difficult for users to consider the local details and global context of the map.In contrast, the LBS tag cloud contains both adjacent and distant POIs, so users can not only understand the distribution of POIs at the macro level but also explore the details of each POI at the micro level.If the interactive functions of zooming and panning are developed for the LBS tag cloud in the future, a better information communication effect can be achieved.

3.
The relationship between the user and the POI can be represented.The rich and powerful visual variables in the tag cloud can fully express the multi-dimensional attributes of POI, especially the relationship between the POI and the user.Conversely, in Figure 13, neither attributes nor relationships are well expressed.The number in the numeric symbol is positively correlated with the popularity of the attraction, which can guide users to pay attention to the popular attractions but also require them to browse sequentially in the left list.The Euclidean distance from each POI can be estimated based on the geographical location of the symbol, but the obstruction of natural barriers and artificial features will cause considerable estimation errors.In addition, travel time and other meaningful relationships are difficult to estimate.4.
The graphic layout is simple and pure.In the LBS tag cloud, there are only text tags and no other graphic symbols that may cause interference.Users who know the text can quickly understand the meaning of the tag cloud.In stark contrast, there are too many features on the web map, resulting in cumbersome visualizations that interfere with users quickly capturing key information.
ISPRS Int.J. Geo-Inf.2023, 12, x FOR PEER REVIEW 18 of 24 Based on the Baidu Maps, surrounding attractions are retrieved and visualized; a screenshot of the visualization is shown in Figure 13.Numeric symbols and simple circular symbols are used to distinguish popular attractions from ordinary attractions, and the position of the symbols represents the geographical location of the attractions.Compared with this POI visualization based on such a web map, the LBS tag cloud has the following four advantages: 1.More POIs can be displayed.The current map extent has completely covered the main urban area of Wuhan, but there are only 10 numeric symbols and about 30 circular symbols, and the number of attractions that can be displayed is much smaller than the LBS tag cloud.In addition, the annotations for visible attractions are not fully displayed.The list on the left can be used to view the names of the numeric symbols one by one; however, the names of circular symbols cannot be viewed.2. Global context and local details can be maintained.Users can zoom in on the map to explore more attractions, but at the same time, some attractions will fall out of the viewport, so users need to zoom and pan frequently, and in this process, it is difficult for users to consider the local details and global context of the map.In contrast, the LBS tag cloud contains both adjacent and distant POIs, so users can not only understand the distribution of POIs at the macro level but also explore the details of each POI at the micro level.If the interactive functions of zooming and panning are developed for the LBS tag cloud in the future, a better information communication effect can be achieved.3. The relationship between the user and the POI can be represented.The rich and powerful visual variables in the tag cloud can fully express the multi-dimensional attributes of POI, especially the relationship between the POI and the user.Conversely, in Figure 13, neither attributes nor relationships are well expressed.The number in the numeric symbol is positively correlated with the popularity of the attraction, which can guide users to pay attention to the popular attractions but also require them to Based on the comparison with the web map, we analyze the visualization capabilities of the LBS tag cloud from 11 aspects.Because the existing tag map methods, such as Taggram [40] and Worbel [39], are not designed for POI visualization, they cannot be directly compared with the methods in this article.Methods such as Zoomless Map [9] and Focus+Context map labeling [10] also focus on how to consider both global context and local details, and it makes sense to compare the LBS tag cloud with them.The advantages and disadvantages of these methods are shown in Table 1.It can be seen that the LBS tag cloud can not only accommodate more POIs but also display the name, multi-dimensional attributes, and relationship between each POI and user location while showing the global distribution.The main disadvantage of the LBS tag cloud is that it cannot accurately express the geographical location, and it also lacks the georeference provided by topographic features.In addition, the interactive functions that have been implemented are relatively simple and limited.Since the other three methods are map-based, illiterate users who cannot read can also obtain a general idea of the type of POI through map symbols.The LBS tag cloud, on the other hand, has only text and can be difficult for users who cannot read.Therefore, the LBS tag cloud is language-dependent.

User Experiments
This section explores the usability of the LBS tag cloud through a simple user experiment.A total of 27 people of any age, gender, education level, and no GIS education background were called upon to evaluate the LBS tag cloud containing all attractions in Figure 8.The subjects participating in the experiment did not have any prior knowledge about the LBS tag cloud and made a subjective evaluation based only on their experience.
First, the LBS tag cloud in Figure 8 was shown to each subject and introduced in one sentence: the central point of this figure is your current location, the text tag represents the attractions around you, the size of the tag represents the popularity of the attraction, and the color of the tag represents the public transportation time to reach the attraction.The subjects were then asked to complete two tasks: Task 1, find five popular attractions; Task 2, find five popular attractions within an hour of travel time.The duration of the task was recorded.If some subjects were proficient in using mobile maps, they were asked to repeat Task 1 using mobile maps.After completing the tasks, there are two optional questions: First, do you think this LBS tag cloud is better than mobile maps when expressing attractions?Second, what advice do you have for this LBS tag cloud?Finally, subjects were asked to rate the LBS tag cloud in five aspects: aesthetics, compactness, recognizability, layout satisfaction, and task completion.The rating was conducted on a 1-10 rating scale, with a minimum score of 1 being awful and a maximum score of 10 being outstanding.
All subjects completed both tasks, with an average time of 24 s to complete Task 1 and 37 s to complete Task 2. Three of the 27 subjects did not know how to use mobile maps, and they also completed two tasks, which showed that getting started with the LBS tag cloud is not too difficult.The average time for participants who are familiar with mobile maps to complete Task 1 using mobile maps is 18 s, which is faster than using the LBS tag cloud.However, nine subjects used the LBS tag cloud to complete Task 1 in less time.These results show that the LBS tag cloud is effective in helping some users find the surrounding POIs.
Since the first question was an yes or no question, all users answered.A total of 18 out of the 27 subjects believed that the LBS tag cloud was better than maps in visualizing surrounding POIs, proving that the LBS tag cloud was initially recognized by some subjects.User ratings also indicated that the LBS tag cloud is accepted by users.The statistics for each indicator are shown in Table 2.In general, using a questionnaire survey on a scale of 1-10, a score of 6 means OK, and a score of 8 can be considered good.The mean, mode, and median of all indicators were greater than 6, indicating that the overall impression of the subjects on the LBS tag cloud was not bad, and this new POI visualization method was accepted and recognized.The standard deviation of all indicators was less than 2, indicating that the scores were concentrated around the mean and followed a normal distribution.In terms of specific indicators, aesthetics and layout satisfaction scored the lowest, suggesting that future work should focus on how to improve the aesthetics of the LBS tag cloud.The compactness and task completion scored slightly higher than other indicators, indicating that despite the distance distortion, the LBS tag cloud is effective in helping users find surrounding POIs.Only five participants answered the second question.Subjects reported that, due to the large number of tags placed compactly in view, they were often attracted to brightly colored and larger tags when browsing and ignored dark, smaller tags.Moreover, the subjects believed that the number of tags was too large and placed too densely, which increased cognitive load and easily caused visual fatigue, so they preferred a simpler layout, such as selectively presenting attractions with higher popularity.In addition, some subjects put forward requirements for an interactive function, hoping to choose their favorite themes, colors, etc., to personalize the LBS tag cloud.
Of course, at present, this user experiment is still very simple but verifies the usability of the LBS tag cloud.In future research, the usability of LBS tag clouds in different scenarios, the factors affecting usability, and the usability improvement strategies are worth discussing in depth.

Summarization and Future Work
Compared with conventional web maps, the LBS tag cloud can display more POIs in the same layout space and can effectively highlight the popularity and convenience attributes that users pay attention to through the combination of visual variables of the tags.At the same time, the LBS tag cloud weakens or deforms some unimportant attributes; for example, the geographic location of the POI is not accurate, but its relative direction to the user's location is maintained to some extent.Therefore, the LBS tag cloud is similar to subway maps and belongs to the category of "schematic maps".The main innovations of LBS tag clouds are as follows: 1.
Text tags are simple in form but also rich in expression.The tag cloud only contains tags and does not contain complex graphic symbols, which simplifies the cognitive process on the one hand and avoids the occupation of space by graphic symbols on the other.However, the visual variables commonly used in the text symbol are rich enough that, in addition to font size, color, and position, other visual variables such as font, italic, luminescence, shading, etc., can also be combined with the LBS tag cloud to express meaningful multivariate information.

2.
Coupling of first-order attributes with second-order attributes.LBS tag clouds can not only represent the attributes of the POI but also convey the relationship between the POI and the user's location.It is worth mentioning that the visual variable mapping scheme adopted by the LBS tag cloud is flexible.In the LBS tag cloud containing all attractions, a typical visual variable mapping scheme in line with people's cognitive habits is designed, which uses font size to express the first-order "popularity" of the POI and color and position to jointly express the second-order "convenience".

3.
Overview and detailed information can be represented together.When using the LBS tag cloud, users can quickly overview all POIs and understand the macro distribution without any complex operations.At the same time, the detailed information about each POI can be quickly identified through its corresponding tag.
Because of the lack of georeference provided by the map, the LBS tag cloud cannot convey the precise location of the POI, but this does not hinder its usability.LBS users pay attention to "what are the POIs in the vicinity, how are these POIs, and whether it is convenient to go to these POIs".The LBS tag cloud contains only text tags, which intuitively identify the name of each POI.The font size of the tag is a visual variable that the user is particularly sensitive to, which is suitable for indicating the popularity of the POI.The color of the tag can accurately convey the connection between the user's location and the POI (distance, travel time, etc.), which is an attribute that LBS users are concerned about.Therefore, the LBS tag cloud effectively integrates the information that users are concerned about, which is a new visualization form suitable for users' spatial cognition and is expected to provide new visualization ideas for the research of spatial autocorrelation, spatial interaction, and location-based social networks.
However, the cognitive effect and efficiency of the LBS tag cloud need to be further studied.The LBS tag cloud places the tags based on relative position and is essentially a schematic map with deformation.Does this deformation cause cognitive biases?In addition, new layout methods and reasonable setting of parameters also deserve further attention, such as the number of tags, multi-center layout method, addition of user interaction, etc.

1.
The number of tags that fit best.While the LBS tag cloud can show more POIs than the web map, there is an upper limit.In the user experiment, some subjects have suggested that the tags in the LBS tag cloud are too dense, causing information overload.Exploring the optimal number or density of tags will be the focus of subsequent usability assessment research.

2.
What kind of user interaction should be designed?The current LBS tag cloud only supports simple user interaction, and in the future, operations such as clicking and zooming will be added to the LBS tag cloud based on the usage logic of touchscreen devices to provide richer information content.

3.
Optimization and innovation of layout methods.On the one hand, it takes a long time to generate an LBS tag cloud.Each tag takes about 1 s for radial displacement and collision detection.Such a speed obviously does not meet the requirements of real-time applications.and the efficiency of the current layout algorithm needs to be optimized.On the other hand, this study is just a simple attempt at a layout method based on radial displacement, and many studies can be conducted in this regard, such as radial displacement to change the radial coordinates; can the angular coordinates of the tag be changed?If there are multiple centers, how should the tags be placed?How to employ the relationship between POIs to determine placement, etc.

Conclusions
Map-based POI visualization often fails to balance global distribution with local details, and this article attempts to solve this problem with a tag cloud.Our approach introduces a central point in the tag cloud and creates a new type of "centralized" tag cloud: LBS tag cloud.The LBS tag cloud takes the location of the LBS user as the layout central point, converts the POIs into tags and places them around the central point, and uses a combination of visual variables to represent the attributes of the POI.The LBS tag cloud integrates a large number of POIs around LBS users into one image, which can not only express more POIs than conventional web maps but also use text tags to represent multi-dimensional attributes such as the name, popularity, and convenience of each POI.Through this tag cloud, LBS users can not only fully grasp the distribution of surrounding POIs from a macro perspective but also understand the specific conditions of each POI.In particular, users can intuitively understand the relationship between each POI and their location, such as travel

Figure 1 .
Figure 1.The visual variables of text tags.Figure 1.The visual variables of text tags.

Figure 1 .
Figure 1.The visual variables of text tags.Figure 1.The visual variables of text tags.

Figure 2 .
The red marker in (a) indicates the user's location, and the 5 POIs around the user are visualized by green markers, indicating an accurate geographical location.(b) is the corresponding LBS tag cloud; the red marker also indicates the user's location, and the surrounding POIs are converted into tags with various font sizes and placed around the red marker.The larger the font size, the more popular the POI.It should be noted that the position of the tag can no longer indicate the accurate geographical location of the POI.

Figure 2 .
The red marker in (a) indicates the user's location, and the 5 POIs around the user are visualized by green markers, indicating an accurate geographical location.(b) is the corresponding LBS tag cloud; the red marker also indicates the user's location, and the surrounding POIs are converted into tags with various font sizes and placed around the red marker.The larger the font size, the more popular the POI.It should be noted that the position of the tag can no longer indicate the accurate geographical location of the POI.

Figure 3 .
Figure 3. How to place tags based on polar coordinates.

Figure 3 .
Figure 3. How to place tags based on polar coordinates.

Figure 4 .
Figure 4.The radial displacement of tags.

Figure 5 .
Figure 5. How to ensure the correct order of near and far by considering tag adjacency.

Figure 5 .
Figure 5. How to ensure the correct order of near and far by considering tag adjacency.

Figure 6 .
Figure 6.Schematic diagram of approximate glyph outline based on quadtree.The red borde is the rectangular outline of the Text element; (b) the incomplete quadtree corresponding character "地" is drawn with a solid red line; and (c) only the leaf nodes covering the edges glyph outline are drawn while retaining the rectangular outline.

Figure 6 .
Figure 6.Schematic diagram of approximate glyph outline based on quadtree.The red border in (a) is the rectangular outline of the Text element; (b) the incomplete quadtree corresponding to the character "地" is drawn with a solid red line; and (c) only the leaf nodes covering the edges of the glyph outline are drawn while retaining the rectangular outline.

Figure 7 .
Figure 7. LBS tag cloud containing all attractions (the tag position indicates the travel time and the font size indicates the number of comments).5.1.1.Introduction of the Color Variable It is difficult for users to estimate accurate quantitative relationships based on the position of tags.Tags are distributed in all directions of the central word rather than on a single coordinate axis, making it difficult to quantitatively assess the exact distance and thus quantitatively infer the exact relationship.Inspired by isochrone maps, the LBS tag

Figure 7 .
Figure 7. LBS tag cloud containing all attractions (the tag position indicates the travel time and the font size indicates the number of comments).

24 Figure 8 .
Figure 8. LBS tag cloud containing all attractions (the position and color indicate the travel time, and the font size indicates the number of comments).

Figure 8 .
Figure 8. LBS tag cloud containing all attractions (the position and color indicate the travel time, and the font size indicates the number of comments).

24 Figure 9 .
Figure 9. LBS tag cloud expressing the public transport express index.

Figure 9 .
Figure 9. LBS tag cloud expressing the public transport express index.

Figure 10 .
Figure 10.LBS tag cloud for attractions with a travel time of less than 1 h (the tag position indicates the travel time, the font size indicates the number of comments, and the color indicates the rating).

Figure 10 .
Figure 10.LBS tag cloud for attractions with a travel time of less than 1 h (the tag position indicates the travel time, the font size indicates the number of comments, and the color indicates the rating).

24 Figure 11 .
Figure 11.LBS tag cloud for attractions rated by users between 4.6 and 5.0 (the color indicates the travel time).

Figure 11 .
Figure 11.LBS tag cloud for attractions rated by users between 4.6 and 5.0 (the color indicates the travel time).

Figure 11 .
Figure 11.LBS tag cloud for attractions rated by users between 4.6 and 5.0 (the color indicates the travel time).

Figure 12 .
Figure 12.LBS tag cloud for attractions rated by users between 4.6 and 5.0 (the travel time is part of the tag text).

Figure 12 .
Figure 12.LBS tag cloud for attractions rated by users between 4.6 and 5.0 (the travel time is part of the tag text).

Table 1 .
LBS tag cloud versus existing methods.

Table 2 .
Descriptive statistics for user ratings.