Map sheet data edge matching determination method and device, electronic equipment and readable storage medium
By identifying and processing the area elements and line elements in the frame data, automatic edge joining of the frame data is realized, which solves the problem of accuracy loss caused by coordinate system conversion and multi-party operation splicing, and improves the accuracy and processing efficiency of the frame data.
Patent Information
- Application Number
- CN202410740995.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-10-08
AI Technical Summary
In the existing technology, due to the conversion of the coordinate system and the splicing of multi-party operations, the accuracy of the frame data is excessively lost and the error is too high.
By obtaining the data set of the map frame to be determined, identifying and extracting area features and line elements, and performing geometric edge and attribute edge connection processing to ensure the precise matching and continuity of area features and line elements, and realize automatic splicing of map frame data.
It improves the geometric accuracy and attribute accuracy of image frame data edges, reduces manpower losses, avoids data errors caused by multi-party work splicing, and improves the efficiency and accuracy of data processing.
Smart Images

Figure CN118747716A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of vector data processing, and in particular to a method, device, electronic device and readable storage medium for determining the edge of map data. Background Art
[0002] Two-dimensional map technology is highly versatile in current practical applications. It is mostly used to draw topography and landforms. It provides real three-dimensional geographic information through natural terrain features such as mountains, rivers, and lakes, with details such as landform changes, terrain undulations, river tortuosity, and island shapes. At the same time, two-dimensional map technology can also be used in urban construction planning to draw road traffic networks and provide basic support for urban traffic planning. In the actual drawing process, two-dimensional maps usually require multiple people to work at the same time and splice the results of the work. Due to the differences in geometry and attribute information of multiple people working, data may overlap or break. In order to ensure the integrity of the data and its consistency with the actual situation, it is generally necessary to determine the edge data. The conventional two-dimensional map edge data determination process requires manual determination of the geometric edge position and manual determination of the attribute edge. Since the data of the geometric information is based on plane coordinate processing and then converted into longitude and latitude coordinates, it will cause geometric accuracy loss. The overall edge determination process is manually processed and the error is too large.
[0003] It can be seen that the existing technology has the problem of excessive loss of map data accuracy and excessive error due to the conversion of coordinate systems and multi-party splicing. Summary of the invention
[0004] In view of this, the embodiments of the present disclosure provide a method, device, electronic device and readable storage medium for determining the edge of map data to solve the problem in the prior art that map data accuracy is excessively lost and errors are too high due to coordinate system conversion and multi-party splicing.
[0005] In a first aspect of an embodiment of the present disclosure, a method for determining a map data edge connection is provided, comprising: obtaining a map data set to be determined, the map data set to be determined comprising first map data and second map data; determining, based on the first map data and the second map data, a surface element corresponding to the first map data and a surface element corresponding to the second map data; performing surface element geometric edge connection processing on the surface elements corresponding to the first map data and the surface elements corresponding to the second map data, to obtain a surface element geometric edge connection determination result corresponding to the map data set to be determined; performing surface element attribute edge connection processing on the surface elements corresponding to the first map data and the surface elements corresponding to the second map data based on the surface element geometric edge connection determination result corresponding to the map data set to be determined, to obtain a surface element attribute edge connection determination result corresponding to the map data set to be determined; determining, based on the first map data and the second map data, a line element corresponding to the first map data and a line element corresponding to the second map data elements; performing line element geometric edge processing on the line elements corresponding to the first map sheet data and the line elements corresponding to the second map sheet data to obtain the line element geometric edge determination result corresponding to the map sheet data set to be determined; based on the line element geometric edge determination result corresponding to the map sheet data set to be determined, performing line element attribute edge processing on the line elements corresponding to the first map sheet data and the line elements corresponding to the second map sheet data to obtain the line element attribute edge determination result corresponding to the map sheet data set to be determined; when the surface element geometric edge determination result corresponding to the map sheet data set to be determined is the surface element geometric edge, the surface element attribute edge determination result corresponding to the map sheet data set to be determined is the surface element attribute edge, the line element geometric edge determination result corresponding to the map sheet data set to be determined is the line element geometric edge, and the line element attribute edge determination result corresponding to the map sheet data set to be determined is the line element attribute edge, the first map sheet data and the second map sheet data are determined to be connected.
[0006] According to a second aspect of the disclosed embodiments, a device for determining the edge of map data is provided, including: an acquisition module for acquiring a map data set to be determined, the map data set to be determined comprising first map data and second map data; a first determination module for determining, based on the first map data and the second map data, the surface elements corresponding to the first map data and the surface elements corresponding to the second map data; a first processing module for performing surface element geometric edge processing on the surface elements corresponding to the first map data and the surface elements corresponding to the second map data to obtain a surface element geometric edge determination result corresponding to the map data set to be determined; a second processing module for performing surface element attribute edge processing on the surface elements corresponding to the first map data and the surface elements corresponding to the second map data based on the surface element geometric edge determination result corresponding to the map data set to be determined to obtain a surface element attribute edge determination result corresponding to the map data set to be determined; a second determination module for determining, based on the first map data and the second map data, the line elements corresponding to the first map data and the second map data. line elements corresponding to the map data; a third processing module, used to perform line element geometric junction processing on the line elements corresponding to the first map data and the line elements corresponding to the second map data, and obtain the line element geometric junction determination result corresponding to the map data set to be determined; a fourth processing module, used to perform line element attribute junction processing on the line elements corresponding to the first map data and the line elements corresponding to the second map data based on the line element geometric junction determination result corresponding to the map data set to be determined, and obtain the line element attribute junction determination result corresponding to the map data set to be determined; a third determination module, used to determine the junction of the first map data and the second map data when the surface element geometric junction determination result corresponding to the map data set to be determined is the surface element geometric junction, the surface element attribute junction determination result corresponding to the map data set to be determined is the surface element attribute junction, the line element geometric junction determination result corresponding to the map data set to be determined is the line element geometric junction, and the line element attribute junction determination result corresponding to the map data set to be determined is the line element attribute junction.
[0007] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.
[0008] According to a fourth aspect of an embodiment of the present disclosure, a readable storage medium is provided, which stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.
[0009] Compared with the prior art, the disclosed embodiments have the following beneficial effects: by acquiring a set of map data to be determined, each set of map data to be determined includes first map data and second map data, performing surface element recognition on the first map data and the second map data, and extracting the recognition results, obtaining the surface elements corresponding to the first map data and the surface elements corresponding to the second map data, performing geometric edge determination on the surface elements corresponding to the first map data and the surface elements corresponding to the second map data through a geometric edge processing method, and obtaining the geometric edge determination result of the surface elements corresponding to the set of map data to be determined; when the surface elements are geometrically connected, further performing attribute edge determination on the surface elements corresponding to the first map data and the surface elements corresponding to the second map data, and obtaining the attribute edge determination result of the surface elements corresponding to the set of map data to be determined; and processing the first map data and the second map data. The line elements of the first map sheet data are respectively identified and processed, and the identification results are extracted to obtain the line elements corresponding to the first map sheet data and the line elements corresponding to the second map sheet data; according to the geometric edge determination method, the line elements corresponding to the first map sheet data and the line elements corresponding to the second map sheet data are checked to obtain the line element geometric edge determination result corresponding to the map sheet data set to be determined; when the line element geometric edge determination result is characterized as the line element geometric edge, the line element attribute edge determination processing is performed on the line elements corresponding to the first map sheet data and the line elements corresponding to the second map sheet data to obtain the line element attribute edge result; when the above four edge results are all characterized as determined edges, the first map sheet data and the second map sheet data are determined to be edges, thereby improving the geometric accuracy and attribute accuracy in the edge determination process, reducing manpower loss, and avoiding data errors caused by multi-party stitching. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0011] Figure 1 It is a flowchart of a method for determining edge connection of map data provided by an embodiment of the present disclosure;
[0012] Figure 2 It is a schematic diagram of the position of an embodiment of the geometric edge connection of a surface element provided by an embodiment of the present disclosure;
[0013] Figure 3 It is a schematic diagram of a flow chart of an embodiment of geometric edge joining of surface elements provided by an embodiment of the present disclosure;
[0014] Figure 4 It is a schematic diagram of the position of an embodiment of a surface element attribute edge connection provided by an embodiment of the present disclosure;
[0015] Figure 5 It is a flow chart of an embodiment of the face element attribute edge connection provided by the embodiment of the present disclosure;
[0016] Figure 6 It is a schematic diagram of the position of a line element geometric edge connection embodiment provided by an embodiment of the present disclosure;
[0017] Figure 7 It is a schematic diagram of a flow chart of a line element geometric edge connection embodiment provided by an embodiment of the present disclosure;
[0018] Figure 8 It is a schematic diagram of the position of an embodiment of a line element attribute edge connection provided by an embodiment of the present disclosure;
[0019] Fig. 9 It is a flow chart of an embodiment of line feature attribute edge connection provided by an embodiment of the present disclosure;
[0020] Fig.10 It is a structural schematic diagram of a device for determining edge connection of map data provided by an embodiment of the present disclosure;
[0021] Fig.11 It is a structural schematic diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0022] In the following description, specific details such as specific system structures and technologies are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present disclosure. However, it should be clear to those skilled in the art that the present disclosure may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid obstructing the description of the present disclosure with unnecessary details.
[0023] A method and device for determining the edge of map data according to an embodiment of the present disclosure will be described in detail below with reference to the accompanying drawings.
[0024] Figure 1 It is a flowchart of a method for determining the edge of map data provided by an embodiment of the present disclosure. Figure 1 The method for determining the edge of the map data can be executed by the server. Figure 1 As shown, the method for determining the edge of the map data includes:
[0025] Step 101: obtaining a set of map data to be determined, wherein the set of map data to be determined includes first map data and second map data.
[0026] Specifically, a set of map data to be determined can be obtained. The set of map data to be determined can include two map data, namely first map data and second map data. The first map data and the second map data can be adjacent map data. This improves the accuracy and precision of map data splicing, avoids splicing errors caused by edge mismatch, improves data processing efficiency, reduces manual intervention and operation complexity through automated comparison and analysis, optimizes data usage experience, and improves the readability and usability of map data.
[0027] Among them, the set of map data to be determined can be a group of map data that need to be determined, and the set of map data to be determined includes but is not limited to spatial data such as maps or images to be spliced. The first map data and the second map data can be two adjacent map data in the set of map data to be determined, and the first map data and the second map data can respectively represent spatial information of different areas or different parts.
[0028] For example, a set of map sheets to be determined may be obtained, wherein the set of map sheets to be determined includes east map sheet data and west map sheet data, and the east map sheet data and the west map sheet data are adjacent map sheet data.
[0029] Step 102: determining the area element corresponding to the first map data and the area element corresponding to the second map data according to the first map data and the second map data.
[0030] Specifically, the surface elements of the first map data and the second map data can be extracted respectively. The surface elements can be polygons on the map data, which can be used to represent specific areas or entities in space, etc., and are not limited here. The surface elements can be compared and analyzed to identify adjacent surface elements, that is, surface elements adjacent in spatial position, which can be the surface elements corresponding to the first map data and the surface elements corresponding to the second map data. This ensures the accuracy of surface element matching between adjacent map data and realizes seamless data splicing. Through the automated surface element extraction and comparison process, the efficiency and accuracy of data processing are improved, and the complexity and error rate of manual operations are reduced.
[0031] Among them, the surface element corresponding to the first map data can be a two-dimensional area containing a closed boundary in the first map data, which can be used to characterize a specific entity or area within the coverage of the first map data, and the surface element corresponding to the second map data can be a corresponding surface element in the second map data. The surface element corresponding to the second map data can be adjacent to the surface element corresponding to the first map data in spatial position. In a geographic information system, a surface element can refer to a map element within an area defined by a given scale on a map, which can be a natural geographical feature, including but not limited to mountains, rivers, or lakes, etc., or can be an artificially divided area, including but not limited to cities or administrative divisions, etc. Surface elements can be basic elements on a map.
[0032] For example, the surface elements of the east map sheet data and the west map sheet data, including roads, mountains, and rivers, can be extracted respectively to obtain the surface elements corresponding to the east map sheet data and the surface elements corresponding to the west map sheet data.
[0033] Step 103 , performing surface element geometric edge processing on the surface elements corresponding to the first map data and the surface elements corresponding to the second map data, and obtaining a surface element geometric edge determination result corresponding to the map data set to be determined.
[0034] Specifically, the surface elements corresponding to the first map data and the surface elements corresponding to the second map data can be spatially superimposed and compared to determine the geometric junction points or lines between the surface elements corresponding to the first map data and the surface elements corresponding to the second map data. Then, the geometric junction points or lines can be smoothed using a junction algorithm to obtain the geometric junction determination results of the surface elements corresponding to the map data set to be determined, thereby improving the geometric precision and accuracy of the junctions of the map data, and improving the visual smoothness and continuity of the map data after the junction, providing more accurate and reliable basic data for subsequent spatial data analysis and application.
[0035] Among them, the result of determining the geometric junction of surface elements corresponding to the map data set to be determined can be the geometric forms of surface elements at the junction of the first map data and the second map data obtained through the processing of the geometric junction of surface elements. The result of determining the geometric junction of surface elements corresponding to the map data set to be determined includes: geometric junction of surface elements and non-geometry of surface elements.
[0036] For example, the area elements corresponding to the east map sheet data and the area elements corresponding to the west map sheet data can be spatially superimposed and compared to determine the geometric edge lines between the area elements corresponding to the east map sheet data and the area elements corresponding to the west map sheet data. Then, the geometric edge lines can be smoothed using a edge-joining algorithm to obtain the geometric edge determination result of the area elements corresponding to the map sheet set to be determined, which can be the geometric edge of the area elements.
[0037] Step 104, based on the geometric edge determination result of the area elements corresponding to the map data set to be determined, the area elements corresponding to the first map data and the area elements corresponding to the second map data are processed with area element attributes to obtain the area element attribute edge determination result corresponding to the map data set to be determined.
[0038] Specifically, the surface elements and their geometric shapes at the junction can be obtained based on the results of the geometric junction determination of the surface elements. When the results of the geometric junction determination of the surface elements are characterized as the geometric junction of the surface elements, the attribute information of the surface elements corresponding to the first map data and the surface elements corresponding to the second map data can be analyzed and compared. The attribute information can include the category, coding, and color of the surface elements, which are not limited here. It can be used to ensure that the information can be correctly transmitted and inherited after the junction, and then the surface element attribute junction determination results corresponding to the map data set to be determined can be obtained, thereby ensuring the continuity and consistency of the attribute information of the surface elements corresponding to the first map data and the surface elements corresponding to the second map data at the junction, avoiding errors or ambiguities caused by inconsistent attribute information, improving the overall quality and reliability of spatial data, providing a more accurate and complete data basis for subsequent spatial data analysis and application, and enhancing the readability and usability of spatial data.
[0039] The surface feature attribute edge determination result corresponding to the to-be-determined map data set may be the surface feature attribute information at the edge of the first map data and the surface feature attribute information at the edge of the second map data obtained through the surface feature attribute edge processing.
[0040] For example, when the result of determining the geometric junction of the surface elements corresponding to the map sheet set to be determined is the geometric junction of the surface elements, the attribute information of the surface elements corresponding to the east map sheet data and the surface elements corresponding to the west map sheet data can be analyzed and compared, and then the result of determining the attribute junction of the surface elements corresponding to the map sheet set to be determined can be the attribute junction of the surface elements.
[0041] Step 105 , determining the line element corresponding to the first map data and the line element corresponding to the second map data according to the first map data and the second map data.
[0042] Specifically, line element extraction processing can be performed on the first map data and the second map data. Line elements can be used to characterize linear features in space, including but not limited to roads, rivers, and boundary lines, etc., thereby ensuring the accuracy of line element matching and connection at the edges of map data, avoiding distortion of geographic spatial information due to breakage or misalignment of line elements, and improving the efficiency and accuracy of data processing through automated line element extraction and comparison processes, and reducing the complexity and error rate of manual operations.
[0043] Among them, the line elements corresponding to the first map data can be data elements in the first map data that can be used to characterize linear features in geographic space, including but not limited to roads, rivers, etc., and the line elements corresponding to the second map data can be corresponding linear feature data elements in the second map data. The line elements corresponding to the first map data and the line elements corresponding to the second map data can contain clear positions and forms in geographic space.
[0044] For example, line element extraction processing may be performed on the east map sheet data and the west map sheet data respectively to obtain line elements corresponding to the east map sheet data and line elements corresponding to the west map sheet data.
[0045] Step 106 , performing line element geometric edge processing on the line elements corresponding to the first map data and the line elements corresponding to the second map data, to obtain a line element geometric edge determination result corresponding to the map data set to be determined.
[0046] Specifically, the geometric correspondence between the line elements corresponding to the first map data and the line elements corresponding to the second map data at the junction can be identified, including but not limited to the comparison of geometric attributes such as the endpoints, length, and direction of the line elements. Then, the line elements corresponding to the first map data and the line elements corresponding to the second map data can be geometrically joined by a line element joining algorithm, including but not limited to adjusting the endpoint positions, lengths, or directions of the line elements. Then, the geometric joining determination results of the line elements corresponding to the map data set to be determined can be obtained, thereby improving the geometric accuracy and continuity of the map data junctions, ensuring the visual smoothness of the line elements, ensuring the accuracy of the position and direction of the line elements after the junction in the geographic space, avoiding spatial information distortion caused by improper junctions, providing accurate and reliable basic data for subsequent spatial data analysis and application, and improving the practicality and value of the data.
[0047] Among them, the line element geometric edge determination result corresponding to the map data set to be determined can be a determination result associated with the line element geometric shape and position at the junction of the first map data and the second map data obtained by processing the line element geometric edge. The line element geometric edge determination result corresponding to the map data set to be determined includes line element geometric edge connection and line element geometric non-connection.
[0048] For example, the line elements corresponding to the east map sheet data and the line elements corresponding to the west map sheet data can be processed to obtain the line element geometric edge determination result corresponding to the map sheet set to be determined, and the line element geometric edge determination result can be the line element geometric edge.
[0049] Step 107, based on the line feature geometric edge determination result corresponding to the to-be-determined map data set, line feature attribute edge processing is performed on the line features corresponding to the first map data and the line features corresponding to the second map data to obtain the line feature attribute edge determination result corresponding to the to-be-determined map data set.
[0050] Specifically, when the result of determining the geometric junctions of line elements corresponding to the map data set to be determined is characterized as the geometric junctions of line elements, attribute information extraction and processing can be performed on the line elements corresponding to the first map data and the second map data. The attribute information of the line elements includes but is not limited to the category, coding, color, and width of the line elements, and then the result of determining the attribute junctions of the line elements corresponding to the map data set to be determined can be obtained, thereby ensuring the consistency and continuity of the attribute information of the line elements, avoiding spatial information errors or confusions caused by inconsistent attribute information, improving the integrity and accuracy of spatial data, providing a more reliable data basis for subsequent spatial data analysis and application, and enhancing the readability and comprehensibility of spatial data.
[0051] Among them, the line feature attribute junction determination result corresponding to the map data set to be determined may refer to the determination result related to the line feature attribute information at the junction of the first map data and the second map data obtained through the line feature attribute junction processing, and the line feature attribute junction determination result may include line feature attribute junctions and line feature attribute non-junctions.
[0052] For example, when the line elements corresponding to the east map sheet data and the line elements corresponding to the west map sheet data are characterized as line element geometric junctions, line element attribute junctions can be processed on the line elements corresponding to the east map sheet data and the line elements corresponding to the west map sheet data to obtain the line element attribute junction determination result corresponding to the map sheet set to be determined, and the line element attribute junction determination result can be a line element attribute junction.
[0053] Step 108, when the geometrical junction determination result of the surface elements corresponding to the to-be-determined map sheet data set is the geometrical junction of surface elements, the attribute junction determination result of the surface elements corresponding to the to-be-determined map sheet data set is the attribute junction of surface elements, the geometrical junction determination result of the line elements corresponding to the to-be-determined map sheet data set is the geometrical junction of line elements, and the attribute junction determination result of the line elements corresponding to the to-be-determined map sheet data set is the attribute junction of line elements, determine the junction of the first map sheet data and the second map sheet data.
[0054] Specifically, the determination result of the geometrical edge connection of area elements can be determined by the geographic information system. When the determination result of the geometrical edge connection of area elements is characterized as the geometrical edge connection of area elements, the determination result of the attribute edge connection of area elements can be determined. The determination result of the geometrical edge connection of line elements can be determined by the system. When the determination result of the geometrical edge connection of line elements is characterized as the geometrical edge connection of line elements, the determination result of the attribute edge connection of line elements can be determined. When the determination result of the attribute edge connection of area elements is characterized as the attribute edge connection of area elements and the determination result of the attribute edge connection of line elements is characterized as the attribute edge connection of line elements, the connection between the first map data and the second map data is determined. In this way, through the automated verification process, the accuracy and completeness of the determination result of the edge connection of map data are guaranteed, the complexity and potential errors of manual operation are avoided, the geometry and attribute information of area elements and line elements are integrated, and a comprehensive and detailed edge connection inspection result is provided, which enhances the credibility and reliability of data edge connection, simplifies the edge connection processing process, and improves data processing efficiency.
[0055] In addition, it should be noted that the above steps can also be implemented by calling the methods of the relevant application programming interface. The key steps of the algorithm flow and the application programming interface methods are compared as shown in the following table.
[0056]
[0057]
[0058] The edge determination process is established through the above process and interface information, and the method parameters are set according to the data characteristics. The map edge determination process can be completed through the application programming interface in the above table.
[0059] According to the technical solution provided by the embodiment of the present disclosure, by obtaining a set of map data to be determined, each set of map data to be determined includes first map data and second map data, performing surface element recognition on the first map data and the second map data, and extracting the recognition result, obtaining the surface element corresponding to the first map data and the surface element corresponding to the second map data, performing geometric edge determination on the surface element corresponding to the first map data and the surface element corresponding to the second map data through a geometric edge processing method, and obtaining the geometric edge determination result of the surface element corresponding to the set of map data to be determined, and when the surface elements are geometrically connected, further performing attribute edge determination on the surface element corresponding to the first map data and the surface element corresponding to the second map data, and obtaining the attribute edge determination result of the surface element corresponding to the set of map data to be determined, and processing the first map data and the second map data. Line feature recognition processing is performed respectively, and the recognition results are extracted to obtain line features corresponding to the first map data and line features corresponding to the second map data; according to the geometric edge determination method, the line features corresponding to the first map data and the line features corresponding to the second map data are checked to obtain the line feature geometric edge determination result corresponding to the map data set to be determined; when the line feature geometric edge determination result is characterized as line feature geometric edge, line feature attribute edge determination processing is performed on the line features corresponding to the first map data and the line features corresponding to the second map data to obtain the line feature attribute edge result; when the above four edge results are all characterized as determined edges, the first map data and the second map data are determined to be edges, thereby improving the geometric accuracy and attribute accuracy in the edge determination process, reducing manpower loss, and avoiding data errors caused by multi-party stitching.
[0060] In some embodiments, determining the surface elements corresponding to the first map data and the second map data based on the first map data and the second map data includes: performing layer recognition processing on the first map data and the second map data to obtain the surface element layer corresponding to the first map data and the surface element layer corresponding to the second map data; performing surface element extraction processing on the surface element layer corresponding to the first map data and the surface element layer corresponding to the second map data to obtain the surface elements corresponding to the first map data and the surface elements corresponding to the second map data.
[0061] Specifically, the first map data and the second map data can be subjected to layer recognition processing through the geographic information system, and the surface element layer can be automatically identified and distinguished by analyzing the structure and content of the map data. The surface element layer can be used to represent data elements of continuous areas in geographic space, including but not limited to lakes, forests, and built-up areas, etc., and then the surface element extraction processing can be performed on the surface element layer corresponding to the identified first map data and the surface element layer corresponding to the second map data, and specific surface elements can be extracted from the surface element layer to obtain the surface elements corresponding to the first map data and the surface elements corresponding to the second map data.
[0062] Among them, the surface element layer corresponding to the first map data can be a layer used to represent surface elements in the first map data, and the surface element layer corresponding to the second map data can be a corresponding surface element layer in the second map data. The surface element layer can contain geographic spatial information and can serve as an important basis for extracting and edge processing surface elements.
[0063] For example, layer recognition processing can be performed on the east map sheet data and the west map sheet data respectively to obtain the surface element layer corresponding to the east map sheet data and the surface element layer corresponding to the west map sheet data, and surface element extraction processing can be performed on the surface element layer corresponding to the east map sheet data and the surface element layer corresponding to the west map sheet data respectively to obtain the surface elements corresponding to the east map sheet data and the surface elements corresponding to the west map sheet data.
[0064] According to the technical solution provided by the embodiment of the present disclosure, layer recognition processing is performed on the first map data and the second map data through the geographic information system, and the surface element layer can be automatically identified and distinguished by analyzing the structure and content of the map data. Then, surface element extraction processing can be performed on the surface element layer corresponding to the first map data and the surface element layer corresponding to the second map data obtained by recognition, and specific surface elements can be extracted from the surface element layer to obtain the surface elements corresponding to the first map data and the surface elements corresponding to the second map data. In this way, the accuracy of distinguishing the surface element layers in the map data is improved through layer recognition processing, which provides a basis for subsequent surface element extraction and processing. Through surface element extraction processing, the efficiency of extracting surface elements in the map data is enhanced.
[0065] In some embodiments, performing surface element geometric edge processing on the surface elements corresponding to the first map data and the surface elements corresponding to the second map data to obtain the surface element geometric edge determination result corresponding to the map data set to be determined, including: performing a covering process on the surface elements corresponding to the first map data and the surface elements corresponding to the second map data to determine whether the surface elements corresponding to the first map data and the surface elements corresponding to the second map data meet the overlapping condition, and performing a gap determination process on the surface elements corresponding to the first map data and the surface elements corresponding to the second map data to determine whether the surface elements corresponding to the first map data and the surface elements corresponding to the second map data meet the gap condition; When the corresponding surface elements do not satisfy the overlapping condition and do not satisfy the gap condition, the surface elements corresponding to the first map data and the surface elements corresponding to the second map data are subjected to dislocation determination processing to determine whether the surface elements corresponding to the first map data and the surface elements corresponding to the second map data satisfy the dislocation condition; if the surface elements corresponding to the first map data and the surface elements corresponding to the second map data satisfy the dislocation condition, then the result of determining the geometrical contiguous edges of the surface elements corresponding to the map data set to be determined is that the surface elements are not geometrically contiguous; if the surface elements corresponding to the first map data and the surface elements corresponding to the second map data do not satisfy the dislocation condition, then the result of determining the geometrical contiguous edges of the surface elements corresponding to the map data set to be determined is that the surface elements are geometrically contiguous.
[0066] Specifically, the surface elements corresponding to the first map data and the surface elements corresponding to the second map data may be overlapped, and the spatial positions and boundary relationships of the surface elements corresponding to the first map data and the second map data may be compared to determine whether the surface elements corresponding to the first map data and the second map data meet the overlapping condition, that is, whether there is a partially or completely overlapping area. The surface elements corresponding to the first map data and the second map data may be subjected to gap determination processing to check whether there is an unconnected blank area at the edge boundary of the surface elements corresponding to the first map data and the second map data, that is, whether the gap condition is met. When the surface elements meet neither the overlapping condition nor the gap condition, the dislocation determination processing may be performed. By analyzing whether there is any misalignment in the positional relationship between the surface elements corresponding to the first map data and the surface elements corresponding to the second map data at the junction boundary, that is, whether the misalignment condition is met, the misalignment can refer to that the surface elements are not correctly aligned or offset at the junction boundary. When the surface elements corresponding to the first map data and the surface elements corresponding to the second map data meet the misalignment condition, that is, there is a misalignment in the junction boundary, it can be determined that the result of the geometric junction determination of the surface elements corresponding to the map data set to be determined is that the surface elements are not geometrically joined. When the surface elements do not meet the misalignment condition, that is, the positional relationship of the surface elements at the junction is correct, it can be determined that the result of the geometric junction determination is that the surface elements are geometrically joined, which can be used to characterize that the surface elements corresponding to the first map data and the surface elements corresponding to the second map data meet the requirements in terms of geometric junction.
[0067] Among them, the overlapping condition can refer to the area where the surface elements partially or completely overlap at the edge boundary, the gap condition can refer to the unconnected blank area where the surface elements exist at the edge boundary, and the misalignment condition can refer to the area elements not being correctly aligned or being offset at the edge boundary.
[0068] For example, the area elements corresponding to the east map sheet data and the area elements corresponding to the west map sheet data can be overlapped, and the spatial positions and boundary relationships of the area elements corresponding to the east map sheet data and the west map sheet data can be compared to determine whether the area elements corresponding to the east map sheet data and the area elements corresponding to the west map sheet data meet the overlapping conditions. The area elements corresponding to the east map sheet data and the area elements corresponding to the west map sheet data can be gap determined to check whether the area elements corresponding to the east map sheet data and the area elements corresponding to the west map sheet data meet the gap conditions at the edge boundaries. If the area elements neither meet the overlapping conditions nor the gap conditions, the area elements can be gap determined. When there is a gap condition, the dislocation determination processing can be performed. The process can be performed by analyzing whether the positional relationship between the surface elements corresponding to the east map sheet data and the surface elements corresponding to the west map sheet data at the junction boundary meets the dislocation condition. When the surface elements corresponding to the east map sheet data and the surface elements corresponding to the west map sheet data meet the dislocation condition, it can be determined that the geometric junction determination result of the surface elements corresponding to the map sheet data set to be determined is that the surface elements are not geometrically joined. When the surface elements do not meet the dislocation condition, it can be determined that the geometric junction determination result is that the surface elements are geometrically joined, which can be used to characterize that the surface elements corresponding to the east map sheet data and the surface elements corresponding to the west map sheet data meet the requirements in terms of geometric junction.
[0069] According to the technical solution provided by the embodiment of the present disclosure, by determining the overlapping conditions and gap conditions of the surface elements corresponding to the first map data and the surface elements corresponding to the second map data, when the surface elements corresponding to the first map data and the surface elements corresponding to the second map data do not meet the overlapping conditions and do not meet the gap conditions, the misalignment conditions are determined. If the surface elements corresponding to the first map data and the surface elements corresponding to the second map data meet the misalignment conditions, the surface elements corresponding to the map data set to be determined are not geometrically connected. If the surface elements corresponding to the first map data and the surface elements corresponding to the second map data do not meet the misalignment conditions, the surface elements corresponding to the map data set to be determined are geometrically connected, thereby improving the accuracy and reliability of the connection of the surface elements. By judging and processing the overlapping, gap and misalignment conditions of the surface elements, the accuracy of the connection and transition of the surface elements at the connection boundary is guaranteed, and the discontinuity and error of the data are avoided.
[0070] In some embodiments, the method for determining the geometrical connection of map data further includes: when the surface elements corresponding to the first map data and the surface elements corresponding to the second map data meet the overlapping condition, determining that the result of the geometrical connection of the surface elements corresponding to the map data set to be determined is that the surface elements are not geometrically connected; when the surface elements corresponding to the first map data and the surface elements corresponding to the second map data meet the gap condition, determining that the result of the geometrical connection of the surface elements corresponding to the map data set to be determined is that the surface elements are not geometrically connected.
[0071] Specifically, when performing geometric edge processing on surface elements, if the surface elements corresponding to the first map data and the surface elements corresponding to the second map data meet the overlapping condition, that is, there are partially or completely overlapping areas between the surface elements corresponding to the first map data and the surface elements corresponding to the second map data, then it can be determined that the result of the geometric edge determination of the surface elements corresponding to the map data set to be determined is characterized as the surface elements being geometrically non-joined; if the surface elements meet the gap condition, that is, there are unconnected blank areas at the edge boundaries between the surface elements corresponding to the first map data and the surface elements corresponding to the second map data, then it can be determined that the result of the geometric edge determination of the surface elements corresponding to the map data set to be determined is characterized as the surface elements being geometrically non-joined.
[0072] For example, when performing geometric edge processing on surface elements, if the surface elements corresponding to the east map sheet data and the surface elements corresponding to the west map sheet data meet the overlapping condition, then the geometric edge determination result of the surface elements corresponding to the map sheet data set to be determined can be characterized as the surface elements being geometrically non-joined; if the surface elements meet the gap condition, then the geometric edge determination result of the surface elements corresponding to the map sheet data set to be determined can be characterized as the surface elements being geometrically non-joined.
[0073] According to the technical solution provided by the embodiment of the present disclosure, when performing geometric edge processing on surface elements, if the surface elements corresponding to the first map data and the surface elements corresponding to the second map data meet the overlapping condition, it can be determined that the geometric edge determination result of the surface elements corresponding to the map data set to be determined is characterized as the surface elements being geometrically non-joined; if the surface elements meet the gap condition, it can be determined that the geometric edge determination result of the surface elements corresponding to the map data set to be determined is characterized as the surface elements being geometrically non-joined, thereby reducing the possibility of edge errors, improving the accuracy and reliability of edge connection, simplifying the processing flow, and improving data processing efficiency.
[0074] In some embodiments, based on the determination result of the geometrical edge connection of the surface elements corresponding to the to-be-determined map data set, the surface elements corresponding to the first map data and the surface elements corresponding to the second map data are subjected to the surface element attribute edge connection processing to obtain the determination result of the surface element attribute edge connection corresponding to the to-be-determined map data set, including: when the determination result of the geometrical edge connection of the surface elements corresponding to the to-be-determined map data set is the geometrical edge connection of the surface elements, the surface elements corresponding to the first map data and the surface elements corresponding to the second map data are subjected to the point element conversion processing respectively to obtain the point elements corresponding to the first map data and the point elements corresponding to the second map data; based on the target attributes of the surface elements, the surface elements corresponding to the first map data and the surface elements corresponding to the second map data are fused. The point elements corresponding to the first map sheet data and the point elements corresponding to the second map sheet data are overlapped with the fused surface elements corresponding to the map sheet data set to be determined to obtain the point-surface overlap corresponding to the map sheet data set to be determined; if the point-surface overlap corresponding to the map sheet data set to be determined is equal to the preset surface element attribute edge overlap threshold, then the surface element attribute edge determination result corresponding to the map sheet data set to be determined is the surface element attribute edge; if the point-surface overlap corresponding to the map sheet data set to be determined is less than the preset surface element attribute edge overlap threshold, then the surface element attribute edge determination result corresponding to the map sheet data set to be determined is the surface element attribute non-edge.
[0075] Specifically, when it is confirmed that the geometric edge determination result of the area elements of the to-be-determined map data set is characterized as the geometric edge of the area elements, the area elements corresponding to the first map data and the area elements corresponding to the second map data can be respectively converted into point elements corresponding to the first map data and the point elements corresponding to the second map data. The point elements can be used to represent the key position or attribute information of the area elements. Then, based on the target attributes of the area elements, including but not limited to type, area, or color, the area elements corresponding to the first map data and the area elements corresponding to the second map data can be fused to obtain the fused area elements corresponding to the to-be-determined map data set. Then, the point elements corresponding to the first map data and the point elements corresponding to the second map data can be overlapped with the fused surface elements. By comparing the spatial position relationship between the point elements and the surface elements, the point-surface overlap corresponding to the map data set to be determined can be calculated, that is, the proportion of point elements falling within the fused surface element area. The calculated point-surface overlap can be compared with the preset surface element attribute edge overlap threshold. If the point-surface overlap is equal to the preset surface element attribute edge overlap threshold, it can be determined that the surface element attributes are connected. If the point-surface overlap is less than the preset surface element attribute edge overlap threshold, it can be determined that the surface element attributes are not connected.
[0076] Among them, the point elements corresponding to the first map data and the point elements corresponding to the second map data can be respectively converted from the surface elements corresponding to the first map data and the surface elements corresponding to the second map data to obtain point data, the point elements corresponding to the first map data and the point elements corresponding to the second map data can be used to characterize the key positions or attribute information of the surface elements, and can be used for subsequent edge processing and analysis, the surface element target attributes can refer to the attribute information that needs to be referenced and matched in the edge processing of the surface elements, including but not limited to type, area, or color, etc. The surface element target attributes can be used to determine whether the surface elements are consistent at the edge boundary and the method of edge processing, the fused surface elements corresponding to the map data set to be determined can refer to the unified surface elements obtained by fusing the surface elements corresponding to the first map data and the surface elements corresponding to the second map data, and the fusion processing It may include steps such as merging or splitting surface elements, and may be used to eliminate inconsistencies and redundant information in the edge boundaries. The point-to-surface overlap corresponding to the map data set to be determined may refer to the degree of overlap between the point elements corresponding to the first map data and the point elements corresponding to the second map data and the fused surface elements, that is, the proportion of the point elements falling within the fused surface element area, and may be used to quantitatively evaluate the spatial relationship between the point elements and the surface elements, and further may be used to determine the accuracy of the edge connection of the surface element attributes. The preset surface element attribute edge connection overlap threshold may be a threshold set according to demand, and may be used to determine whether the point-to-surface overlap meets the edge connection requirements. If the point-to-surface overlap is equal to the preset surface element attribute edge connection overlap threshold, it may be determined that the surface element attributes are connected. If the point-to-surface overlap is less than the preset surface element attribute edge connection overlap threshold, it may be determined that the surface element attributes are not connected.
[0077] For example, when it is confirmed that the geometric edge determination result of the area elements of the map sheet data set to be determined is characterized as the geometric edge of the area elements, the area elements corresponding to the east map sheet data and the area elements corresponding to the west map sheet data can be converted into point elements corresponding to the east map sheet data and point elements corresponding to the west map sheet data respectively, and then the area elements corresponding to the east map sheet data and the area elements corresponding to the west map sheet data can be fused to obtain the fused area elements corresponding to the map sheet data set to be determined, and then the point elements corresponding to the east map sheet data and the point elements corresponding to the west map sheet data can be overlaid with the fused area elements, and the point-to-surface overlap corresponding to the map sheet data set to be determined can be calculated by comparing the spatial position relationship between the point elements and the area elements, and the calculated point-to-surface overlap can be compared with a preset area element attribute edge overlap threshold. If the point-to-surface overlap is equal to the preset area element attribute edge overlap threshold, it can be determined that the area element attributes are connected, and if the point-to-surface overlap is less than the preset area element attribute edge overlap threshold, it can be determined that the area element attributes are not connected.
[0078] According to the technical solution provided by the embodiment of the present disclosure, by confirming that the geometric edge determination result of the surface elements of the to-be-determined map data set is characterized as the geometric edge determination result of the surface elements, the surface elements corresponding to the first map data and the surface elements corresponding to the second map data can be respectively converted into point elements corresponding to the first map data and the point elements corresponding to the second map data, and the surface elements corresponding to the first map data and the surface elements corresponding to the second map data are fused to obtain the fused surface elements corresponding to the to-be-determined map data set, and then the point elements corresponding to the first map data and the point elements corresponding to the second map data can be overlaid with the fused surface elements, and the to-be-determined map data set can be calculated by comparing the spatial position relationship between the point elements and the surface elements. The corresponding point-to-surface overlap can be compared with the preset surface feature attribute edge overlap threshold. If the point-to-surface overlap is equal to the preset surface feature attribute edge overlap threshold, it can be determined that the surface feature attributes are connected. If the point-to-surface overlap is less than the preset surface feature attribute edge overlap threshold, it can be determined that the surface feature attributes are not connected. This improves the accuracy and reliability of the surface feature attribute connection. By converting surface elements into point elements and fusing them based on the surface feature target attributes, the accuracy of the attribute consistency judgment of surface elements at the junction is improved. By calculating the point-to-surface overlap and comparing it with the preset surface feature attribute edge overlap threshold, a reliable foundation is provided for subsequent data processing and application.
[0079] In some embodiments, a line element geometric edge processing is performed on the line elements corresponding to the first map data and the line elements corresponding to the second map data to obtain a line element geometric edge determination result corresponding to the map data set to be determined, including: determining the edge boundary data corresponding to the map data set to be determined based on the first map data and the second map data; intersecting the line elements corresponding to the first map data and the line elements corresponding to the second map data with the edge boundary data corresponding to the map data set to be determined, and deduplicating the intersection result to obtain the geometric intersection point elements corresponding to the first map data and the geometric intersection point elements corresponding to the second map data; The geometric intersection elements corresponding to one map sheet data and the geometric intersection elements corresponding to the second map sheet data are overlapped to obtain the geometric edge overlap of the line elements corresponding to the map sheet data set to be determined; if the geometric edge overlap of the line elements corresponding to the map sheet data set to be determined is equal to the preset line element geometric edge overlap threshold, then the line element attribute edge determination result corresponding to the map sheet data set to be determined is determined to be the line element geometric edge; if the geometric edge overlap of the line elements corresponding to the map sheet data set to be determined is less than the preset line element geometric edge overlap threshold, then the line element geometric edge determination result corresponding to the map sheet data set to be determined is determined to be the line element geometric non-edge.
[0080] Specifically, according to the first map sheet data and the second map sheet data, by determining the edge boundary data corresponding to the map sheet data set to be determined, that is, the shared boundary of the first map sheet data and the second map sheet data at the edge, the line elements corresponding to the first map sheet data and the line elements corresponding to the second map sheet data can be respectively intersected with the edge boundary data corresponding to the map sheet data set to be determined, and the line elements intersecting with the edge boundary data can be determined, and the intersection result can be deduplicated to obtain the geometric intersection point elements corresponding to the first map sheet data and the geometric intersection point elements corresponding to the second map sheet data, that is, the intersection points of the line elements and the edge boundary, and the geometric intersection point elements corresponding to the first map sheet data and the second map sheet data can be deduplicated. The geometric intersection elements corresponding to the map data are covered, and the geometric edge overlap of the line elements corresponding to the map data set to be determined is calculated, that is, the degree of overlap of the line elements corresponding to the first map data and the line elements corresponding to the second map data at the edge. The calculated geometric edge overlap of the line elements can be compared with the preset line element geometric edge overlap threshold. If the geometric edge overlap of the line elements corresponding to the map data set to be determined is equal to the preset line element geometric edge overlap threshold, it can be determined that the line elements are geometrically connected. If the geometric edge overlap of the line elements corresponding to the map data set to be determined is less than the preset line element geometric edge overlap threshold, it can be determined that the line elements are not geometrically connected.
[0081] Among them, the edge connection boundary data corresponding to the map data set to be determined can be boundary data shared by the first map data and the second map data at the edge connection, the edge connection boundary data corresponding to the map data set to be determined can be used to determine the geometric edge connection of the line elements, the geometric intersection elements corresponding to the first map data and the geometric intersection elements corresponding to the second map data can be respectively the intersection points of the line elements corresponding to the first map data and the edge connection boundary and the intersection points of the line elements corresponding to the second map data and the edge connection boundary, the line element geometric edge overlap corresponding to the map data set to be determined can be the overlap degree of the line elements corresponding to the first map data and the line elements corresponding to the second map data at the edge connection boundary, which can be used to quantitatively evaluate the edge connection quality of the line elements, and the preset line element geometric edge overlap threshold can be a threshold set according to needs, which can be used to determine whether the quality of the geometric edge connection of the line elements meets the requirements.
[0082] For example, the border boundary data corresponding to the to-be-determined map sheet data set can be determined based on the east map sheet data and the west map sheet data, and then the line elements corresponding to the east map sheet data and the line elements corresponding to the west map sheet data can be respectively intersected with the border boundary data corresponding to the to-be-determined map sheet data set, and then the line elements intersecting with the border boundary data can be determined, and the intersection results can be deduplicated to obtain the geometric intersection elements corresponding to the east map sheet data and the geometric intersection elements corresponding to the west map sheet data, and then the geometric intersection elements corresponding to the east map sheet data can be intersected. The geometric intersection elements corresponding to the map sheet data on the west side are overlapped, and the line element geometric edge overlap corresponding to the map sheet data set to be determined is calculated. The calculated line element geometric edge overlap can be compared with the preset line element geometric edge overlap threshold. If the line element geometric edge overlap corresponding to the map sheet data set to be determined is equal to the preset line element geometric edge overlap threshold, it can be determined that the line elements are geometrically connected. If the line element geometric edge overlap corresponding to the map sheet data set to be determined is less than the preset line element geometric edge overlap threshold, it can be determined that the line elements are not geometrically connected.
[0083] According to the technical solution provided by the embodiment of the present disclosure, the edge boundary data corresponding to the set of map data to be determined can be determined based on the first map data and the second map data, and then the line elements corresponding to the first map data and the line elements corresponding to the second map data can be respectively intersected with the edge boundary data corresponding to the set of map data to be determined, and then the line elements intersecting with the edge boundary data can be determined, and the intersection result can be deduplicated to obtain the geometric intersection elements corresponding to the first map data and the geometric intersection elements corresponding to the second map data, and the geometric intersection elements corresponding to the first map data and the second map data can be covered to calculate the map data to be determined. According to the line feature geometric edge overlap corresponding to the data set, the calculated line feature geometric edge overlap can be compared with the preset line feature geometric edge overlap threshold. If the line feature geometric edge overlap corresponding to the to-be-determined map data set is equal to the preset line feature geometric edge overlap threshold, the line features can be determined to be geometrically connected. If the line feature geometric edge overlap corresponding to the to-be-determined map data set is less than the preset line feature geometric edge overlap threshold, it can be determined that the line features are not geometrically connected. In this way, the accuracy and reliability of the edges are improved by calculating and comparing the geometric edge overlap of the line elements. By deduplicating the intersection results, repeated calculations and data redundancy are avoided, thereby improving processing efficiency.
[0084] In some embodiments, based on the determination result of the geometrical junction of line elements corresponding to the map data set to be determined, line element attribute junction processing is performed on the line elements corresponding to the first map data and the second map data to obtain the determination result of the attribute junction of line elements corresponding to the map data set to be determined, including: when the determination result of the geometrical junction of line elements corresponding to the map data set to be determined is the geometrical junction of line elements, based on the line element target attributes, the line elements corresponding to the first map data and the line elements corresponding to the second map data are fused to obtain the fused line elements corresponding to the map data set to be determined; intersection processing is performed on the fused line elements corresponding to the map data set to be determined and the junction boundary data corresponding to the map data set to be determined, and deduplication processing is performed on the intersection result. The attribute intersection elements corresponding to the first map sheet data and the attribute intersection elements corresponding to the second map sheet data are obtained by processing; the attribute intersection elements corresponding to the first map sheet data and the attribute intersection elements corresponding to the second map sheet data are overlapped to obtain the line feature attribute edge overlap corresponding to the map sheet data set to be determined; if the line feature attribute edge overlap corresponding to the map sheet data set to be determined is equal to the preset line feature attribute edge overlap threshold, then the line feature attribute edge determination result corresponding to the map sheet data set to be determined is that the line feature attribute is connected; if the line feature attribute edge overlap corresponding to the map sheet data set to be determined is greater than the preset line feature attribute edge overlap threshold, then the line feature attribute edge determination result corresponding to the map sheet data set to be determined is that the line feature attribute is not connected.
[0085] Specifically, when the line elements in the to-be-determined map data set meet the geometric edge conditions, the line elements corresponding to the first map data and the line elements corresponding to the second map data can be fused based on the target attributes of the line elements, and then the fused line elements corresponding to the to-be-determined map data set and the edge boundary data corresponding to the to-be-determined map data set can be intersected and duplicate results can be removed to obtain the attribute intersection elements corresponding to the first map data and the attribute intersection elements corresponding to the second map data. The attribute intersection elements corresponding to the first map data and the attribute intersection elements corresponding to the second map data can be used to characterize the attribute information of the line elements at the edge, and then the first map data can be According to the corresponding attribute intersection elements and the attribute intersection elements corresponding to the second map data, overlapping processing is performed to calculate the line element attribute edge overlap corresponding to the map data set to be determined, that is, the overlap degree of the line element corresponding to the first map data and the line element attributes corresponding to the second map data at the edge boundary, and then the calculated line element attribute edge overlap can be compared with the preset line element attribute edge overlap threshold. If the line element attribute edge overlap is equal to the preset line element attribute edge overlap threshold, it can be determined that the line element attributes are connected. If the line element attribute edge overlap is greater than the preset line element attribute edge overlap threshold, it can be determined that the line element attributes are not connected.
[0086] Among them, the line feature target attribute can be the line feature attribute information referenced and matched in the edge connection processing process, including but not limited to color, line type, width, etc. The fused line feature corresponding to the to-be-determined map data set can be a unified line feature representation obtained by fusing the line features corresponding to the first map data and the line features corresponding to the second map data. The attribute intersection feature corresponding to the first map data and the attribute intersection feature corresponding to the second map data can be the attribute information intersection of the line features corresponding to the first map data and the line features corresponding to the second map data and the edge connection boundary respectively. The line feature attribute edge connection overlap corresponding to the to-be-determined map data set can be the overlap degree of the line features corresponding to the first map data and the line features corresponding to the second map data at the edge connection boundary, which can be used to quantitatively evaluate the quality of the line feature attribute edge connection. The preset line feature attribute edge connection overlap threshold can be a threshold set according to demand, which can be used to determine whether the line feature attribute edge connection meets the requirements.
[0087] According to the technical solution provided by the embodiment of the present disclosure, when the line elements in the to-be-determined map data set meet the geometric edge conditions, the line elements corresponding to the first map data and the line elements corresponding to the second map data can be fused based on the target attributes of the line elements, and then the fused line elements corresponding to the to-be-determined map data set and the edge boundary data corresponding to the to-be-determined map data set can be intersected and duplicate results can be removed to obtain the attribute intersection elements corresponding to the first map data and the attribute intersection elements corresponding to the second map data, and then the attribute intersection elements corresponding to the first map data and the attribute intersection elements corresponding to the second map data can be covered, and the calculation is performed. The line feature attribute edge overlap corresponding to the map data set to be determined is obtained, and then the calculated line feature attribute edge overlap can be compared with the preset line feature attribute edge overlap threshold. If the line feature attribute edge overlap is equal to the preset line feature attribute edge overlap threshold, it can be determined that the line feature attributes are connected. If the line feature attribute edge overlap is greater than the preset line feature attribute edge overlap threshold, it can be determined that the line feature attributes are not connected. This improves the accuracy and reliability of the line feature attribute edge determination results. By calculating the line feature attribute edge overlap, the edge quality assessment result is quantified, which provides support for data quality control and subsequent applications.
[0088] Figure 2 Schematic diagram of the position of a geometric edge embodiment of a surface element provided by the present disclosure. Figure 2 As shown, the positional relationship of the geometric edge embodiment of the surface element includes:
[0089] A and B can represent the adjacent surface element data at the edge, that is, the surface elements corresponding to map sheet 1 and map sheet 2 respectively, and the preset surface element geometric edge overlap threshold can be 1;
[0090] Overlapping: It may refer to overlap between map sheet 1 and map sheet 2, which can be judged based on the overlap between A and B. When the overlap of the geometric edges of the surface elements is greater than 1, it is determined that there is overlap.
[0091] Gap: It may refer to a hole between A and B. When A and B are fused, the gap can be represented in the form of a hole. At this time, the position of the gap can be determined by extracting the hole.
[0092] Misalignment: It may refer to the inconsistency of the node positions of the edges where A and B meet.
[0093] Figure 3 1 is a flow chart of an embodiment of geometric edge joining of surface elements provided by the present disclosure. Figure 3 As shown, the process of the embodiment of the geometric edge connection of the surface element includes:
[0094] A and B can be converted into line features respectively, and the intersection of the two line features can be interrupted respectively;
[0095] The two interruption results can be fused separately;
[0096] The start and end nodes of the fusion result can be extracted and de-duplicated, and then the intersection with the edge boundary can be performed;
[0097] The two intersection points can be overlapped. If the overlap of the point features is less than 1, the surface feature at that point is misaligned.
[0098] It can be determined that the two intersection points do not completely coincide at the misalignment point.
[0099] According to the technical solution provided by the embodiment of the present disclosure, by determining the overlapping conditions and gap conditions of the surface elements of map sheet 1 and the surface elements of map sheet 2, when A and B do not meet the overlapping conditions and do not meet the gap conditions, the dislocation conditions are determined, and the surface elements A and B are processed by surface-to-line conversion to obtain the line elements corresponding to A and B respectively, and then the line elements can be intersected and interrupted, and the starting and ending point coordinates can be obtained by line element fusion processing, the starting and ending point coordinates are extracted and deduplicated, and nodes are generated. Point-line overlapping processing is performed according to the nodes to obtain the corresponding surface element geometric edge overlap. Through conditional judgment, if A and B meet the dislocation condition, it is determined that the surface elements corresponding to map sheet 1 and map sheet 2 are not geometrically connected. If A and B do not meet the dislocation condition, it is determined that the surface elements corresponding to map sheet 1 and map sheet 2 are geometrically connected, thereby improving the accuracy and reliability of the surface element edge connection. By judging and processing the overlapping, gap and dislocation conditions of the surface elements, the accuracy of the surface element connection and transition at the edge boundary is guaranteed, and the discontinuity and error of the data are avoided.
[0100] Figure 4Schematic diagram of the location of a surface element attribute edge embodiment provided by the present disclosure. Figure 4 As shown, the positional relationship of the face element attribute edge embodiment includes:
[0101] A and B can represent the adjacent surface element data at the edge, that is, the surface elements corresponding to map sheet 1 and map sheet 2 respectively, and the preset surface element attribute edge overlap threshold can be 2, and the target attribute can be the name;
[0102] Based on the target attributes, Figure 4 Among them, the attributes of the surface features 0411 and 0412, and 0120 and 0110 are not connected, but the attributes of the surface features 0321 and 0321 are connected.
[0103] Figure 5 1 is a flow chart of an embodiment of the present disclosure providing an embodiment of the face feature attribute connection embodiment. Figure 5 As shown, the process of the embodiment of the face element attribute edge connection includes:
[0104] The area elements in A and B can be converted into point elements to obtain point element A and point element B respectively;
[0105] The surface elements A and B can be fused according to the target attributes to obtain the fused surface element AB;
[0106] The point feature A and the point feature B can be respectively overlapped with the surface feature AB; if the overlap of the surface feature attributes is less than 2, it can be determined that the surface feature attributes are not connected.
[0107] According to the technical solution provided by the embodiment of the present disclosure, when the geometric edge determination result of the surface elements of map sheets 1 and 2 is characterized as the geometric edge of the surface elements, A and B can be respectively converted into point elements corresponding to A and B, and A and B can be fused to obtain the fused surface elements corresponding to map sheets 1 and 2, and then the point elements corresponding to A and B can be overlapped with the fused surface elements, and the point-to-surface overlap between map sheets 1 and 2 can be calculated by comparing the spatial position relationship between the point elements and the surface elements, and the calculated point-to-surface overlap can be compared with the preset surface element attribute edge overlap threshold. If the point-to-surface overlap is equal to the preset surface feature attribute edge overlap threshold, it can be determined that the surface feature attributes are connected; if the point-to-surface overlap is less than the preset surface feature attribute edge overlap threshold, it can be determined that the surface feature attributes are not connected. This improves the accuracy and reliability of the surface feature attribute connection. By converting surface elements into point elements and fusing them based on the surface feature target attributes, the accuracy of judging the consistency of the attributes of surface elements at the junction is improved. By calculating the point-to-surface overlap and comparing it with the preset surface feature attribute edge overlap threshold, a reliable foundation is provided for subsequent data processing and application.
[0108] Figure 6 Schematic diagram of the position of a line element geometric edge embodiment provided by the present disclosure. Figure 6 As shown, the positional relationship of the embodiment of the geometric edge connection of the line element includes:
[0109] The geometric edge connection of line features can be positional edge connection, that is, whether the coordinates of the end points of the line features at the edge connection of A and B are consistent, including the geometric edge connection of line features and the non-edge connection of line feature sets.
[0110] Figure 7 1 is a flow chart of a geometric edge connection embodiment of a line element provided by the present disclosure. Figure 7 As shown, the process of the embodiment of the line element geometric edge connection includes:
[0111] A and B can represent the adjacent surface element data at the edge, that is, the surface elements corresponding to map sheet 1 and map sheet 2 respectively, and the preset line element geometric edge overlap threshold can be 1;
[0112] The starting and ending points of the line elements in A and B can be extracted respectively, and duplicate removal can be performed;
[0113] The deduplication result can be intersected with the edge boundary to obtain the point element where A and B intersect.
[0114] The point features where A and B intersect can be overlapped. If the overlap is less than 1, it can be determined that the line features where A and B intersect are located are not geometrically connected.
[0115] According to the technical solution provided by the embodiment of the present disclosure, the edge boundary data can be determined according to map sheets 1 and map sheets 2, and then the line elements corresponding to A and the line elements corresponding to B can be respectively intersected with the edge boundary data corresponding to the map sheet data set to be determined, and then the line elements intersecting with the edge boundary data can be determined, and the intersection result can be deduplicated to obtain the geometric intersection elements corresponding to A and the geometric intersection elements corresponding to B, and the geometric intersection elements corresponding to A and the geometric intersection elements corresponding to B can be covered to calculate the geometric edge overlap of the line elements corresponding to map sheets 1 and map sheets 2, and the calculated overlap can be used. The obtained line feature geometric edge overlap is compared with the preset line feature geometric edge overlap threshold. If the line feature geometric edge overlap corresponding to map sheet 1 and map sheet 2 is equal to the preset line feature geometric edge overlap threshold, it can be determined that the line features are geometrically connected. If the line feature geometric edge overlap corresponding to map sheet 1 and map sheet 2 is less than the preset line feature geometric edge overlap threshold, it can be determined that the line features are not geometrically connected. In this way, the accuracy and reliability of the edge connection are improved by calculating and comparing the geometric edge overlap of line elements. By deduplicating the intersection results, repeated calculation and data redundancy are avoided, and the processing efficiency is improved.
[0116] Figure 8 Schematic diagram of the position of a line element attribute edge connection embodiment provided by the present disclosure. Figure 8 As shown, the positional relationship of the line element attribute edge embodiment includes:
[0117] The attribute connection of the line feature data may be that the target attribute must be consistent. In this embodiment, the target attribute may be the name. A and B may be corresponding line features. The attributes 1012 and 1011 are not connected, and the attributes 1011 and 1011 are connected. When the attributes are consistent, the corresponding line features A and B can be merged into one line, otherwise they cannot be merged.
[0118] Fig. 9 1 is a flow chart of an embodiment of the present disclosure providing a line feature attribute edge connection embodiment. Fig. 9 As shown, the process of the line feature attribute edge connection embodiment includes:
[0119] The preset line feature attribute edge overlap threshold can be 0;
[0120] A and B can be fused according to the target attributes to obtain AB;
[0121] The starting and ending points of AB can be extracted, and duplicate removal can be performed to obtain the corresponding intersection points of AB;
[0122] The intersection point corresponding to AB can be intersected with the edge boundary. If the edge overlap of the line feature attribute is greater than 0, it can be determined that the line feature attribute is not connected.
[0123] According to the technical solution provided by the embodiment of the present disclosure, when the line elements in the map sheets 1 and 2 meet the geometric edge connection conditions, the line elements corresponding to A and the line elements corresponding to B can be fused based on the name attributes of the line elements, and then the fused line elements can be intersected with the edge connection boundary data and duplicate results can be removed to obtain the attribute intersection elements corresponding to A and the attribute intersection elements corresponding to B, and then the attribute intersection elements corresponding to A and the attribute intersection elements corresponding to B can be covered, and the attribute edge connection overlap of the line elements to be calculated, and then the calculated line element attribute edge connection overlap can be compared with a preset line element attribute edge connection overlap threshold. If the line element attribute edge connection overlap is equal to the preset line element attribute edge connection overlap threshold, it can be determined that the line element attributes are connected. If the line element attribute edge connection overlap is greater than the preset line element attribute edge connection overlap threshold, it can be determined that the line element attributes are not connected, thereby improving the accuracy and reliability of the line element attribute edge connection determination result, and by calculating the line element attribute edge connection overlap, the edge connection quality is quantified and evaluated, providing support for data quality control and subsequent applications.
[0124] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present disclosure, and will not be described in detail here.
[0125] The following are embodiments of the device disclosed herein, which can be used to execute the method embodiments disclosed herein. For details not disclosed in the device embodiments disclosed herein, please refer to the method embodiments disclosed herein.
[0126] Fig.10 Schematic diagram of a device for determining edge connection of image data provided by an embodiment of the present disclosure. Fig.10 As shown, the map data edge determination device comprises:
[0127] An acquisition module 1001 is used to acquire a set of map data to be determined, where the set of map data to be determined includes first map data and second map data;
[0128] The first determination module 1002 is used to determine the area element corresponding to the first map data and the area element corresponding to the second map data according to the first map data and the second map data;
[0129] The first processing module 1003 is used to perform geometric edge processing on the surface elements corresponding to the first map data and the surface elements corresponding to the second map data to obtain the geometric edge determination result of the surface elements corresponding to the map data set to be determined;
[0130] The second processing module 1004 is used to perform surface element attribute edge processing on the surface elements corresponding to the first map data and the surface elements corresponding to the second map data based on the surface element geometric edge determination result corresponding to the map data set to be determined, so as to obtain the surface element attribute edge determination result corresponding to the map data set to be determined;
[0131] The second determination module 1005 is used to determine the line element corresponding to the first map data and the line element corresponding to the second map data according to the first map data and the second map data;
[0132] The third processing module 1006 is used to perform line element geometric edge processing on the line elements corresponding to the first map data and the line elements corresponding to the second map data to obtain the line element geometric edge determination result corresponding to the map data set to be determined;
[0133] The fourth processing module 1007 is used to perform line element attribute edge connection processing on the line elements corresponding to the first map data and the line elements corresponding to the second map data based on the line element geometric edge connection determination result corresponding to the map data set to be determined, so as to obtain the line element attribute edge connection determination result corresponding to the map data set to be determined;
[0134] The third determination module 1008 is used to determine the junction between the first map sheet data and the second map sheet data when the geometric junction determination result of the surface elements corresponding to the map sheet data set to be determined is the geometric junction of surface elements, the attribute junction determination result of the surface elements corresponding to the map sheet data set to be determined is the attribute junction of surface elements, the geometric junction determination result of the line elements corresponding to the map sheet data set to be determined is the geometric junction of line elements, and the attribute junction determination result of the line elements corresponding to the map sheet data set to be determined is the attribute junction of line elements.
[0135] According to the technical solution provided by the embodiment of the present disclosure, by obtaining a set of map data to be determined, each set of map data to be determined includes first map data and second map data, performing surface element recognition on the first map data and the second map data, and extracting the recognition result, obtaining the surface element corresponding to the first map data and the surface element corresponding to the second map data, performing geometric edge determination on the surface element corresponding to the first map data and the surface element corresponding to the second map data through a geometric edge processing method, and obtaining the geometric edge determination result of the surface element corresponding to the set of map data to be determined, and when the surface elements are geometrically connected, further performing attribute edge determination on the surface element corresponding to the first map data and the surface element corresponding to the second map data, and obtaining the attribute edge determination result of the surface element corresponding to the set of map data to be determined, and processing the first map data and the second map data. Line feature recognition processing is performed respectively, and the recognition results are extracted to obtain line features corresponding to the first map data and line features corresponding to the second map data; according to the geometric edge determination method, the line features corresponding to the first map data and the line features corresponding to the second map data are checked to obtain the line feature geometric edge determination result corresponding to the map data set to be determined; when the line feature geometric edge determination result is characterized as line feature geometric edge, line feature attribute edge determination processing is performed on the line features corresponding to the first map data and the line features corresponding to the second map data to obtain the line feature attribute edge result; when the above four edge results are all characterized as determined edges, the first map data and the second map data are determined to be edges, thereby improving the geometric accuracy and attribute accuracy in the edge determination process, reducing manpower loss, and avoiding data errors caused by multi-party stitching.
[0136] In some embodiments, the first determination module 1002 is specifically used to perform layer recognition processing on the first map data and the second map data to obtain the surface element layer corresponding to the first map data and the surface element layer corresponding to the second map data; perform surface element extraction processing on the surface element layer corresponding to the first map data and the surface element layer corresponding to the second map data to obtain the surface elements corresponding to the first map data and the surface elements corresponding to the second map data.
[0137] In some embodiments, the first processing module 1003 is specifically used to perform a covering process on the surface elements corresponding to the first map data and the surface elements corresponding to the second map data to determine whether the surface elements corresponding to the first map data and the surface elements corresponding to the second map data meet the overlapping condition, and perform a gap determination process on the surface elements corresponding to the first map data and the surface elements corresponding to the second map data to determine whether the surface elements corresponding to the first map data and the surface elements corresponding to the second map data meet the gap condition; when the surface elements corresponding to the first map data and the surface elements corresponding to the second map data do not meet the overlapping condition and do not meet the gap condition, The surface elements corresponding to one map sheet data and the surface elements corresponding to the second map sheet data are subjected to misalignment determination processing to determine whether the surface elements corresponding to the first map sheet data and the surface elements corresponding to the second map sheet data meet the misalignment condition; if the surface elements corresponding to the first map sheet data and the surface elements corresponding to the second map sheet data meet the misalignment condition, then the result of determining the geometrical contiguous edges of the surface elements corresponding to the map sheet data set to be determined is that the surface elements are not geometrically contiguous; if the surface elements corresponding to the first map sheet data and the surface elements corresponding to the second map sheet data do not meet the misalignment condition, then the result of determining the geometrical contiguous edges of the surface elements corresponding to the map sheet data set to be determined is that the surface elements are geometrically contiguous.
[0138] In some embodiments, the above-mentioned map data edge determination device is also used to, when the surface elements corresponding to the first map data and the surface elements corresponding to the second map data meet the overlapping condition, determine that the geometric edge determination result of the surface elements corresponding to the map data set to be determined is that the surface elements are not geometrically connected; when the surface elements corresponding to the first map data and the surface elements corresponding to the second map data meet the gap condition, determine that the geometric edge determination result of the surface elements corresponding to the map data set to be determined is that the surface elements are not geometrically connected.
[0139] In some embodiments, the second processing module 1004 is specifically used to, when the geometric edge determination result of the surface elements corresponding to the to-be-determined map data set is the geometric edge of the surface elements, respectively perform point element conversion processing on the surface elements corresponding to the first map data and the second map data to obtain the point elements corresponding to the first map data and the point elements corresponding to the second map data; based on the target attributes of the surface elements, perform fusion processing on the surface elements corresponding to the first map data and the second map data to obtain the fused surface elements corresponding to the to-be-determined map data set; and convert the point elements corresponding to the first map data and the second map data into point elements. The point features corresponding to the two map data are overlapped with the fused surface features corresponding to the map data set to be determined to obtain the point-surface overlap corresponding to the map data set to be determined; if the point-surface overlap corresponding to the map data set to be determined is equal to the preset surface feature attribute edge overlap threshold, then the surface feature attribute edge determination result corresponding to the map data set to be determined is that the surface feature attributes are connected; if the point-surface overlap corresponding to the map data set to be determined is less than the preset surface feature attribute edge overlap threshold, then the surface feature attribute edge determination result corresponding to the map data set to be determined is that the surface feature attributes are not connected.
[0140] In some embodiments, the third processing module 1006 is specifically used to determine the edge connection boundary data corresponding to the map data set to be determined based on the first map data and the second map data; intersect the line elements corresponding to the first map data and the line elements corresponding to the second map data with the edge connection boundary data corresponding to the map data set to be determined, and perform deduplication processing on the intersection result to obtain the geometric intersection elements corresponding to the first map data and the geometric intersection elements corresponding to the second map data; perform overlay processing on the geometric intersection elements corresponding to the first map data and the geometric intersection elements corresponding to the second map data to obtain the line element geometric edge connection overlap corresponding to the map data set to be determined; if the line element geometric edge connection overlap corresponding to the map data set to be determined is equal to a preset line element geometric edge connection overlap threshold, then determine that the line element attribute edge connection determination result corresponding to the map data set to be determined is line element geometric edge connection; if the line element geometric edge connection overlap corresponding to the map data set to be determined is less than the preset line element geometric edge connection overlap threshold, then determine that the line element geometric edge connection determination result corresponding to the map data set to be determined is line element geometric non-edge connection.
[0141] In some embodiments, the fourth processing module 1007 is specifically used to, when the geometric edge determination result of the line elements corresponding to the to-be-determined map data set is the geometric edge of the line elements, fuse the line elements corresponding to the first map data set and the line elements corresponding to the second map data set based on the line element target attributes to obtain the fused line elements corresponding to the to-be-determined map data set; perform intersection processing on the fused line elements corresponding to the to-be-determined map data set and the edge boundary data corresponding to the to-be-determined map data set, and perform deduplication processing on the intersection result to obtain the attribute intersection elements corresponding to the first map data set and the attribute intersection elements corresponding to the second map data set; and fuse the first map data set and the to-be-determined map data set. The attribute intersection elements corresponding to the first map sheet data and the attribute intersection elements corresponding to the second map sheet data are overlapped to obtain the line feature attribute edge overlap corresponding to the map sheet data set to be determined; if the line feature attribute edge overlap corresponding to the map sheet data set to be determined is equal to the preset line feature attribute edge overlap threshold, then the line feature attribute edge determination result corresponding to the map sheet data set to be determined is that the line feature attributes are connected; if the line feature attribute edge overlap corresponding to the map sheet data set to be determined is greater than the preset line feature attribute edge overlap threshold, then the line feature attribute edge determination result corresponding to the map sheet data set to be determined is that the line feature attributes are not connected.
[0142] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present disclosure.
[0143] Fig.11 Schematic diagram of an electronic device 11 provided in an embodiment of the present disclosure. Fig.11 As shown, the electronic device 11 of this embodiment includes: a processor 1101, a memory 1102, and a computer program 1103 stored in the memory 1102 and executable on the processor 1101. When the processor 1101 executes the computer program 1103, the steps in the above-mentioned method embodiments are implemented. Alternatively, when the processor 1101 executes the computer program 1103, the functions of the modules / units in the above-mentioned device embodiments are implemented.
[0144] The electronic device 11 may be a desktop computer, a notebook, a PDA, a cloud server, or other electronic device. The electronic device 11 may include, but is not limited to, a processor 1101 and a memory 1102. Those skilled in the art will appreciate that Fig.11 The electronic device 11 is merely an example and does not limit the electronic device 11 , and may include more or less components than those shown in the figure, or different components.
[0145] Processor 1101 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
[0146] The memory 1102 may be an internal storage unit of the electronic device 11, for example, a hard disk or memory of the electronic device 11. The memory 1102 may also be an external storage device of the electronic device 11, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card (FlashCard), etc. equipped on the electronic device 11. The memory 1102 may also include both an internal storage unit of the electronic device 11 and an external storage device. The memory 1102 is used to store computer programs and other programs and data required by the electronic device.
[0147] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units.
[0148] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium (e.g., a computer-readable storage medium). Based on this understanding, the present disclosure implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. The computer program may include computer program code, and the computer program code may be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable storage medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc.
[0149] The above embodiments are only used to illustrate the technical solutions of the present disclosure, rather than to limit them. Although the present disclosure has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should all be included in the protection scope of the present disclosure.
Claims
1. A method for determining the edge of map data, characterized in that: include: Acquire a set of map data to be determined, wherein the set of map data to be determined includes first map data and second map data; Determining, according to the first map sheet data and the second map sheet data, a surface element corresponding to the first map sheet data and a surface element corresponding to the second map sheet data; Performing surface element geometric edge processing on the surface elements corresponding to the first map data and the surface elements corresponding to the second map data to obtain a surface element geometric edge determination result corresponding to the map data set to be determined; Based on the surface element geometric edge determination result corresponding to the to-be-determined map data set, performing surface element attribute edge processing on the surface elements corresponding to the first map data and the surface elements corresponding to the second map data, to obtain the surface element attribute edge determination result corresponding to the to-be-determined map data set; Determining, according to the first map data and the second map data, a line element corresponding to the first map data and a line element corresponding to the second map data; Performing line element geometric edge processing on the line elements corresponding to the first map data and the line elements corresponding to the second map data to obtain a line element geometric edge determination result corresponding to the map data set to be determined; Based on the line element geometric edge determination result corresponding to the to-be-determined map data set, performing line element attribute edge processing on the line elements corresponding to the first map data and the line elements corresponding to the second map data, to obtain the line element attribute edge determination result corresponding to the to-be-determined map data set; When the result of determining the geometrical junction of the surface elements corresponding to the to-be-determined map sheet data set is the geometrical junction of the surface elements, the result of determining the attribute junction of the surface elements corresponding to the to-be-determined map sheet data set is the attribute junction of the surface elements, the result of determining the geometrical junction of the line elements corresponding to the to-be-determined map sheet data set is the geometrical junction of the line elements, and the result of determining the attribute junction of the line elements corresponding to the to-be-determined map sheet data set is the attribute junction of the line elements, the junction of the first map sheet data and the second map sheet data is determined.
2. The method for determining the edge of map data according to claim 1, characterized in that: The determining, based on the first map sheet data and the second map sheet data, the surface element corresponding to the first map sheet data and the surface element corresponding to the second map sheet data comprises: Performing layer recognition processing on the first map sheet data and the second map sheet data to obtain a surface element layer corresponding to the first map sheet data and a surface element layer corresponding to the second map sheet data; Performing surface element extraction processing on the surface element layer corresponding to the first map sheet data and the surface element layer corresponding to the second map sheet data to obtain the surface elements corresponding to the first map sheet data and the surface elements corresponding to the second map sheet data.
3. The method for determining the edge of map data according to claim 1, characterized in that: The performing surface element geometric edge processing on the surface elements corresponding to the first map data and the surface elements corresponding to the second map data to obtain the surface element geometric edge determination result corresponding to the map data set to be determined includes: Performing a covering process on the surface elements corresponding to the first map sheet data and the surface elements corresponding to the second map sheet data to determine whether the surface elements corresponding to the first map sheet data and the surface elements corresponding to the second map sheet data meet an overlapping condition, and performing a gap determination process on the surface elements corresponding to the first map sheet data and the surface elements corresponding to the second map sheet data to determine whether the surface elements corresponding to the first map sheet data and the surface elements corresponding to the second map sheet data meet a gap condition; When the surface element corresponding to the first map sheet data and the surface element corresponding to the second map sheet data do not satisfy the overlapping condition and do not satisfy the gap condition, performing misalignment determination processing on the surface element corresponding to the first map sheet data and the surface element corresponding to the second map sheet data to determine whether the surface element corresponding to the first map sheet data and the surface element corresponding to the second map sheet data satisfy the misalignment condition; If the surface element corresponding to the first map data and the surface element corresponding to the second map data meet the misalignment condition, then determining that the geometric edge connection result of the surface elements corresponding to the to-be-determined map data set is that the surface elements are not geometrically connected; If the area elements corresponding to the first map data and the area elements corresponding to the second map data do not satisfy the misalignment condition, then the geometric edge determination result of the area elements corresponding to the to-be-determined map data set is determined to be the geometric edge of the area elements.
4. The method for determining the edge of map data according to claim 3, characterized in that: The method further comprises: When the surface elements corresponding to the first map data and the surface elements corresponding to the second map data meet the overlapping condition, determining that the geometric edge connection result of the surface elements corresponding to the to-be-determined map data set is that the surface elements are not geometrically connected; When the surface elements corresponding to the first map data and the surface elements corresponding to the second map data meet the gap condition, it is determined that the geometric edge connection of the surface elements corresponding to the to-be-determined map data set is that the surface elements are not geometrically connected.
5. The method for determining the edge of map data according to claim 1, characterized in that: The method of performing surface element attribute edge processing on the surface elements corresponding to the first map data and the surface elements corresponding to the second map data based on the surface element geometric edge determination result corresponding to the map data set to be determined, to obtain the surface element attribute edge determination result corresponding to the map data set to be determined, includes: When the geometric edge determination result of the area elements corresponding to the to-be-determined map sheet data set is the geometric edge of the area elements, the area elements corresponding to the first map sheet data and the area elements corresponding to the second map sheet data are respectively converted into point elements to obtain point elements corresponding to the first map sheet data and point elements corresponding to the second map sheet data; Based on the target attributes of the surface elements, the surface elements corresponding to the first map data and the surface elements corresponding to the second map data are fused to obtain fused surface elements corresponding to the map data set to be determined; Performing a covering process on the point elements corresponding to the first map data and the point elements corresponding to the second map data and the fused surface elements corresponding to the map data set to be determined, so as to obtain the point-surface overlap degree corresponding to the map data set to be determined; If the point-surface overlap degree corresponding to the to-be-determined map sheet data set is equal to the preset area element attribute edge overlap degree threshold, then determining that the area element attribute edge determination result corresponding to the to-be-determined map sheet data set is the area element attribute edge; If the point-to-surface overlap corresponding to the to-be-determined map data set is less than the preset surface element attribute edge overlap threshold, then the surface element attribute edge determination result corresponding to the to-be-determined map data set is determined to be that the surface element attributes are not edged.
6. The method for determining the edge of map data according to claim 1, characterized in that: The performing line element geometric edge processing on the line elements corresponding to the first map data and the line elements corresponding to the second map data to obtain the line element geometric edge determination result corresponding to the to-be-determined map data set includes: Determining the edge boundary data corresponding to the to-be-determined map data set according to the first map data and the second map data; Intersecting the line elements corresponding to the first map data and the line elements corresponding to the second map data with the edge boundary data corresponding to the map data set to be determined, and performing deduplication processing on the intersection results to obtain the geometric intersection elements corresponding to the first map data and the geometric intersection elements corresponding to the second map data; Performing a capping process on the geometric intersection elements corresponding to the first map data and the geometric intersection elements corresponding to the second map data to obtain the geometric edge overlap of the line elements corresponding to the map data set to be determined; If the geometric edge overlap of the line elements corresponding to the to-be-determined map data set is equal to a preset line element geometric edge overlap threshold, then determining the line element attribute edge determination result corresponding to the to-be-determined map data set as the line element geometric edge; If the geometric edge overlap of the line elements corresponding to the to-be-determined map data set is less than the preset line element geometric edge overlap threshold, the geometric edge determination result of the line elements corresponding to the to-be-determined map data set is determined to be that the line elements are not geometrically connected.
7. The method for determining the edge of map data according to claim 1, characterized in that: The method of performing line element attribute edge connection processing on the line elements corresponding to the first map data and the line elements corresponding to the second map data based on the line element geometric edge connection determination result corresponding to the map data set to be determined, to obtain the line element attribute edge connection determination result corresponding to the map data set to be determined, includes: When the geometric edge determination result of the line elements corresponding to the to-be-determined map data set is the geometric edge determination result of the line elements, the line elements corresponding to the first map data set and the line elements corresponding to the second map data set are fused based on the line element target attributes to obtain fused line elements corresponding to the to-be-determined map data set; Intersecting the fused line elements corresponding to the to-be-determined map data set and the edge boundary data corresponding to the to-be-determined map data set, and performing deduplication processing on the intersection results to obtain attribute intersection elements corresponding to the first map data and attribute intersection elements corresponding to the second map data; The attribute intersection elements corresponding to the first map data and the attribute intersection elements corresponding to the second map data are overlapped to obtain the line element attribute edge overlap corresponding to the map data set to be determined; If the line feature attribute edge overlap corresponding to the to-be-determined map data set is equal to a preset line feature attribute edge overlap threshold, then determining that the line feature attribute edge determination result corresponding to the to-be-determined map data set is the line feature attribute edge; If the line feature attribute edge overlap corresponding to the to-be-determined map data set is greater than the preset line feature attribute edge overlap threshold, then the line feature attribute edge determination result corresponding to the to-be-determined map data set is determined to be that the line feature attributes are not connected.
8. A device for determining the edge of a map data, characterized in that: include: An acquisition module, used for acquiring a set of map data to be determined, wherein the set of map data to be determined includes first map data and second map data; A first determining module, configured to determine, based on the first map sheet data and the second map sheet data, a surface element corresponding to the first map sheet data and a surface element corresponding to the second map sheet data; The first processing module is used to perform geometric edge processing on the surface elements corresponding to the first map data and the surface elements corresponding to the second map data to obtain a determination result of the geometric edge determination of the surface elements corresponding to the map data set to be determined; The second processing module is used to perform surface element attribute edge processing on the surface elements corresponding to the first map data and the surface elements corresponding to the second map data based on the surface element geometric edge determination result corresponding to the map data set to be determined, so as to obtain the surface element attribute edge determination result corresponding to the map data set to be determined; A second determination module is used to determine the line elements corresponding to the first map data and the line elements corresponding to the second map data according to the first map data and the second map data; The third processing module is used to perform line element geometric edge processing on the line elements corresponding to the first map data and the line elements corresponding to the second map data to obtain the line element geometric edge determination result corresponding to the map data set to be determined; A fourth processing module is used to perform line element attribute edge connection processing on the line elements corresponding to the first map data and the line elements corresponding to the second map data based on the line element geometric edge connection determination result corresponding to the map data set to be determined, so as to obtain the line element attribute edge connection determination result corresponding to the map data set to be determined; The third determination module is used to determine the junction between the first map sheet data and the second map sheet data when the result of determining the geometric junction of the surface elements corresponding to the map sheet data set to be determined is the geometric junction of the surface elements, the result of determining the attribute junction of the surface elements corresponding to the map sheet data set to be determined is the attribute junction of the surface elements, the result of determining the geometric junction of the line elements corresponding to the map sheet data set to be determined is the geometric junction of the line elements, and the result of determining the attribute junction of the line elements corresponding to the map sheet data set to be determined is the attribute junction of the line elements.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Geographic element cross-amplitude collaborative merging method and system based on framing line constraint
CN122817233A
