[go: up one dir, main page]

CN110853488B - A POI label display method, device and device - Google Patents

A POI label display method, device and device Download PDF

Info

Publication number
CN110853488B
CN110853488B CN201911031955.2A CN201911031955A CN110853488B CN 110853488 B CN110853488 B CN 110853488B CN 201911031955 A CN201911031955 A CN 201911031955A CN 110853488 B CN110853488 B CN 110853488B
Authority
CN
China
Prior art keywords
poi
display
poi label
label
center point
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.)
Active
Application number
CN201911031955.2A
Other languages
Chinese (zh)
Other versions
CN110853488A (en
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.)
Guangzhou Code Stone Information Technology Co ltd
Original Assignee
Guangzhou Code Stone Information 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 Guangzhou Code Stone Information Technology Co ltd filed Critical Guangzhou Code Stone Information Technology Co ltd
Priority to CN201911031955.2A priority Critical patent/CN110853488B/en
Publication of CN110853488A publication Critical patent/CN110853488A/en
Application granted granted Critical
Publication of CN110853488B publication Critical patent/CN110853488B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/005Map projections or methods associated specifically therewith
    • 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/10Map spot or coordinate position indicators; Map reading aids

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Business, Economics & Management (AREA)
  • Educational Administration (AREA)
  • Educational Technology (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)
  • Navigation (AREA)

Abstract

本发明公开了一种POI标签显示方法,包括:计算POI标签的第一中心点的位置信息和POI显示区域;计算所述POI标签的投影在显示界面上的第二中心点的位置信息;计算与所述POI标签对应的物体的投影在所述显示界面上的物体投影区域;根据所述第一中心点的位置信息、所述第二中心点的位置信息、所述POI显示区域和所述物体投影区域判断所述POI标签是否满足预设显示条件;当所述POI标签满足所述预设显示条件时,在所述显示界面上对所述POI标签进行显示。本发明还公开了一种POI标签显示装置和POI标签显示设备。采用本发明实施例,不需要人工去选取POI标签的位置,简化POI标签的位置标注,同时改善地图上杂乱无章的标签,带来更好的用户体验。

Figure 201911031955

The invention discloses a POI label display method, comprising: calculating the position information of the first center point of the POI label and the POI display area; calculating the position information of the second center point of the POI label projected on the display interface; calculating The object projection area of the object corresponding to the POI label projected on the display interface; according to the position information of the first center point, the position information of the second center point, the POI display area and the The object projection area judges whether the POI label satisfies the preset display condition; when the POI label satisfies the preset display condition, the POI label is displayed on the display interface. The invention also discloses a POI label display device and a POI label display device. By adopting the embodiments of the present invention, it is not necessary to manually select the position of the POI label, which simplifies the location labeling of the POI label, improves the disordered labels on the map, and brings a better user experience.

Figure 201911031955

Description

