Method and device for processing wind power plant machine position coordinates

By parsing engineering coordinate files using custom functions, an octagonal geometric figure conforming to engineering specifications is generated and projection parameters are automatically inferred. This solves the problems of poor data reading compatibility, low coordinate verification efficiency, and cumbersome multi-format output in wind farm engineering, realizing automated processing and multi-format output, and improving engineering efficiency.

CN121743418APending Publication Date: 2026-03-27湖南三一智慧新能源设计有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-20
Publication Date
2026-03-27

AI Technical Summary

Technical Problem

In existing technologies, the drawing and coordinate file processing of the land acquisition area for wind farm sites suffer from problems such as poor data reading compatibility, low coordinate verification efficiency, complex projection parameter configuration, non-standard graphic generation, and cumbersome multi-format output.

Method used

It parses engineering coordinate files using custom functions, generates octagonal geometric figures that conform to engineering specifications, automatically infers projection parameters, supports multiple output formats, and achieves fully automated processing.

Benefits of technology

It has enabled automated processing and multi-format output of wind farm turbine location coordinates, improving engineering efficiency, reducing manual intervention, enhancing data reading compatibility and coordinate verification accuracy, and ensuring that the generated graphics meet engineering specifications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121743418A_ABST
    Figure CN121743418A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to the technical field of geographic information processing, and provides a processing method and device for wind power plant machine position coordinates, and the method comprises the steps: obtaining an engineering coordinate file, and carrying out the analysis of the engineering coordinate file, and obtaining target data; on the basis of coordinate data in the target data and according to a preset radius, generating an octagonal geometric figure conforming to an engineering specification; and based on the target data and the octagonal geometric figure, generating wind power plant position coordinate files in various formats. Therefore, automatic processing and multi-format output of the wind power plant machine position coordinates are realized, and the engineering efficiency of the wind power plant is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of geographic information processing technology, and in particular to a method and apparatus for processing wind farm turbine location coordinates. Background Technology

[0002] In wind farm construction, the mapping of the land acquisition area for turbine sites and the processing of coordinate files are key steps that need to meet the requirements of multiple scenarios, including Geographic Information System (GIS) analysis, CAD drawing, and project approval.

[0003] However, existing technologies for mapping and processing coordinate files of land acquisition areas for aircraft sites have the following problems: 1. Poor data reading compatibility: Engineering coordinate files often fail to be parsed due to different encodings (such as UTF-8, GBK) or delimiters (such as commas, spaces, tabs), requiring manual adjustment of the format of each file; 2. Coordinate verification relies on manual processing: The raw data may contain non-numeric characters, requiring manual filtering of valid coordinates, which is inefficient and prone to errors; 3. Complex projection parameter configuration: The Gauss-Kruger projection requires professional knowledge to calculate parameters such as the zone number and central meridian. Non-GIS personnel are prone to misconfiguration, resulting in graphic offset. 4. Non-standard generation of land acquisition drawings: Octagons are a commonly used shape for land acquisition areas, and the calculation of their vertex coordinates must strictly follow engineering specifications (such as the relationship between the radius of the circumcircle and the side length). Manual drawing is prone to dimensional deviations. 5. Cumbersome multi-format output: Different stages require TXT (data verification), SHP (GIS analysis), DXF (CAD drawing), and TXT (approval) formats, which are time-consuming to convert manually and prone to format inconsistencies.

[0004] Therefore, how to automatically process coordinate data, generate standardized graphics, and output multi-format files has become an urgent problem to be solved. Summary of the Invention

[0005] This invention provides a method and apparatus for processing wind farm turbine location coordinates, which solves the defects of existing technologies such as poor data reading compatibility, low coordinate verification efficiency, complex projection parameter configuration, non-standard graphic generation, and cumbersome multi-format output. It realizes automated processing and multi-format output of wind farm turbine location coordinates, thereby improving the efficiency of wind farm engineering.

[0006] This invention provides a method for processing wind farm turbine location coordinates, comprising: Obtain the engineering coordinate file and parse the engineering coordinate file to obtain the target data; Based on the coordinate data in the target data, an octagonal geometric shape conforming to engineering specifications is generated according to a preset radius; Based on the target data and the octagonal geometry, wind farm turbine location coordinate files in various formats are generated.

