A method, device, equipment and storage medium for drawing polygonal airspace

By parsing airspace data files and executing corresponding processing methods according to different coordinate formats, the problem of inaccurate polygonal airspace drawing is solved, accurate airspace graphics generation is achieved, and the accuracy and security of airspace data management are improved.

CN117911573BActive Publication Date: 2024-10-11CHINA SOUTHERN AIRLINES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410110469.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-25
Publication Date
2024-10-11
Estimated Expiration
2044-01-25

AI Technical Summary

Technical Problem

Existing methods for drawing two-dimensional airspace graphics cannot accurately draw polygonal airspace, resulting in a waste of human resources and potential flight safety hazards.

Method used

By obtaining the airspace data file, parsing the coordinate format, obtaining the corresponding drawing elements according to the preset drawing logic and airspace area type, executing polyline, arc and boundary coordinate processing methods to generate polygonal airspace drawing graphics.

Benefits of technology

It achieves precise drawing of polygonal airspace and avoids potential flight safety risks caused by later adjustments and low accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117911573B_ABST
    Figure CN117911573B_ABST
Patent Text Reader

Abstract

The present invention provides a polygonal airspace drawing method, device, equipment and storage medium, which obtains an airspace data file; parses the airspace data file, and obtains the airspace area type according to the coordinate format; obtains the corresponding airspace area type drawing elements according to the preset drawing logic and the airspace area type; draws the airspace according to all the airspace area type drawing elements, and finally generates the polygonal airspace drawing graphics. This application achieves the fine drawing of polygonal airspace by drawing different coordinate formats in the airspace data file separately, and does not require tedious post-adjustment by technical personnel, avoiding the potential flight safety hazards caused by low airspace drawing accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the technical field of aerial electronic maps, and in particular to a method, apparatus, device and storage medium for drawing polygonal airspace. Background Art

[0002] Currently, there are as many as 40 formats of airspace coordinate data in the international navigation data compilation. The airspace types are also divided into complex shapes such as polygons, circles, broken lines plus arcs plus national borders or rivers and highways. Therefore, it is very important to establish a global airspace database to realize the mastery and management of airspace data.

[0003] To establish a global airspace database, it is necessary to read and parse the airspace data files released by countries around the world, and draw the corresponding two-dimensional airspace graphics, so as to establish a database of rivers, highways, coastlines, and island boundaries. The existing two-dimensional airspace graphics drawing methods often use universal longitude and latitude coordinates to draw on a two-dimensional plane with the help of projection transformation, which all achieve the superposition of graphics by drawing line segments point to point. However, this airspace graphics drawing method cannot accurately draw when dealing with polygonal airspace, and requires personnel to make tedious post-adjustments. Therefore, it wastes human resources and cannot provide high-precision graphics drawing, and may even bring safety hazards to air flights. Summary of the invention

[0004] The present invention provides a polygonal airspace drawing method, device, computer equipment and storage medium, which realizes accurate drawing of polygonal airspace by drawing different types of airspace areas respectively.

[0005] In a first aspect, the present invention provides a polygonal airspace drawing method, comprising the following steps:

[0006] Acquire an airspace data file, wherein the airspace data file includes a coordinate format; wherein the coordinate format includes straight line coordinates and / or arc coordinates;

[0007] Parsing the airspace data file, and acquiring an airspace region type according to the coordinate format; the airspace region type is divided according to different coordinate formats, and the airspace region type at least includes a broken line, an arc, and / or a boundary;

[0008] According to the preset drawing logic and the airspace area type, the drawing element of the corresponding airspace area type is obtained; including: according to the airspace data file, the current coordinate string is obtained, and the airspace area type corresponding to the current coordinate string is determined, and different drawing logics are executed according to the airspace area type;

[0009] Airspace mapping is performed by drawing elements based on all airspace area types to generate polygonal airspace mapping graphics.

[0010] Further, according to the preset drawing logic and the airspace region type, obtaining a corresponding airspace region type drawing element includes the following steps:

[0011] According to the airspace data file, obtaining a coordinate character string;

[0012] Executing a first drawing logic, the first drawing logic comprising: determining whether the airspace region type to which the current coordinate string belongs is a polyline, and if so, executing a polyline coordinate processing method on the coordinate string;

[0013] According to the processing result of the first drawing logic, the line segment drawing result and the line coordinates are obtained.

[0014] Furthermore, after obtaining the coordinate character string according to the airspace data file, the following steps are also included:

[0015] Executing the second drawing logic, the first drawing logic includes: determining whether the airspace region type to which the current coordinate string belongs is an arc, and if so, executing the arc coordinate processing method on the coordinate string;

[0016] According to the processing result of the second drawing logic, the arc drawing result and arc coordinates are obtained.

[0017] Furthermore, after obtaining the coordinate character string according to the airspace data file, the following steps are also included:

[0018] Executing a third drawing logic, the third drawing logic comprising: determining whether the airspace region type to which the current coordinate string belongs is a boundary, and if so, executing a boundary coordinate processing method on the coordinate string;

[0019] According to the processing result of the third drawing logic, a boundary line drawing result and boundary coordinates are obtained.

[0020] In a second aspect, the present application also provides a polygonal airspace drawing device, comprising:

[0021] A data file acquisition module, used to acquire an airspace data file, wherein the airspace data file includes a coordinate format;

[0022] An airspace type acquisition module, used to parse the airspace data file and acquire the airspace area type according to the coordinate format;

[0023] A drawing element acquisition module, used to acquire a drawing element of a corresponding airspace area type according to a preset drawing logic and the airspace area type;

[0024] The airspace graphics generation module is used to draw elements according to all airspace area types to perform airspace drawing and generate polygonal airspace drawing graphics.

[0025] Furthermore, the drawing element acquisition module further includes:

[0026] A character string acquisition unit, used for acquiring a coordinate character string according to the airspace data file;

[0027] A first drawing logic execution unit is used to execute a first drawing logic, wherein the first drawing logic includes: determining whether the airspace region type to which the current coordinate string belongs is a polyline, and if so, executing a polyline coordinate processing method on the coordinate string;

[0028] The line segment drawing result obtaining unit is used to obtain the line segment drawing result and line coordinates according to the processing result of the first drawing logic.

[0029] Furthermore, the drawing element acquisition module further includes:

[0030] A second drawing logic execution unit is used to execute the second drawing logic, wherein the first drawing logic includes: determining whether the airspace area type to which the current coordinate string belongs is an arc, and if so, executing an arc coordinate processing method on the coordinate string;

[0031] The arc drawing result obtaining unit is used to obtain the arc drawing result and arc coordinates according to the processing result of the second drawing logic.

[0032] Furthermore, the drawing element acquisition module further includes:

[0033] A third drawing logic execution unit is used to execute a third drawing logic, wherein the third drawing logic includes: determining whether the airspace region type to which the current coordinate string belongs is a boundary, and if so, executing a boundary coordinate processing method on the coordinate string;

[0034] The boundary drawing result acquisition unit is used to acquire the boundary line drawing result and boundary coordinates according to the processing result of the third drawing logic.

[0035] In a third aspect, the present invention further provides a computer device, comprising:

[0036] at least one memory and at least one processor;

[0037] The memory is used to store one or more programs;

[0038] When the one or more programs are executed by the at least one processor, the at least one processor implements the steps of a polygonal airspace drawing method as described in the first aspect.

[0039] In a fourth aspect, 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 by a processor, the steps of a polygonal airspace drawing method as described in the first aspect are implemented.

[0040] The present invention obtains an airspace data file; parses the airspace data file, and obtains the airspace area type according to the coordinate format; obtains the corresponding airspace area type drawing elements according to the preset drawing logic and the airspace area type; draws the airspace according to all the airspace area type drawing elements, and finally generates a polygonal airspace drawing graphic. The present application achieves fine drawing of polygonal airspace by drawing different coordinate formats in the airspace data file separately, and does not require tedious post-adjustment by technical personnel, avoiding the potential flight safety hazards caused by low airspace drawing accuracy.

[0041] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, 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 application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 A flowchart of the steps of a polygonal airspace drawing method provided in an exemplary embodiment;

[0043] Figure 2 A schematic diagram of an airspace data file of a polygonal airspace drawing method provided in an exemplary embodiment;

[0044] Figure 3 A schematic diagram of a module of a polygonal airspace drawing device provided in an exemplary embodiment;

[0045] Figure 4 An internal structural diagram of a computer device provided in an exemplary embodiment;

[0046] Figure 5 FIG. 1 is a diagram of the internal structure of a computer device provided in an exemplary embodiment. DETAILED DESCRIPTION

[0047] In order to make the objectives, technical solutions and advantages of the present application more clear, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.

[0048] It should be clear that the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the embodiments of the present application.