POI (Point of interest) label display method, device and equipment
Technical Field
The invention relates to the field of electronic maps, in particular to a POI (point of interest) label display method, device and equipment.
Background
In an electronic map, the display or hiding of a POI label is a most basic function and characteristic, and the advantages and disadvantages realized by the characteristic have great influence on the display of the electronic map or an electronic map engine. The common display and hiding rules of the POI labels are controlled by the scaling of a map, firstly, the positions of the labels to be displayed on the map are selected, the POI labels correspond to the areas corresponding to the POI in a data structure and a database, meanwhile, the display conditions of the POI labels need to be set, such as the conditions that the resolution is higher than the display degree, the resolution is lower than the display degree, the hiding degree and the like, so as to control the display and the hiding of the POI labels, and the collision among the POI labels needs to be detected, so that the superposition among the POI labels is avoided. In the above process, manual participation in position marking of the POI tag is required, and the display condition is determined only by the resolution and whether collision occurs, and the judgment of the display condition is not strict enough, which results in disorder display of the POI tag on the map.
Disclosure of Invention
The embodiment of the invention aims to provide a method, a device and equipment for displaying a POI label, which do not need to select the position of the POI label manually, simplify the position marking of the POI label, improve disordered labels on a map and bring better user experience.
In order to achieve the above object, an embodiment of the present invention provides a POI tag display method, including:
calculating position information of a first central point of the POI label and a POI display area;
calculating the position information of a second central point projected on a display interface by the POI label;
calculating an object projection area of an object corresponding to the POI label projected on the display interface;
judging whether the POI label meets a preset display condition or not according to the position information of the first central point, the position information of the second central point, the POI display area and the object projection area;
and when the POI label meets the preset display condition, displaying the POI label on the display interface.
Compared with the prior art, the POI label display method disclosed by the embodiment of the invention is suitable for a two-dimensional map or a three-dimensional map, the display rule is formulated by calculating the position relationship between the POI label and the corresponding object, the type of the POI label is not required to be marked manually, but the position to be presented by the POI label is calculated automatically, so that the position marking of the POI label is greatly simplified, in addition, the display rule is not required to be determined by the resolution of a display interface, but is determined based on the position relationship between the POI label and the corresponding object, so that the judgment rule is more rigorous, the disordered label on the map can be improved, and better user experience is brought.
As an improvement of the above scheme, the preset display condition includes that the object projection area is greater than a preset area threshold, the second center point is within the display interface, the object projection area includes the POI display area, and the first center point is not occluded.
As an improvement of the above, the method further comprises:
judging the type of the POI label; the types of the POI labels comprise a POI label consisting of one character string and a POI label consisting of at least two character strings;
then, when the POI tag meets the preset display condition, displaying the POI tag on the display interface, specifically including:
when the POI label meets the preset display condition and the type of the POI label is the POI label consisting of a character string, displaying the POI label on the display interface;
and when the POI label meets the preset display condition, the type of the POI label is a POI label consisting of at least two character strings, and the projection of each character string is not overlapped on the display interface, displaying the POI label on the display interface.
As an improvement of the above scheme, the POI display area is represented by a rectangular area formed by a lower left corner vertex and an upper right corner vertex of the POI label projected on the display interface.
As an improvement of the above scheme, the object projection area is represented by an area formed by an upper left corner vertex, a lower left corner vertex, an upper right corner vertex and a lower right corner vertex of the object projected on the display interface.
As an improvement of the above scheme, the displaying the POI tag on the display interface specifically includes:
aligning a center point of the POI tag with a center point of the object, and displaying the POI tag directly above the object.
In order to achieve the above object, an embodiment of the present invention further provides a POI tag display apparatus, including:
the calculation module is used for calculating the position information of the first central point of the POI label and the POI display area; calculating the position information of a second central point projected on a display interface by the POI label; calculating an object projection area of an object corresponding to the POI label projected on the display interface;
the judgment module is used for judging whether the POI label meets a preset display condition or not according to the position information of the first central point, the position information of the second central point, the POI display area and the object projection area;
and the display module is used for displaying the POI label on the display interface when the POI label meets the preset display condition.
As an improvement of the above scheme, the preset display condition includes that the object projection area is greater than a preset area threshold, the second center point is within the display interface, the object projection area includes the POI display area, and the first center point is not occluded.
As an improvement of the above scheme, the determining module is further configured to determine the type of the POI tag; the types of the POI labels comprise a POI label consisting of one character string and a POI label consisting of at least two character strings;
then, the display module is specifically configured to:
when the POI label meets the preset display condition and the type of the POI label is the POI label consisting of a character string, displaying the POI label on the display interface;
and when the POI label meets the preset display condition, the type of the POI label is a POI label consisting of at least two character strings, and the projection of each character string is not overlapped on the display interface, displaying the POI label on the display interface.
In order to achieve the above object, an embodiment of the present invention further provides a POI tag display apparatus, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, where the processor implements the POI tag display method according to any one of the above embodiments when executing the computer program.
Drawings
Fig. 1 is a flowchart of a POI tag display method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a POI tag and an object on a display interface in a POI tag display method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a POI display area in a POI tag display method according to an embodiment of the present invention;
fig. 4 is a schematic diagram of an object projection area of an object in a POI tag display method according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating a relationship between a POI display area and an object projection area in a POI tag display method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a POI tag display apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a POI tag display apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Referring to fig. 1, fig. 1 is a flowchart of a POI tag display method according to an embodiment of the present invention; the method comprises the following steps:
s1, calculating the position information of the first central point of the POI label and the POI display area;
s2, calculating the position information of a second central point of the POI label projected on the display interface;
s3, calculating an object projection area of the object corresponding to the POI label projected on the display interface;
s4, judging whether the POI label meets a preset display condition or not according to the position information of the first central point, the position information of the second central point, the POI display area and the object projection area;
and S5, when the POI label meets the preset display condition, displaying the POI label on the display interface.
It should be noted that the POI tag display method according to the embodiment of the present invention may be implemented by a client, and the client may be a mobile phone, a computer, or the like. The POI label display method is suitable for a two-dimensional map or a three-dimensional map. Referring to fig. 2, fig. 2 is a schematic diagram of a POI tag and an object on a display interface in a POI tag display method according to an embodiment of the present invention; the POI tag, i.e. the text "267" in the figure, and the like, in the above figure, "267" represents an object identified as 267, which is represented in the form of a geometric body in the embodiment of the present invention, and in other embodiments, the object may be directly represented by the outer contour of the object, which is within the protection scope of the present invention.
Specifically, in step S1, position information of a first center point of the POI tag is calculated; regardless of the height of the POI tag, the fixed point coordinates of one of the POI tags can be expressed as an ordered structure as follows: [ P0, P1, P2 … ], wherein P0 represents the point with sequence number 0, and so on. P0 is a two-dimensional coordinate denoted [ x0, y0 ].
The method of calculating the first center point is as follows: respectively calculating the maximum value and the minimum value of the POI label in the x dimension and the y dimension, and respectively recording the maximum value and the minimum value as follows: minX, minY, maxX, maxY then the coordinates of the first center point are: [ (minX + maxX)/2, (minY + maxY)/2], is recorded as center, which is the display coordinate of the POI tag.
Setting the two-dimensional size of the POI tag as follows: width w, height h; the vertex coordinates of the POI tag on the display interface may be expressed as follows:
lower left corner, [ cents [0] -w/2, cents [1] -h/2 ];
in the upper right corner, [ centerS S [0] + w/2, centerS [1] + h/2 ].
Referring to fig. 3, fig. 3 is a schematic diagram of a POI display area in a POI tag display method according to an embodiment of the present invention; preferably, the POI display area is represented by a rectangular area formed by a vertex at the lower left corner and a vertex at the upper right corner of the POI tag on the display interface.
Specifically, in step S2, the position information of the second center point projected on the display interface and the POI display area of the POI tag are calculated. And calculating a second central point of the projection of the display coordinate center of the POI label on the display interface, and recording the second central point as center S.
Specifically, in step S3, an object projection area of the object corresponding to the POI tag projected on the display interface is calculated. Firstly, the projection of the object on the display screen is calculated, and the calculation method of the projection is as follows:
let the vertex sequence of the geometry be:
[v0,v1,v2…];
the vertex coordinates can be two-dimensional, corresponding to a two-dimensional map, or three-dimensional, corresponding to a three-dimensional map, and the projection sequence of each corresponding vertex on the display interface is as follows:
[vs0,vs1,vs2…];
the projection sequences are two-dimensional fixed points, and the minimum maximum values of the projection sequences on the x axis and the y axis are respectively calculated and recorded as: minX, minY, maxX, maxY, then the four vertices that make up the projection region (i.e., the object projection region) are as follows:
the upper left corner: [ minX, maxY ];
lower left corner: [ minX, minY ];
the upper right corner: [ maxX, maxY ];
lower right corner: [ maxX, minY ].
Preferably, referring to fig. 4, fig. 4 is a schematic diagram of an object projection area of an object in a POI tag display method according to an embodiment of the present invention; the object projection area is represented by an area formed by the top left corner vertex, the bottom left corner vertex, the top right corner vertex and the bottom right corner vertex of the object projected on the display interface.
Specifically, in steps S4 to S5, it is determined whether the POI tag satisfies a preset display condition according to the position information of the first center point, the position information of the second center point, the POI display area, and the object projection area; and when the POI label meets the preset display condition, displaying the POI label on the display interface.
Preferably, the preset display condition includes that the object projection area is larger than a preset area threshold, the second central point is in the display interface, the object projection area includes the POI display area, and the first central point is not blocked, the preset display condition is specifically described below, the POI tag is displayed only when the following four rules are simultaneously satisfied, and the rule of the specific preset display condition is as follows:
rule one is as follows: if the two-dimensional projection area (namely the object projection area) of the object corresponding to the POI tag is larger than a preset pixel value, the POI tag can be displayed, otherwise, the POI tag is not displayed, and the preset pixel value can be customized according to specific conditions;
rule two: if the center point (i.e., the second center point) of the object corresponding to the POI tag is within the range of the projection screen, the POI tag can be displayed, otherwise, the POI tag is not displayed;
rule three: if the two-dimensional projection area (i.e., the object projection area) of the object corresponding to the POI tag includes the two-dimensional projection area (i.e., the POI display area) of the POI tag, the POI tag can be displayed, otherwise, the POI tag is not displayed;
rule four: if the POI tag center point position (i.e. the first center point) is not occluded by other geometric objects, it can be displayed, otherwise, it is not displayed.
Further, the method further comprises:
judging the type of the POI label; the types of the POI labels comprise a POI label consisting of one character string and a POI label consisting of at least two character strings;
then, when the POI tag meets the preset display condition, displaying the POI tag on the display interface, specifically including:
when the POI label meets the preset display condition and the type of the POI label is the POI label consisting of a character string, displaying the POI label on the display interface;
and when the POI label meets the preset display condition, the type of the POI label is a POI label consisting of at least two character strings, and the projection of each character string is not overlapped on the display interface, displaying the POI label on the display interface.
At this time, the condition that whether the POI tag is displayed needs to be determined includes five conditions, and the POI tag can be displayed only when five rules are simultaneously satisfied.
Further, the displaying the POI tag on the display interface specifically includes:
aligning a center point of the POI tag with a center point of the object, and displaying the POI tag directly above the object.
The present solution is further illustrated below with reference to specific examples:
s1, taking the electronic map in fig. 1 as an example, selecting geometric body "267", where the corresponding vertex coordinates are expressed in the world coordinate system as follows:
[ [12563180.14,3276702.68], [12563182.46,3276702.68], [12563182.46,3276697.73], [12563180.14,3276697.73], [12563180.14,3276702.68] ]; wherein the last vertex and the first vertex coincide and represent a closure, in accordance with the specification definition of polygon of geojson.
Calculating the first center point: minimum value along x axis minX:12563180.14, maximum value maxX: 12563182.46; the minimum along the y-axis is minY 3276697.73, the maximum is maxY: 3276702.68, respectively; the first center point center is: [12563181.3,3276700.205 ]; this step may be an online real-time calculation or an offline pre-processing.
Setting the two-dimensional size of the POI label: width w: 16pix, height h: 8 pix; the vertex coordinates of the POI tag on the screen are: bottom left corner [377,60 ]; upper right corner [393,68 ]; the POI display area is composed of the lower left corner vertex and the upper right corner vertex.
S2, projecting the center calculated in S1 on the screen, and recording the center as a center S (namely the second center point), wherein the center S is a coordinate which takes the screen as a reference coordinate system and takes a pixel as a unit, and the center S is [385,64] when the screen is viewed at a certain angle;
s3, projecting 4 vertexes [ v0, v1, v2, v3] into a screen coordinate system to obtain four vertexes [ vs0, vs1, vs2, vs3] of the screen coordinate system, calculating the minimum maximum value of x-axis and y-axis components of the 4 vertexes to obtain: minX:373, maxX:400, minY:50, and maxY: 70.
The object projection area, which consists of these four values, is: the upper left corner: [373,70 ]; lower left corner: [373,50 ]; the upper right corner: [400,70 ]; lower right corner: [400,50].
S4: judging whether the POI label should be displayed according to five rules:
rule one is as follows: calculating the area of the object projection area:
the width is: 400-; the height is as follows: 70-50 ═ 20; its area is 27 x 20-540. If the preset pixel value customized by the user is greater than 540, the POI tag is not displayed, otherwise, the POI tag may be displayed, in the embodiment of the present invention, the value x is 500, so that rule one is satisfied.
Rule two: and judging whether the second center point centerS calculated in the second step is within the screen, wherein in the embodiment of the invention, the second center point centerS is within the screen, so that the rule two is satisfied.
Rule three: the POI display area is described as: lower left corner: [377,60], upper right corner: [393,68 ]. The object projection area is described as: the upper left corner: [373,70 ]; lower left corner: [373,50 ]; the upper right corner: [400,70 ]; lower right corner: [400,50]. Fig. 5 is a schematic diagram illustrating a screen coordinate system in an intuitive manner, where fig. 5 is a schematic diagram illustrating a relationship between a POI display area and an object projection area in a POI tag display method according to an embodiment of the present invention. Obviously, the projection area of the POI tag on the screen is within the projection area of the geometry corresponding to the POI tag on the screen, so that rule three is satisfied.
Rule four: if the first central point of the POI tag is not occluded, it may be displayed, and if it is occluded, the first central point of the POI tag is not occluded in the scene of the embodiment of the present invention, so that rule four is satisfied.
Rule five: since the POI tag in the embodiment of the present invention belongs to a POI tag composed of one character string, rule five is satisfied.
In summary of the first to fifth rules, the POI tags in the embodiments of the present invention all satisfy the first to fifth rules, so that the POI tags can be displayed on the object.
Compared with the prior art, the POI label display method disclosed by the embodiment of the invention is suitable for a two-dimensional map or a three-dimensional map, the display rule is formulated by calculating the position relationship between the POI label and the corresponding object, the type of the POI label is not required to be marked manually, but the position to be presented by the POI label is calculated automatically, so that the position marking of the POI label is greatly simplified, in addition, the display rule is not required to be determined by the resolution of a display interface, but is determined based on the position relationship between the POI label and the corresponding object, so that the judgment rule is more rigorous, the disordered label on the map can be improved, and better user experience is brought.
Example two
Referring to fig. 6, fig. 6 is a schematic structural diagram of a POI label display apparatus 10 according to an embodiment of the present invention; the method comprises the following steps:
the calculation module 11 is configured to calculate position information of a first central point of the POI tag; calculating position information of a second central point projected on a display interface of the POI label and a POI display area; calculating an object projection area of an object corresponding to the POI label projected on the display interface;
the judging module 12 is configured to judge whether the POI tag meets a preset display condition according to the position information of the first central point, the position information of the second central point, the POI display area, and the object projection area;
and the display module 13 is configured to display the POI tag on the display interface when the POI tag meets the preset display condition.
Preferably, the judging module 12 is further configured to judge the type of the POI tag; the types of the POI labels comprise a POI label consisting of one character string and a POI label consisting of at least two character strings;
then, the display module 13 is specifically configured to:
when the POI label meets the preset display condition and the type of the POI label is the POI label consisting of a character string, displaying the POI label on the display interface;
and when the POI label meets the preset display condition, the type of the POI label is a POI label consisting of at least two character strings, and the projection of each character string is not overlapped on the display interface, displaying the POI label on the display interface.
Preferably, the POI display area is represented by a rectangular area formed by a lower left corner vertex and an upper right corner vertex of the POI tag projected on the display interface. The object projection area is represented by an area formed by the top left corner vertex, the bottom left corner vertex, the top right corner vertex and the bottom right corner vertex of the object projected on the display interface.
Further, the displaying the POI tag on the display interface specifically includes:
aligning a center point of the POI tag with a center point of the object, and displaying the POI tag directly above the object.
For the specific working process of each module, please refer to the specific working process of the POI tag display method in the first embodiment, which is not described herein again.
Compared with the prior art, the POI label display device 10 disclosed in the embodiment of the invention is suitable for a two-dimensional map or a three-dimensional map, and the display rule is formulated by calculating the position relationship between the POI label and the corresponding object, and the position to be presented by the POI label is automatically calculated without manually marking the type of the POI label, so that the position marking of the POI label is greatly simplified.
EXAMPLE III
Referring to fig. 7, fig. 7 is a schematic structural diagram of a POI label display device 20 according to an embodiment of the present invention; the POI tag display device 20 of this embodiment includes: a processor 21, a memory 22 and a computer program stored in said memory 22 and executable on said processor 21. The processor 21, when executing the computer program, implements the steps in the foregoing embodiments of the POI label displaying method, such as step S1 shown in fig. 1. Alternatively, the processor 21, when executing the computer program, implements the functions of the modules/units in the above-mentioned device embodiments, such as the computing module 11.
Illustratively, the computer program may be divided into one or more modules/units, which are stored in the memory 22 and executed by the processor 21 to accomplish the present invention. The one or more modules/elements may be a series of computer program instruction segments capable of performing specific functions that describe the execution of the computer program in the POI tag display device 20. For example, the computer program may be divided into a calculating module 11, a determining module 12 and a displaying module 13, and for the specific functions of each module, reference is made to the specific working process of the POI tag displaying apparatus 10 described in the second embodiment, which is not described herein again.
The POI tag display device 20 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The POI tag display device 20 may include, but is not limited to, a processor 21, a memory 22. Those skilled in the art will appreciate that the schematic diagram is merely an example of the POI tag display device 20 and does not constitute a limitation of the POI tag display device 20 and may include more or less components than those shown, or some components in combination, or different components, for example, the POI tag display device 20 may also include input and output devices, network access devices, buses, etc.
The Processor 21 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. The general purpose processor may be a microprocessor or the processor 21 may be any conventional processor or the like, the processor 21 being the control center for the POI tag display device 20, with various interfaces and wiring connecting the various parts of the overall POI tag display device 20.
The memory 22 may be used to store the computer programs and/or modules, and the processor 21 may implement the various functions of the POI tag display device 20 by operating or executing the computer programs and/or modules stored in the memory 22 and calling data stored in the memory 22. The memory 22 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. In addition, the memory 22 may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Wherein the integrated modules/units of the POI label display device 20, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the above embodiments may be implemented by a computer program, which may be stored in a computer readable storage medium and used by the processor 21 to implement the steps of the above embodiments of the method. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that the above-described device embodiments are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. In addition, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. One of ordinary skill in the art can understand and implement it without inventive effort.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (8)