[0007] In one possible implementation, the method further includes: The engineering coordinate file is parsed using a custom function to obtain the raw data, wherein the custom function includes a preset encoding set and a preset delimiter set; The X and Y coordinate data in the original data are converted into numerical types, and the valid camera position data is retained to obtain the target data.

[0008] In one possible implementation, the method further includes: The project coordinate file is parsed by sequentially accessing each element in the preset encoding set through a loop structure and combining it with elements in the preset delimiter set until the original data containing X coordinate data, Y coordinate data, station number and project name is successfully extracted.

[0009] In one possible implementation, the method further includes: The center coordinates of the wind turbine location are determined based on the X and Y coordinate data in the target data. The vertex radius and vertex coordinates of the circumscribed octagon corresponding to the wind turbine location are determined based on the center coordinates of the wind turbine location and the preset radius. An octagonal geometric shape conforming to engineering specifications is generated based on the vertex radius and vertex coordinates.

[0010] In one possible implementation, the method further includes: Based on the X-coordinate data in the target data, the degree zone number is extracted, and the Gauss-Kruger projection parameters are calculated according to the preset degree zone rules. The Gauss-Kruger projection parameters include the central meridian and the eastward deviation value.

[0011] In one possible implementation, the method further includes: The various formats include TXT, SHP, DXF, and engineering plan TXT formats; The turbine location number, X-coordinate data, and Y-coordinate data in the target data are processed in ANSI encoding format to generate a wind farm turbine location coordinate file in TXT format; Associate the octagonal geometric shape with the corresponding turbine location number and bind the Gauss-Krüger projection parameters to generate an ESRI Shapefile wind farm turbine location coordinate file in SHP format; The octagonal geometric figure is associated with the corresponding turbine location number to generate a wind farm turbine location coordinate file in DXF format compatible with AutoCAD R12. Based on the vertex coordinates and attribute description information of the octagonal geometry, a wind farm turbine location coordinate file in TXT format is generated according to the target record format.

[0012] In one possible implementation, the method further includes: Extract the first two digits from the string format of the X coordinate data as the degree zone number; If it is a 3-degree zone, the central meridian is calculated using the first formula, which is: central meridian = zone number × 3, with a corresponding eastward deviation of 500000. If it is a 6-degree zone, the central meridian is calculated using the second formula: Central meridian = zone number × 6 - 3, with a corresponding eastward deviation of 500000.

[0013] The present invention also provides a processing device for wind farm turbine location coordinates, comprising the following modules: The acquisition and parsing module is used to acquire the engineering coordinate file and parse the engineering coordinate file to obtain the target data; The graphics generation module is used to generate an octagonal geometric shape that conforms to engineering specifications based on the coordinate data in the target data and according to a preset radius. The coordinate processing module is used to generate wind farm turbine location coordinate files in various formats based on the target data and the octagonal geometry.

[0014] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the wind farm turbine location coordinate processing method as described above.

[0015] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the wind farm turbine location coordinate processing method as described above.

[0016] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the wind farm turbine location coordinate processing method as described above.

[0017] The present invention provides a method and apparatus for processing wind farm turbine location coordinates. This method acquires an engineering coordinate file and parses the file to obtain target data. Based on the coordinate data in the target data, an octagonal geometric figure conforming to engineering specifications is generated according to a preset radius. Based on the target data and the octagonal geometric figure, wind farm turbine location coordinate files in multiple formats are generated. Compared to the fully automated process of intelligent file parsing, automatic coordinate verification, projection parameter inference, standardized graphic generation, and multi-format output, this method achieves automated processing and multi-format output of wind farm turbine location coordinates, improving the efficiency of wind farm engineering. Compared to the shortcomings of existing technologies, such as poor data reading compatibility, low coordinate verification efficiency, complex projection parameter configuration, non-standard graphic generation, and cumbersome multi-format output, this solution achieves automated processing and multi-format output of wind farm turbine location coordinates, improving the efficiency of wind farm engineering. Attached Figure Description

