A method, device, equipment and storage medium for generating aeronautical chart

By offsetting the initial coordinate points and generating an elevation value matrix, generating a terrain base map in combination with rendering rules, and drawing route data on it, the problems of the accuracy and efficiency of the aerial map drawing in the prior art are solved, and more efficient and accurate aerial map generation is achieved.

CN118710764BActive Publication Date: 2025-05-23CHINA SOUTHERN AIRLINES CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410776486.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2025-05-23
Estimated Expiration
2044-06-17

AI Technical Summary

Technical Problem

The accuracy and efficiency of drawing of the AVIC map in the prior art are low, especially in the process of manual cutting, which is prone to error or minor deletion, which makes it difficult to guarantee the accuracy and scale relationship of the base map, and requires a lot of labor and time costs.

Method used

By offsetting the initial coordinate point in the preset direction, the area to be drawn is obtained, the latitude and longitude coordinate sets of all points in the area are obtained, and it is converted into an elevation value matrix, and the elevation value is mapped as an elevation score to obtain the elevation score matrix. Based on this matrix and preset rendering rules, the area to be drawn is rendered color, a terrain base map is generated, and route data is drawn on it to generate a navigation map.

Benefits of technology

It improves the generation efficiency and drawing accuracy of navigation charts, meets the different needs of various custom navigation charts that continue to change, and reduces labor and time costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118710764B_ABST
    Figure CN118710764B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for generating a chart. The method comprises: offsetting the initial coordinate point in a preset direction to obtain an area to be drawn, obtaining a set of longitude and latitude coordinates of all points in the area to be drawn; converting the set of longitude and latitude coordinates into an elevation value matrix, mapping all elevation values ​​in the elevation value matrix into height scores, and obtaining a height score matrix; color rendering the area to be drawn based on the height score matrix and preset rendering rules to obtain a topographic base map; drawing on the topographic base map according to the acquired route data to be drawn to obtain a chart of the area to be drawn. The present invention can improve the efficiency of generating charts and the accuracy of chart drawing, and meet the different needs of various continuously changing custom charts.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of aerospace navigation technology, and in particular to a method, device, equipment and storage medium for generating aeronautical charts. Background Art

[0002] During the operation, airlines often need to produce and publish their own aeronautical charts to convey graphical flight intelligence information, terminal areas, route flight procedures, etc. Regardless of whether the aeronautical chart is used to convey text information or flight procedure instructions, it generally includes several fixed parts. The first is the terrain contour base map, the second is the graphical diagram of the program and area, and the last is the text description.

[0003] Currently, airlines mainly draw their corresponding charts manually, using AutoCAD as the main tool. For topographic contour base maps, airlines currently mainly use topographic base maps of the same area published by third parties, and use AutoCAD clipping or screenshot methods to intercept third-party topographic base maps and then use them as the base maps of their own charts for further processing and production. The manual clipping method often requires a lot of time to delete irrelevant elements on third-party charts. In this process, the accuracy and scale of the base map cannot be well guaranteed. In actual operation, there are often cases of accidental deletion or under-deletion, and it takes a lot of manpower and time costs, and the accuracy and efficiency of mapping are low. Summary of the invention

[0004] The embodiment of the present invention provides a method for generating an aeronautical chart, which can solve the problems of low accuracy and efficiency of mapping in the prior art.

[0005] In a first aspect, an embodiment of the present invention provides a method for generating an aeronautical chart, comprising: offsetting an initial coordinate point in a preset direction to obtain an area to be drawn, and obtaining a set of longitude and latitude coordinates of all points in the area to be drawn;

[0006] Converting the latitude and longitude coordinate set into an elevation value matrix, mapping all elevation values ​​in the elevation value matrix into height scores, and obtaining a height score matrix;

[0007] Based on the height score matrix and preset rendering rules, color rendering is performed on the area to be drawn to obtain a topographic base map;

[0008] Drawing is performed on the terrain base map according to the acquired route data to obtain a map of the area to be drawn.

