Rule-based aerial vector map data automatic processing method
Through the rules-based automatic processing method of aviation vector map data, the problem of insufficient processing efficiency and accuracy of aviation vector map data in the prior art is solved, and adaptive output and efficient and accurate data processing are realized, which is suitable for task requirements of different aircraft models.
Patent Information
- Application Number
- CN202411588041.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-08
- Publication Date
- 2025-02-28
AI Technical Summary
The prior art is difficult to efficiently and accurately process and upgrade aviation vector map data, especially under the requirements of changing tasks and map data of different aircraft models, resulting in limited processing efficiency and accuracy.
The rules-based automatic processing method of aviation vector map data is adopted, and the prior knowledge base for vector map data processing is developed, error information is automatically identified and corrected, the XML aviation vector layer filtering rules are defined, and the reference land objects and navigation feature layers are dynamically defined to achieve adaptive output.
It improves the accuracy and efficiency of aviation vector map data processing, has a certain degree of versatility and scalability, and can meet the task needs of different aircraft models.
Smart Images

Figure CN119537503A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of aviation geographic information data processing, relates to ground map resource processing technology in the field of aviation electronics, and particularly to a rule-based automatic processing method for aviation vector map data. Background Art
[0002] Aviation vector map data describes geographic element information and flight navigation facility information related to the aviation flight environment, and has important application value in scenarios such as flight safety guidance, ground mission planning, and air mission execution.
[0003] Aviation vector map data is of various types and contains a large amount of information, including natural geographic data such as water systems, mountains, and vegetation, artificial building data such as railways, airports, navigation stations, settlements, obstacles, and logical elements such as national borders, air control areas, and notes. With the rapid development of society, the location and attribute information of each element in aviation geographic information data has also changed. In order to ensure flight safety navigation, mission planning and other needs, various types of aircraft upgrade map data more frequently.
[0004] Due to the different mission scenarios of various aircraft, the display requirements for map content vary, which are manifested in the number of layers, layer definitions, projection parameters, file merging methods, etc.; the layer attribute content of map data produced at different times varies, which puts higher requirements on the accuracy and efficiency of map processing and upgrading. Therefore, a method is needed to efficiently and accurately extract information, convert coordinates, and other processing of source geographic information data into data content and data structure suitable for new requirements. Summary of the invention
[0005] The purpose of the invention is to provide a rule-based automatic processing method for aviation vector map data, develop a priori knowledge base for vector map data processing, automatically identify source map data and error information in the data processing process, define XML-based aviation vector layer screening rules by analyzing aviation vector map source data and airborne map data models of various aircraft types, dynamically define reference features and navigation element layers of aviation flight concern, realize adaptive output of different airborne map formats, improve the accuracy and efficiency of aviation vector map data processing, and have certain versatility and extensibility.
[0006] The object of the present invention is achieved through the following technical solutions:
[0007] A rule-based automatic processing method for aerial vector map data comprises the following steps:
[0008] Step 1: Check the validity of the original aerial vector map data;
[0009] Step 2: Define the filtering conditions of the source layer in the filtering profile;
[0010] Step 3: Set the data conversion parameters according to the target model in the conversion configuration file;
[0011] Step 4: Import the original aerial vector map data, filter the features according to the filter profile, transform the coordinates according to the conversion profile, triangulate, and generate the airborne map file.
[0012] Preferably, step 1 comprises:
[0013] Check whether the map metafile, layer attribute file, and layer coordinate file are complete;
[0014] Check whether the latitude and longitude ranges of the map metafile, the layer attribute file format, the layer coordinate file format, and the coordinate values are within the threshold range.
[0015] Preferably, in step 2, it is required that the attribute value in the filtering condition corresponding to the source layer defined in the filtering configuration file must include the attribute value list of the layer in the original aerial vector map data.
[0016] Preferably, in step 3, the conversion configuration file includes a mapping relationship between the aircraft model and the airborne map format, and the airborne map format content includes the coordinate system, projection system, header information content, file organization method and layer name required for the data processing process.
[0017] Preferably, step 4 comprises the following steps:
[0018] Step 41: Parse the original aerial vector map data and import the attribute and coordinate information of each element in the layer into the SQLite database;
[0019] Step 42: Read the filtering configuration file and filter out the target features from the source layer according to the filtering conditions;
[0020] Step 43: Parse and read the conversion configuration file, and perform coordinate projection conversion on the geographic features in the layer;
[0021] Step 44: triangulate the polygonal elements;
[0022] Step 45: convert the Chinese characters in the element record into Unicode codes, and convert the latitude and longitude coordinate information in the element record into target coordinates;
[0023] Step 46: Calculate the offset of the starting element of each layer in the file, and calculate the header information and boundary information according to the parameters set in the conversion configuration parameters; then, calculate the map index area checksum and the data area checksum, and write the above information into the file header; calculate the map length and the total data length, write the airborne layer data into the data area in sequence, and generate an airborne map file.
[0024] Preferably, step 44 uses a recursive cutter algorithm to divide the polygon into a triangulated network consisting of a number of adjacent triangles, and stores the vertex coordinates of each triangle.
[0025] The beneficial effects of the present invention are:
[0026] The present invention is oriented to the use requirements of aviation vector maps, dynamically defines reference objects and navigation element layers of aviation flight concern. By using XML configuration management technology, a mapping table between aircraft models and different airborne map formats is designed to achieve automatic screening and adaptive output of aviation vector map data, effectively improving the accuracy and efficiency of aviation vector map data processing. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 The flowchart of the rule-based automatic processing method of aerial vector map data is shown in FIG.
[0028] Figure 2 Schematic diagram of the source data inspection process.
[0029] Figure 3 Diagram of the configuration file for the layer filter.
[0030] Figure 4 This is a diagram of the conversion configuration file. DETAILED DESCRIPTION
[0031] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.
[0032] The basic concept of the rule-based automatic processing method for aviation vector map data shown in this embodiment is as follows: first, establish an aviation vector map data knowledge base to detect errors in the original data. Then, design a rule-based screening configuration file to dynamically define reference objects and navigation element layers of aviation flight interest, and use XML configuration management technology to establish a mapping table between aircraft models and different airborne map formats. Finally, during the data processing process, call the screening configuration parameters and conversion parameters to perform map element coordinate and attribute processing to achieve automatic screening and adaptive output of aviation vector map data. See Figure 1 As shown, the following steps are included:
[0033] Step 1: Check the validity of the original aerial vector map data.
[0034] The original aerial vector map is organized by map sheet. Each map sheet represents an area and its content is stored in a folder. The map sheet folder contains 18 map layers and a metadata. Each map layer contains an attribute file and a coordinate file. There may be missing files during the map data production process. In order to avoid processing errors caused by missing or incorrect original data, the format and value range of the original data need to be checked.
[0035] Step 11: Check whether the map metafile (.SMS), layer attribute file, and layer coordinate file are complete. If there are any errors, write them to the log file.
[0036] Step 12: Check whether the latitude and longitude ranges of the map metafile, the layer attribute file format, the layer coordinate file format, and the coordinate values are within the threshold range.
[0037] A. The latitude code range of the map sheet number is 01 to 22, and the longitude code range is 01 to 60. Determine whether the latitude and longitude code values of the map sheet number exceed the above range. If so, write the error code to the log file. Check whether the latitude and longitude values of the southwest corner point in SMS are within the range. The latitude range of the northern hemisphere is [(latitude code-1)*4, latitude code*4], and the latitude range of the southern hemisphere is [latitude code*(-4), (latitude code-1)*4]; the longitude range is [(longitude code-1)*6-180, longitude code*6-180]. For example, N0850, where 08 represents the latitude code and 50 represents the longitude code, the latitude range of the map sheet number 0850 is [28,32], and the longitude range is [114,120].
[0038] B. Check whether the number of fields in the layer attribute file meets the format requirements according to the attribute field comparison table shown in Table 1. Among them, C is the residential area and ancillary facilities layer, D is the land transportation layer, F is the water / land layer, J is the landform and soil layer, K is the boundary and political division layer, M is the geomagnetic element, and P is the aviation element layer.
[0039] Table 1 Attribute field comparison table
[0040]
[0041]
[0042] C. The longitude range of the layer coordinate file is (-180, 180), and the latitude range is (-90, 90). Determine whether the coordinate value of the layer coordinate file exceeds the above value range. If so, write the error code into the log file.
[0043] Step 13: Record the attribute value list typeList of the layer attribute field "Type". This information will be used in the layer filtering configuration file.
[0044] Step 2: Define the filter conditions of the source layer in the layer filter configuration file, such as Figure 3 shown.
[0045] According to the application scenario, each aircraft model has different requirements for the number and feature content of airborne layers. An airborne layer filtering configuration file is designed using XML technology, which defines the airborne layer name, source layer, filtering condition, geometry type, and display or hide properties. By default, the universal airborne layer filtering configuration file designed by this method can be used. Different aircraft models can automatically or manually modify the airborne layer name, source layer, filtering condition, geometry type, and display or hide properties defined therein as needed.
[0046] Step 21: Identify the attribute value list of the "Type" field in the filter condition corresponding to the source layer in the filter configuration file, record it as Table A; compare it with the attribute value list of the corresponding source layer attribute field "Type" recorded in Step 13, record it as Table B. If the attribute values in Table A do not completely contain the attribute values in Table B, it is necessary to update the filter condition of the source layer in the filter configuration file and execute Step 22. Otherwise, execute Step 3.
[0047] Step 22: Update the filter condition containing the type field in the filter configuration file through the pre-established semantic mapping library of the type field as shown in Table 2, so that it contains the typeList content in step 13.
[0048] Table 2 Semantic mapping library
[0049]
[0050]
[0051] Step 3: Set the data conversion parameters according to the model in the conversion configuration file.
[0052] The conversion configuration file contains the mapping relationship between the aircraft model and the airborne map format. The airborne map format content includes the coordinate system, projection system, header information content, file organization method, layer name and other parameters required for the data processing process.
[0053] In the conversion configuration file, configure the current model's airborne map format, including defining geographic reference information, encoding, header information type, file organization, layer information and other parameters. Figure 3As shown in the figure, dim represents the coordinate dimension, and its value is 2D or 3D; prj refers to the projection system parameter, and its value is Lambert or Mercator; code represents the map code, and its value is new or old; etx represents whether to divide the triangle, and its value is True or False; headInfo indicates whether there is a file header, and its value is True or False; blockLen indicates whether to store the map length, and its value is True or False; blockExt indicates whether to store the map boundary information, and its value is True or False; fileOrg represents the file organization of the airborne map, 1 represents the generation of one file, and 2 represents the generation of one file for each map; the DelLayer and AddLayer nodes are used to add or delete airborne map layers to control the number of layers in the airborne map file.
[0054] Step 4: Import the original aerial vector map data, filter the features according to the filter profile, transform the coordinates according to the conversion profile, triangulate, package the data, and generate the airborne map file.
[0055] Step 41: Parse the original aerial vector map data and import the attributes and coordinate information of the point, line and surface elements in the layer into the SQLite database.
[0056] Solve the longitude and latitude coordinates of map features, the formula is as follows:
[0057] longitude=input_lon / zoomFactor / unit+left_lon
[0058] latitude=input_lat / zoomFactor / unit+down_lat
[0059] Among them: longitude is the output longitude, latitude is the output latitude, input_lon refers to the longitude offset in the original aerial vector map data, input_lat is the latitude offset in the original aerial vector map data, zoomFactor is the magnification factor, left_lon is the longitude of the southwest corner of the map, and left_lat is the latitude of the southwest corner of the map.
[0060] Step 42: Read the filtering configuration file and filter out the target features from the source layer according to the filtering conditions.
[0061] Use tinyXML to parse and read the filtering configuration file, build and execute SQL statements to query the map feature records that meet the filtering conditions, and call the GDAL (spatial data conversion library) vector data model to store the filtered aerial vector map feature records in the corresponding point, line, and surface layers.
[0062] Step 43: Use tinyXML to parse and read the conversion configuration file, initialize the coordinate system and projection system parameters involved in map data processing (map processing supports Mercator projection, Lambert projection and spherical coordinate transformation). Perform coordinate projection transformation on the geographic features in the layer.
[0063] Step 44: Triangulate the polygonal features.
[0064] A recursive cutting-ear algorithm is used to divide the polygon into a triangulated network consisting of several adjacent triangles, and the vertex coordinates of each triangle are stored.
[0065] Step 45: Convert the Chinese characters in the feature record into Unicode codes, and convert the latitude and longitude coordinate information in the feature record into target coordinates.
[0066] Use GDAL to read the attribute information of feature records in the SQLite database, convert Chinese characters such as place names, river notes, and airport notes into Unicode codes, and store up to 12 Chinese characters. Read the longitude and latitude coordinate values of the feature records and transform them according to the target projection in the conversion configuration parameters. Finally, store the geometry and attribute information of the feature in binary form.
[0067] Step 46: Calculate the offset of the starting element of each layer in the file, and calculate the header information, boundary information and other parameters according to the parameters set in the conversion configuration parameters. Then, calculate the checksum of the map index area and the checksum of the data area, and write the above information into the file header. Calculate the map length and the total length of the data, write the airborne layer data into the data area in sequence, and generate the airborne map file.
[0068] It is understandable that those skilled in the art can make equivalent substitutions or changes based on the technical solution and inventive concept of the present invention, and all these changes or substitutions should fall within the protection scope of the claims attached to the present invention.
Claims
1. A rule-based method for automatically processing aerial vector map data, characterized in that The following steps are involved: Step 1: Check the validity of the original aerial vector map data; Step 2: Define the filtering conditions of the source layer in the filtering profile; Step 3: Set the data conversion parameters according to the target model in the conversion configuration file; Step 4: Import the original aerial vector map data, filter the features according to the filter profile, transform the coordinates according to the conversion profile, triangulate, and generate the airborne map file.
2. A rule-based automatic processing method for aviation vector map data according to claim 1, characterized in that Step 1 includes: Check whether the map metafile, layer attribute file, and layer coordinate file are complete; Check whether the latitude and longitude ranges of the map metafile, the layer attribute file format, the layer coordinate file format, and the coordinate values are within the threshold range.
3. The rule-based automatic processing method for aviation vector map data according to claim 1 is characterized in that In step 2, it is required that the attribute value in the filter condition corresponding to the source layer defined in the filter configuration file must contain the attribute value list of the layer in the original aerial vector map data.
4. A rule-based automatic processing method for aviation vector map data according to claim 1, characterized in that In step 3, the conversion configuration file contains the mapping relationship between the aircraft model and the airborne map format. The airborne map format content includes the coordinate system, projection system, header information content, file organization method and layer name required for the data processing process.
5. The rule-based automatic processing method for aviation vector map data according to claim 1 is characterized in that Step 4 includes the following steps: Step 41: Parse the original aerial vector map data and import the attribute and coordinate information of each element in the layer into the SQLite database; Step 42: Read the filtering configuration file and filter out the target features from the source layer according to the filtering conditions; Step 43: Parse and read the conversion configuration file, and perform coordinate projection conversion on the geographic features in the layer; Step 44: triangulate the polygonal elements; Step 45: convert the Chinese characters in the element record into Unicode codes, and convert the latitude and longitude coordinate information in the element record into target coordinates; Step 46: Calculate the offset of the starting element of each layer in the file, and calculate the header information and boundary information according to the parameters set in the conversion configuration parameters; then, calculate the map index area checksum and the data area checksum, and write the above information into the file header; calculate the map length and the total data length, write the airborne layer data into the data area in sequence, and generate an airborne map file.
6. A rule-based automatic processing method for aviation vector map data according to claim 5, characterized in that Step 44 uses a recursive cutter algorithm to divide the polygon into a triangulated network consisting of a number of adjacent triangles, and stores the vertex coordinates of each triangle.