[0049] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the embodiments of the present application. The singular forms of "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0050] When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims. In the description of the present application, it should be understood that the terms "first", "second", "third", etc. are only used to distinguish similar objects, and do not have to be used to describe a specific order or sequence, nor can they be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to the specific circumstances.

[0051] In addition, in the description of this application, unless otherwise specified, "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.

[0052] At present, there are as many as 40 airspace coordinate data formats in the international aviation data compilation, and the airspace types are also divided into complex shapes such as polygons, circles, polylines plus arcs plus national borders or rivers and highways. These graphic data are published in the aviation data compilations published by various countries, ENR2.1, ENR5.1 and SUP. Since international flights need to pass through the information areas, control areas, and avoid flying into activated restricted areas, danger areas and restricted areas of various countries, it is a big problem to master and manage these data. Therefore, how to interpret the airspace coordinate data formats of various countries and quickly and efficiently establish a global airspace database based on this is of great significance.

[0053] Geographic Information System (GIS), sometimes called "geographic information system", is a specific and very important spatial information system. It is based on computer hardware and software system support to collect, store, manage, calculate, analyze, display and describe the geographical distribution data in the whole or part of the space. In short, GIS is a computer-based tool that can analyze and process spatial information. GIS technology can integrate the unique visualization effect and geographic analysis function of maps with general database operations.

[0054] Based on the consideration of the above-mentioned relevant features of GIS and the problems raised by the background technology, the embodiment of the present application provides a polygonal airspace drawing method. Based on the ability of GIS to analyze and process spatial information, GIS is used to parse the coordinates of airspace data and draw a two-dimensional image of the corresponding airspace, thereby promoting the establishment of a global airspace database, such as Figure 1 As shown, the method comprises the following steps:

[0055] S201: Acquire an airspace data file, where the airspace data file includes a coordinate format.

[0056] The airspace data file can be obtained through the airspace files officially published by various countries. The attributes of the airspace file can be in graphic format or text format. The type of the airspace file can be an information area, a control area, a restricted area activated to avoid flying into, a dangerous area, and a restricted area. The airspace data file includes coordinate information that can support the drawing of the airspace data image, and the airspace data image can be a two-dimensional image or a three-dimensional image.

[0057] S202: Parse the airspace data file and obtain the airspace area type according to the coordinate format.

[0058] The types of airspace areas include but are not limited to polylines (polylines), arcs, fan-shaped areas, circles, and corridor areas with widths, which are divided by different coordinate formats. Figure 3 As shown, Figure 3It is an exemplary airspace data file presented in text format, which includes straight line coordinates and arc coordinates. Specifically, 225149S1135054E-233856S1133216E part describes the indicated line segment coordinates; 233856S1133216E then along the clockwisearc of a circle radius 90.00NM centr221405S1140538E(LM / DME)-222933S1122959E part describes the indicated arc coordinates.

[0059] As for the parsing method of airspace data files, if the airspace data files are in text format, the coordinate format can be extracted through OCR recognition or semantic-based keyword recognition; if the airspace data files are in graphic format, a machine vision-based image recognition model can be constructed to obtain the corresponding coordinate format through feature extraction.

[0060] S203: Obtaining corresponding airspace area type drawing elements according to preset drawing logic and the airspace area type.

[0061] In the embodiment of the present application, the drawing elements include the corresponding airspace area drawing results and corresponding coordinates, such as arc drawing results and arc coordinates, polyline drawing results and polyline coordinates, etc. After parsing the airspace data file, multiple coordinate formats are obtained, and drawing is performed according to the coordinate formats. Different coordinate formats correspond to different coordinate processing methods.

[0062] In a preferred embodiment, after obtaining the coordinate string according to the spatial data file, the following steps are also included: obtaining the coordinate string according to the spatial data file; executing a first drawing logic, the first drawing logic including: determining whether the spatial area type to which the current coordinate string belongs is a broken line, and if so, executing a broken line coordinate processing method on the coordinate string; and obtaining a line segment drawing result and line coordinates according to the processing result of the first drawing logic.

[0063] In a preferred embodiment, after obtaining the coordinate string according to the spatial data file, the following steps are also included: executing a second drawing logic, the second drawing logic including: determining whether the spatial area type to which the current coordinate string belongs is an arc, and if so, executing an arc coordinate processing method on the coordinate string; and obtaining an arc drawing result and arc coordinates according to the processing result of the second drawing logic.