[0009] Furthermore, the aeronautical chart includes an obstacle schematic diagram, an area boundary schematic diagram, a flight trajectory schematic diagram, an airway schematic diagram and a runway schematic diagram.

[0010] Furthermore, the step of offsetting the initial coordinate point in a preset direction to obtain the area to be drawn includes:

[0011] Taking the initial coordinate point as the reference point, offset the preset distances in the east, west, south and north directions respectively to obtain the offset point in the east direction, the offset point in the west direction, the offset point in the south direction and the offset point in the north direction;

[0012] Based on the initial coordinate point, the east-direction offset point, the west-direction offset point, the south-direction offset point, and the north-direction offset point, a rectangular area is constructed and the rectangular area is used as the area to be drawn.

[0013] Furthermore, converting the latitude and longitude coordinate set into an elevation value matrix includes:

[0014] Obtain all longitude and latitude coordinates in the longitude and latitude coordinate set, and query the elevation value corresponding to each longitude and latitude coordinate in the ASTER GDEM dataset;

[0015] All the elevation values ​​are stored in a two-dimensional array to obtain an elevation value matrix.

[0016] Furthermore, mapping all elevation values ​​in the elevation value matrix into height scores to obtain a height score matrix includes:

[0017] Pre-set a number of contour line intervals, each of which corresponds to a height score;

[0018] For each elevation value in the elevation value matrix, determine the height score corresponding to the contour interval to which the elevation value belongs;

[0019] The height scores of all the elevation values ​​are counted to obtain a height score matrix, and the index values ​​of all elements in the height score matrix are saved.

[0020] Furthermore, the color rendering of the area to be drawn is performed based on the height score matrix and a preset rendering rule to obtain a terrain base map, including:

[0021] Acquire a base map grid, project all elements of the height score matrix onto the base map grid according to the index value, and obtain a base map to be drawn; wherein the grid points of the base map grid correspond one-to-one to the elements in the height score matrix;

[0022] Traversing all grid points on the base map to be drawn, and determining the magnitude relationship between the height scores of each grid point and its adjacent grid points;

[0023] Based on the size relationship and preset rendering rules, the area to be drawn is rendered in color to obtain a topographic base map.

[0024] Furthermore, drawing the route data to be drawn on the topographic base map to obtain the map of the area to be drawn includes:

[0025] Acquire route data to be drawn, and convert the longitude and latitude coordinates of all data points in the route data into plane coordinates on the topographic base map;

[0026] All the plane coordinates are connected to obtain an aeronautical chart of the area to be drawn.

[0027] In a second aspect, an embodiment of the present invention provides an apparatus for generating an aeronautical chart, comprising:

[0028] A coordinate acquisition module, used to offset the initial coordinate point in a preset direction to obtain a to-be-drawn area, and obtain a set of longitude and latitude coordinates of all points in the to-be-drawn area;

[0029] A score mapping module is used to convert the latitude and longitude coordinate set into an elevation value matrix, and map all elevation values ​​in the elevation value matrix into height scores to obtain a height score matrix;

[0030] A base map rendering module, used for color rendering the area to be drawn based on the height score matrix and preset rendering rules to obtain a topographic base map;

[0031] The chart generation module is used to draw on the terrain base map according to the acquired route data to be drawn, so as to obtain the chart of the area to be drawn.

[0032] In a third aspect, an embodiment of the present invention provides an electronic device, including:

[0033] Memory for storing computer programs;

[0034] A processor, configured to execute the computer program;

[0035] Wherein, when the processor executes the computer program, it implements the chart generation method described in any one of the first aspects above.

[0036] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed, the chart generation method described in any one of the first aspects is implemented.