[0018] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0019] Figure 1 This is a system architecture diagram of the wind farm turbine location coordinate processing method provided by the present invention.

[0020] Figure 2 This is one of the flowcharts illustrating the method for processing wind farm turbine location coordinates provided by the present invention.

[0021] Figure 3 This is the second flowchart illustrating the method for processing wind farm turbine location coordinates provided by the present invention.

[0022] Figure 4 This is a schematic diagram of the structure of the wind farm turbine location coordinate processing device provided by the present invention.

[0023] Figure 5 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation

[0024] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0025] To facilitate understanding of the embodiments of the present invention, further explanations and descriptions will be provided below with reference to the accompanying drawings and specific embodiments. These embodiments do not constitute a limitation on the embodiments of the present invention.

[0026] Figure 1 This is a system architecture diagram of the wind farm turbine location coordinate processing method provided by the present invention. The connection relationship and data flow of each module in the system are as follows: 1) The interactive interface module receives user input parameters, passes the "input file path, column index, and degree band type" to the data reading module, passes the "preset radius" to the graphics generation module, and passes the "output path" to the multi-format output module; 2) After the data reading module completes intelligent parsing, it pushes the raw data to the coordinate cleaning module for preprocessing; 3) The coordinate cleaning module distributes the verified valid camera position data to the projection parameter module, the graphics generation module, and the multi-format output module respectively, realizing multi-path synchronous processing; 4) The projection parameter module transmits the automatically inferred Gauss-Kruger projection parameters to the graphics generation module and the multi-format output module, providing a benchmark for subsequent spatial calculations and format binding; 5) The graphics generation module transfers the generated octagonal geometric shape to the multi-format output module; 6) The interactive interface module synchronously receives the processing status (including progress information and execution logs) from each module and presents it to the user in real time, forming a complete information interaction loop.

[0027] Figure 2 This is one of the flowcharts illustrating the wind farm turbine location coordinate processing method provided by the present invention, such as... Figure 2 As shown, the method includes the following: S21. Obtain the engineering coordinate file and parse the engineering coordinate file to obtain the target data.

[0028] In this embodiment of the invention, the system has a built-in set of encodings (such as utf-8, ANSI, gbk, gb2312, big5) and a set of delimiters (such as commas, tabs, and arbitrary spaces). It uses nested loops to traverse all combinations of "encoding-delimiter" Cartesian products until the original data is successfully extracted. The original data can be four columns of structured data containing X coordinate data, Y coordinate data, station number, and project name.

[0029] After successful parsing, the X and Y coordinate data in the original data are converted to numeric types. Data that fails to convert is marked as NaN and removed entirely. Finally, valid camera position data and its attribute relationships are retained to obtain the target data. This process requires no manual specification of the file format, resolving parsing failures caused by inconsistent encoding or delimiters in the project file.

[0030] S22. Based on the coordinate data in the target data and according to the preset radius, generate an octagonal geometric figure that conforms to engineering specifications.

[0031] The center coordinates (X, Y) of the aircraft station are derived from the target data in S21, rather than being calculated by the system. The system iterates through each aircraft station, using the center coordinates (cx, cy) and the user-preset radius r as input, and generates an circumscribed octagon strictly according to engineering specifications. This calculation method avoids the area discrepancy caused by directly using r as the vertex radius in manual drawing, thus meeting the accuracy requirements for land acquisition and approval.

[0032] S23. Based on the target data and the octagonal geometry, generate wind farm turbine location coordinate files in various formats.

[0033] This step receives the valid turbine location data from S21 and the octagonal geometry from S22, and simultaneously calls the Gauss-Kruger projection parameters automatically inferred by the projection parameter module to generate wind farm turbine location coordinate files in various formats.

[0034] During system execution, the interactive interface module passes the user-input radius parameter to the graphics generation module, the file path, column index, and degree band type to the data reading module, and the output path to the multi-format output module. The multi-format output module then coordinates the writing of wind farm location coordinate files in various formats. After processing, a statistical file named "Wind Farm Name and Number of Locations.csv" is automatically generated, and the interactive interface synchronously displays the progress and logs, forming a closed-loop feedback loop.