1.一种POI标签显示方法,其特征在于,包括:1. a POI label display method, is characterized in that, comprises: 计算POI标签的第一中心点的位置信息和POI显示区域;Calculate the position information of the first center point of the POI label and the POI display area; 计算所述POI标签的投影在显示界面上的第二中心点的位置信息;Calculate the position information of the second center point of the projection of the POI label on the display interface; 计算与所述POI标签对应的物体的投影在所述显示界面上的物体投影区域;Calculate the object projection area projected on the display interface of the object corresponding to the POI label; 根据所述第一中心点的位置信息、所述第二中心点的位置信息、所述POI显示区域和所述物体投影区域判断所述POI标签是否满足预设显示条件;其中,所述预设显示条件包括所述物体投影区域大于预设的面积阈值、所述第二中心点在所述显示界面内、所述物体投影区域包含所述POI显示区域且所述第一中心点未被遮挡;According to the position information of the first center point, the position information of the second center point, the POI display area and the object projection area, determine whether the POI label satisfies the preset display conditions; wherein, the preset The display conditions include that the object projection area is larger than a preset area threshold, the second center point is within the display interface, the object projection area includes the POI display area, and the first center point is not blocked; 当所述POI标签满足所述预设显示条件时,在所述显示界面上对所述POI标签进行显示。When the POI label satisfies the preset display condition, the POI label is displayed on the display interface. 2.如权利要求1所述的POI标签显示方法,其特征在于,所述方法还包括:2. POI label display method as claimed in claim 1, is characterized in that, described method also comprises: 判断所述POI标签的类型;其中,所述POI标签的类型包括由一个字符串组成的POI标签和由至少两个字符串组成的POI标签;Judging the type of the POI label; wherein, the type of the POI label includes the POI label formed by a string and the POI label formed by at least two character strings; 则,当所述POI标签满足所述预设显示条件时,在所述显示界面上对所述POI标签进行显示,具体包括:Then, when the POI label meets the preset display condition, the POI label is displayed on the display interface, which specifically includes: 当所述POI标签满足所述预设显示条件且所述POI标签的类型为由一个字符串组成的POI标签时,在所述显示界面上对所述POI标签进行显示;When the POI label satisfies the preset display condition and the type of the POI label is a POI label consisting of a character string, displaying the POI label on the display interface; 当所述POI标签满足所述预设显示条件、所述POI标签的类型为由至少两个字符串组成的POI标签且每一所述字符串的投影在所述显示界面上不重叠时,在所述显示界面上对所述POI标签进行显示。When the POI label satisfies the preset display condition, the type of the POI label is a POI label consisting of at least two character strings, and the projections of each character string do not overlap on the display interface, The POI label is displayed on the display interface. 3.如权利要求1所述的POI标签显示方法,其特征在于,所述POI显示区域由所述POI标签的投影在所述显示界面上的左下角顶点和右上角顶点所组成的矩形区域表示。3. POI label display method as claimed in claim 1, is characterized in that, described POI display area is represented by the rectangular area that the projection of described POI label is formed on the lower left corner vertex and upper right corner vertex on described display interface. . 4.如权利要求1所述的POI标签显示方法,其特征在于,所述物体投影区域由所述物体的投影在所述显示界面上的左上角顶点、左下角顶点、右上角顶点和右下角顶点所组成的区域表示。4. POI label display method as claimed in claim 1 is characterized in that, described object projection area is the upper left corner vertex, lower left corner vertex, upper right vertex and lower right corner of the projection of described object on described display interface A representation of the area composed of vertices. 5.如权利要求1所述的POI标签显示方法,其特征在于,所述在所述显示界面上对所述POI标签进行显示,具体包括:5. The POI label display method according to claim 1, wherein the displaying the POI label on the display interface specifically comprises: 将所述POI标签的中心点与所述物体的中心点对齐,并将所述POI标签显示在所述物体的正上方。Align the center point of the POI label with the center point of the object, and display the POI label just above the object. 6.一种POI标签显示装置,其特征在于,包括:6. A POI label display device, characterized in that, comprising: 计算模块,用于计算POI标签的第一中心点的位置信息和POI显示区域;计算所述POI标签的投影在显示界面上的第二中心点的位置信息;计算与所述POI标签对应的物体的投影在所述显示界面上的物体投影区域;The calculation module is used to calculate the position information of the first center point of the POI label and the POI display area; calculate the position information of the second center point of the POI label projected on the display interface; calculate the object corresponding to the POI label The projection area of the object projected on the display interface; 判断模块,用于根据所述第一中心点的位置信息、所述第二中心点的位置信息、所述POI显示区域和所述物体投影区域判断所述POI标签是否满足预设显示条件;其中,所述预设显示条件包括所述物体投影区域大于预设的面积阈值、所述第二中心点在所述显示界面内、所述物体投影区域包含所述POI显示区域且所述第一中心点未被遮挡;a judgment module, configured to judge whether the POI label satisfies a preset display condition according to the position information of the first center point, the position information of the second center point, the POI display area and the object projection area; wherein , the preset display conditions include that the object projection area is larger than a preset area threshold, the second center point is within the display interface, the object projection area includes the POI display area, and the first center point is not occluded; 显示模块,用于当所述POI标签满足所述预设显示条件时,在所述显示界面上对所述POI标签进行显示。A display module, configured to display the POI label on the display interface when the POI label meets the preset display condition. 7.如权利要求6所述的POI标签显示装置,其特征在于,所述判断模块还用于判断所述判断所述POI标签的类型;其中,所述POI标签的类型包括由一个字符串组成的POI标签和由至少两个字符串组成的POI标签;7. POI label display device as claimed in claim 6, is characterized in that, described judging module is also used for judging described judging the type of described POI label; Wherein, the type of described POI label comprises and is formed by a character string The POI label and the POI label consisting of at least two strings; 则,所述显示模块具体用于:Then, the display module is specifically used for: 当所述POI标签满足所述预设显示条件且所述POI标签的类型为由一个字符串组成的POI标签时,在所述显示界面上对所述POI标签进行显示;When the POI label satisfies the preset display condition and the type of the POI label is a POI label consisting of a character string, displaying the POI label on the display interface; 当所述POI标签满足所述预设显示条件、所述POI标签的类型为由至少两个字符串组成的POI标签且每一所述字符串的投影在所述显示界面上不重叠时,在所述显示界面上对所述POI标签进行显示。When the POI label satisfies the preset display condition, the type of the POI label is a POI label consisting of at least two character strings, and the projections of each character string do not overlap on the display interface, The POI label is displayed on the display interface. 8.一种POI标签显示设备,其特征在于,包括处理器、存储器以及存储在所述存储器中且被配置为由所述处理器执行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1至5中任意一项所述的POI标签显示方法。8. A POI label display device, characterized in that it comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, which is realized when the processor executes the computer program The POI label display method according to any one of claims 1 to 5.
CN201911031955.2A 2019-10-28 2019-10-28 A POI label display method, device and device Active CN110853488B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911031955.2A CN110853488B (en) 2019-10-28 2019-10-28 A POI label display method, device and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911031955.2A CN110853488B (en) 2019-10-28 2019-10-28 A POI label display method, device and device