[0037] Compared with the prior art, an embodiment of the present invention provides a method for generating a chart, which has the following beneficial effects: an area to be drawn is obtained by offsetting an initial coordinate point in a preset direction, a set of longitude and latitude coordinates of all points in the area to be drawn is obtained, the set of longitude and latitude coordinates is converted into an elevation value matrix, all elevation values ​​in the elevation value matrix are mapped to altitude scores to obtain an altitude score matrix, the area to be drawn is color rendered based on the altitude score matrix and preset rendering rules to obtain a topographic base map, and drawing is performed on the topographic base map according to the acquired route data to be drawn to obtain a chart of the area to be drawn, which can improve the efficiency of chart generation and the accuracy of chart drawing, and meet the different needs of continuously changing custom charts. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical features of the embodiments of the present invention, the drawings required for use in the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.

[0039] Figure 1 It is a flowchart of an embodiment of a method for generating an aeronautical chart provided by the present invention;

[0040] Figure 2 It is a schematic diagram of an embodiment of a region to be drawn in a method for generating an aeronautical chart provided by the present invention;

[0041] Figure 3 It is a schematic diagram of an embodiment of a PDF drawing area of ​​an aeronautical chart generating method provided by the present invention;

[0042] Figure 4 It is a schematic diagram of an embodiment of a topographic base map of a method for generating an aeronautical chart provided by the present invention;

[0043] Figure 5 It is a schematic diagram of an embodiment of an aeronautical chart of an aeronautical chart generating method provided by the present invention;

[0044] Figure 6 It is a structural schematic diagram of an embodiment of an aeronautical chart generating device provided by the present invention;

[0045] Figure 7 It is a structural schematic diagram of an embodiment of an electronic device provided by the present invention. DETAILED DESCRIPTION

[0046] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0047] In a first aspect, an embodiment of the present invention provides a method for generating an aeronautical chart, see Figure 1 , which is a flow chart diagram of an embodiment of a method for generating an aeronautical chart provided by the present invention.

[0048] like Figure 1 As shown, the method comprises the following steps:

[0049] S1: offset the initial coordinate point in a preset direction to obtain a region to be drawn, and obtain a set of longitude and latitude coordinates of all points in the region to be drawn;

[0050] S2: converting the latitude and longitude coordinate set into an elevation value matrix, mapping all elevation values ​​in the elevation value matrix into height scores, and obtaining a height score matrix;

[0051] S3: Based on the height score matrix and preset rendering rules, color rendering is performed on the area to be drawn to obtain a topographic base map;

[0052] S4: Drawing the route data to be drawn on the terrain base map according to the acquired route data to obtain a map of the area to be drawn.

[0053] In a specific implementation, first, the initial coordinate point is used as a reference point, and the preset distance is offset in a preset direction respectively. The area to be drawn is obtained according to the offset point after the offset, and the longitude and latitude coordinates of all points in the area to be drawn are obtained, and the longitude and latitude coordinates are summarized to obtain a longitude and latitude coordinate set. The ASTER GDEM data set is queried to obtain the elevation value corresponding to each longitude and latitude coordinate in the longitude and latitude coordinate set, and the elevation values ​​are summarized to obtain an elevation value matrix, and the elevation value matrix is ​​projected to a two-dimensional PDF drawing area. The index of each element in the matrix represents the position of each element in the matrix in the PDF drawing area. For example, the element (0,0) in the matrix represents the position of the PDF drawing area from the upper boundary 0 and the left boundary 0. The projected PDF drawing area is used as the area to be drawn. For example, see Figure 3As shown; and all elevation values ​​in the elevation value matrix are mapped to height scores according to a preset mapping rule to obtain a height score matrix, and based on the height score matrix and a preset rendering rule, the area to be drawn is color rendered to obtain a topographic base map, and the route data to be drawn is obtained. Based on the route data to be drawn, drawing is performed on the topographic base map according to actual needs to obtain different types of charts of the area to be drawn.

[0054] In summary, the present invention obtains the area to be drawn by offsetting the initial coordinate point in a preset direction, obtains the longitude and latitude coordinate set of all points in the area to be drawn, converts the longitude and latitude coordinate set into an elevation value matrix, maps all elevation values ​​in the elevation value matrix into altitude scores to obtain an altitude score matrix, performs color rendering on the area to be drawn based on the altitude score matrix and preset rendering rules to obtain a topographic base map, draws on the topographic base map according to the acquired route data to be drawn, and obtains an aeronautical chart of the area to be drawn, which can improve the efficiency of chart generation and the accuracy of chart drawing, and meet the different needs of continuously changing custom charts.