[0035] The wind farm turbine location coordinate processing method provided by this invention obtains an engineering coordinate file and parses it to obtain target data; based on the coordinate data in the target data, an octagonal geometric figure conforming to engineering specifications is generated according to a preset radius; based on the target data and the octagonal geometric figure, wind farm turbine location coordinate files in multiple formats are generated. Compared with the fully automated process of intelligent file parsing, automatic coordinate verification, projection parameter inference, standardized graphic generation, and multi-format output, this method achieves automated processing and multi-format output of wind farm turbine location coordinates, improving the efficiency of wind farm engineering. Compared with the shortcomings of existing technologies such as poor data reading compatibility, low coordinate verification efficiency, complex projection parameter configuration, non-standard graphic generation, and cumbersome multi-format output, this method achieves automated processing and multi-format output of wind farm turbine location coordinates, improving the efficiency of wind farm engineering.

[0036] Figure 3 This is the second flowchart illustrating the method for processing wind farm turbine location coordinates provided by the present invention, as shown below. Figure 3 As shown, the method includes the following: S31. Obtain the engineering coordinate file, and parse the engineering coordinate file using a custom function to obtain the raw data.

[0037] This step attempts to automatically parse data files containing wind farm turbine location coordinates by combining multiple encodings and delimiters to obtain the raw data. This is achieved through a custom function "read_file_smart," with the core logic as follows: Preset encoding set: encodings = ['utf-8', 'ANSI', 'gbk', 'gb2312', 'big5']; Preset delimiter set: seps = [',', '\t', r'\s+'] (corresponding to comma, tab, and any space respectively); The system uses a loop to sequentially access each element in the preset encoding set and combines it with elements in the preset delimiter set to parse the engineering coordinate file until it successfully extracts the raw data containing X-coordinate data, Y-coordinate data, station number, and project name. The system then decides whether to skip the first line header based on the user's selection.

[0038] S32. Convert the X-coordinate data and Y-coordinate data in the original data into numerical types, retain the valid camera position data, and obtain the target data.

[0039] The X and Y coordinate data in the original data are converted using a numerical conversion function. Values ​​that fail to convert are marked as invalid. Rows containing invalid X or Y coordinates are removed, valid station data is retained, and the association between station number and project name is preserved.

[0040] Specifically, this is achieved through a custom function "_ensure_xy_numeric", with the core logic as follows: Use numeric conversion functions (such as pd.to_numeric) to convert columns X and Y to numeric types. If the conversion fails, mark it as "NaN". Data cleaning functions (such as dropna(subset=["X", "Y"])) are used to remove rows containing invalid coordinates while preserving the association between "aircraft station number" and "project name".

[0041] S33. Determine the center coordinates of the wind turbine location based on the X-coordinate data and Y-coordinate data in the target data.

[0042] The (X, Y) coordinate pair of each valid camera position in the target data is the center coordinate (cx, cy) corresponding to that valid camera position.

[0043] S34. Determine the vertex radius and vertex coordinates of the circumscribed octagon corresponding to the wind turbine location based on the center coordinates of the wind turbine location and the preset radius.

[0044] S35. Generate an octagonal geometric shape that conforms to engineering specifications based on the vertex radius and vertex coordinates.

[0045] Let the center coordinates of the camera position be (cx, cy), and the preset radius be r. Then the radius of the circumscribed octagon vertex R = r / cos(π / 8), and the vertex coordinates are (cx + R×cos(θ), cy + R×sin(θ)), where θ is [i×π / 4 + π / 8] (i=0,1,...,7).

[0046] This step generates the circumscribed octagon using a custom function "create_circumscribed_octagon". The core logic is as follows: Input parameters: Camera center coordinates (cx, cy), preset radius r; Calculate the radius of the circumscribed octagon's vertices: R = r / cos(π / 8) (ensure the radius of the octagon's inscribed circle is equal to the preset radius r); Generate the coordinates of 8 vertices: the coordinates of each vertex are (cx + R×cos(θ), cy + R×sin(θ)), where the value of θ is [i×π / 4 + π / 8] (i=0,1,...,7); A geometric object (such as shapely.geometry.Polygon) is constructed based on the vertex coordinates for subsequent formatted output.

