WebGIS tag placement method based on user perception priority
By adopting a tag placement method based on user-perceptual priority in WebGIS, dynamically adjusting the tag position and density is solved, and the problem that traditional methods fail to meet user-perceptual needs is achieved, achieving better user experience and tag readability.
Patent Information
- Application Number
- CN202411397943.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-09
- Publication Date
- 2025-02-28
AI Technical Summary
The traditional WebGIS tag placement method fails to fully consider the user's actual perception and expectations, resulting in unsatisfactory tag placement effect and affecting the user experience.
Using a WebGIS tag placement method based on user perceptual priorities, the optimal tag location and density are determined through user research, the tag location and density are dynamically adjusted to adapt to user interaction and map zoom levels, and user personalized settings options are provided.
Improves the readability and user experience of tags, ensuring that tags are kept optimally readable in different views, and meets the personalized preferences of different users.
Smart Images

Figure CN119537499A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of geographic information systems, and more specifically, particularly relates to a WebGIS label placement method based on user perceived priority. Background Art
[0002] In geographic information systems, label placement refers to the placement of text labels near specific point, line, or area features on a map in order to clearly convey relevant information; traditional label placement methods are usually based on fixed position priorities, that is, potential label locations around point features are ranked according to predefined priorities; however; these traditional priorities are based on typographical and cartographic conventions from decades ago and may no longer match the expectations and perceptions of modern users.
[0003] Traditional label placement methods fail to fully consider users' actual perception and expectations, resulting in unsatisfactory label placement effects and affecting user experience. Especially in WebGIS applications, the importance of label placement is more prominent because users' usage environments are more diverse, and device screen sizes, resolutions, and user interaction methods vary, which puts higher requirements on label readability and user experience. Summary of the invention
[0004] In order to solve the above technical problems, the present invention provides a WebGIS label placement method based on user perception priority to solve the problems raised by the background technology.
[0005] The WebGIS label placement method based on user perception priority of the present invention is achieved by the following specific technical means:
[0006] A WebGIS label placement method based on user perception priority includes the following steps:
[0007] Step 1: Determine the optimal label position of the point feature based on the user's perceived priority;
[0008] Step 2: Determine tag density through user research and optimize tag coverage;
[0009] Step 3: Dynamically adjust label position and density to adapt to user interaction and map zoom level;
[0010] Step 4: Provide user personalization options to allow users to customize label placement preferences.
[0011] Further; the perceived position priority includes placing labels preferentially on top of point features.
[0012] Furthermore; the dynamic adjustment includes recalculating and adjusting label position and density when the user zooms the map.
[0013] Further; the user personalization options include allowing the user to select different label placement priorities and density preferences.
[0014] Furthermore, it also includes label placement for line features and surface features, using similar user-perceived priority and density optimization methods.
[0015] Compared with the prior art, the present invention has the following beneficial effects:
[0016] The label placement method used in Web GIS has the following beneficial effects:
[0017] 1. Improve label readability and user experience
[0018] 1. Determine label positions based on user perceived priority:
[0019] Through user research, it is determined that the perceptual position priority should be placed on the top of the point feature, which conforms to the user's visual habits and enables users to find and identify key information more quickly.
[0020] 2. Optimize label density:
[0021] It was determined that users prefer a tag coverage rate of 17% on average, which avoids confusion and difficulty in identification caused by too many and too dense tags, and also prevents insufficient information caused by too few tags.
[0022] 3. Dynamically adjust to different situations:
[0023] Dynamically adjust label position and density based on user interactions (such as zooming, panning, etc.) and map zoom level to ensure optimal readability of labels in different views.
[0024] 2. Dynamically adapt to different views and interaction modes
[0025] 1. Real-time adjustment:
[0026] The position and density of labels are adjusted in real time according to the user's interactive behavior on the map, so that the labels are always kept in the best state.
[0027] 2. Feedback mechanism optimization:
[0028] Provide a user feedback mechanism to allow users to provide opinions and suggestions on label placement during use, so as to further optimize the label placement method.
[0029] 3. Support label placement for multiple feature types
[0030] 1. Line feature and surface feature label placement:
[0031] This method is not only applicable to point features, but also includes label placement for line features and surface features, using similar user-aware priority and density optimization methods.
[0032] 4. Provide personalized setting options to meet the needs of different users
[0033] 1. Customize label placement preferences:
[0034] Provide user personalization options to allow users to customize label placement preferences, such as selecting different label placement priorities and density preferences.
[0035] 2. Real-time preview effect:
[0036] The developed user interface allows users to preview the label placement effect in real time to ensure user satisfaction. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 It is a schematic diagram of the label position priority model of the present invention.
[0038] Figure 2 It is a flow chart of the algorithm for optimal readability of the label of the present invention.
[0039] Figure 3 It is a schematic diagram of the label density optimization process of the present invention. DETAILED DESCRIPTION
[0040] The present invention will be further described below in conjunction with specific embodiments, and the advantages and features of the present invention will become clearer as the description proceeds. However, these embodiments are exemplary only and do not constitute any limitation to the scope of the present invention. It should be understood by those skilled in the art that the details and forms of the technical solution of the present invention may be modified or replaced without departing from the spirit and scope of the present invention, but these modifications and replacements all fall within the scope of protection of the present invention.
[0041] Example:
[0042] As attached Figure 1 To Attachment Figure 3 As shown:
[0043] The present invention provides a WebGIS label placement method based on user perception priority, comprising the following steps:
[0044] Step 1: Determine the optimal label position of the point feature based on the user's perceived priority;
[0045] Step 2: Determine tag density through user research and optimize tag coverage;
[0046] Step 3: Dynamically adjust label position and density to adapt to user interaction and map zoom level;
[0047] Step 4: Provide user personalization options to allow users to customize label placement preferences.
[0048] The perceived position priority order includes placing labels preferentially on top of point features.
[0049] The dynamic adjustment includes recalculating and adjusting the label position and density when the user zooms in or out on the map.
[0050] The user personalized setting options include allowing the user to select different label placement priorities and density preferences.
[0051] This also includes label placement for line features and surface features, using similar user-perceived priority and density optimization methods.
[0052] The algorithm mainly includes the following steps: Label position priority model: Use user preference data to determine the priority of label positions. Assuming the label position of a point feature is (x, y), the five potential label positions around it are:
[0053] Ptop=(x,y+d
[0054] Prighttop=(x+d,y+d)
[0055] Prightbottom=(x+d,yd)
[0056] Pleftbottom=(xd,yd)
[0057] Plefttop=(xd,y+d)
[0058] Where (d) is the distance between the label and the point feature.
[0059] Label density optimization: Determine the label density coverage (rho) based on user preferences. Assuming the total number of feature points is (N) and the label coverage is (rho), the number of labels to be placed is:
[0060] Nlabel=ρ×N
[0061] Dynamic adjustment: Dynamically adjust label position and density based on user interaction and map zoom level. Assuming the map zoom level is (2), the label coverage is adjusted to (ho(2z)), then the number of labels after dynamic adjustment is:
[0062] Nlabel(z)=ρ(z)×N
[0063] Data Collection and Analysis:
[0064] Collect data on user preferences for label placement and density through user research and experiments. Analyze the data to prioritize label placement and optimal label density coverage.
[0065] PerceptPPO:
[0066] Based on user preference data, a tag position priority model is established.
[0067] The five potential positions of the label in the model are top (TOP), top right (RT), top left (LT), bottom right (RB), and bottom left (LB).
[0068] The label position priority formula is as follows:
[0069] Porder=[Ptop,Prighttop,Plefttop,Prightbottom,Pleftbottom].
[0070] where (P_{order}) is the priority list of label positions.
[0071] Label density optimization:
[0072] Determine label density coverage (\rho) based on user research.
[0073] The formula for optimizing label density is:
[0074] Nlabel=ρ×N
[0075] Among them, (N_{label}) is the number of labels that need to be placed, (N) is the total number of feature points, and (\rho) is the label density coverage.
[0076] Dynamic Adjustment:
[0077] Dynamically adjust label position and density based on user interaction and map zoom level.
[0078] The dynamic adjustment formula is:
[0079] Nlabel(z)=ρ(z)×N
[0080] Among them, (z) is the map zoom level, (rho(z)) is the label density coverage corresponding to the zoom level, and (N_{label}(z)) is the number of labels after dynamic adjustment.
[0081] Algorithm implementation:
[0082] Input: map and point feature data.
[0083] step:
[0084] Get point feature data.
[0085] The optimal label position for each point feature is calculated according to the PerceptPPO model.
[0086] Compare the current label density with the user preference threshold to determine whether the label position needs to be adjusted.
[0087] If the label density exceeds the user preference threshold, the label position is adjusted.
[0088] Dynamically adjust label position and density to adapt to user interaction and map zoom level.
[0089] Output: Optimized label position and density
[0090] The specific usage and function of this embodiment are as follows:
[0091] In the present invention.
[0092] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A WebGIS label placement method based on user perceived priority, characterized by: The following steps are involved: Step 1: Determine the optimal label position of the point feature based on the user's perceived priority; Step 2: Determine tag density through user research and optimize tag coverage; Step 3: Dynamically adjust label position and density to adapt to user interaction and map zoom level; Step 4: Provide user personalization options to allow users to customize label placement preferences.
2. A WebGIS label placement method based on user perceived priority as claimed in claim 1, characterized in that: The perceived position priority includes prioritizing the placement of labels on top of point features.
3. A WebGIS label placement method based on user perceived priority as claimed in claim 1, characterized in that: The dynamic adjustment includes recalculating and adjusting label positions and densities when the user zooms in or out on the map.
4. A WebGIS label placement method based on user perceived priority as claimed in claim 1, characterized in that: The user personalization options include allowing the user to select different label placement priorities and density preferences.
5. A WebGIS label placement method based on user perceived priority as claimed in claim 1, characterized in that: It also includes label placement for line and surface features, using similar user-aware prioritization and density optimization methods.