[0055] In an optional implementation, the flight chart includes an obstacle schematic diagram, an area boundary schematic diagram, a flight trajectory schematic diagram, a route schematic diagram, and a runway schematic diagram.

[0056] Specifically, different types of aeronautical charts can be generated according to needs, including obstacle diagrams, area boundary diagrams, flight trajectory diagrams, route diagrams and runway diagrams. After the aeronautical chart is generated, it can be displayed alone, or different layers can be superimposed to display multiple charts at the same time.

[0057] In an optional implementation, the step of offsetting the initial coordinate point in a preset direction to obtain the area to be drawn includes:

[0058] Taking the initial coordinate point as the reference point, offset the preset distances in the east, west, south and north directions respectively to obtain the offset point in the east direction, the offset point in the west direction, the offset point in the south direction and the offset point in the north direction;

[0059] Based on the initial coordinate point, the east-direction offset point, the west-direction offset point, the south-direction offset point, and the north-direction offset point, a rectangular area is constructed and the rectangular area is used as the area to be drawn.

[0060] For example, see Figure 2As shown, the initial coordinate point is customized. For example, the longitude and latitude of the initial coordinate point are defined as 23.3 degrees latitude and 113.5 degrees longitude. The initial coordinate point is used as the reference point, and the preset distances are offset to the east, west, south and north respectively. For example, the preset distance can be set to 20 km to the east, 20 km to the west, 20 km to the south and 30 km to the north. The offset points in the east, west, south and north are obtained respectively. Vertical straight lines are drawn along the offset points in the east and west, and horizontal straight lines are drawn along the offset points in the south and north. The rectangular area surrounded by the four straight lines is used as the area to be drawn.

[0061] It can be understood that the coordinates of the initial coordinate point are plane coordinates, and the process of offsetting to the east, west, south and north is to move in steps of 30m. 30m of the plane coordinates corresponds to 1 second of the longitude and latitude coordinates. Taking the initial coordinate point as the reference point, for every 30m moved to the north, the latitude increases by 1 second, that is, 0.0002777777777778 degrees. For every 30m moved to the south, the latitude decreases by 1 second. For every 30m moved to the west, the longitude decreases by 1 second. For every 30m moved to the east, the longitude increases by 1 second. After offsetting the preset distance in each direction, the area to be drawn is formed. The accuracy of the area to be drawn is 30m×30m, which is converted into a grid with longitude and latitude of 1 second×1 second.

[0062] In an optional implementation, converting the latitude and longitude coordinate set into an elevation value matrix includes:

[0063] Obtain all longitude and latitude coordinates in the longitude and latitude coordinate set, and query the elevation value corresponding to each longitude and latitude coordinate in the ASTER GDEM dataset;

[0064] All the elevation values ​​are stored in a two-dimensional array to obtain an elevation value matrix.

[0065] It should be noted that the full name of the ASTER GDEM dataset is Advanced Spaceborne Thermal Emission and Reflection Radiometer Global Digital Elevation Model. It is a dataset jointly produced by NASA and Japan and provided free of charge. Its data coverage covers all land areas between 83° north latitude and 83° south latitude, accounting for 99% of the earth's land surface. The global highest spatial resolution is 30 meters.

[0066] Specifically, after obtaining the longitude and latitude coordinate set in step S1, all longitude and latitude coordinates in the longitude and latitude coordinate set are obtained, and the elevation value corresponding to each longitude and latitude coordinate is queried in the ASTER GDEM data set, and all the elevation values ​​obtained by the query are stored in a two-dimensional array to obtain an elevation value matrix. The first number in the upper left corner of the two-dimensional array, that is, the longitude and latitude coordinate represented by the array index (0, 0) can be calculated through the longitude and latitude of the reference point and the offset distance in four directions.