[0047] This calculation method avoids the area discrepancy caused by directly using r as the vertex radius when drawing manually, thus meeting the accuracy requirements for land requisition and approval.

[0048] S36. Based on the target data and the octagonal geometry, generate wind farm turbine location coordinate files in various formats.

[0049] In this embodiment of the invention, the degree zone number is extracted based on the X coordinate data in the target data, and the Gauss-Kruger projection parameters are calculated according to the preset degree zone rules. The Gauss-Kruger projection parameters include the central meridian and the eastward deviation value.

[0050] Specifically, this is achieved through two custom functions, "infer_band_number" and "get_projection_params", which extract the first two digits from the string form of the X coordinate as the band number (for example, when X=37500000, the band number = 37). If the user selects zone 3: Central meridian = zone number × 3, eastward value is 500000; If the user selects zone 6: Central meridian = zone number × 6 - 3, eastward deviation value is 500000; The "build_proj_wkt" function generates Gauss-Kruger projection parameters in WKT format, which are used for coordinate system binding in subsequent SHP files, thus giving the SHP format files spatial reference information.

[0051] Bind the Gauss-Kruger projection parameters to the generated octagonal geometry to ensure that the Shapefile can be correctly positioned and displayed in the GIS system.

[0052] Furthermore, multiple formats are supported, including TXT, SHP, DXF, and engineering plan TXT formats. After processing each wind farm project, the following files are generated in the specified output path: TXT format output (function "save_txt"): retains the three columns of data "aircraft position number, X coordinate, Y coordinate", and stores them in ANSI encoding to the specified path. The TXT format is used for data verification and basic storage. SHP format output (function "save_shp"): Associates octagonal geometry with station number, generates ESRI Shapefile file through geographic data processing library (such as geopandas), and binds Gauss-Krüger projection parameters. SHP format is used for spatial analysis in GIS system. DXF format output (function "save_dwg"): Generates a DXF file compatible with AutoCAD R12, draws an octagonal graphic using a CAD data processing library (such as ezdxf), and labels the corresponding machine position number on the outside of the graphic. The DXF format is used for CAD drawing and engineering design. The engineering plan TXT output (function "save_scheme_txt"): The file is divided into two parts: "attribute description" and "wind turbine land acquisition coordinates". The attribute description includes information such as coordinate system, degree zone type, and generation date. The land acquisition coordinates are recorded in the format "J serial number,1,Y,X" (e.g., "J1,1,3500000.000,37500000.000"), and the coordinates of the first and last vertices are consistent to achieve graphic closure. The engineering plan TXT is used for administrative approval and plan reporting.

[0053] Once all projects are processed, a summary statistics file (“Wind Farm Name and Number of Sites.csv”) will be automatically generated, recording the total number of sites for each wind farm.

[0054] This invention achieves the following through fully automated processes: intelligent file parsing, automatic coordinate verification, projection parameter inference, standardized graphic generation, and multi-format output. These improvements include: 1. Increased efficiency: Full-process automation improves efficiency by over 80% compared to manual operation; 2. Strong compatibility: Supports multiple encodings and delimiters, eliminating the need for manual format adjustments; 3. High accuracy: Automatic coordinate verification and projection parameter calculation avoid human error, and graphic dimensions strictly conform to engineering specifications; 4. Wide scenario adaptability: Output formats cover data verification, GIS analysis, CAD drawing, and engineering approval, meeting the needs of the entire process.

[0055] The wind farm turbine location coordinate processing device provided by the present invention will be described below. The wind farm turbine location coordinate processing device described below and the wind farm turbine location coordinate processing method described above can be referred to in correspondence.