[0064] In a preferred embodiment, after obtaining the coordinate string according to the spatial data file, the following steps are also included: executing a third drawing logic, the third drawing logic including: determining whether the spatial area type to which the current coordinate string belongs is a boundary, and if so, executing a boundary coordinate processing method on the coordinate string; and obtaining a boundary line drawing result and boundary coordinates according to the processing result of the third drawing logic.

[0065] S204: Drawing elements according to all airspace area types to perform airspace drawing and generate polygonal airspace drawing graphics.

[0066] Get all coordinate format processing results and add them to the graphic coordinate group. After traversing the airspace data file, there is no unprocessed coordinate string. Specifically, the coordinate string is empty, then the current graphic coordinate group is output in the format of the graphic coordinate file, that is, the drawing of the polygonal airspace graphics is completed.

[0067] The following will describe the specific process of drawing polygonal airspace graphics with a specific example.

[0068] by Figure 2 Take the airspace data file shown as an example.

[0069] First, obtain the airspace data file, the content of which is as follows:

[0070] YMMM / R864A LEARMONTH

[0071] CONDITIONAL STATUS:RA2

[0072] MILITARY FLYING

[0073] LATERAL LIMITS:

[0074] 225149S1135054E-233856S1133216E

[0075] then along the clockwise arc of a circle radius 90.00NM center

[0076] 221405S1140538E(LM / DME)-222933S1122959E

[0077] 222108S1132311E

[0078] then along the counter clockwise arc of a circle radius 40.00NM centre

[0079] 221405S1140538E(LM / DME)-225149S1135054E

[0080] VERTICAL LIMITS:NOTAM - FL280

[0081] HOURS OF ACTIVITY:NOTAM

[0082] CONTROLLING AUTHORITY:DEFENCE JACC

[0083] Then analyze the airspace file according to the above text content:

[0084] Among them, ARC indicates arc, BORDER indicates boundary, HIGHWAY indicates highway, LAKE indicates lake, ISLAND indicates island, COASTLINE indicates coastline, and RIVER indicates river.

[0085] The coordinate format available for generating the polygon airspace image is:

[0086] Straight line coordinates, that is, 225149S1135054E - 233856S1133216E;

[0087] Arc coordinates, <ARC starting point coordinates; center coordinates and radius; ending point coordinates; clockwise / ARC>, that is, 225149S1135054E - 233856S1133216E then along the clockwise arc of a circle radius 90.00NM centre 221405S1140538E(LM / DME)-222933S1122959E;

[0088] Straight line coordinates, that is, 222933S1122959E - 222108S1132311E;

[0089] Arc coordinates, <ARC starting coordinates; center coordinates and radius; ending coordinates; counterclockwise / ARC>, i.e., 222108S1132311E then along the counter clockwise arc of a circle radius 40.00NM centre 221405S1140538E(LM / DME)-225149S1135054E.

[0090] Perform corresponding airspace area drawing according to the parsed coordinate format above:

[0091] According to the coordinate data of 225149S1135054E - 233856S1133216E and the judgment of the straight line coordinate type, draw the corresponding line segment, generate line coordinates, save them in the coordinate global variable, and then return to continue judging the remaining text;

[0092] According to the coordinate data of 225149S1135054E - 233856S1133216E then along the clockwise arc of a circle radius 90.00NM centre 221405S1140538E(LM / DME)-222933S1122959E and the judgment of the arc coordinate type, draw the corresponding arc, generate arc coordinates, save them in the coordinate global variable, and then return to continue judging the remaining text, where 233856S1133216E is the starting point coordinate of the arc, 221405S1140538E(LM / DME) is the center coordinate of the arc, and 222933S1122959E is the ending point coordinate of the arc;

[0093] According to the coordinate data of 222933S1122959E - 222108S1132311E and the judgment of the straight line coordinate type, draw the corresponding line segment, generate line coordinates, save them in the coordinate global variable, and then return to continue judging the remaining text;

[0094] According to the coordinate data of 222108S1132311E then along the counter clockwise arc of a circle radius 40.00NM centre 221405S1140538E(LM / DME)-225149S1135054E and the judgment of the arc coordinate type, draw the corresponding arc, generate arc coordinates, save them in the coordinate global variable, and then return to continue judging the remaining text. Different from the arc drawing in the previous paragraph, the counter clockwise in this coordinate format indicates that the direction of the drawing stroke is counterclockwise, that is, draw a 40 - nautical - mile counterclockwise arc.

[0095] Finally, when all coordinate character strings are indicated as empty, the parsing of the current airspace file is completed, and the global variable data is output to the corresponding database to complete the graphic drawing of the polygonal airspace.

