Power grid line path planning method, device, equipment and medium
By obtaining multiple geospatial data to generate planning layers, setting protection areas and preset paths on the layers, and using the nine-grid division and cross-product methods for judgment, the problems of low accuracy and data dispersion of existing line planning methods are solved, and line path planning with higher accuracy and security are achieved.
Patent Information
- Application Number
- CN202510022842.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-07
- Publication Date
- 2025-05-06
AI Technical Summary
The existing line planning methods have problems such as low accuracy, scattered data, and incomplete site selection and line selection dimensions, which makes it difficult for the planning scheme to avoid ecological red lines and geological disaster areas when meeting urban and rural planning, which in turn affects the feasibility of engineering construction.
By obtaining a variety of geospatial data (such as control detailed regulations, regional planning blueprints, satellite photos, meteorological and geological disaster data, etc.), several planning layers are generated, and protection areas and preset paths are set on the layers, and judgments are made using the nine-grid division and cross-production methods to ensure the accuracy and security of path planning.
It improves the accuracy and accuracy of line path planning, enhances the planning dimension, ensures that the path does not pass through the protected area, and thus improves the feasibility and safety of project construction.
Smart Images

Figure CN119940965A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of line planning, and in particular relates to a method, device, equipment and medium for planning a path of a power grid line. Background Art
[0002] Transmission lines are an important part of the power system, and their planning and design play a vital role in the normal operation of the power system and power supply. Transmission line planning mainly includes field surveys, line selection calculations, engineering economic analysis and environmental assessment. In the process of line planning, it is also necessary to fully consider factors such as power load, power supply range, voltage level, transmission distance, topography, environmental protection, etc., in order to select the best transmission line direction and structure, and pay attention to safety, economy and environmental protection.
[0003] There are many factors that need to be considered in the planning of transmission lines. Its accuracy and feasibility will directly determine the difficulty of preparing the subsequent feasibility study plan and engineering construction. Traditional line planning has scattered data, incomplete "multi-plan integration" data, a long field survey process, incomplete site selection and line selection dimensions, and some line planning schemes meet urban and rural planning but not land regulations, or meet planning but fail to avoid ecological red line areas and areas prone to geological disasters. It is even impossible to complete the demolition due to the large number of existing above-ground and underground objects, resulting in slow or even impossible construction of subsequent projects. Summary of the invention
[0004] The object of the present invention is to provide a method, device, equipment and medium for planning a path of a power grid line, so as to solve the technical problem of low accuracy of existing path planning methods.
[0005] To achieve the above object, the present invention adopts the following technical solutions:
[0006] In a first aspect, the present invention provides a method for planning a path of a power grid line, comprising the following steps:
[0007] Get geospatial data of a preset area;
[0008] Generate a planning layer based on geospatial data and set a protection area on the planning layer;
[0009] Obtain a path planning solution, and generate a preset path on the planning layer according to the path planning solution;
[0010] Determine the positional relationship between the preset path and the protection area. If the preset path does not pass through the protection area, output the planning layer and the preset path.
[0011] A further improvement of the present invention is that:
[0012] Geographical spatial data include: controlling detailed plans, regional planning blueprints, satellite photos, meteorological and geological disaster data, transmission corridor data, power pipeline data and surveying and mapping data.
[0013] A further improvement of the present invention is that: the geospatial data includes several categories, and each category of geospatial data generates a corresponding planning layer;
[0014] Each path planning scheme generates a planning path on each planning layer.
[0015] A further improvement of the present invention is that: the step of determining the positional relationship between the preset path and the protection area, and outputting the planning layer and the preset path if the preset path does not pass through the protection area, specifically includes:
[0016] Determine the planning area according to the planning layer, and divide the two-dimensional space where the planning area is located into nine squares;
[0017] According to the position relationship of the protection area in the planning layer, the protection area is set in the nine-square grid, and the coordinates of the four vertices of the grid where the protection area is located are obtained;
[0018] Determine the starting point coordinates and the end point coordinates according to the preset path;
[0019] Generate a judgment result based on the starting point coordinates, the end point coordinates and the vertex coordinates;
[0020] If the result of the first judgment is crossing, a second judgment is performed;
[0021] If the result of the first judgment is that it is not crossed, the planning layer and the preset path will be output without a second judgment;
[0022] If the secondary judgment result is crossing, the crossing part of the preset path will be highlighted and the planning layer and the marked preset path will be output;
[0023] If the secondary judgment result is not crossed, the planning layer and preset path are output.
[0024] A further improvement of the present invention is that the step of generating a judgment result according to the starting point coordinates, the end point coordinates and the vertex coordinates includes:
[0025] According to the vertex coordinates, the maximum horizontal coordinate, the minimum horizontal coordinate, the maximum vertical coordinate and the minimum vertical coordinate are obtained;
[0026] When any one of conditions 1 to 4 is met, the result of a judgment is not crossing, otherwise it is crossing;
[0027] Condition 1: The horizontal coordinates of the starting point and the end point are both greater than the maximum horizontal coordinate;
[0028] Condition 2: The horizontal coordinates of the starting point and the end point are both less than the minimum horizontal coordinate;
[0029] Condition 3: The ordinates of the starting point and the end point are both greater than the maximum ordinate;
[0030] Condition 4: The starting point and the end point ordinates are both less than the minimum ordinate.
[0031] A further improvement of the present invention is that the step of performing secondary judgment using the cross product method according to the starting point coordinates, the end point coordinates and the vertex coordinates includes:
[0032] Generate diagonal vectors based on vertex coordinates;
[0033] Generate a first vector according to the first endpoint coordinates and the starting point coordinates of the diagonal vector;
[0034] Generate a second vector according to the first endpoint coordinates and the end point coordinates of the diagonal vector;
[0035] Calculate a first cross product based on the diagonal vector and the first vector;
[0036] A second cross product is calculated based on the diagonal vector and the second vector;
[0037] If both the first cross product and the second cross product are greater than 0, or both the first cross product and the second cross product are less than 0, the second judgment is that there is no crossing;
[0038] Otherwise, the second judgment is crossing.
[0039] A further improvement of the present invention is that: the control detailed plan is used to generate a map layer for control planning;
[0040] The regional planning blueprint is used to generate a multi-plan integration layer;
[0041] The surveying and mapping data and satellite photos are used to generate a three-dimensional power grid module;
[0042] The meteorological and geological disaster data are used to generate a meteorological disaster layer;
[0043] The transmission corridor data is used to generate a transmission corridor layer;
[0044] The power pipeline trench data is used to generate a power cable channel layer.
[0045] In a second aspect, the present invention provides a power grid line path planning device, comprising:
[0046] Data acquisition module: used to obtain geographic spatial data of a preset area;
[0047] Layer generation module: used to generate planning layers based on geospatial data and set protection areas on the planning layers;
[0048] Path setting module: used to obtain the path planning scheme and generate a preset path on the planning layer according to the path planning scheme;
[0049] Judgment output module: used to judge the positional relationship between the preset path and the protection area. If the preset path does not pass through the protection area, the planning layer and the preset path are output.
[0050] In a third aspect, the present invention provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned power grid line path planning method when executing the computer program.
[0051] In a fourth aspect, 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 by a processor, the above-mentioned power grid line path planning method is implemented.
[0052] Compared with the prior art, the present invention has at least the following beneficial effects:
[0053] 1. The present invention generates a planning layer by acquiring geographic spatial data, sets a protection area and a preset path on the layer, determines the positional relationship between the two, and marks the crossing part, so that the output path planning is more intuitive and more accurate;
[0054] 2. The present invention obtains a variety of geographic spatial data, generates several planning layers, increases planning dimensions, enriches planning basis, and thus improves planning accuracy;
[0055] 3. The present invention improves the judgment accuracy through secondary judgment. At the same time, the primary judgment method is simple, which can quickly screen out qualified planning schemes, improve planning efficiency, and improve planning accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0057] In the attached picture:
[0058] Figure 1 A flow chart of a method for planning a power grid line path according to the present invention;
[0059] Figure 2 It is a structural block diagram of a power grid line path planning device of the present invention;
[0060] Figure 3 A schematic diagram of a nine-square grid in a power grid line path planning method of the present invention;
[0061] Figure 4 A schematic diagram of vectors in a power grid line path planning method of the present invention. DETAILED DESCRIPTION
[0062] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present invention can be combined with each other without conflict.
[0063] The following detailed description is an exemplary description, which is intended to provide further detailed description of the present invention. Unless otherwise specified, all technical terms used in the present invention have the same meaning as those generally understood by those skilled in the art to which the present invention belongs. The terms used in the present invention are only for describing specific embodiments, and are not intended to limit the exemplary embodiments according to the present invention.
[0064] Example 1
[0065] A power grid line path planning method, such as Figure 1 As shown, the following steps are included:
[0066] S1. Obtaining geographic spatial data of a preset area;
[0067] Specifically, geospatial data include: control detailed plans, regional planning blueprints, satellite photos, meteorological and geological disaster data, transmission corridor data, power pipeline data and surveying and mapping data. Geospatial data is not limited to the above categories and can be set according to actual conditions.
[0068] Specifically, the control detailed plan is the requirement of the local physical planning of the preset area, which is used to control the nature of construction land, the intensity of use and the planning of the spatial environment;
[0069] A regional planning blueprint is a blueprint that integrates multiple plans such as development planning, urban and rural planning, land use planning, and ecological and environmental protection planning into one region;
[0070] Satellite photos are high-definition photos taken by satellites and drones of the current situation, which provide data on the current geographic space environment in the planning site selection area;
[0071] Meteorological and geological disaster data include wind speed distribution, temperature distribution, precipitation distribution, freezing distribution, snow distribution, lightning distribution and other risk distribution data;
[0072] The transmission corridor data includes transmission corridor video data and transmission corridor image data;
[0073] Power trench data includes power trench archives, graphics and topology, trench occupancy data, etc.
[0074] S2. Generate a planning layer based on the geospatial data and set a protection area on the planning layer;
[0075] Specifically, in the step of generating a planning layer according to the geospatial data and setting the protection area on the planning layer, the geospatial data includes several categories, and each category of geospatial data generates a corresponding planning layer;
[0076] The control detailed plan is used to generate the map layer for control planning, combined with the geographic spatial information overlay display analysis;
[0077] The regional planning blueprint is used to generate a multi-plan integration layer, combined with geographic spatial information overlay display analysis;
[0078] Surveying and mapping data and satellite photos are used to generate three-dimensional power grid modules to intuitively display the preset area;
[0079] Meteorological and geological disaster data are used to generate meteorological disaster layers, which are combined with geographic spatial information for overlay display and analysis;
[0080] Transmission corridor data is used to generate transmission corridor layers, which are overlaid on geographic spatial information for display and analysis;
[0081] The power trench data is used to generate the power cable channel layer, which is combined with the geospatial information for overlay display and analysis.
[0082] Specifically, protected areas are generated directly from geospatial data.
[0083] S3. Obtain a path planning solution, and generate a preset path on the planning layer according to the path planning solution;
[0084] Specifically, a path planning scheme is obtained, and in the step of generating a preset path on a planning layer according to the path planning scheme, each path planning scheme has a preset path on each planning layer.
[0085] S4, determining the positional relationship between the preset path and the protection area, and outputting the planning layer and the preset path if the preset path does not pass through the protection area;
[0086] If the preset path passes through the protection area, the preset path where the crossing occurs will be marked, and the marked preset path and planning layer will be output.
[0087] Specifically, in S4, the following steps are specifically included:
[0088] S41, determine the planning area according to the planning layer, and divide the two-dimensional space where the planning area is located into nine squares, such as Figure 3 As shown;
[0089] S42, according to the position relationship of the protection area in the planning layer, set the protection area in the nine-square grid, and obtain the coordinates of the four vertices of the grid where the protection area is located;
[0090] S43, determining the starting point coordinates and the end point coordinates according to the preset path;
[0091] S44, generating a judgment result according to the starting point coordinates, the end point coordinates and the vertex coordinates;
[0092] S45. If the result of the first judgment is crossing, a second judgment is performed;
[0093] If the result of the first judgment is that it is not crossed, the planning layer and the preset path will be output without a second judgment;
[0094] S46. If the secondary judgment result is crossing, highlight the crossing part of the preset path, and output the planning layer and the marked preset path;
[0095] If the secondary judgment result is not crossed, the planning layer and preset path are output.
[0096] Specifically, the step of generating a judgment result according to the starting point coordinates, the end point coordinates and the vertex coordinates includes:
[0097] According to the vertex coordinates, the maximum horizontal coordinate, the minimum horizontal coordinate, the maximum vertical coordinate and the minimum vertical coordinate are obtained;
[0098] When any one of conditions 1 to 4 is met, the result of a judgment is not crossing, otherwise it is crossing;
[0099] Condition 1: The horizontal coordinates of the starting point and the end point are both greater than the maximum horizontal coordinate;
[0100] Condition 2: The horizontal coordinates of the starting point and the end point are both less than the minimum horizontal coordinate;
[0101] Condition 3: The ordinates of the starting point and the end point are both greater than the maximum ordinate;
[0102] Condition 4: The starting point and the end point ordinates are both less than the minimum ordinate.
[0103] Specifically, the step of performing secondary judgment using the cross product method according to the starting point coordinates, the end point coordinates and the vertex coordinates includes:
[0104] Generate diagonal vectors based on vertex coordinates;
[0105] Generate a first vector according to the first endpoint coordinates and the starting point coordinates of the diagonal vector;
[0106] Generate a second vector according to the first endpoint coordinates and the end point coordinates of the diagonal vector;
[0107] Calculate a first cross product based on the diagonal vector and the first vector;
[0108] A second cross product is calculated based on the diagonal vector and the second vector;
[0109] If both the first cross product and the second cross product are greater than 0, or both the first cross product and the second cross product are less than 0, the second judgment is that there is no crossing;
[0110] Otherwise, the second judgment is crossing.
[0111] Specifically, the formula for the cross product is as follows:
[0112]
[0113] Specifically, Figure 4 As shown, the diagonal vector is P 1 P 2 ;
[0114] The first vector is P 1 P;
[0115] The second vector is P 1 P';
[0116] P and P' are on opposite sides of the vector P1P2, that is,
[0117]
[0118] And P1 and P2 are on the opposite sides of the vector PP', that is
[0119]
[0120] Example 2
[0121] A power grid line path planning device, such as Figure 2 As shown, including:
[0122] Data acquisition module: used to obtain geographic spatial data of a preset area;
[0123] Specifically, geospatial data include: control detailed plans, regional planning blueprints, satellite photos, meteorological and geological disaster data, transmission corridor data, power pipeline data and surveying and mapping data. Geospatial data is not limited to the above categories and can be set according to actual conditions.
[0124] Specifically, the control detailed plan is the requirement of the local physical planning of the preset area, which is used to control the nature of construction land, the intensity of use and the planning of the spatial environment;
[0125] A regional planning blueprint is a blueprint that integrates multiple plans such as development planning, urban and rural planning, land use planning, and ecological and environmental protection planning into one region;
[0126] Satellite photos are high-definition photos taken by satellites and drones of the current situation, which provide data on the current geographic space environment in the planning site selection area;
[0127] Meteorological and geological disaster data include wind speed distribution, temperature distribution, precipitation distribution, freezing distribution, snow distribution, lightning distribution and other risk distribution data;
[0128] The transmission corridor data includes transmission corridor video data and transmission corridor image data;
[0129] Power trench data includes power trench archives, graphics and topology, trench occupancy data, etc.
[0130] Layer generation module: used to generate planning layers based on geospatial data and set protection areas on the planning layers;
[0131] Specifically, in the step of generating a planning layer according to the geospatial data and setting the protection area on the planning layer, the geospatial data includes several categories, and each category of geospatial data generates a corresponding planning layer;
[0132] The control detailed plan is used to generate the map layer for control planning, combined with the geographic spatial information overlay display analysis;
[0133] The regional planning blueprint is used to generate a multi-plan integration layer, combined with geographic spatial information overlay display analysis;
[0134] Surveying and mapping data and satellite photos are used to generate three-dimensional power grid modules to intuitively display the preset area;
[0135] Meteorological and geological disaster data are used to generate meteorological disaster layers, which are combined with geographic spatial information for overlay display and analysis;
[0136] Transmission corridor data is used to generate transmission corridor layers, which are overlaid on geographic spatial information for display and analysis;
[0137] The power trench data is used to generate the power cable channel layer, which is combined with the geospatial information for overlay display and analysis.
[0138] Specifically, protected areas are generated directly from geospatial data.
[0139] Path setting module: used to obtain the path planning scheme and generate a preset path on the planning layer according to the path planning scheme;
[0140] The specific path planning scheme can be obtained through training with historical data or manually set;
[0141] Specifically, a path planning scheme is obtained, and in the step of generating a preset path on a planning layer according to the path planning scheme, each path planning scheme has a preset path on each planning layer.
[0142] Judgment output module: used to judge the positional relationship between the preset path and the protection area. If the preset path does not pass through the protection area, the planning layer and the preset path are output;
[0143] Specifically, in the judgment output module, the following steps are specifically included:
[0144] Determine the planning area based on the planning layer, and divide the two-dimensional space where the planning area is located into nine squares, such as Figure 3 As shown;
[0145] According to the position relationship of the protection area in the planning layer, the protection area is set in the nine-square grid, and the coordinates of the four vertices of the grid where the protection area is located are obtained;
[0146] Determine the starting point coordinates and the end point coordinates according to the preset path;
[0147] Generate a judgment result based on the starting point coordinates, the end point coordinates and the vertex coordinates;
[0148] If the result of the first judgment is crossing, a second judgment is performed;
[0149] If the result of the first judgment is that it is not crossed, the planning layer and the preset path will be output without a second judgment;
[0150] If the secondary judgment result is crossing, the crossing part of the preset path will be highlighted and the planning layer and the marked preset path will be output;
[0151] If the secondary judgment result is not crossed, the planning layer and preset path are output.
[0152] Specifically, the step of generating a judgment result according to the starting point coordinates, the end point coordinates and the vertex coordinates includes:
[0153] According to the vertex coordinates, the maximum horizontal coordinate, the minimum horizontal coordinate, the maximum vertical coordinate and the minimum vertical coordinate are obtained;
[0154] When any one of conditions 1 to 4 is met, the result of a judgment is not crossing, otherwise it is crossing;
[0155] Condition 1: The horizontal coordinates of the starting point and the end point are both greater than the maximum horizontal coordinate;
[0156] Condition 2: The horizontal coordinates of the starting point and the end point are both less than the minimum horizontal coordinate;
[0157] Condition 3: The ordinates of the starting point and the end point are both greater than the maximum ordinate;
[0158] Condition 4: The starting point and the end point ordinates are both less than the minimum ordinate.
[0159] Specifically, the step of performing secondary judgment using the cross product method according to the starting point coordinates, the end point coordinates and the vertex coordinates includes:
[0160] Generate diagonal vectors based on vertex coordinates;
[0161] Generate a first vector according to the first endpoint coordinates and the starting point coordinates of the diagonal vector;
[0162] Generate a second vector according to the first endpoint coordinates and the end point coordinates of the diagonal vector;
[0163] Calculate a first cross product based on the diagonal vector and the first vector;
[0164] A second cross product is calculated based on the diagonal vector and the second vector;
[0165] If both the first cross product and the second cross product are greater than 0, or both the first cross product and the second cross product are less than 0, the second judgment is that there is no crossing;
[0166] Otherwise, the second judgment is crossing.
[0167] Specifically, the formula for the cross product is as follows:
[0168]
[0169] Specifically, Figure 4 As shown, the diagonal vector is P 1 P 2 ;
[0170] The first vector is P 1 P;
[0171] The second vector is P 1 P';
[0172] P and P' are on opposite sides of the vector P1P2, that is,
[0173]
[0174] And P1 and P2 are on the opposite sides of the vector PP', that is
[0175]
[0176] Example 3
[0177] A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements a power grid line path planning method described in Example 1 when executing the computer program.
[0178] Example 4
[0179] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for planning a power grid line path described in Example 1 is implemented.
[0180] It is known from common technical knowledge that the present invention can be implemented by other embodiments that do not deviate from its spirit or essential features. Therefore, the above disclosed embodiments are only illustrative in all respects and are not exclusive. All changes within the scope of the present invention or within the scope equivalent to the present invention are included in the present invention.
[0181] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0182] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0183] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0184] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0185] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A method for planning a power grid line path, characterized in that: The following steps are involved: Get geospatial data of a preset area; Generate a planning layer based on geospatial data and set a protection area on the planning layer; Obtain a path planning solution, and generate a preset path on the planning layer according to the path planning solution; Determine the positional relationship between the preset path and the protection area. If the preset path does not pass through the protection area, output the planning layer and the preset path.
2. A method for planning a power grid line path according to claim 1, characterized in that: The geospatial data include: controlling detailed plans, regional planning blueprints, satellite photos, meteorological and geological disaster data, transmission corridor data, power pipeline data and surveying and mapping data.
3. A method for planning a power grid line path according to claim 1, characterized in that: The geospatial data includes several categories, and each category of geospatial data generates a corresponding planning layer; Each path planning scheme generates a planning path on each planning layer.
4. A method for planning a power grid line path according to claim 1, characterized in that: The step of determining the positional relationship between the preset path and the protection area, and outputting the planning layer and the preset path if the preset path does not pass through the protection area, specifically includes: Determine the planning area according to the planning layer, and divide the two-dimensional space where the planning area is located into nine squares; According to the position relationship of the protection area in the planning layer, the protection area is set in the nine-square grid, and the coordinates of the four vertices of the grid where the protection area is located are obtained; Determine the starting point coordinates and the end point coordinates according to the preset path; Generate a judgment result based on the starting point coordinates, the end point coordinates and the vertex coordinates; If the result of the first judgment is crossing, a second judgment is performed; If the result of the first judgment is that it is not crossed, the planning layer and the preset path will be output without a second judgment; If the secondary judgment result is crossing, the crossing part of the preset path will be highlighted and the planning layer and the marked preset path will be output; If the secondary judgment result is not crossed, the planning layer and preset path are output.
5. A method for planning a power grid line path according to claim 4, characterized in that: The step of generating a judgment result according to the starting point coordinates, the end point coordinates and the vertex coordinates includes: According to the vertex coordinates, the maximum horizontal coordinate, the minimum horizontal coordinate, the maximum vertical coordinate and the minimum vertical coordinate are obtained; When any one of conditions 1 to 4 is met, the result of a judgment is not crossing, otherwise it is crossing; Condition 1: The horizontal coordinates of the starting point and the end point are both greater than the maximum horizontal coordinate; Condition 2: The horizontal coordinates of the starting point and the end point are both less than the minimum horizontal coordinate; Condition 3: The ordinates of the starting point and the end point are both greater than the maximum ordinate; Condition 4: The starting point and the end point ordinates are both less than the minimum ordinate.
6. A method for planning a power grid line path according to claim 4, characterized in that: The step of performing secondary judgment using the cross product method according to the starting point coordinates, the end point coordinates and the vertex coordinates includes: Generate diagonal vectors based on vertex coordinates; Generate a first vector according to the first endpoint coordinates and the starting point coordinates of the diagonal vector; Generate a second vector according to the first endpoint coordinates and the end point coordinates of the diagonal vector; Calculate a first cross product based on the diagonal vector and the first vector; A second cross product is calculated based on the diagonal vector and the second vector; If both the first cross product and the second cross product are greater than 0, or both the first cross product and the second cross product are less than 0, the second judgment is that there is no crossing; Otherwise, the second judgment is crossing.
7. A method for planning a power grid line path according to claim 2, characterized in that: The controlling detailed plan is used to generate the map layer for controlling plan; The regional planning blueprint is used to generate a multi-plan integration layer; The surveying and mapping data and satellite photos are used to generate a three-dimensional power grid module; The meteorological and geological disaster data are used to generate a meteorological disaster layer; The transmission corridor data is used to generate a transmission corridor layer; The power pipeline trench data is used to generate a power cable channel layer.
8. A power grid line path planning device, characterized in that: include: Data acquisition module: used to obtain geographic spatial data of a preset area; Layer generation module: used to generate planning layers based on geospatial data and set protection areas on the planning layers; Path setting module: used to obtain the path planning scheme and generate a preset path on the planning layer according to the path planning scheme; Judgment output module: used to judge the positional relationship between the preset path and the protection area. If the preset path does not pass through the protection area, the planning layer and the preset path are output.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, a power grid line path planning method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, a method for planning a path for a power grid line is implemented as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Collaborative site selection and line selection method and device based on territorial and electric power facilities
CN114757410A
Power grid frame planning analysis method and device and electronic equipment
CN114757525A
Cited By
System and method for monitoring and protecting power grid planning based on multi-source data
CN121119786A
Monitoring and protection system and method for power grid planning based on multi-source data
CN121119786B