CN110648582A - Map annotation display method and device based on inheritance characteristics - Google Patents

Map annotation display method and device based on inheritance characteristics Download PDF

Info

Publication number
CN110648582A
CN110648582A CN201811161668.9A CN201811161668A CN110648582A CN 110648582 A CN110648582 A CN 110648582A CN 201811161668 A CN201811161668 A CN 201811161668A CN 110648582 A CN110648582 A CN 110648582A
Authority
CN
China
Prior art keywords
map
scale
level
contained
annotation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811161668.9A
Other languages
Chinese (zh)
Inventor
刘庆军
罗军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201811161668.9A priority Critical patent/CN110648582A/en
Publication of CN110648582A publication Critical patent/CN110648582A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B29/00Maps; Plans; Charts; Diagrams, e.g. route diagram
    • G09B29/003Maps
    • G09B29/006Representation of non-cartographic information on maps, e.g. population distribution, wind direction, radiation levels, air and sea routes

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Ecology (AREA)
  • Mathematical Physics (AREA)
  • Business, Economics & Management (AREA)
  • Educational Administration (AREA)
  • Educational Technology (AREA)
  • General Physics & Mathematics (AREA)
  • Instructional Devices (AREA)
  • Navigation (AREA)

Abstract

The invention provides a map annotation display method and device based on inheritance characteristics, wherein the method comprises the following steps: extracting map marks contained in maps with different levels of proportional scales from the existing map data, and distributing a unique mark point ID for the extracted map marks; respectively reading the marking point IDs of the map markings displayed on each level of scale map, and recording the marking point IDs in a preset list; and acquiring the marking point ID of the map marking contained in the map with any level of scale, judging whether the map marking contained in the map with any level of scale is displayed in the map with the adjacent level of scale according to the marking point ID recorded in the preset list, and if so, increasing the display priority of the map marking contained in the map with any level of scale and displayed in the map with the adjacent level of scale. Therefore, the embodiment of the invention increases the priority of the map annotation in the adjacent two-level scale map by adding the inheritance proportion so as to improve the continuity of the display of the map annotation in the map with each level of scale.

Description