[0096] The embodiment of the present application provides a polygonal airspace drawing method, which obtains an airspace data file, wherein the airspace data file includes a coordinate format; parses the airspace data file, and obtains the airspace area type according to the coordinate format; obtains the corresponding airspace area type drawing elements according to the preset drawing logic and the airspace area type; draws the airspace according to all the airspace area type drawing elements, and finally generates a polygonal airspace drawing graphic. The method described in the embodiment of the present application batch converts the parsed airspace coordinate data and the coordinates of complex shapes such as boundaries, rivers, highways, and coastlines into standard airspace data, which is convenient for subsequent analysis and processing by analysis software, and can efficiently realize the electronic digitization of graphic airspace data; at the same time, the present application realizes the fine drawing of polygonal airspace by separately drawing different coordinate formats in the airspace data file, and does not require technical personnel to perform tedious post-adjustments, avoiding the potential flight safety hazards caused by low airspace drawing accuracy.

[0097] The present application embodiment also provides a polygonal airspace drawing device 300, such as Figure 3 As shown, including:

[0098] The data file acquisition module 301 is used to acquire an airspace data file, wherein the airspace data file includes a coordinate format;

[0099] The airspace type acquisition module 302 is used to parse the airspace data file and acquire the airspace area type according to the coordinate format;

[0100] A drawing element acquisition module 303 is used to acquire a drawing element of a corresponding airspace region type according to a preset drawing logic and the airspace region type;

[0101] The airspace graphics generation module 304 is used to perform airspace drawing according to all airspace area type drawing elements to generate the polygonal airspace drawing graphics.

[0102] In an exemplary example, the drawing element acquisition module 303 further includes:

[0103] A character string acquisition unit, used for acquiring a coordinate character string according to the airspace data file;

[0104] A first drawing logic execution unit is used to execute a first drawing logic, wherein the first drawing logic includes: determining whether the airspace region type to which the current coordinate string belongs is a polyline, and if so, executing a polyline coordinate processing method on the coordinate string;

[0105] The line segment drawing result obtaining unit is used to obtain the line segment drawing result and line coordinates according to the processing result of the first drawing logic.

[0106] In an exemplary example, the drawing element acquisition module 303 further includes:

[0107] A second drawing logic execution unit is used to execute the second drawing logic, wherein the first drawing logic includes: determining whether the airspace area type to which the current coordinate string belongs is an arc, and if so, executing an arc coordinate processing method on the coordinate string;

[0108] The arc drawing result obtaining unit is used to obtain the arc drawing result and arc coordinates according to the processing result of the second drawing logic.

[0109] In an exemplary example, the drawing element acquisition module 303 further includes:

[0110] A third drawing logic execution unit is used to execute a third drawing logic, wherein the third drawing logic includes: determining whether the airspace region type to which the current coordinate string belongs is a boundary, and if so, executing a boundary coordinate processing method on the coordinate string;

[0111] The boundary drawing result acquisition unit is used to acquire the boundary line drawing result and boundary coordinates according to the processing result of the third drawing logic.

[0112] It should be noted that a polygonal airspace drawing device and a polygonal airspace drawing method are both derived from the same invention concept. For the relevant explanation of a polygonal airspace drawing device, reference can be made to the embodiment of a polygonal airspace drawing method, which will not be repeated here.

[0113] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 4As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a polygonal airspace drawing method is implemented.

[0114] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 5 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface, the display unit and the input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a polygonal airspace drawing method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0115] An embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, a polygonal airspace drawing method described in any one of the above embodiments is implemented.

[0116] The present invention may take the form of a computer program product implemented on one or more storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing program code. Computer-readable storage media include permanent and non-permanent, removable and non-removable media, and information storage can be achieved by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include but are not limited to: phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device.

[0117] It should be understood that the embodiments of the present application are not limited to the precise structures described above and shown in the drawings, and various modifications and changes can be made without departing from the scope thereof. The scope of the embodiments of the present application is limited only by the appended claims.

[0118] The above-mentioned embodiments only express several implementation methods of the embodiments of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the embodiments of the present application, and these all belong to the protection scope of the embodiments of the present application.

Claims