[0056] Figure 4 This is a schematic diagram of the structure of the wind farm turbine location coordinate processing device provided by the present invention, specifically including: The parsing module 401 is used to acquire the engineering coordinate file and parse the engineering coordinate file to obtain the target data; The graphics generation module 402 is used to generate an octagonal geometric figure that conforms to engineering specifications based on the coordinate data in the target data and according to a preset radius. The coordinate processing module 403 is used to generate wind farm turbine location coordinate files in various formats based on the target data and the octagonal geometry.

[0057] In one possible implementation, the acquisition and parsing module 401 is further configured to parse the engineering coordinate file using a custom function to obtain raw data, wherein the custom function includes a preset encoding set and a preset delimiter set; convert the X coordinate data and Y coordinate data in the raw data into numerical types, retain the valid camera position data, and obtain the target data.

[0058] In one possible implementation, the acquisition and parsing module 401 is further configured to sequentially access each element in the preset encoding set through a loop structure, and combine it with the elements of the preset delimiter set to parse the engineering coordinate file until the original data containing X coordinate data, Y coordinate data, machine position number and project name is successfully extracted.

[0059] In one possible implementation, the acquisition and analysis module 401 is further configured to extract the degree zone number based on the X coordinate data in the target data, and calculate the Gauss-Kruger projection parameters according to the preset degree zone rules, wherein the Gauss-Kruger projection parameters include the central meridian and the eastward deviation value.

[0060] In one possible implementation, the acquisition and parsing module 401 is further configured to extract the first two digits from the string form of the X coordinate data as the zone number; if it is a 3-degree zone, the central meridian is calculated using a first formula, the first formula being: central meridian = zone number × 3, with a corresponding eastward deviation of 500000; if it is a 6-degree zone, the central meridian is calculated using a second formula, the second formula being: central meridian = zone number × 6 - 3, with a corresponding eastward deviation of 500000.

[0061] In one possible implementation, the graphics generation module 402 is further configured to determine the center coordinates of the wind turbine location based on the X-coordinate data and Y-coordinate data in the target data; determine the vertex radius and vertex coordinates of the circumscribed octagon corresponding to the wind turbine location based on the center coordinates of the wind turbine location and the preset radius; and generate an octagonal geometric figure conforming to engineering specifications based on the vertex radius and vertex coordinates.

[0062] In one possible implementation, the coordinate processing module 403 is further configured to process the turbine location number, X-coordinate data, and Y-coordinate data in the target data in ANSI encoding format to generate a wind farm turbine location coordinate file in TXT format; associate the octagonal geometry with the corresponding turbine location number and bind the Gauss-Krüger projection parameters to generate an ESRI Shapefile wind farm turbine location coordinate file in SHP format; associate the octagonal geometry with the corresponding turbine location number to generate a wind farm turbine location coordinate file in DXF format compatible with AutoCAD R12; and generate an engineering scheme TXT format wind farm turbine location coordinate file according to the target record format based on the vertex coordinates and attribute description information of the octagonal geometry.

[0063] Figure 5 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 5 As shown, the electronic device may include a processor 510, a communications interface 520, a memory 530, and a communication bus 540. The processor 510, communications interface 520, and memory 530 communicate with each other via the communication bus 540. The processor 510 can call logical instructions in the memory 530 to execute a method for processing wind farm turbine location coordinates. This method includes: acquiring an engineering coordinate file and parsing the engineering coordinate file to obtain target data; generating an octagonal geometric figure conforming to engineering specifications based on the coordinate data in the target data and according to a preset radius; and generating wind farm turbine location coordinate files in various formats based on the target data and the octagonal geometric figure.

[0064] Furthermore, the logical instructions in the aforementioned memory 530 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0065] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the wind farm turbine location coordinate processing method provided by the above methods. The method includes: acquiring an engineering coordinate file and parsing the engineering coordinate file to obtain target data; generating an octagonal geometric figure conforming to engineering specifications based on the coordinate data in the target data and according to a preset radius; and generating wind farm turbine location coordinate files in various formats based on the target data and the octagonal geometric figure.

[0066] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon. When executed by a processor, the computer program implements a method for processing wind farm turbine location coordinates provided by the methods described above. The method includes: acquiring an engineering coordinate file and parsing the engineering coordinate file to obtain target data; generating an octagonal geometric figure conforming to engineering specifications based on the coordinate data in the target data and according to a preset radius; and generating wind farm turbine location coordinate files in various formats based on the target data and the octagonal geometric figure.

