CN114693778A - Map data processing method, map data processing apparatus, map data processing device, storage medium, and program product - Google Patents

Map data processing method, map data processing apparatus, map data processing device, storage medium, and program product Download PDF

Info

Publication number
CN114693778A
CN114693778A CN202210328067.2A CN202210328067A CN114693778A CN 114693778 A CN114693778 A CN 114693778A CN 202210328067 A CN202210328067 A CN 202210328067A CN 114693778 A CN114693778 A CN 114693778A
Authority
CN
China
Prior art keywords
base map
layer marking
upper layer
map
determining
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.)
Withdrawn
Application number
CN202210328067.2A
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.)
Apollo Zhilian Beijing Technology Co Ltd
Original Assignee
Apollo Zhilian Beijing 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 Apollo Zhilian Beijing Technology Co Ltd filed Critical Apollo Zhilian Beijing Technology Co Ltd
Priority to CN202210328067.2A priority Critical patent/CN114693778A/en
Publication of CN114693778A publication Critical patent/CN114693778A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/206Drawing of charts or graphs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Remote Sensing (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Geometry (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present disclosure provides a map data processing method, apparatus, device, storage medium, and program product, which relate to the technical field of data processing, in particular to the technical field of artificial intelligence, and can be applied to high-precision maps. The specific implementation scheme is as follows: determining a shielding reference value between a base map element and an upper layer marking element according to a base map element coordinate and an upper layer marking element coordinate in map data; determining an occlusion confirmation result according to the occlusion reference value; and adjusting at least one of the map position and the upper layer marking element coordinate under the condition that the occlusion confirmation result is that occlusion exists.

Description

Map data processing method, map data processing apparatus, map data processing device, storage medium, and program product
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to the field of artificial intelligence technologies, which can be applied to high-precision maps, and in particular, to a method, an apparatus, a device, a storage medium, and a program product for processing map data.
Background
Map application provides convenience for people to go out, and how to efficiently process relevant data of map application becomes a subject of intensive research at present.
Disclosure of Invention
The present disclosure provides a map data processing method, apparatus, device, storage medium, and program product.
According to one aspect of the disclosure, a map data processing method is provided, which includes determining an occlusion reference value between a base map element and an upper layer marking element according to a base map element coordinate and an upper layer marking element coordinate in map data; determining an occlusion confirmation result according to the occlusion reference value; and adjusting at least one of the map position and the upper layer marking element coordinate under the condition that the occlusion confirmation result is that occlusion exists.
According to another aspect of the present disclosure, there is provided a map data processing apparatus including: the device comprises an occlusion reference value determining module, an occlusion confirmation result determining module and a first adjusting module, wherein the occlusion reference value determining module is used for determining an occlusion reference value between a base map element and an upper layer marking element according to a base map element coordinate and an upper layer marking element coordinate in map data; the occlusion confirmation result determining module is used for determining an occlusion confirmation result according to the occlusion reference value; and the first adjusting module is used for adjusting at least one of the position of the base map and the coordinates of the upper-layer marking element under the condition that the occlusion confirmation result is that occlusion exists.
According to another aspect of the present disclosure, there is provided an electronic device including: at least one processor and a memory communicatively coupled to the at least one processor. Wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of the disclosed embodiments.
According to another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of the embodiments of the present disclosure.
According to another aspect of the present disclosure, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the method of an embodiment of the present disclosure.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
fig. 1 schematically shows a system architecture diagram of a map data processing method and apparatus according to an embodiment of the present disclosure;
fig. 2 schematically shows a flow chart of a map data processing method according to an embodiment of the present disclosure;
fig. 3 schematically shows a schematic diagram of a map data processing method according to an embodiment of the present disclosure;
FIG. 4A schematically illustrates a schematic diagram of determining an occlusion reference value according to an embodiment of the present disclosure;
fig. 4B schematically shows a schematic diagram of a map data processing method according to another embodiment of the present disclosure;
FIG. 5A schematically illustrates a schematic diagram of determining an adjusted reference value according to an embodiment of the disclosure;
fig. 5B schematically shows a schematic diagram of a map data determination method according to yet another embodiment of the present disclosure;
fig. 6 schematically shows a block diagram of a map data processing apparatus according to an embodiment of the present disclosure; and
fig. 7 schematically shows a block diagram of an electronic device that can implement the map data processing method of the embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
The navigation map application can assist people in travelling conveniently, and with the development of computer technology and internet technology, the navigation map application is continuously optimized and updated, so that more accurate navigation and more comprehensive functions are provided.
The navigation map application provides various functional services based on map data. Map data can be understood as various data related to a map, and the map data includes, for example, base map data, base map elements based on the base map data, and upper layer designation elements. The map data may include, for example, basic road data and the like, and the map elements may include, for example, navigation logos and the like. The navigation map application can also provide various convenient auxiliary functions, and improve the use experience, such as a navigation auxiliary marking function and the like. The navigation auxiliary marking function can cover a part of the base map and display the distance information, the expected time information and the like of the current navigation route on the interface through an upper layer marking element.
In some cases, when the upper layer marking element and the bottom map element are displayed on the interface at the same time, the shielding condition between the upper layer marking element and the bottom map element can occur, and the display effect is affected. For example, when the screen density and resolution are different, there may be a case where there is an occlusion between the upper layer markup element and the bottom map element.
Fig. 1 schematically shows a system architecture of a map data processing method and apparatus according to an embodiment of the present disclosure. It should be noted that fig. 1 is only an example of a system architecture to which the embodiments of the present disclosure may be applied to help those skilled in the art understand the technical content of the present disclosure, and does not mean that the embodiments of the present disclosure may not be applied to other devices, systems, environments or scenarios.
As shown in fig. 1, a system architecture 100 according to this embodiment may include clients 101, 102, 103, a network 104, and a server 105. Network 104 is the medium used to provide communication links between clients 101, 102, 103 and server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
Users can use clients 101, 102, 103 to sign with server 105 through network 104 to receive or send messages, etc. Various messaging client applications may be installed on the clients 101, 102, 103, such as a navigation map application, a shopping-like application, a web browser application, a search-like application, an instant messaging tool, a mailbox client, social platform software, and the like (by way of example only).
Clients 101, 102, 103 may be a variety of electronic devices having display screens and supporting web browsing, including but not limited to smart phones, tablets, laptop and desktop computers, and the like. The clients 101, 102, 103 of the disclosed embodiments may run applications, for example.
The server 105 may be a server that provides various services, such as a back-office management server (for example only) that provides support for websites browsed by users using the clients 101, 102, 103. The background management server may analyze and perform other processing on the received data such as the user request, and feed back a processing result (e.g., a webpage, information, or data obtained or generated according to the user request) to the client. In addition, the server 105 may also be a cloud server, i.e., the server 105 has a cloud computing function.
It should be noted that the map data processing method provided by the embodiment of the present disclosure may be executed by the server 105. Accordingly, the map data processing apparatus provided by the embodiment of the present disclosure may be provided in the server 105. The map data processing method provided by the embodiment of the present disclosure may also be executed by a server or a server cluster that is different from the server 105 and is capable of communicating with the clients 101, 102, 103 and/or the server 105. Accordingly, the map data processing device provided by the embodiment of the present disclosure may also be disposed in a server or a server cluster different from the server 105 and capable of communicating with the clients 101, 102, 103 and/or the server 105.
In one example, the server 105 may obtain the coordinates of the base map element and the coordinates of the upper-level markup element in the map data from the clients 101, 102, 103 through the network 104.
It should be understood that the number of clients, networks, and servers in FIG. 1 is merely illustrative. There may be any number of clients, networks, and servers, as desired for an implementation.
It should be noted that in the technical solution of the present disclosure, the processes of collecting, storing, using, processing, transmitting, providing, disclosing and the like of the personal information of the user are all in accordance with the regulations of the relevant laws and regulations, and do not violate the customs of the public order.
In the technical scheme of the disclosure, before the personal information of the user is acquired or collected, the authorization or the consent of the user is acquired.
The embodiment of the present disclosure provides a map data processing method, and a map data processing method according to an exemplary embodiment of the present disclosure is described below with reference to fig. 2 to 5B in conjunction with the system architecture of fig. 1. The map data processing method of the embodiment of the present disclosure may be executed by the server 105 shown in fig. 1, for example.
Fig. 2 schematically shows a flowchart of a map data processing method according to an embodiment of the present disclosure.
As shown in fig. 2, the map data processing method 200 of the embodiment of the present disclosure may include, for example, operations S210 to S230.
In operation S210, an occlusion reference value between the base map element and the upper marker element is determined according to the base map element coordinates and the upper marker element coordinates in the map data.
The map-base elements include elements determined using map-base data, such as navigation car logos, speed limit signs, and the like. The upper layer indicating elements include elements for providing interactive operation for the user, prompting elements and the like, for example, the content of the upper layer indicating elements may include the predicted time and the predicted distance of the current navigation route and the like.
The occlusion reference value may be understood as a reference value for determining whether or not there is an occlusion between the base map element and the upper layer indicating element.
It should be noted that, in the embodiment of the present disclosure, in the case of a two-dimensional reference coordinate system, the plane where the bottom drawing element is located coincides with the plane where the upper layer marking element is located, and the coinciding plane is, for example, the plane Pc. Taking a two-dimensional reference coordinate system including an X coordinate axis and a Y coordinate axis as an example, the embodiment of the present disclosure only considers a case where the size of the X coordinate axis and the size of the Y coordinate axis of the bottom map element and the upper layer marking element on the plane Pc are not 0. For example, when the base map element is a line, the case where the size of the X coordinate axis or the size of the Y coordinate axis of the base map element is 0 in the mathematical sense is not considered. In the embodiment of the present disclosure, when the bottom map element and the upper layer indicating element are blocked, it indicates that the bottom map element and the upper layer indicating element are overlapped based on the X coordinate axis and the Y coordinate axis of the two-dimensional reference coordinate system. In the case of a three-dimensional reference coordinate system, the plane of the underlying map element is parallel to or coincident with the plane of the overlying marking element. Taking the three-dimensional reference coordinate system including an X coordinate axis, a Y coordinate axis and a Z coordinate axis, and both the plane of the bottom map element and the plane of the upper-layer marking element are XY planes, in the embodiment of the present disclosure, the dimension of the upper-layer marking element based on the Z coordinate axis is set to be 0 by default, and the dimension of the bottom map data based on the Z coordinate axis may not be 0. The following description is made by taking the above two reference coordinate systems as examples.
Taking a two-dimensional reference coordinate system as an example, the overlapping length between the base map element and the upper layer marking element based on each coordinate axis may be used as an occlusion reference value, or the overlapping area between the base map element and the upper layer marking element based on the two-dimensional reference coordinate system may be used as an occlusion reference value.
Taking a three-dimensional reference coordinate system as an example, the overlapping length of each coordinate axis based on the XY plane between the base map element and the upper-layer indicating element may be used as an occlusion reference value, or the overlapping area based on the XY plane between the map element and the upper-layer indicating element may be used as an occlusion reference value.
In operation S220, an occlusion confirmation result is determined according to the occlusion reference value.
Occlusion confirmation results may include the presence and absence of occlusions.
In operation S230, in case that the occlusion confirmation result is that there is an occlusion, at least one of the position of the base map and the coordinates of the upper indicating element is adjusted.
Under the condition that the shielding confirmation result is that shielding exists, the position of the upper layer marking element which shields the base map element can be shifted by adjusting the relative position between the base map element and the upper layer marking element, so that the problem that shielding exists between the upper layer marking element and the base map element is solved. The adjusting at least one of the bottom map position and the upper layer indicating element coordinate in operation S230 includes adjusting both the bottom map position and the upper layer indicating element coordinate at the same time, and at this time, the relative positions of the bottom map position and the upper layer indicating element coordinate may be changed according to adjusting the bottom map position and the upper layer indicating element coordinate with different adjustment values, respectively.
It should be noted that the positions of the map elements are related to map data, and the map data may include building data, road data, and the like with respect to position determination. Merely adjusting the coordinates of the map elements changes the relative positions between different map data, resulting in distortion of the map data. Therefore, the map data processing method according to the embodiment of the present disclosure can maintain the relative position between different base map data unchanged by adjusting the base map position, and adjust the relative positions of the upper layer marking element and the base layer element, thereby solving the problem of the existence of shielding between the upper layer marking element and the base map element.
It should be further noted that, in the case that the occlusion confirmation result indicates that there is an occlusion, at least one of the position of the base map and the coordinates of the upper-layer marking element may be adjusted until the occlusion confirmation result indicates that there is no occlusion.
According to the map data processing method, the positions of the base map elements and the positions of the upper layer marking elements can be reflected by the base map element coordinates and the upper layer marking element coordinates, so that the shielding reference value between the base map elements and the upper layer marking elements can be accurately determined, the shielding confirmation result is automatically determined according to the shielding reference value, at least one of the base map positions and the upper layer marking element coordinates can be automatically adjusted when the shielding confirmation result indicates that shielding exists, automatic adaptation of the base map element positions and the upper layer marking element positions is achieved, and the problem that shielding exists between the upper layer marking elements and the base map elements is solved. Especially, under the application scene of multiple screens, the positions of the elements of the base map and the positions of the marking elements on the upper layer can be automatically adapted for each screen, so that the method is more efficient.
Fig. 3 schematically illustrates a map data determination method 300 according to another embodiment of the present disclosure.
As shown in fig. 3, the map data determination method 300 according to an embodiment of the present disclosure includes operations S340 to S360.
In operation S340, in a case that there is no occlusion in the occlusion confirmation result, an adjustment reference value between the base map element and the upper indicating element is determined according to the base map element coordinate and the upper indicating element coordinate in the map data.
There are the following situations: although the bottom map element and the upper layer marking element are not shielded, the bottom map element and the upper layer marking element are close to each other, which causes problems such as difficulty in visually distinguishing the bottom map element from the upper layer marking element.
The adjustment reference value can be understood as a reference value for determining whether the base map element and the upper layer indicating element need to be adjusted in the case where there is no occlusion.
In operation S350, an adjustment result is determined according to the adjustment reference value and the adjustment threshold.
Illustratively, the adjustment threshold may be configurable.
In operation S360, in case that the adjustment result is that the adjustment is required, at least one of the position of the base map and the coordinates of the upper indicating element is adjusted.
It should be noted that, in the case that the adjustment result is that adjustment is required, at least one of the position of the base map and the coordinates of the upper-layer marking element may be adjusted until the adjustment result is that adjustment is not required.
According to the map data processing method provided by the embodiment of the disclosure, whether at least one of the position of the base map and the coordinates of the upper-layer marking elements is adjusted or not can be determined according to the adjustment reference value and the adjustment threshold value under the condition that shielding does not exist, so that the requirements of clear layout, high observability and the like between the upper-layer marking elements and the base map elements are met, and the user experience is improved.
Illustratively, as shown in fig. 3, the map data determining method 300 according to an embodiment of the present disclosure may further include operations S310 to S330.
In operation S310, an occlusion reference value between the base map element and the upper marker element is determined according to the base map element coordinates 301 and the upper marker element coordinates 302 in the map data.
In operation S320, an occlusion confirmation result is determined according to the occlusion reference value.
For example, as shown in fig. 3, an occlusion confirmation result may be determined according to a comparison result of the occlusion reference value and the occlusion threshold value.
For example, in the example of fig. 3, when the overlap length between the base map element and the upper-level indicating element based on each coordinate axis is used as the occlusion reference value, when the occlusion reference value is greater than 0, it indicates that there is an occlusion between the base map element and the upper-level indicating element, and at this time, the occlusion threshold value may be 0.
In operation S330, in case that the occlusion confirmation result is that there is an occlusion, at least one of the map position and the upper marker element coordinates is adjusted.
According to the map data processing method of the embodiment of the disclosure, the upper-layer marking element coordinate, the bottom map element coordinate and the bottom map position are determined based on the reference coordinate system, and adjusting the upper-layer marking element coordinate may include: and adjusting the coordinate of the upper layer marking element based on at least one coordinate axis of a reference coordinate system, wherein the reference coordinate system is a two-dimensional reference coordinate system or a three-dimensional reference coordinate system.
When the reference coordinate system is a two-dimensional reference coordinate system, adjusting the coordinate of the upper-layer marking element based on at least one coordinate axis of the reference coordinate system is equivalent to adjusting the relative position between the upper-layer marking element and the bottom map element.
Taking a three-dimensional reference coordinate system including an X coordinate axis, a Y coordinate axis, and a Z coordinate axis as an example, for example, a plane where the upper layer indicating element is located is parallel to the XY plane, and adjusting coordinates of the upper layer indicating element based on at least one of the X coordinate axis and the Y coordinate axis is equivalent to the case where the reference coordinate system is a two-dimensional reference coordinate system. Namely, the relative position between the upper layer marking element and the bottom picture element is adjusted. In the three-dimensional reference coordinate system, adjusting the coordinate of the upper-layer marking element based on the Z axis is equivalent to adjusting the size ratio between the upper-layer marking element and the bottom map element. It can be understood that when there is a block between the upper layer marking element and the bottom map element, if the size ratio between the upper layer marking element and the bottom map element is reduced, the area of the upper layer marking element blocking the bottom map element is smaller. Therefore, the problem that shielding exists between the upper layer marking element and the bottom map element can be solved.
For example, when the reference coordinate system is a two-dimensional reference coordinate system, the two-dimensional reference coordinate system may be a screen coordinate system. The screen coordinate system may be understood as a two-dimensional coordinate system in units of pixels.
According to the map data determining method provided by the embodiment of the disclosure, the relative positions of the upper layer mark element and the bottom map element can be adjusted in multiple ways, so that the problem of shielding between the upper layer mark element and the bottom map element is solved.
FIG. 4A schematically illustrates a schematic diagram of determining an occlusion reference value according to an embodiment of the present disclosure.
As shown in fig. 4A, the determining of the occlusion reference value between the base map element and the upper marker element according to the base map element coordinate and the upper marker element coordinate in the map data in operation S410 may include operations S411 to S412.
In operation S411, a relative position 403 between the bottom map element and the top map element, a two-dimensional size 404 of the bottom map element, and a two-dimensional size 405 of the top map element are determined according to the bottom map element coordinates 401 and the top map element coordinates 402.
It can be understood that, according to the coordinates of the elements of the bottom map and the coordinates of the marking elements of the upper layer, the two-dimensional size of the elements of the bottom map and the two-dimensional size of the marking elements of the upper layer can be determined, and the shape, the size and the like can be determined through the two-dimensional sizes. When determining whether occlusion exists between the bottom map element and the upper layer marking element, the relative position between the bottom map element and the upper layer marking element is also required to be determined.
For example, the two-dimensional size of the base map element may include a value range of the base map element based on each coordinate axis, and the two-dimensional size of the upper indicator element may include a value range of the upper indicator element based on each coordinate axis. At this time, the relative position between the bottom drawing element and the upper layer indicating element has been determined.
In operation S412, an overlap size 406 between the bottom map element and the top map element is determined according to the relative position 403 between the bottom map element and the top map element, the two-dimensional size 404 of the bottom map element, and the two-dimensional size 405 of the top map element, so as to obtain an occlusion reference value.
For example, the occlusion reference value may be an overlap size, and in the above example, the overlap size between the bottom map element and the upper layer indicating element may be an overlap length of the bottom map element and the upper layer indicating element based on the X coordinate axis and the Y coordinate axis, respectively, or an overlap area of the bottom map element and the upper layer indicating element based on the same reference coordinate system.
According to the map data processing method, the shielding reference value between the bottom map element and the upper layer marking element can be accurately determined according to the relative position between the bottom map element and the upper layer marking element, the two-dimensional size of the bottom map element and the two-dimensional size of the upper layer marking element, which are determined by the bottom map element coordinate and the upper layer marking element coordinate.
Fig. 4B schematically shows a schematic diagram of a map data processing method according to an embodiment of the present disclosure.
As shown in FIG. 4B, the upper level labeling element Em1, the bottom map element Eb1, the bottom map element Eb2, and the two-dimensional reference frame are shown. The bottom map element Eb1 is a navigation logo for indicating the current position and direction, and the bottom map element Eb2 is a navigation route. According to the map data processing method of the embodiment of the present disclosure, it may be determined that the occlusion confirmation results of the upper indicator element Eml and the bottom map element Eb1 shown in fig. 4B are that an occlusion exists, and the occlusion confirmation results of the upper indicator element Em1 and the bottom map element Eb2 are that no occlusion exists.
Fig. 5A schematically illustrates a schematic diagram of determining an adjustment reference value according to an embodiment of the present disclosure.
As shown in fig. 5A, determining the adjustment reference value between the base map element and the upper marker element according to the base map element coordinates and the upper marker element coordinates in the map data in operation S540 may include operations S541 to S542.
In operation S541, a relative position 503 between the bottom map element and the top map element, a two-dimensional size 504 of the bottom map element, and a two-dimensional size 505 of the top map element are determined according to the bottom map element coordinates 501 and the top map element coordinates 502.
In operation S542, a distance dimension 506 between the bottom map element and the top layer indicating element is determined according to the relative position 503 between the bottom map element and the top layer indicating element, the two-dimensional dimension 504 of the bottom map element, and the two-dimensional dimension 505 of the top layer indicating element, so as to obtain an adjustment reference value.
For example, the adjustment reference value may be a pitch size, and still in the above example, the pitch size between the bottom map element and the upper layer indicating element may be a pitch length of the bottom map element and the upper layer indicating element based on the X coordinate axis and the Y coordinate axis, respectively.
According to the map data processing method disclosed by the embodiment of the disclosure, the adjustment reference value between the bottom map element and the upper layer marking element can be accurately determined according to the relative position between the bottom map element and the upper layer marking element, the two-dimensional size of the bottom map element and the two-dimensional size of the upper layer marking element, which are determined by the bottom map element coordinate and the upper layer marking element coordinate.
Fig. 5B schematically shows a schematic diagram of a map data processing method according to an embodiment of the present disclosure.
As shown in FIG. 5B, the upper level labeling element Em2, the bottom map element Eb3, the bottom map element Eb4, and the two-dimensional reference frame are shown. The bottom map element Eb3 is a navigation car logo for indicating the current position and direction, and the bottom map element Eb4 is a navigation route. According to the map data processing method of the embodiment of the present disclosure, it may be determined that the occlusion confirmation result of the upper-layer markup element Em2 and the bottom map element Eb3 shown in fig. 5B is that no occlusion exists, and the occlusion confirmation result of the upper-layer markup element Em2 and the bottom map element Eb4 is that no occlusion exists. Taking the upper-level marking element Em2 and the map element Eb3 shown in fig. 5B as an example, the X-axis-based spacing dimension L of the upper-level marking element Em2 and the map element Eb3 can be determined. For example, when L is 30 and the adjustment threshold is 50, the size relationship between L and the adjustment threshold satisfies the adjustment condition, and at least one of the position of the base map and the coordinates of the upper-layer indicating element needs to be adjusted.
Illustratively, according to the map data processing method of an embodiment of the present disclosure, adjusting at least one of the base map position and the upper marker element coordinate may include: and responding to the adjusting operation instruction, and adjusting at least one of the bottom map position and the upper layer marking element coordinate.
According to the map data processing method of the embodiment of the disclosure, more convenient adjustment operation can be provided by responding to the adjustment operation instruction. For example, the user may adjust at least one of the position of the base map and the coordinates of the upper indicating element by a drag operation.
Fig. 6 schematically shows a block diagram of a map data processing apparatus according to an embodiment of the present disclosure.
As shown in fig. 6, the map data processing apparatus 600 of the embodiment of the present disclosure includes, for example, an occlusion reference value determining module 610, an occlusion confirmation result determining module 620, and a first adjusting module 630.
An occlusion reference value determining module 610, configured to determine an occlusion reference value between a base map element and an upper-layer indicating element according to the base map element coordinate and the upper-layer indicating element coordinate in the map data.
And an occlusion confirmation result determining module 620, configured to determine an occlusion confirmation result according to the occlusion reference value.
The first adjusting module 630 is configured to adjust at least one of the position of the base map and the coordinates of the upper-layer markup element if the occlusion confirmation result indicates that an occlusion exists.
The map data processing apparatus according to the embodiment of the present disclosure may further include: the device comprises an adjustment reference value determining module, an adjustment result determining module and a second adjusting module.
And the adjustment reference value determining module is used for determining an adjustment reference value between the base map element and the upper layer marking element according to the base map element coordinate and the upper layer marking element coordinate in the map data under the condition that the shielding confirmation result is that no shielding exists.
And the adjusting result determining module is used for determining the adjusting result according to the adjusting reference value and the adjusting threshold value.
And the second adjusting module is used for adjusting at least one of the position of the base map and the coordinates of the upper-layer marking elements under the condition that the adjusting result is that the adjustment is needed.
According to the map data processing apparatus of the embodiment of the present disclosure, the upper layer marking element coordinate, the base map element coordinate, and the base map position are determined based on the reference coordinate system, and the first adjusting module may include: and the upper layer marks an element adjusting submodule.
And the upper-layer marking element adjusting submodule is used for adjusting the coordinate of at least one coordinate axis of the upper-layer marking element based on a reference coordinate system, wherein the reference coordinate system is a two-dimensional reference coordinate system or a three-dimensional reference coordinate system.
According to the map data processing apparatus of the embodiment of the present disclosure, the occlusion reference value determination module includes: a first determination submodule and an occlusion reference value determination submodule.
And the first determining submodule is used for determining the relative position between the base map element and the upper-layer marking element, the two-dimensional size of the base map element and the two-dimensional size of the upper-layer marking element according to the base map element coordinate and the upper-layer marking element coordinate.
And the occlusion reference value determining submodule is used for determining the overlapping size between the base map element and the upper layer marking element according to the relative position between the base map element and the upper layer marking element, the two-dimensional size of the base map element and the two-dimensional size of the upper layer marking element, so as to obtain an occlusion reference value.
According to the map data processing apparatus of the embodiment of the present disclosure, the adjustment reference value determining module may include: a second determination submodule and an adjustment reference value determination submodule.
And the second determining submodule is used for determining the relative position between the base map element and the upper-layer marking element, the two-dimensional size of the base map element and the two-dimensional size of the upper-layer marking element according to the base map element coordinate and the upper-layer marking element coordinate.
And the adjustment reference value determining submodule is used for determining the space size between the base map element and the upper layer marking element according to the relative position between the base map element and the upper layer marking element, the two-dimensional size of the base map element and the two-dimensional size of the upper layer marking element, so as to obtain an adjustment reference value.
According to the map data processing apparatus of the embodiment of the present disclosure, the first adjusting module includes: a first adjustment submodule.
And the first adjusting submodule is used for responding to the adjusting operation instruction and adjusting at least one of the position of the base map and the coordinates of the upper-layer marking elements.
It should be understood that the embodiments of the apparatus part of the present disclosure are the same as or similar to the embodiments of the method part of the present disclosure, and the technical problems to be solved and the technical effects to be achieved are also the same as or similar to each other, and the detailed description of the present disclosure is omitted.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
FIG. 7 shows a schematic block diagram of an example electronic device 700 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 7, the device 700 comprises a computing unit 701, which may perform various suitable actions and processes according to a computer program stored in a Read Only Memory (ROM)702 or a computer program loaded from a storage unit 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the device 700 can be stored. The calculation unit 701, the ROM 702, and the RAM 703 are connected to each other by a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
Various components in the device 700 are connected to the I/O interface 705, including: an input unit 706 such as a keyboard, a mouse, or the like; an output unit 707 such as various types of displays, speakers, and the like; a storage unit 708 such as a magnetic disk, optical disk, or the like; and a communication unit 709 such as a network card, modem, wireless communication transceiver, etc. The communication unit 709 allows the device 700 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
Computing unit 701 may be a variety of general purpose and/or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The calculation unit 701 executes the respective methods and processes described above, such as the map data processing method. For example, in some embodiments, the map data processing method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 708. In some embodiments, part or all of a computer program may be loaded onto and/or installed onto device 700 via ROM 702 and/or communications unit 709. When the computer program is loaded into the RAM 703 and executed by the computing unit 701, one or more steps of the map data processing method described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to perform the map data processing method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for identification with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide an indication to the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can identify implementations of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and are typically represented by a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
It should be understood that various forms of the flows shown above, reordering, adding or deleting steps, may be used. For example, the steps described in the present disclosure may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, and the present disclosure is not limited herein.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (15)

1. A map data processing method, comprising:
determining a shielding reference value between a base map element and an upper layer marking element according to a base map element coordinate and an upper layer marking element coordinate in map data;
determining an occlusion confirmation result according to the occlusion reference value; and
and under the condition that the occlusion confirmation result is that occlusion exists, adjusting at least one of the position of the base map and the coordinates of the upper-layer marking elements.
2. The method of claim 1, further comprising:
determining an adjustment reference value between the base map element and the upper layer marking element according to the base map element coordinate and the upper layer marking element coordinate in the map data under the condition that the shielding confirmation result indicates that no shielding exists;
determining an adjustment result according to the adjustment reference value and the adjustment threshold value; and
and under the condition that the adjustment result is that adjustment is needed, adjusting at least one of the bottom map position and the upper layer marking element coordinate.
3. The method of claim 1, wherein the top level designation element coordinates, the bottom map element coordinates, and the bottom map location are each determined based on a reference coordinate system, the adjusting the top level designation element coordinates comprising:
and adjusting the coordinate of the upper layer marking element based on at least one coordinate axis of the reference coordinate system, wherein the reference coordinate system is a two-dimensional reference coordinate system or a three-dimensional reference coordinate system.
4. The method according to any one of claims 1 to 3, wherein the determining of the occlusion reference value between the base map element and the upper marker element from the base map element coordinates and the upper marker element coordinates in the map data comprises:
determining the relative position between the base map element and the upper layer marking element, the two-dimensional size of the base map element and the two-dimensional size of the upper layer marking element according to the base map element coordinate and the upper layer marking element coordinate; and
and determining the overlapping size between the base map element and the upper layer marking element according to the relative position between the base map element and the upper layer marking element, the two-dimensional size of the base map element and the two-dimensional size of the upper layer marking element, and obtaining the shielding reference value.
5. The method of claim 2, wherein the determining an adjustment reference value between the base map element and the upper marker element based on the base map element coordinates and the upper marker element coordinates in the map data comprises:
determining the relative position between the base map element and the upper layer marking element, the two-dimensional size of the base map element and the two-dimensional size of the upper layer marking element according to the base map element coordinate and the upper layer marking element coordinate; and
and determining the space size between the base map element and the upper layer marking element according to the relative position between the base map element and the upper layer marking element, the two-dimensional size of the base map element and the two-dimensional size of the upper layer marking element, and obtaining the adjustment reference value.
6. The method of any of claims 1-3, wherein the adjusting at least one of the floor map position and the upper level designation element coordinates comprises:
and responding to an adjusting operation instruction, and adjusting at least one of the bottom map position and the upper layer marking element coordinate.
7. A map data processing apparatus comprising: the shielding reference value determining module is used for determining a shielding reference value between the base map element and the upper layer marking element according to the base map element coordinate and the upper layer marking element coordinate in the map data;
the occlusion confirmation result determining module is used for determining an occlusion confirmation result according to the occlusion reference value; and
and the first adjusting module is used for adjusting at least one of the position of the base map and the coordinates of the upper-layer marking element under the condition that the occlusion confirmation result is that occlusion exists.
8. The apparatus of claim 7, further comprising:
an adjustment reference value determining module, configured to determine, according to the coordinates of the base map element and the coordinates of the upper-layer indicating element in the map data, an adjustment reference value between the base map element and the upper-layer indicating element when the occlusion confirmation result indicates that no occlusion exists;
the adjustment result determining module is used for determining an adjustment result according to the adjustment reference value and the adjustment threshold value; and
and the second adjusting module is used for adjusting at least one of the bottom map position and the coordinates of the upper-layer marking element under the condition that the adjusting result is that the adjustment is needed.
9. The apparatus of claim 7, wherein the top level designation element coordinates, the bottom map element coordinates, and the bottom map location are each determined based on a reference coordinate system, the first adjustment module comprising:
and the upper-layer marking element adjusting submodule is used for adjusting the coordinate of the upper-layer marking element based on at least one coordinate axis of the reference coordinate system, wherein the reference coordinate system is a two-dimensional reference coordinate system or a three-dimensional reference coordinate system.
10. The apparatus of any of claims 7 to 9, wherein the occlusion reference value determination module comprises:
the first determining submodule is used for determining the relative position between the base map element and the upper-layer marking element, the two-dimensional size of the base map element and the two-dimensional size of the upper-layer marking element according to the base map element coordinate and the upper-layer marking element coordinate; and
and the occlusion reference value determining submodule is used for determining the overlapping size between the base map element and the upper layer marking element according to the relative position between the base map element and the upper layer marking element, the two-dimensional size of the base map element and the two-dimensional size of the upper layer marking element, so as to obtain the occlusion reference value.
11. The apparatus of claim 8, wherein the adjustment reference value determination module comprises:
the second determining submodule is used for determining the relative position between the base map element and the upper-layer marking element, the two-dimensional size of the base map element and the two-dimensional size of the upper-layer marking element according to the base map element coordinate and the upper-layer marking element coordinate; and
and the adjustment reference value determining submodule is used for determining the space size between the base map element and the upper layer marking element according to the relative position between the base map element and the upper layer marking element, the two-dimensional size of the base map element and the two-dimensional size of the upper layer marking element, so as to obtain the adjustment reference value.
12. The apparatus of any of claims 7 to 9, wherein the first adjustment module comprises:
and the first adjusting submodule is used for responding to an adjusting operation instruction and adjusting at least one of the position of the base map and the coordinates of the upper-layer marking elements.
13. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-6.
14. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-6.
15. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1-6.
CN202210328067.2A 2022-03-29 2022-03-29 Map data processing method, map data processing apparatus, map data processing device, storage medium, and program product Withdrawn CN114693778A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210328067.2A CN114693778A (en) 2022-03-29 2022-03-29 Map data processing method, map data processing apparatus, map data processing device, storage medium, and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210328067.2A CN114693778A (en) 2022-03-29 2022-03-29 Map data processing method, map data processing apparatus, map data processing device, storage medium, and program product

Publications (1)

Publication Number Publication Date
CN114693778A true CN114693778A (en) 2022-07-01

Family

ID=82141599

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210328067.2A Withdrawn CN114693778A (en) 2022-03-29 2022-03-29 Map data processing method, map data processing apparatus, map data processing device, storage medium, and program product

Country Status (1)

Country Link
CN (1) CN114693778A (en)

Similar Documents

Publication Publication Date Title
CN111967467B (en) Image target detection method and device, electronic equipment and computer readable medium
EP4119896A2 (en) Method and apparatus for processing high-definition map data, electronic device, medium and product
CN113362420B (en) Road label generation method, device, equipment and storage medium
CN113077548A (en) Collision detection method, device, equipment and storage medium for object
CN114443577A (en) Drawing processing method, device, equipment and storage medium
CN110209748B (en) Method and apparatus for indexing geofences
CN115578486A (en) Image generation method and device, electronic equipment and storage medium
CN115185839A (en) Page detection method, device, equipment and medium
CN111461968A (en) Picture processing method and device, electronic equipment and computer readable medium
US11881044B2 (en) Method and apparatus for processing image, device and storage medium
CN113837194A (en) Image processing method, image processing apparatus, electronic device, and storage medium
CN109697722B (en) Method and device for generating trisection graph
CN109460543A (en) A kind of input method of logical expression, device, electronic equipment and readable medium
CN111914517A (en) Document hyperlink creating method and device, electronic equipment and readable storage medium
CN114693778A (en) Map data processing method, map data processing apparatus, map data processing device, storage medium, and program product
CN115756471A (en) Page code generation method and device, electronic equipment and storage medium
CN110634159A (en) Target detection method and device
CN113506356B (en) Method and device for drawing area map, readable medium and electronic equipment
CN115719444A (en) Image quality determination method, device, electronic equipment and medium
CN114564268A (en) Equipment management method and device, electronic equipment and storage medium
CN114581523A (en) Method and device for determining labeling data for monocular 3D target detection
CN110120075B (en) Method and apparatus for processing information
CN114510309B (en) Animation effect setting method, device, equipment and medium
CN113010582A (en) Data processing method and device, computer readable medium and electronic equipment
CN110580270A (en) Address output method and system, computer system, and computer-readable storage medium

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20220701