1. A polygonal airspace drawing method, characterized in that: The steps include: Acquire an airspace data file, wherein the airspace data file includes a coordinate format; wherein the coordinate format includes straight line coordinates and / or arc coordinates; Parsing the airspace data file, and acquiring an airspace region type according to the coordinate format; the airspace region type is divided according to different coordinate formats, and the airspace region type at least includes a broken line, an arc, and / or a boundary; According to the preset drawing logic and the airspace area type, the drawing element of the corresponding airspace area type is obtained; including: according to the airspace data file, the current coordinate string is obtained, and the airspace area type corresponding to the current coordinate string is determined, and different drawing logics are executed according to the airspace area type; Airspace mapping is performed by drawing elements based on all airspace area types to generate polygonal airspace mapping graphics.

2. A polygonal airspace drawing method according to claim 1, characterized in that: According to the preset drawing logic and the airspace region type, obtaining a corresponding airspace region type drawing element includes the following steps: According to the airspace data file, obtaining a coordinate character string; Executing a first drawing logic, the first drawing logic comprising: determining whether the airspace region type to which the current coordinate string belongs is a polyline, and if so, executing a polyline coordinate processing method on the coordinate string; According to the processing result of the first drawing logic, the line segment drawing result and the line coordinates are obtained.

3. A polygonal airspace drawing method according to claim 2, characterized in that: After obtaining the coordinate string according to the airspace data file, the following steps are also included: Executing the second drawing logic, the second drawing logic includes: determining whether the airspace region type to which the current coordinate string belongs is an arc, and if so, executing the arc coordinate processing method for the coordinate string; According to the processing result of the second drawing logic, the arc drawing result and arc coordinates are obtained.

4. A polygonal airspace drawing method according to claim 3, characterized in that: After obtaining the coordinate string according to the airspace data file, the following steps are also included: Executing a third drawing logic, the third drawing logic comprising: determining whether the airspace region type to which the current coordinate string belongs is a boundary, and if so, executing a boundary coordinate processing method on the coordinate string; According to the processing result of the third drawing logic, a boundary line drawing result and boundary coordinates are obtained.

5. A polygonal airspace drawing device, characterized in that: include: A data file acquisition module, used to acquire an airspace data file, wherein the airspace data file includes a coordinate format; wherein the coordinate format includes straight line coordinates and / or arc coordinates; An airspace type acquisition module is used to parse the airspace data file and acquire an airspace area type according to the coordinate format; the airspace area type is divided according to different coordinate formats, and the airspace area type at least includes a broken line, an arc, and / or a boundary; A drawing element acquisition module is used to acquire the drawing elements of the corresponding airspace area type according to the preset drawing logic and the airspace area type; including: acquiring the current coordinate string according to the airspace data file, and determining the airspace area type to which the current coordinate string corresponds, and executing different drawing logics according to the airspace area type; The airspace graphics generation module is used to draw elements according to all airspace area types to perform airspace drawing and generate polygonal airspace drawing graphics.

6. The polygonal airspace drawing device according to claim 5, characterized in that: The drawing element acquisition module further includes: A character string acquisition unit, used for acquiring a coordinate character string according to the airspace data file; A first drawing logic execution unit is used to execute a first drawing logic, wherein the first drawing logic includes: determining whether the airspace region type to which the current coordinate string belongs is a polyline, and if so, executing a polyline coordinate processing method on the coordinate string; The line segment drawing result obtaining unit is used to obtain the line segment drawing result and line coordinates according to the processing result of the first drawing logic.

7. The polygonal airspace drawing device according to claim 6, characterized in that: The drawing element acquisition module further includes: A second drawing logic execution unit is used to execute a second drawing logic, wherein the second drawing logic includes: determining whether the airspace region type to which the current coordinate string belongs is an arc, and if so, executing an arc coordinate processing method on the coordinate string; The arc drawing result obtaining unit is used to obtain the arc drawing result and arc coordinates according to the processing result of the second drawing logic.

8. The polygonal airspace drawing device according to claim 7, characterized in that: The drawing element acquisition module further includes: A third drawing logic execution unit is used to execute a third drawing logic, wherein the third drawing logic includes: determining whether the airspace region type to which the current coordinate string belongs is a boundary, and if so, executing a boundary coordinate processing method on the coordinate string; The boundary drawing result acquisition unit is used to acquire the boundary line drawing result and boundary coordinates according to the processing result of the third drawing logic.

9. A computer device, characterized in that: include: at least one memory and at least one processor; The memory is used to store one or more programs; When the one or more programs are executed by the at least one processor, the at least one processor implements the steps of a polygonal airspace drawing method as described in any one of claims 1 to 4.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of a polygonal airspace drawing method as claimed in any one of claims 1 to 4 are implemented.