Publications (2)

Publication Number Publication Date
CN110853488A CN110853488A (en) 2020-02-28
CN110853488B true CN110853488B (en) 2021-07-09

Family

ID=69598856

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911031955.2A Active CN110853488B (en) 2019-10-28 2019-10-28 A POI label display method, device and device

Country Status (1)

Country Link
CN (1) CN110853488B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111694921A (en) * 2020-06-15 2020-09-22 百度在线网络技术(北京)有限公司 Method and apparatus for displaying point of interest identification
CN114756725A (en) * 2022-06-15 2022-07-15 中国信息通信研究院 Method, device, electronic device and storage medium for industrial Internet logo display
CN115618860A (en) * 2022-11-14 2023-01-17 深圳市规划和自然资源数据管理中心(深圳市空间地理信息中心) Word cloud generation method and system that integrates multi-dimensional attributes and spatial relationships of LBS interest points
CN117171277B (en) * 2023-09-08 2024-04-30 北京唯得科技有限公司 Method, system, device and medium for loading mark of electronic map

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101358853A (en) * 2008-08-08 2009-02-04 凯立德欣技术(深圳)有限公司 Interest point search method, interest point search method thereof and navigation system
CN102147795A (en) * 2010-02-05 2011-08-10 北京四维图新科技股份有限公司 Method and device for searching points of interest as well as navigation system
CN104050238A (en) * 2014-05-23 2014-09-17 北京中交兴路信息科技有限公司 Map labeling method and map labeling device
CN104731783A (en) * 2013-12-18 2015-06-24 高德软件有限公司 Method and device for showing interesting points
CN106610976A (en) * 2015-10-22 2017-05-03 高德信息技术有限公司 POI labeling method and device
CN106844604A (en) * 2017-01-17 2017-06-13 维沃移动通信有限公司 The information providing method and mobile terminal of electronic map
CN107478217A (en) * 2017-08-16 2017-12-15 城市生活(北京)资讯有限公司 A POI display method and device
CN108763269A (en) * 2018-04-04 2018-11-06 浩亚信息科技有限公司 A kind of visual chart POI display methods, electronic equipment and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8725407B2 (en) * 2009-11-09 2014-05-13 United Parcel Service Of America, Inc. Enhanced location information for points of interest
US10242114B2 (en) * 2013-12-30 2019-03-26 Microsoft Technology Licensing, Llc Point of interest tagging from social feeds
US10739159B2 (en) * 2016-06-10 2020-08-11 Apple Inc. Labeling a significant location based on contextual data
US10506373B2 (en) * 2016-06-10 2019-12-10 Apple Inc. Harvesting labels for significant locations based on candidate points of interest and contextual data
RU2678077C2 (en) * 2017-05-04 2019-01-23 Общество С Ограниченной Ответственностью "Яндекс" Method for drawing search results on map displayed on electronic device
CN108765275A (en) * 2018-06-01 2018-11-06 广州星海通信息文化服务有限公司 The method for building up and device of three-dimensional map
CN110111151A (en) * 2019-05-10 2019-08-09 四川合锐信息技术有限公司 A kind of accurate advertisement analysis method and system based on crowd's label data

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101358853A (en) * 2008-08-08 2009-02-04 凯立德欣技术(深圳)有限公司 Interest point search method, interest point search method thereof and navigation system
CN102147795A (en) * 2010-02-05 2011-08-10 北京四维图新科技股份有限公司 Method and device for searching points of interest as well as navigation system
CN104731783A (en) * 2013-12-18 2015-06-24 高德软件有限公司 Method and device for showing interesting points
CN104050238A (en) * 2014-05-23 2014-09-17 北京中交兴路信息科技有限公司 Map labeling method and map labeling device
CN106610976A (en) * 2015-10-22 2017-05-03 高德信息技术有限公司 POI labeling method and device
CN106844604A (en) * 2017-01-17 2017-06-13 维沃移动通信有限公司 The information providing method and mobile terminal of electronic map
CN107478217A (en) * 2017-08-16 2017-12-15 城市生活(北京)资讯有限公司 A POI display method and device
CN108763269A (en) * 2018-04-04 2018-11-06 浩亚信息科技有限公司 A kind of visual chart POI display methods, electronic equipment and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
《Semantically Enriched Presentation for Cultural Heritage Image: A POI-Based Perspective》;Xiaoxi Luo等;《2019 ACM/IEEE Joint Conference on Digital Libraries (JCDL)》;20190808;全文 *
《地图服务应用中点标注显示优化方法》;孟城等;《地理空间信息》;20121231;全文 *
《基于四叉树算法的POI分级优化显示方法研究》;葛银杰等;《测绘与空间地理信息》;20171231;第40卷(第3期);全文 *