Map annotation display method and device based on inheritance characteristics
Technical Field
The invention relates to the technical field of computer application, in particular to a map annotation display method and device based on inheritance characteristics.
Background
The map scale is the ratio of the length of a line segment on the map to the length of a corresponding line segment on the field, and the larger the map scale is, the smaller the error is, and the higher the measurement precision is on the map. Corresponding map notes such as place names, river names, mountain names and the like are displayed in the scale scales of different levels.
In general, important annotation points need to be displayed from a small scale to a large scale, but in an actual map display, for example, at a certain scale, the priority of the important annotation point may be avoided by the more important annotation point, so that the important annotation point cannot be displayed. Therefore, it is necessary to improve the display mode of the map annotation points so that the important annotation points can be displayed in the adjacent scale map in a coherent manner.
Disclosure of Invention
In view of the above problems, the present invention has been made to provide a map annotation display method and apparatus based on inheritance characteristics that overcome or at least partially solve the above problems.
According to an aspect of the present invention, there is provided a map annotation display method based on inheritance characteristics, including:
extracting map marks contained in maps with different levels of proportional scales from the existing map data, and distributing a unique mark point ID for the extracted map marks;
respectively reading the marking point IDs of the map markings displayed on each level of scale map, and recording the marking point IDs in a preset list;
acquiring the marking point ID of the map marking contained in any level of scale map, and judging whether the map marking contained in any level of scale map is displayed in the map of the adjacent level of scale according to the marking point ID recorded in the preset list;
if yes, the display priority of the map marks which are contained in any one-level scale and displayed in the adjacent one-level scale map is increased, and the map marks are preferentially displayed in the any one-level scale map.
Optionally, judging whether a map annotation contained in the map with any one scale is displayed in the map with an adjacent scale according to the annotation point ID recorded in the preset list includes:
matching the marking point ID contained in any one-level scale map with the marking point ID contained in the adjacent one-level scale map recorded in the preset list;
and if the same annotation point ID is matched, determining that the map annotation corresponding to the same annotation point ID in any one-level scale map is displayed in the adjacent one-level scale map.
Optionally, if the annotation point ID allocated to the extracted map annotation corresponds to a unique number, matching the annotation point ID included in any one of the acquired scale maps with the annotation point ID included in an adjacent scale map recorded in the preset list, including:
reordering the marking point IDs contained in the obtained map with any scale level according to the size sequence of the numbers;
and sequentially matching the sorted marking point IDs with the marking point IDs contained in the adjacent first-level scale map recorded in the preset list.
Optionally, the method further comprises:
distributing different weights for different map notes in each level of scale map according to a preset rule, and displaying corresponding map notes in each level of scale map according to the sequence of the weights of the map notes from large to small;
and establishing a corresponding relation between the marked point ID of the map marks in each level of scale map and the corresponding weight, and storing the corresponding relation in the preset list.
Optionally, increasing the display priority of the map annotation contained in any one-level scale and displayed in the map with the adjacent one-level scale, and preferentially displaying the map annotation in the map with the any one-level scale, includes:
increasing the weight corresponding to the map mark contained in any one level of scale and displayed in the map of the adjacent level of scale by a preset value;
and storing the corresponding relation between the weight increased by the preset numerical value and the corresponding marking point ID in the preset list so as to update the preset list.
Optionally, judging whether a map annotation contained in the map with any one scale is displayed in the map with an adjacent scale according to the annotation point ID recorded in the preset list includes:
judging whether map marks contained in any level of scale map are displayed in the adjacent map with a small scale according to the mark point IDs recorded in the preset list;
if yes, the display priority of the map marks which are contained in any one-level scale and displayed in the adjacent small-level scale map is increased, and the map marks are preferentially displayed in the map with any one-level scale.
According to another aspect of the present invention, there is also provided a map annotation display device based on inheritance characteristics, including:
the extraction module is suitable for extracting map marks contained in maps with different scales from the existing map data and distributing unique mark point IDs for the extracted map marks;
the recording module is suitable for respectively reading the mark point IDs of the map marks displayed on each level of scale map and recording the mark point IDs in a preset list;
the judging module is suitable for acquiring the mark point ID of the map mark contained in any level of the proportional scale map and judging whether the map mark contained in any level of the proportional scale map is displayed in the map of the adjacent level of the proportional scale according to the mark point ID recorded in the preset list;
and the display module is suitable for increasing the display priority of the map marks contained in the map with any one level of scale and displayed in the map with the adjacent level of scale and preferentially displaying the map marks in the map with any one level of scale if the judgment module judges that the map marks contained in the map with any one level of scale are displayed in the map with the adjacent level of scale according to the mark point ID recorded by the preset list.
Optionally, the determining module is further adapted to:
matching the marking point ID contained in any one-level scale map with the marking point ID contained in the adjacent one-level scale map recorded in the preset list;
and if the same annotation point ID is matched, determining that the map annotation corresponding to the same annotation point ID in any one-level scale map is displayed in the adjacent one-level scale map.
Optionally, the determining module is further adapted to:
reordering the marking point IDs contained in the obtained map with any scale level according to the size sequence of the numbers;
and sequentially matching the sorted marking point IDs with the marking point IDs contained in the adjacent first-level scale map recorded in the preset list.
Optionally, the apparatus further comprises:
the distribution module is suitable for distributing different weights to different map notes in each level of scale map according to a preset rule, and corresponding map notes are displayed in each level of scale map according to the sequence of the map note weights from large to small;
and the establishing module is suitable for establishing the corresponding relation between the marking point IDs marked on the map in each level of scale map and the corresponding weights, and storing the corresponding relation in the preset list.
Optionally, the display module is further adapted to:
increasing the weight corresponding to the map mark contained in any one level of scale and displayed in the map of the adjacent level of scale by a preset value;
and storing the corresponding relation between the weight increased by the preset numerical value and the corresponding marking point ID in the preset list so as to update the preset list.
Optionally, the determining module is further adapted to:
judging whether map marks contained in any level of scale map are displayed in the adjacent map with a small scale according to the mark point IDs recorded in the preset list;
if yes, the display priority of the map marks which are contained in any one-level scale and displayed in the adjacent small-level scale map is increased, and the map marks are preferentially displayed in the map with any one-level scale.
According to yet another aspect of the present invention, there is also provided a computer storage medium storing computer program code which, when run on a computing device, causes the computing device to execute the inheritance property based map annotation display method according to any of the embodiments above.
According to yet another aspect of the present invention, there is also provided a computing device comprising: a processor; a memory storing computer program code; the computer program code, when executed by the processor, causes the computing device to perform the method of displaying map annotations based on inherited characteristics, as described in any of the embodiments above.
In the embodiment of the invention, firstly, map marks contained in maps with different scales are extracted from the existing map data, and unique mark point IDs are distributed for the extracted map marks. Then, the note point IDs of the map notes displayed on each level of the scale map are read respectively and recorded in a preset list. And then, acquiring the mark point ID of the map mark contained in the map with any one level of scale, judging whether the map mark contained in the map with any one level of scale is displayed in the map with the adjacent level of scale according to the mark point ID recorded in the preset list, if so, increasing the display priority of the map mark contained in the map with any one level of scale and displayed in the map with the adjacent level of scale, and preferentially displaying the map mark in the map with any one level of scale. Therefore, the embodiment of the invention allocates the unique annotation point ID for the map annotation in each level of the scale map to analyze whether the map annotation contained in any level of the scale map is displayed in the adjacent level of the scale map, and if the map annotation contained in any level of the scale map is displayed, the priority level of the map annotation can be properly increased, so that the corresponding map annotation in any level of the scale map is effectively prevented from being avoided by the annotation point with higher priority and more important. According to the scheme, from the perspective of inheritance characteristics of the map, the inheritance proportion is increased, so that the priority of the map marks existing in the two adjacent levels of the scale maps is increased, and the continuity of map mark display in the scale maps at all levels is improved. Furthermore, because the map notes displayed in the map with the scale at all levels are more consistent, the attractiveness of map note display can be effectively improved, and the use experience of a user is improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
The above and other objects, advantages and features of the present invention will become more apparent to those skilled in the art from the following detailed description of specific embodiments thereof, taken in conjunction with the accompanying drawings.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flow diagram illustrating a method for displaying map annotations based on inherited characteristics according to an embodiment of the invention;
FIG. 2 is a flow diagram illustrating a method for displaying map markers based on inherited characteristics according to another embodiment of the invention;
FIG. 3 is a schematic structural diagram of a map annotation display device based on inheritance property according to an embodiment of the invention; and
fig. 4 is a schematic structural diagram of a map annotation display device based on an inheritance characteristic according to another embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
In order to solve the above technical problem, an embodiment of the present invention provides a map annotation display method based on inheritance characteristics. Fig. 1 is a flowchart illustrating a map annotation display method based on inheritance characteristics according to an embodiment of the present invention. Referring to fig. 1, the method includes at least steps S102 to S112.
And step S102, extracting map marks contained in the map with different scales from the existing map data, and distributing a unique mark point ID for the extracted map marks.
In this step, the map annotation refers to the annotation and various descriptions on the map, and may include a place name annotation, a description annotation, a map sheet annotation, and the like. Here, each map annotation is assigned with a unique annotation point ID, which may be in any identification form, for example, a number identification, a character string identification, an identification in the form of a combination of a number and a character string, and the like, and this is not specifically described in the embodiment of the present invention.
And step S104, respectively reading the mark point IDs of the map marks displayed on the scale maps at all levels, and recording the mark point IDs in a preset list.
And step S106, acquiring the mark point ID of the map mark contained in the map with any level of scale.
And step S108, judging whether map marks contained in the map with any one scale are displayed in the map with the adjacent scale according to the mark point IDs recorded in the preset list. If so, go to step S110, otherwise, go to step S112 and end.
Step S110, the display priority of the map marks which are contained in any one level of scale and displayed in the adjacent level of scale map is increased, and the map marks are preferentially displayed in any one level of scale map.
In the embodiment of the invention, the map marks in each level of scale map are allocated with the unique mark point ID to analyze whether the map marks contained in any level of scale map are displayed in the adjacent level of scale map, if the map marks are displayed, the priority level of the map marks can be properly increased, so that the corresponding map marks in any level of scale map are effectively prevented from being avoided by mark points with higher priority and more importance. According to the scheme, from the perspective of inheritance characteristics of the map, the inheritance proportion is increased, so that the priority of the map marks existing in the two adjacent levels of the scale maps is increased, and the continuity of map mark display in the scale maps at all levels is improved. Furthermore, because the map notes displayed in the map with the scale at all levels are more consistent, the attractiveness of map note display can be effectively improved, and the use experience of a user is improved.
Referring to step S104, in an embodiment of the present invention, in order to conveniently and efficiently manage a large number of map annotation point IDs in the preset list, in the process of recording the annotation point IDs of the map annotations of each scale map in the preset list, the annotation point IDs corresponding to the map annotations included in each scale map may be classified and stored. For example, map notes are classified into resident note, river note, mountain note, and ocean note in the ith-level (i is a positive integer) scale map, and the note point IDs corresponding to the classified map notes are stored in a preset list. For example, the map labels are classified into facility types such as hospital labels, school labels, bank labels, and bus station labels in the i-th scale map, and the label point IDs corresponding to the classified map labels are stored in a preset list.
Referring to step S108 above, in an embodiment of the present invention, a specific determination process for determining whether a map annotation included in a map with any one scale is displayed in a map with an adjacent scale according to the annotation point ID recorded in the preset list may be as follows.
Firstly, matching the marking point ID contained in any one level of the obtained proportional scale map with the marking point ID contained in the adjacent level of the proportional scale map recorded in a preset list. Then, whether the same annotation point ID is matched or not is analyzed, and if the same annotation point ID is matched, the map annotation corresponding to the same annotation point in any one-level scale map can be determined to be displayed in the adjacent one-level scale map before.
In this embodiment, since the map scale is a ratio of a length of a line segment on the map to a length of a corresponding line segment on the real area, the larger the map scale, the smaller the error, the higher the measurement accuracy on the map, and when the measurement accuracy on the map is higher, the more map markers are displayed. Therefore, in order to avoid the important mark points appearing under the large scale from being avoided by the more important mark points, the scale which is one level smaller than any one-level scale can be selected as the scale of the adjacent level. And then, judging whether the map marks contained in the map with any one level of scale are displayed in the map with the adjacent small scale or not according to the mark point IDs recorded in the preset list, if so, increasing the display priority of the map marks contained in the map with any one level of scale and displayed in the map with the adjacent small scale, and preferentially displaying the map marks in the map with any one level of scale.
For example, the map scale comprises M1, M2 and M3 … … Mn in the order from small to large, wherein n is a positive integer. Setting any one-level scale as M (i +1), wherein i is a positive integer less than n, matching the annotation point ID corresponding to the map annotation contained in the M (i +1) scale map with the annotation point ID corresponding to the map annotation contained in the Mi scale map recorded in the preset list, and if the same annotation point ID is matched, determining that the map annotation corresponding to the same annotation point ID in the M (i +1) scale map is displayed in the Mi scale map before.
Of course, a scale one level larger than any one level of scale may be selected as the scale of the adjacent one level, and then, whether the map annotation contained in the map of any one level of scale is displayed in the map of the adjacent one level of scale is determined according to the annotation point ID recorded in the preset list.
In an embodiment of the present invention, it has been described above that the unique annotation point ID assigned to each map annotation may be in any identification form, for example, a number identification, a character string identification, an identification in the form of a combination of numbers and character strings, and the like. In this embodiment, in order to improve the matching and searching efficiency of the annotation point IDs in the proportional scale map in the preset list, if the annotation point IDs allocated to the extracted map annotations correspond to unique number numbers, the annotation point IDs included in any one level of the obtained proportional scale map may be reordered according to the size sequence of the number, and then the ordered annotation point IDs may be sequentially matched with the annotation point IDs included in the adjacent level of the proportional scale map recorded in the preset list according to the size sequence of the annotation point IDs. Therefore, the matching efficiency of the ID of the map marking point is greatly improved, and the problem of missed checking of the ID of the map marking point is effectively solved.
The embodiment of the invention provides another map annotation display method based on inheritance characteristics. Fig. 2 is a flowchart illustrating a map annotation display method based on an inheritance property according to another embodiment of the present invention. Referring to fig. 2, the method includes at least steps S202 to S216.
Step S202, map marks contained in the map with different scales at different levels are extracted from the existing map data, and unique mark point IDs are distributed for the extracted map marks.
Step S204, respectively reading the mark point IDs of the map marks displayed on the scale maps at all levels, and recording the mark point IDs in a preset list.
And S206, distributing different weights to different map marks in each level of scale map according to a preset rule, and displaying the corresponding map marks in each level of scale map according to the sequence of the weights of the map marks from large to small.
And S208, establishing a corresponding relation between the marked point IDs marked on the map in each level of the scale map and the corresponding weights, and storing the corresponding relation in a preset list.
Step S210, acquiring a note point ID of a map note included in any level of the scale map.
Step S212, determining whether the map annotation contained in the map with any one scale is displayed in the map with the adjacent scale according to the annotation point ID recorded in the preset list. If so, go to step S214, otherwise, go to step S216 and end.
In step S214, the display priority of the map label included in the scale of any level and displayed in the map of the adjacent scale is increased, and the map label is preferentially displayed in the map of any level.
In this embodiment, please refer to the above embodiment for specific descriptions of step S202 and step S204, which are not described herein in detail.
In the embodiment of the invention, in order to ensure that the map notes can be continuously displayed in the map and avoid being avoided by other more important map notes, different weights can be distributed to different map notes, and then the corresponding map notes are displayed in each level of scale map according to the principle that the map notes with large weights are preferentially displayed and the map notes with small weights are displayed.
Referring to step S206, in an embodiment of the present invention, when different weights are assigned to different map labels in each level of the scale map according to a preset rule, weights may be assigned to the map labels according to an importance principle of the map labels, for example, a highest weight value is assigned to a most important map label, a weight value lower than the highest weight is assigned to a next most important map label, and so on. In general, when a map is displayed on each scale, the map displayed is marked with many notes. Therefore, in order to facilitate the weight distribution of the map labels, in an optional embodiment, the map labels may be classified first, and then the weight is distributed to the map labels of the corresponding category according to the importance of each type of map label. Of course, the importance of different map labels in the same category may also be different, so that according to the actual situation, after the weight is assigned to each map label in each category, the corresponding weight is assigned to each map label in each category.
In the embodiment of the invention, after the weight is distributed to the map notes, the corresponding relation between the note point ID of the map notes in each scale map and the corresponding weight can be established, and the established corresponding relation is stored in the preset list. Further, when the display priority of the map annotation contained in any one scale and displayed in the map with the adjacent scale is increased in the subsequent step S214, the weight corresponding to the corresponding map annotation is modified, for example, the weight is increased by a preset value, so as to preferentially display the corresponding map annotation in the map with any one scale. Then, the corresponding relationship between the weight increased by the preset value and the corresponding annotation point ID needs to be stored in the preset list to update the preset list.
Based on the same inventive concept, the embodiment of the invention also provides a map annotation display device based on inheritance characteristics. Fig. 3 is a schematic structural diagram of a map annotation display device based on an inheritance property according to an embodiment of the present invention. Referring to fig. 3, the inheritance characteristic-based map annotation display device 300 at least includes an extraction module 310, a recording module 320, a judgment module 330, and a display module 340.
The functions of the components or devices of the inheritance characteristic-based map annotation display device 300 and the connection relationship between the components will now be described:
the extraction module 310 is suitable for extracting map marks contained in maps with different scales from the existing map data and distributing unique mark point IDs for the extracted map marks;
a recording module 320, coupled to the extracting module 310, adapted to read the annotation point IDs of the map annotations displayed on each level of the scale map, respectively, and record them in a preset list;
the judging module 330 is coupled to the recording module 320 and adapted to obtain the annotation point ID of the map annotation contained in the map with any one scale, and judge whether the map annotation contained in the map with any one scale is displayed in the map with an adjacent scale according to the annotation point ID recorded in the preset list;
the display module 340 and the judgment module 330 are adapted to, if the judgment module 330 judges that the map annotation included in the map with any one scale is displayed in the map with the adjacent scale according to the annotation point ID recorded in the preset list, increase the display priority of the map annotation included in the map with any one scale and displayed in the map with the adjacent scale, and preferentially display the map annotation in the map with any one scale.
In an embodiment of the present invention, the determining module 330 is further adapted to match the annotation point ID included in the acquired any one-level scale map with the annotation point ID included in the adjacent one-level scale map recorded in the preset list. And if the same annotation point ID is matched, determining that the map annotation corresponding to the same annotation point ID in any one-level scale map is displayed in the adjacent one-level scale map.
In an embodiment of the present invention, the determining module 330 is further adapted to, first, reorder the annotation point IDs included in the acquired map with any one of the scales according to the size order of the numbers. And then, sequentially matching the sorted marking point IDs with the marking point IDs contained in the adjacent primary scale map recorded in the preset list.
In an embodiment of the present invention, the determining module 330 is further adapted to determine whether a map annotation contained in the map with any one scale is displayed in the adjacent map with the smaller scale according to the annotation point ID recorded in the preset list. If yes, the display priority of the map marks which are contained in any one level of scale and displayed in the adjacent map with the smaller scale is increased, and the map marks are preferentially displayed in the map with the smaller scale.
The embodiment of the invention also provides another map annotation display device based on the inheritance characteristic. Fig. 4 is a schematic structural diagram of a map annotation display device based on an inheritance characteristic according to another embodiment of the invention. Referring to fig. 4, the inheritance characteristic-based map annotation display device 300 at least comprises an extraction module 310, a recording module 320, a judgment module 330, a display module 340, an assignment module 350 and a creation module 360.
The specific implementation of the extracting module 310, the recording module 320, the determining module 330, and the displaying module 340 in this embodiment is the same as that in the above embodiment, and therefore, for related introduction, reference is made to the above embodiment, and details are not repeated here.
The distribution module 350 is coupled with the recording module 320 and is suitable for distributing different weights to different map notes in each level of scale map according to a preset rule, and corresponding map notes are specified to be displayed in each level of scale map according to the sequence of the map note weights from large to small;
the establishing module 360 is coupled to the allocating module 350 and the determining module 330, and is adapted to establish a corresponding relationship between the annotation point IDs of the map annotations in the map of each scale and the corresponding weights, and store the corresponding relationship in a preset list.
In an embodiment of the present invention, the display module 340 is further adapted to, first, increase the weight corresponding to the map annotation contained in any one of the scales and displayed in the map of the adjacent scale by a preset value. Then, the corresponding relationship between the weight increased by the preset value and the corresponding annotation point ID is stored in the preset list to update the preset list.
An embodiment of the present invention further provides a computer storage medium storing computer program code, which, when run on a computing device, causes the computing device to execute the inheritance characteristic-based map annotation display method in any one of the above embodiments.
In addition, an embodiment of the present invention further provides a computing device, including a processor; a memory storing computer program code; the computer program code, when executed by the processor, causes the computing device to perform the inheritance property based map annotation display method of any one of the embodiments above.
According to any one or a combination of the above preferred embodiments, the following advantages can be achieved by the embodiments of the present invention:
in the embodiment of the invention, firstly, map marks contained in maps with different scales are extracted from the existing map data, and unique mark point IDs are distributed for the extracted map marks. Then, the note point IDs of the map notes displayed on each level of the scale map are read respectively and recorded in a preset list. And then, acquiring the mark point ID of the map mark contained in the map with any one level of scale, judging whether the map mark contained in the map with any one level of scale is displayed in the map with the adjacent level of scale according to the mark point ID recorded in the preset list, if so, increasing the display priority of the map mark contained in the map with any one level of scale and displayed in the map with the adjacent level of scale, and preferentially displaying the map mark in the map with any one level of scale. Therefore, the embodiment of the invention allocates the unique annotation point ID for the map annotation in each level of the scale map to analyze whether the map annotation contained in any level of the scale map is displayed in the adjacent level of the scale map, and if the map annotation contained in any level of the scale map is displayed, the priority level of the map annotation can be properly increased, so that the corresponding map annotation in any level of the scale map is effectively prevented from being avoided by the annotation point with higher priority and more important. According to the scheme, from the perspective of inheritance characteristics of the map, the inheritance proportion is increased, so that the priority of the map marks existing in the two adjacent levels of the scale maps is increased, and the continuity of map mark display in the scale maps at all levels is improved. Furthermore, because the map notes displayed in the map with the scale at all levels are more consistent, the attractiveness of map note display can be effectively improved, and the use experience of a user is improved.
It is clear to those skilled in the art that the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and for the sake of brevity, further description is omitted here.
In addition, the functional units in the embodiments of the present invention may be physically independent of each other, two or more functional units may be integrated together, or all the functional units may be integrated in one processing unit. The integrated functional units may be implemented in the form of hardware, or in the form of software or firmware.
Those of ordinary skill in the art will understand that: the integrated functional units, if implemented in software and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computing device (e.g., a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention when the instructions are executed. And the aforementioned storage medium includes: u disk, removable hard disk, Read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disk, and other various media capable of storing program code.
Alternatively, all or part of the steps of implementing the foregoing method embodiments may be implemented by hardware (such as a computing device, e.g., a personal computer, a server, or a network device) associated with program instructions, which may be stored in a computer-readable storage medium, and when the program instructions are executed by a processor of the computing device, the computing device executes all or part of the steps of the method according to the embodiments of the present invention.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments can be modified or some or all of the technical features can be equivalently replaced within the spirit and principle of the present invention; such modifications or substitutions do not depart from the scope of the present invention.

Claims (10)

1. A map annotation display method based on inheritance characteristics comprises the following steps:
extracting map marks contained in maps with different levels of proportional scales from the existing map data, and distributing a unique mark point ID for the extracted map marks;
respectively reading the marking point IDs of the map markings displayed on each level of scale map, and recording the marking point IDs in a preset list;
acquiring the marking point ID of the map marking contained in any level of scale map, and judging whether the map marking contained in any level of scale map is displayed in the map of the adjacent level of scale according to the marking point ID recorded in the preset list;
if yes, the display priority of the map marks which are contained in any one-level scale and displayed in the adjacent one-level scale map is increased, and the map marks are preferentially displayed in the any one-level scale map.
2. The method according to claim 1, wherein the step of judging whether the map annotation contained in the map with any one scale is displayed in the map with the adjacent scale according to the annotation point ID recorded in the preset list comprises the following steps:
matching the marking point ID contained in any one-level scale map with the marking point ID contained in the adjacent one-level scale map recorded in the preset list;
and if the same annotation point ID is matched, determining that the map annotation corresponding to the same annotation point ID in any one-level scale map is displayed in the adjacent one-level scale map.
3. The method according to claim 1 or 2, wherein if the annotation point ID allocated to the extracted map annotation corresponds to a unique number, matching the annotation point ID contained in any one of the acquired scale maps with the annotation point ID contained in an adjacent scale map recorded in the preset list comprises:
reordering the marking point IDs contained in the obtained map with any scale level according to the size sequence of the numbers;
and sequentially matching the sorted marking point IDs with the marking point IDs contained in the adjacent first-level scale map recorded in the preset list.
4. The method according to any one of claims 1-3, further comprising:
distributing different weights for different map notes in each level of scale map according to a preset rule, and displaying corresponding map notes in each level of scale map according to the sequence of the weights of the map notes from large to small;
and establishing a corresponding relation between the marked point ID of the map marks in each level of scale map and the corresponding weight, and storing the corresponding relation in the preset list.
5. The method according to any one of claims 1 to 4, wherein the increasing of the display priority of the map notes included in any one level scale and displayed in the adjacent one level scale map and the preferentially displaying in the any one level scale map comprises:
increasing the weight corresponding to the map mark contained in any one level of scale and displayed in the map of the adjacent level of scale by a preset value;
and storing the corresponding relation between the weight increased by the preset numerical value and the corresponding marking point ID in the preset list so as to update the preset list.
6. The method according to any one of claims 1 to 5, wherein judging whether map marks contained in the map with any one scale are displayed in the map with the adjacent scale according to the mark point IDs recorded in the preset list comprises the following steps:
judging whether map marks contained in any level of scale map are displayed in the adjacent map with a small scale according to the mark point IDs recorded in the preset list;
if yes, the display priority of the map marks which are contained in any one-level scale and displayed in the adjacent small-level scale map is increased, and the map marks are preferentially displayed in the map with any one-level scale.
7. A map annotation display device based on inheritance characteristics, comprising:
the extraction module is suitable for extracting map marks contained in maps with different scales from the existing map data and distributing unique mark point IDs for the extracted map marks;
the recording module is suitable for respectively reading the mark point IDs of the map marks displayed on each level of scale map and recording the mark point IDs in a preset list;
the judging module is suitable for acquiring the mark point ID of the map mark contained in any level of the proportional scale map and judging whether the map mark contained in any level of the proportional scale map is displayed in the map of the adjacent level of the proportional scale according to the mark point ID recorded in the preset list;
and the display module is suitable for increasing the display priority of the map marks contained in the map with any one level of scale and displayed in the map with the adjacent level of scale and preferentially displaying the map marks in the map with any one level of scale if the judgment module judges that the map marks contained in the map with any one level of scale are displayed in the map with the adjacent level of scale according to the mark point ID recorded by the preset list.
8. The apparatus of claim 7, wherein the determining module is further adapted to:
matching the marking point ID contained in any one-level scale map with the marking point ID contained in the adjacent one-level scale map recorded in the preset list;
and if the same annotation point ID is matched, determining that the map annotation corresponding to the same annotation point ID in any one-level scale map is displayed in the adjacent one-level scale map.
9. A computer storage medium storing computer program code which, when run on a computing device, causes the computing device to perform the inheritance property-based map annotation display method of any one of claims 1 to 6.
10. A computing device, comprising: a processor; a memory storing computer program code; the computer program code, when executed by the processor, causes the computing device to perform the method of displaying map annotations based on inherited characteristics of any of claims 1-6.
CN201811161668.9A 2018-09-30 2018-09-30 Map annotation display method and device based on inheritance characteristics Pending CN110648582A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811161668.9A CN110648582A (en) 2018-09-30 2018-09-30 Map annotation display method and device based on inheritance characteristics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811161668.9A CN110648582A (en) 2018-09-30 2018-09-30 Map annotation display method and device based on inheritance characteristics

Publications (1)

Publication Number Publication Date
CN110648582A true CN110648582A (en) 2020-01-03

Family

ID=69009136

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811161668.9A Pending CN110648582A (en) 2018-09-30 2018-09-30 Map annotation display method and device based on inheritance characteristics

Country Status (1)

Country Link
CN (1) CN110648582A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001038826A1 (en) * 1999-11-24 2001-05-31 Honeywell International, Inc. Labeling of moving maps
CN101901494A (en) * 2010-07-23 2010-12-01 中国科学院计算技术研究所 Method and system for automatically realizing map lettering
CN102063833A (en) * 2010-12-17 2011-05-18 中国科学院计算技术研究所 Method for drawing synchronously displayed symbols and marks of dot map layers of map
CN102930049A (en) * 2012-11-16 2013-02-13 沈阳美行科技有限公司 Embedded compiling method of user interest point data capable of supporting increment update
CN104252529A (en) * 2014-09-04 2014-12-31 百度在线网络技术(北京)有限公司 Method and device for loading map annotations
US20150187337A1 (en) * 2013-05-15 2015-07-02 Google Inc. Resolving label collisions on a digital map
CN105589869A (en) * 2014-10-22 2016-05-18 方正国际软件(北京)有限公司 Note generation method and device of geographic information system
CN105677653A (en) * 2014-11-18 2016-06-15 北京四维图新科技股份有限公司 Electronic map caption tagging method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001038826A1 (en) * 1999-11-24 2001-05-31 Honeywell International, Inc. Labeling of moving maps
CN101901494A (en) * 2010-07-23 2010-12-01 中国科学院计算技术研究所 Method and system for automatically realizing map lettering
CN102063833A (en) * 2010-12-17 2011-05-18 中国科学院计算技术研究所 Method for drawing synchronously displayed symbols and marks of dot map layers of map
CN102930049A (en) * 2012-11-16 2013-02-13 沈阳美行科技有限公司 Embedded compiling method of user interest point data capable of supporting increment update
US20150187337A1 (en) * 2013-05-15 2015-07-02 Google Inc. Resolving label collisions on a digital map
CN104252529A (en) * 2014-09-04 2014-12-31 百度在线网络技术(北京)有限公司 Method and device for loading map annotations
CN105589869A (en) * 2014-10-22 2016-05-18 方正国际软件(北京)有限公司 Note generation method and device of geographic information system
CN105677653A (en) * 2014-11-18 2016-06-15 北京四维图新科技股份有限公司 Electronic map caption tagging method and device

Similar Documents

Publication Publication Date Title
JP6991163B2 (en) How to push information and devices
CN106708909A (en) Data quality detection method and apparatus
CN111340054A (en) Data labeling method and device and data processing equipment
CN103514199A (en) Method and device for POI data processing and method and device for POI searching
CN109086814A (en) A kind of data processing method, device and the network equipment
CN110659352B (en) Test question examination point identification method and system
CN105786898B (en) A kind of construction method and device of domain body
CN111222336A (en) Method and device for identifying unknown entity
CN109522275B (en) Label mining method based on user production content, electronic device and storage medium
US20230045330A1 (en) Multi-term query subsumption for document classification
CN109800354A (en) A kind of resume modification intension recognizing method and system based on the storage of block chain
CN115081025A (en) Sensitive data management method and device based on digital middlebox and electronic equipment
CN111144109B (en) Text similarity determination method and device
CN110990651B (en) Address data processing method and device, electronic equipment and computer readable medium
CN112434211A (en) Data processing method, device, storage medium and equipment
CN110705278A (en) Subjective question marking method and subjective question marking device
CN113344125A (en) Long text matching identification method and device, electronic equipment and storage medium
CN113255369A (en) Text similarity analysis method and device and storage medium
CN115907275B (en) Method for generating equipment recommendation information based on product characteristics and electronic equipment
CN110648582A (en) Map annotation display method and device based on inheritance characteristics
CN111782973A (en) Interest point state prediction method and device, electronic equipment and storage medium
CN110414579A (en) Metadata schema closes mark property inspection method and device, storage medium
CN114943219A (en) Method, device and equipment for generating bill of material test data and storage medium
CN114782224A (en) Webpage evaluation cheating monitoring method and device based on user characteristics and electronic equipment
CN114067343A (en) Data set construction method, model training method and corresponding device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200103

RJ01 Rejection of invention patent application after publication