[0067] In an optional implementation, mapping all elevation values ​​in the elevation value matrix into height scores to obtain a height score matrix includes:

[0068] Pre-set a number of contour line intervals, each of which corresponds to a height score;

[0069] For each elevation value in the elevation value matrix, determine the height score corresponding to the contour interval to which the elevation value belongs;

[0070] The height scores of all the elevation values ​​are counted to obtain a height score matrix, and the index values ​​of all elements in the height score matrix are saved.

[0071] Specifically, several contour lines are pre-set according to actual needs. For example, the contour lines are 200m, 500m, 800m and 1000m, respectively. Then the following contour line intervals are obtained: a first interval below 200m, a second interval from 200m to 500m, a third interval from 500m to 800m, a fourth interval from 800m to 1000m and a fifth interval above 1000m. The height score corresponding to the first interval is 0, the height score corresponding to the second interval is 1, the height score corresponding to the third interval is 2, the height score corresponding to the fourth interval is 3, and the height score corresponding to the fifth interval is 4.

[0072] After converting the longitude and latitude coordinate set into an elevation value matrix, traverse all elevation values ​​in the elevation value matrix, obtain the height score corresponding to each elevation value according to the pre-set contour line interval and height score, count the height scores of all elevation values, obtain the height score matrix, and save the index values ​​of all elements in the height score matrix.

[0073] In an optional implementation, the color rendering of the area to be drawn based on the height score matrix and a preset rendering rule to obtain a topographic base map includes:

[0074] Acquire a base map grid, project all elements of the height score matrix onto the base map grid according to the index value, and obtain a base map to be drawn; wherein the grid points of the base map grid correspond one-to-one to the elements in the height score matrix;

[0075] Traversing all grid points on the base map to be drawn, and determining the magnitude relationship between the height scores of each grid point and its adjacent grid points;

[0076] Based on the size relationship and preset rendering rules, the area to be drawn is rendered in color to obtain a topographic base map.

[0077] Specifically, first obtain the base map grid, project all elements of the height score matrix onto the base map grid according to the index value, the grid points of the base map grid correspond one-to-one to the elements in the height score matrix, so as to obtain the base map to be drawn, traverse all the grid points on the base map to be drawn, determine the size relationship between the height scores of each grid point and its adjacent grid points, and preset the rendering rules. Exemplarily, the rendering rules can be set as follows: first, in the horizontal direction, for each element of each row, connect it with the adjacent element on the right, and then in the vertical direction, for each element of each column, connect it with the adjacent element below. If the height score between two adjacent points is If the height scores between two adjacent points are the same and equal to 0, a white line is used to connect the two points. If the height scores between two adjacent points are the same and equal to 1, a gray line is used to connect the two points. If the height scores between two adjacent points are the same and equal to 2, a dark gray line is used to connect the two points. If the height scores between two adjacent points are the same and equal to 2, a dark gray line is used to connect the two points. If the height scores between two adjacent points are the same and equal to 3, a yellow line is used to connect the two points. If the height scores between two adjacent points are the same and equal to 4, a red line is used to connect the two points. The color of the connecting line can be determined according to actual needs and is not specifically limited here.

[0078] After all the line segments between two adjacent points in the horizontal and vertical directions are drawn and colored, the terrain contour lines are drawn and the color rendering of different elevation range areas is completed. The drawing effect is shown in the figure below. When the accuracy is high enough, the base map contour lines are displayed as smooth curves.

[0079] For example, see Figure 4 As shown, according to the preset rendering rules, after all the grid points on the base map to be drawn are connected and rendered in color, the drawing of the terrain contour lines and the color rendering of different elevation intervals are completed, and the topographic base map is obtained. When the accuracy is high enough, the display of the topographic base map contour lines is a smooth curve.

[0080] In an optional implementation, drawing on the topographic base map according to the acquired route data to be drawn to obtain a map of the area to be drawn includes:

[0081] Acquire route data to be drawn, and convert the longitude and latitude coordinates of all data points in the route data into plane coordinates on the topographic base map;

[0082] All the plane coordinates are connected to obtain an aeronautical chart of the area to be drawn.

[0083] For example, see Figure 5 As shown in the figure, after completing the drawing of the topographic base map, it is necessary to draw the corresponding vector diagrams such as boundaries, flight tracks, runway diagrams, etc. on the topographic base map. The essence of vector diagram drawing is to project the longitude and latitude points of all the route data to be drawn, such as vector diagram tracks and boundaries, onto the topographic base map, that is, to convert the longitude and latitude coordinates of all data points in the route data into plane coordinates on the topographic base map. The conversion method is to calculate the latitude difference between the latitude of the data point and the latitude represented by the two-dimensional matrix index (0, 0) of the topographic base map, and calculate the longitude difference between the longitude of the data point and the longitude represented by the two-dimensional matrix index (0, 0) of the topographic base map, and divide the latitude difference and longitude difference by 0.0002777777777777 respectively. The step size is 8 degrees, and the results are rounded to the nearest digit to obtain the plane coordinates of the data point on the topographic base map. For example, the longitude and latitude coordinates of a data point in the route data to be drawn are (latitude 22.452, longitude 113.256), and the longitude and latitude coordinates represented by the two-dimensional matrix index (0, 0) of the topographic base map are (latitude 23, longitude 113). The latitude difference is 0.548. The latitude difference is divided by the step size to obtain a quotient of 1972.8, which is rounded to 1973. The longitude difference is 0.256. The longitude difference is divided by the step size to obtain a quotient of 921.6, which is rounded to 922. That is, the plane coordinates of the data point on the topographic base map are (1973, 922).

[0084] For all data points in the drawing data, the plane coordinates corresponding to all data points are calculated in turn, and the plane coordinates are marked on the topographic base map. A line segment drawing operation is performed on every two adjacent marked points. All marked points are connected to draw the shape of the trajectory and the boundary, that is, the aerial map of the area to be drawn.

[0085] In a second aspect, an embodiment of the present invention provides a chart generating device, see Figure 6 , which is a structural schematic diagram of an embodiment of an aeronautical chart generating device provided by the present invention.

[0086] like Figure 6 As shown, the device comprises:

[0087] A coordinate acquisition module 21 is used to offset the initial coordinate point in a preset direction to obtain a to-be-drawn area, and obtain a set of longitude and latitude coordinates of all points in the to-be-drawn area;

[0088] A score mapping module 22 is used to convert the latitude and longitude coordinate set into an elevation value matrix, and map all elevation values ​​in the elevation value matrix into height scores to obtain a height score matrix;

[0089] A base map rendering module 23 is used to perform color rendering on the area to be drawn based on the height score matrix and preset rendering rules to obtain a terrain base map;

[0090] The chart generation module 24 is used to draw on the terrain base map according to the acquired route data to be drawn, so as to obtain a chart of the area to be drawn.

[0091] In an optional implementation, the flight chart includes an obstacle schematic diagram, an area boundary schematic diagram, a flight trajectory schematic diagram, a route schematic diagram, and a runway schematic diagram.

[0092] In an optional implementation, the coordinate acquisition module 21 is used to:

[0093] Taking the initial coordinate point as the reference point, offset the preset distances in the east, west, south and north directions respectively to obtain the offset point in the east direction, the offset point in the west direction, the offset point in the south direction and the offset point in the north direction;

[0094] Based on the initial coordinate point, the east-direction offset point, the west-direction offset point, the south-direction offset point, and the north-direction offset point, a rectangular area is constructed and the rectangular area is used as the area to be drawn.

[0095] In an optional implementation, the score mapping module 22 is used to:

[0096] Obtain all longitude and latitude coordinates in the longitude and latitude coordinate set, and query the elevation value corresponding to each longitude and latitude coordinate in the ASTER GDEM dataset;