Also Published As

Publication number Publication date
CN110853488A (en) 2020-02-28

Similar Documents

Publication Publication Date Title
CN110853488B (en) A POI label display method, device and device
US11842438B2 (en) Method and terminal device for determining occluded area of virtual object
CN111815754A (en) A three-dimensional information determination method, three-dimensional information determination device and terminal equipment
US9330466B2 (en) Methods and apparatus for 3D camera positioning using a 2D vanishing point grid
CN110781823B (en) Screen recording detection method and device, readable medium and electronic equipment
CN112100795B (en) Computer aided design drawing comparison method and device
CN108074237B (en) Image sharpness detection method, device, storage medium and electronic device
CN110751620A (en) Method for estimating volume and weight, electronic device, and computer-readable storage medium
US11017557B2 (en) Detection method and device thereof
CN110298785A (en) Image beautification method, device and electronic equipment
CN112598768B (en) Method, system and device for dismantling strokes of Chinese characters in common fonts
CN110119733A (en) Page identification method and device, terminal equipment and computer readable storage medium
CN113407080B (en) Method, device, computer equipment and storage medium for generating component labels
CN110174114B (en) Lane line-level path generation method and device and storage medium
CN108960012B (en) Feature point detection method and device and electronic equipment
CN113362420A (en) Road marking generation method, device, equipment and storage medium
CN114241105A (en) Interface rendering method, device, equipment and computer readable storage medium
CN108986181B (en) Dot-based image processing method, device and computer readable storage medium
CN111105440A (en) Tracking method, device, device and storage medium for target object in video
CN109934058B (en) Face image processing method, device, electronic device, storage medium and program
CN113538623B (en) Method, device, electronic equipment and storage medium for determining target image
TWM623309U (en) English font image recognition system
WO2020124562A1 (en) Image processing method, display device and computer-readable storage medium
CN113870292B (en) Edge detection method and device of depth image and electronic equipment
US20230215033A1 (en) Convex geometry image capture

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
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A POI tag display method, device and equipment

Granted publication date: 20210709

Pledgee: Bank of China Co.,Ltd. Nansha Branch of Guangdong Free Trade Pilot Area

Pledgor: Guangzhou code Stone Information Technology Co.,Ltd.

Registration number: Y2025980029590

PE01 Entry into force of the registration of the contract for pledge of patent right