[0067] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0068] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0069] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for processing wind farm turbine location coordinates, characterized in that, include: Obtain the engineering coordinate file and parse the engineering coordinate file to obtain the target data; Based on the coordinate data in the target data, an octagonal geometric shape conforming to engineering specifications is generated according to a preset radius; Based on the target data and the octagonal geometry, wind farm turbine location coordinate files in various formats are generated.

2. The method according to claim 1, characterized in that, The process of parsing the engineering coordinate file to obtain the target data includes: The engineering coordinate file is parsed using a custom function to obtain the raw data, wherein the custom function includes a preset encoding set and a preset delimiter set; The X and Y coordinate data in the original data are converted into numerical types, and the valid camera position data is retained to obtain the target data.

3. The method according to claim 2, characterized in that, The process of parsing the engineering coordinate file using a custom function to obtain the raw data includes: The project coordinate file is parsed by sequentially accessing each element in the preset encoding set through a loop structure and combining it with elements in the preset delimiter set until the original data containing X coordinate data, Y coordinate data, station number and project name is successfully extracted.

4. The method according to any one of claims 1-3, characterized in that, The process of generating an octagonal geometric shape conforming to engineering specifications based on the coordinate data in the target data and according to a preset radius includes: The center coordinates of the wind turbine location are determined based on the X and Y coordinate data in the target data. The vertex radius and vertex coordinates of the circumscribed octagon corresponding to the wind turbine location are determined based on the center coordinates of the wind turbine location and the preset radius. An octagonal geometric shape conforming to engineering specifications is generated based on the vertex radius and vertex coordinates.

5. The method according to claim 1, characterized in that, The method further includes: Based on the X-coordinate data in the target data, the degree zone number is extracted, and the Gauss-Kruger projection parameters are calculated according to the preset degree zone rules. The Gauss-Kruger projection parameters include the central meridian and the eastward deviation value.

6. The method according to claim 5, characterized in that, The various formats include TXT, SHP, DXF, and engineering plan TXT formats; Based on the target data and the octagonal geometry, wind farm turbine location coordinate files in various formats are generated, including: The turbine location number, X-coordinate data, and Y-coordinate data in the target data are processed in ANSI encoding format to generate a wind farm turbine location coordinate file in TXT format; Associate the octagonal geometric shape with the corresponding turbine location number and bind the Gauss-Krüger projection parameters to generate an ESRI Shapefile wind farm turbine location coordinate file in SHP format; The octagonal geometric figure is associated with the corresponding turbine location number to generate a wind farm turbine location coordinate file in DXF format compatible with AutoCAD R12. Based on the vertex coordinates and attribute description information of the octagonal geometry, a wind farm turbine location coordinate file in TXT format is generated according to the target record format.

7. The method according to claim 5, characterized in that, The step of extracting the degree zone number based on the X-coordinate data in the target data and calculating the Gauss-Krüger projection parameters according to the preset degree zone rules includes: Extract the first two digits from the string format of the X coordinate data as the degree zone number; If it is a 3-degree zone, the central meridian is calculated using the first formula, which is: central meridian = zone number × 3, with a corresponding eastward deviation of 500000. If it is a 6-degree zone, the central meridian is calculated using the second formula: Central meridian = zone number × 6 - 3, with a corresponding eastward deviation of 500000.

8. A device for processing wind farm turbine location coordinates, characterized in that, include: The acquisition and parsing module is used to acquire the engineering coordinate file and parse the engineering coordinate file to obtain the target data; The graphics generation module is used to generate an octagonal geometric shape that conforms to engineering specifications based on the coordinate data in the target data and according to a preset radius. The coordinate processing module is used to generate wind farm turbine location coordinate files in various formats based on the target data and the octagonal geometry.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the wind farm turbine location coordinate processing method as described in any one of claims 1 to 7.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the wind farm turbine location coordinate processing method as described in any one of claims 1 to 7.