[0097] All the elevation values ​​are stored in a two-dimensional array to obtain an elevation value matrix.

[0098] In an optional implementation, the score mapping module 22 is further configured to:

[0099] Pre-set a number of contour line intervals, each of which corresponds to a height score;

[0100] For each elevation value in the elevation value matrix, determine the height score corresponding to the contour interval to which the elevation value belongs;

[0101] The height scores of all the elevation values ​​are counted to obtain a height score matrix, and the index values ​​of all elements in the height score matrix are saved.

[0102] In an optional implementation, the base map rendering module 23 is used to:

[0103] Acquire a base map grid, project all elements of the height score matrix onto the base map grid according to the index value, and obtain a base map to be drawn; wherein the grid points of the base map grid correspond one-to-one to the elements in the height score matrix;

[0104] Traversing all grid points on the base map to be drawn, and determining the magnitude relationship between the height scores of each grid point and its adjacent grid points;

[0105] Based on the size relationship and preset rendering rules, the area to be drawn is rendered in color to obtain a topographic base map.

[0106] In an optional implementation, the chart generation module 24 is used to:

[0107] Acquire route data to be drawn, and convert the longitude and latitude coordinates of all data points in the route data into plane coordinates on the topographic base map;

[0108] All the plane coordinates are connected to obtain an aeronautical chart of the area to be drawn.

[0109] In a third aspect, an embodiment of the present invention provides an electronic device, see Figure 7 , which is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention.

[0110] like Figure 7 As shown, the device includes:

[0111] A memory 31, used for storing computer programs;

[0112] A processor 32, configured to execute the computer program;

[0113] Wherein, when the processor 32 executes the computer program, the chart generating method as described in any of the above embodiments is implemented.

[0114] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the memory 31 and executed by the processor 32 to implement the present invention. The one or more modules / units may be a series of computer program instruction segments capable of implementing specific functions, which are used to describe the execution process of the computer program in the electronic device.

[0115] The processor 32 may 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. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0116] The memory 31 can be used to store the computer program and / or module, and the processor 32 realizes various functions of the electronic device by running or executing the computer program and / or module stored in the memory 31, and calling the data stored in the memory 31. The memory 31 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 31 can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0117] It should be noted that the above electronic device includes, but is not limited to, a processor and a memory. Those skilled in the art can understand that Figure 7 The structural diagram is merely an example of the electronic device described above and does not constitute a limitation on the electronic device, and may include more components than shown in the figure, or a combination of certain components, or different components.

[0118] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed, the method for generating a chart described in any of the above embodiments is implemented.

[0119] It should be understood that the present invention can implement all or part of the processes in the above-mentioned chart generation method by instructing related hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps of the above-mentioned chart generation method can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, 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. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electric carrier signal and telecommunication signal.

[0120] The above description is only a preferred embodiment of the present invention, but the protection scope of the present invention is not limited thereto. It should be pointed out that for those skilled in the art, several equivalent obvious variations and / or equivalent substitutions can be made without departing from the technical principles of the present invention. These obvious variations and / or equivalent substitutions should also be regarded as the protection scope of the present invention.

Claims

1. A method for generating an aeronautical chart, characterized in that: include: The initial coordinate point is offset in a preset direction to obtain a region to be drawn, and a set of longitude and latitude coordinates of all points in the region to be drawn is obtained; Converting the latitude and longitude coordinate set into an elevation value matrix, mapping all elevation values ​​in the elevation value matrix into height scores, and obtaining a height score matrix; Based on the height score matrix and preset rendering rules, color rendering is performed on the area to be drawn to obtain a topographic base map; Drawing the route data to be drawn on the topographic base map to obtain a map of the area to be drawn; The step of offsetting the initial coordinate point in a preset direction to obtain the area to be drawn includes: Taking the initial coordinate point as the reference point, offset the preset distances in the east, west, south and north directions respectively to obtain the offset point in the east direction, the offset point in the west direction, the offset point in the south direction and the offset point in the north direction; Based on the initial coordinate point, the east-direction offset point, the west-direction offset point, the south-direction offset point, and the north-direction offset point, a rectangular area is constructed, and the rectangular area is used as the area to be drawn; Mapping all elevation values ​​in the elevation value matrix into height scores to obtain a height score matrix includes: Pre-set a number of contour line intervals, each of which corresponds to a height score; For each elevation value in the elevation value matrix, determine the height score corresponding to the contour interval to which the elevation value belongs; The height scores of all the elevation values ​​are counted to obtain a height score matrix, and the index values ​​of all elements in the height score matrix are saved.

2. The method for generating an aeronautical chart according to claim 1, wherein: The aeronautical chart includes obstacle diagrams, area boundary diagrams, flight trajectory diagrams, route diagrams and runway diagrams.

3. The method for generating an aeronautical chart according to claim 1, wherein: The step of converting the latitude and longitude coordinate set into an elevation value matrix comprises: Obtain all longitude and latitude coordinates in the longitude and latitude coordinate set, and query the elevation value corresponding to each longitude and latitude coordinate in the ASTERGDEM dataset; All the elevation values ​​are stored in a two-dimensional array to obtain an elevation value matrix.

4. The method for generating an aeronautical chart according to claim 1, wherein: The color rendering of the area to be drawn based on the height score matrix and the preset rendering rules to obtain a terrain base map includes: Acquire a base map grid, project all elements of the height score matrix onto the base map grid according to the index value, and obtain a base map to be drawn; wherein the grid points of the base map grid correspond one-to-one to the elements in the height score matrix; Traversing all grid points on the base map to be drawn, and determining the magnitude relationship between the height scores of each grid point and its adjacent grid points; Based on the size relationship and preset rendering rules, the area to be drawn is rendered in color to obtain a topographic base map.

5. The method for generating an aeronautical chart according to claim 1, wherein: The step of drawing the route data to be drawn on the terrain base map to obtain a map of the area to be drawn includes: Acquire route data to be drawn, and convert the longitude and latitude coordinates of all data points in the route data into plane coordinates on the topographic base map; All the plane coordinates are connected to obtain an aeronautical chart of the area to be drawn.

6. A navigation chart generating device, characterized in that: include: A coordinate acquisition module, used to offset the initial coordinate point in a preset direction to obtain a to-be-drawn area, and obtain a set of longitude and latitude coordinates of all points in the to-be-drawn area; A score mapping module is used to convert the latitude and longitude coordinate set into an elevation value matrix, and map all elevation values ​​in the elevation value matrix into height scores to obtain a height score matrix; A base map rendering module, used for color rendering the area to be drawn based on the height score matrix and preset rendering rules to obtain a topographic base map; A chart generation module, used for drawing on the terrain base map according to the acquired route data to be drawn, so as to obtain a chart of the area to be drawn; The coordinate acquisition module is also used for: Taking the initial coordinate point as the reference point, offset the preset distances in the east, west, south and north directions respectively to obtain the offset point in the east direction, the offset point in the west direction, the offset point in the south direction and the offset point in the north direction; Based on the initial coordinate point, the east-direction offset point, the west-direction offset point, the south-direction offset point, and the north-direction offset point, a rectangular area is constructed, and the rectangular area is used as the area to be drawn; The score mapping module is also used for: Pre-set a number of contour line intervals, each of which corresponds to a height score; For each elevation value in the elevation value matrix, determine the height score corresponding to the contour interval to which the elevation value belongs; The height scores of all the elevation values ​​are counted to obtain a height score matrix, and the index values ​​of all elements in the height score matrix are saved.

7. An electronic device, characterized in that: include: Memory for storing computer programs; A processor, configured to execute the computer program; Wherein, when the processor executes the computer program, the method for generating an aeronautical chart as described in any one of claims 1 to 5 is implemented.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the method for generating an aeronautical chart according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Map modification method and device for digital visual chart

    CN113094458A

  • Flight plan making method, device and equipment and storage medium

    CN117542228A