Power grid line tower coordinate checking method and device and computer equipment
By acquiring the GPS coordinates of power grid line towers and obstacles, and calculating the tower span and reference obstacle coordinates, the problems of low efficiency and low accuracy in power grid line tower coordinate verification are solved, achieving efficient and accurate tower coordinate verification.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- STATE GRID SICHUAN ELECTRIC POWER CORP ELECTRIC POWER RES INST
- Filing Date
- 2023-08-31
- Publication Date
- 2026-06-23
AI Technical Summary
In existing technologies, the verification efficiency and accuracy of power grid line tower coordinates are low, mainly due to errors and oversights caused by manual measurement.
By obtaining the GPS coordinates of poles and obstacles on the target power grid line, the pole span and reference obstacles are calculated. The pole coordinates are then verified using the pole span and obstacle reference coordinates to identify and correct erroneous coordinates.
This improved the efficiency and accuracy of tower coordinate verification, avoided the inefficiency and errors caused by manual measurement, and achieved more accurate coordinate verification.
Smart Images

Figure CN117148399B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power grid technology, and in particular to a method, apparatus, and computer equipment for verifying the coordinates of power grid line towers. Background Technology
[0002] Power grid GIS maps, with power grid line tower coordinates as the main data, have become important in power grid planning, infrastructure construction, operation, and maintenance. Accurate tower coordinates are the foundation for carrying out various business operations. However, errors in coordinate collection and input can lead to incorrect tower coordinates. Therefore, in order to carry out various business operations smoothly, it is necessary to check the tower coordinates.
[0003] Currently, tower coordinates are typically verified manually. However, this verification method requires staff to personally measure the towers using measuring tools, resulting in low verification efficiency. Furthermore, staff negligence can lead to errors in tower coordinate verification, resulting in low accuracy. Summary of the Invention
[0004] This invention provides a method, apparatus, and computer equipment for verifying the coordinates of power grid line towers, which mainly improves the verification efficiency and accuracy of tower coordinates.
[0005] According to a first aspect of the present invention, a method for verifying the coordinates of power grid line towers is provided, comprising:
[0006] Obtain the GPS coordinates of different towers on the target power grid line, wherein the different towers include the target tower to be verified, and determine the GPS coordinates of different obstacles and their corresponding obstacles within a preset range centered on the target tower to be verified;
[0007] Based on the GPS coordinates of the towers, determine the tower span between two adjacent towers in the different towers;
[0008] Based on the GPS coordinates of the obstacles and the target GPS coordinates of the target tower to be verified, a preset number of longitude reference obstacles and latitude reference obstacles corresponding to the target tower to be verified are determined among the different obstacles;
[0009] Based on the tower span, the target GPS coordinates, the reference longitude coordinates corresponding to different longitude reference obstacles, and the reference latitude coordinates corresponding to different latitude reference obstacles, the target GPS coordinates of the target tower to be verified are verified.
[0010] Optionally, determining the span between two adjacent towers based on the tower's GPS coordinates includes:
[0011] Obtain the preset unit longitude length value and the preset unit latitude length value;
[0012] Subtract the longitude coordinates of two adjacent towers to obtain the longitude coordinate difference;
[0013] Subtract the latitude coordinates of two adjacent towers to obtain the latitude coordinate difference.
[0014] Based on the preset unit longitude length value and the longitude coordinate difference value, the longitude span between the two adjacent towers is determined;
[0015] Based on the preset unit latitude length value and the latitude coordinate difference, the latitude span between the two adjacent towers is determined;
[0016] Based on the longitude span and the latitude span, the span between two adjacent towers is determined.
[0017] Optionally, determining a preset number of longitude reference obstacles and latitude reference obstacles corresponding to the target tower to be verified among the different obstacles, based on the GPS coordinates of the obstacle and the target GPS coordinates corresponding to the target tower to be verified, includes:
[0018] Calculate the longitude coordinate interval between the obstacle's longitude coordinates in the obstacle's GPS coordinates and the target's longitude coordinates in the target's GPS coordinates;
[0019] Based on the longitude coordinate spacing value, a preset number of latitude reference obstacles are determined among the different obstacles to correspond to the target tower to be verified.
[0020] Calculate the latitudinal coordinate interval between the obstacle's latitude coordinates in the obstacle's GPS coordinates and the target's latitude coordinates in the target's GPS coordinates;
[0021] Based on the latitude coordinate spacing value, a preset number of longitude reference obstacles are determined among the different obstacles to correspond to the target tower to be verified.
[0022] Optionally, the step of verifying the target GPS coordinates of the target tower to be verified based on the tower span, the target GPS coordinates, the reference longitude coordinates corresponding to different longitude reference obstacles, and the reference latitude coordinates corresponding to different latitude reference obstacles includes:
[0023] Determine the number of spans where the span of the tower is greater than a preset span threshold;
[0024] Determine whether the number of gears is greater than a preset threshold;
[0025] If the number of spans is greater than the preset number threshold, it is determined that the target GPS coordinates of the target tower to be verified are incorrect.
[0026] If the number of spans is less than or equal to the preset number threshold, then two forward reference towers that are forward adjacent to the target tower to be verified and two backward reference towers that are backward adjacent to the target tower to be verified are determined among the different towers. The forward reference towers include the forward adjacent tower and the forward second adjacent tower that are forward adjacent to the target tower to be verified, and the backward reference towers include the backward adjacent tower and the backward second adjacent tower that are backward adjacent to the target tower to be verified.
[0027] Based on the target tower to be verified, the span between adjacent towers among the two forward reference towers and the two backward reference towers, it is determined whether the target tower to be verified meets the preset judgment conditions for coordinate errors. The preset judgment conditions include: the span between the forward adjacent tower and the forward second adjacent tower is less than the preset span threshold; the span between the forward adjacent tower and the target tower to be verified is greater than the preset span threshold; the span between the backward adjacent tower and the target tower to be verified is greater than the preset span threshold; and the span between the backward adjacent tower and the backward second adjacent tower is less than the preset span threshold.
[0028] If the target tower to be verified meets the preset judgment conditions, then it is determined that the target GPS coordinates of the target tower to be verified are incorrect;
[0029] If the target tower to be verified does not meet the preset judgment conditions, the target GPS coordinates of the target tower to be verified are verified based on the target GPS coordinates, the reference longitude coordinates corresponding to different longitude reference obstacles, and the reference latitude coordinates corresponding to different latitude reference obstacles.
[0030] Optionally, the step of verifying the target GPS coordinates of the target tower to be verified based on the target GPS coordinates, the reference longitude coordinates corresponding to different longitude reference obstacles, and the reference latitude coordinates corresponding to different latitude reference obstacles includes:
[0031] Based on the target longitude and latitude coordinates, different reference latitude coordinates, and different reference longitude coordinates in the target GPS coordinates, it is determined whether the target tower to be verified meets the preset coverage conditions of being covered by obstacles. The preset coverage conditions include: the target latitude coordinates are between any two reference latitude coordinates among different reference latitude coordinates, and the target longitude coordinates are between any two reference longitude coordinates among different reference longitude coordinates.
[0032] If the target tower to be verified meets the preset coverage conditions, then it is determined that the target GPS coordinates of the target tower to be verified are incorrect;
[0033] If the target tower to be verified does not meet the preset coverage conditions, then the target GPS coordinates of the target tower to be verified are determined to be accurate.
[0034] Optionally, after determining that the target GPS coordinates of the target tower to be verified are incorrect, the method further includes:
[0035] Add the longitude coordinates of the forward adjacent tower to the longitude coordinates of the backward adjacent tower to obtain the corrected longitude coordinate reference value of the target tower to be checked;
[0036] Add the latitude coordinates of the forward adjacent tower to the latitude coordinates of the backward adjacent tower to obtain the corrected latitude coordinate reference value of the target tower to be verified.
[0037] Based on the longitude and latitude reference values, the corrected GPS coordinates corresponding to the target tower to be verified are determined.
[0038] Optionally, the method further includes:
[0039] The elevation data point matrix in the preset three-dimensional elevation map corresponding to the target power grid line is obtained, wherein the preset three-dimensional elevation map is composed of elevation data points spaced n meters apart, and the first elevation corresponding to the lower phase conductor of the target tower to be verified and the second elevation corresponding to the lower phase conductor of the adjacent verification tower adjacent to the target tower to be verified are obtained.
[0040] Based on the target GPS coordinates corresponding to the target tower to be verified and the adjacent tower GPS coordinates corresponding to the adjacent verification towers, a target elevation data point matrix jointly corresponding to the target tower to be verified and the adjacent verification towers is determined in the elevation data point matrix;
[0041] Based on the target GPS coordinates and the adjacent tower GPS coordinates, calculate the longitude and latitude reference values between the target tower to be verified and the adjacent verification towers;
[0042] Based on the longitude distance reference value and the latitude distance reference value, the envelope data matrix of the target tower to be verified and the conductor between the adjacent verification towers is determined in the target elevation data matrix;
[0043] Based on the envelope data matrix, the first altitude, the second altitude, the longitude distance reference value, and the latitude distance reference value, the ground penetration phenomenon of the conductor between the target tower to be verified and the adjacent verification tower is verified.
[0044] According to a second aspect of the present invention, a device for verifying the coordinates of power grid line towers is provided, comprising:
[0045] The acquisition unit is used to acquire the GPS coordinates of different towers on the target power grid line, wherein the different towers include the target tower to be verified, and to determine different obstacles and their corresponding obstacle GPS coordinates within a preset range centered on the target tower to be verified.
[0046] The first determining unit is used to determine the span between two adjacent towers among the different towers based on the GPS coordinates of the towers;
[0047] The second determining unit is used to determine a preset number of longitude reference obstacles and latitude reference obstacles corresponding to the target tower to be verified among the different obstacles, based on the GPS coordinates of the obstacle and the target GPS coordinates corresponding to the target tower to be verified.
[0048] The verification unit is used to verify the target GPS coordinates of the target tower to be verified based on the tower span, the target GPS coordinates, the reference longitude coordinates corresponding to different longitude reference obstacles, and the reference latitude coordinates corresponding to different latitude reference obstacles.
[0049] According to a third aspect of the present invention, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the above-mentioned method for verifying tower coordinates.
[0050] According to a fourth aspect of the present invention, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the above-mentioned method for verifying tower coordinates.
[0051] According to the present invention, a method, apparatus, and computer equipment for verifying the coordinates of power grid line towers are provided. Compared with the current method of manually verifying tower coordinates, the present invention obtains the GPS coordinates of different towers on the target power grid line, wherein the different towers include the target tower to be verified, and determines different obstacles and their corresponding obstacle GPS coordinates within a preset range centered on the target tower to be verified; and determines the tower span between two adjacent towers based on the tower GPS coordinates; then, based on the obstacle GPS coordinates and the target GPS coordinates corresponding to the target tower to be verified, determines a preset number of longitude reference obstacles and latitude reference obstacles corresponding to the target tower to be verified among the different obstacles; finally, the target GPS coordinates of the target tower to be verified are verified based on the tower span, the target GPS coordinates, the reference longitude coordinates corresponding to different longitude reference obstacles, and the reference latitude coordinates corresponding to different latitude reference obstacles. Therefore, by using the GPS coordinates corresponding to the tower spans between different towers, the accuracy reference obstacles, and the dimension reference obstacles, it is possible to determine whether there are errors in the coordinates of the target tower to be verified. This avoids the low measurement efficiency and measurement errors caused by manual on-site measurement. Thus, this invention can improve the verification efficiency and accuracy of tower coordinates. Attached Figure Description
[0052] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:
[0053] Figure 1 A flowchart of a method for verifying the coordinates of power grid line towers provided by an embodiment of the present invention is shown;
[0054] Figure 2 A flowchart of another method for verifying the coordinates of power line towers provided by an embodiment of the present invention is shown;
[0055] Figure 3 This diagram illustrates an embodiment of the present invention for identifying the true location of a power pole.
[0056] Figure 4 This diagram illustrates a target elevation data dot matrix provided by an embodiment of the present invention.
[0057] Figure 5 This diagram illustrates the structure of a power grid line tower coordinate verification device according to an embodiment of the present invention.
[0058] Figure 6 This invention provides a schematic diagram of the structure of another power grid tower coordinate verification device according to an embodiment of the present invention.
[0059] Figure 7 A schematic diagram of the physical structure of a computer device provided in an embodiment of the present invention is shown. Detailed Implementation
[0060] The present invention will be described in detail below with reference to the accompanying drawings and embodiments. It should be noted that, unless otherwise specified, the embodiments and features described in the present application can be combined with each other.
[0061] Currently, the manual verification of tower coordinates results in low verification efficiency. At the same time, due to staff negligence, errors may occur in tower coordinate verification, leading to low verification accuracy.
[0062] To address the aforementioned problems, embodiments of the present invention provide a method for verifying the coordinates of power grid line towers, such as... Figure 1 As shown, the method includes:
[0063] 101. Obtain the GPS coordinates of different towers on the target power grid line, including the target tower to be verified, and determine the GPS coordinates of different obstacles and their corresponding obstacles within a preset range centered on the target tower to be verified.
[0064] GPS (Global Positioning System) includes longitude and latitude coordinates. The preset range is set according to actual needs, such as within 100m of the target tower to be verified. Different obstacles include: rivers, lakes, roads, buildings, etc.
[0065] In this embodiment of the invention, the GPS coordinates of the poles corresponding to different poles and the GPS coordinates of the obstacles are all pre-collected.
[0066] 102. Based on the GPS coordinates of the towers, determine the span between two adjacent towers in different tower types.
[0067] Among them, the tower span is the horizontal distance between two suspension points in a plane parallel to the specific load on the conductor between two adjacent towers.
[0068] In this embodiment of the invention, if there are three towers on the target power grid line, arranged in order as A1, A2, and A3, with A1 adjacent to A2 and A2 adjacent to A3, then the span between towers A1 and A2 is calculated based on their respective GPS coordinates. Simultaneously, the span between towers A2 and A3 is calculated based on their respective GPS coordinates. Then, the span is used to determine if there are any errors in the tower GPS coordinates. By verifying the tower coordinates through the span between adjacent towers, the inefficiency and errors caused by manual measurement verification can be avoided. Therefore, this embodiment of the invention improves the verification efficiency and accuracy of towers.
[0069] 103. Based on the GPS coordinates of the obstacles and the target GPS coordinates of the target tower to be verified, determine the preset number of longitude reference obstacles and latitude reference obstacles corresponding to the target tower to be verified among different obstacles.
[0070] Specifically, the difference between the latitude coordinates of the longitude reference obstacle and the latitude coordinates of the target tower to be verified is less than a first preset threshold, and the difference between the longitude coordinates of the latitude reference obstacle and the longitude coordinates of the target tower to be verified is less than a second preset threshold. The preset number is set according to actual needs, such as four.
[0071] For example, in an embodiment of the present invention, the target tower A to be verified is... i The target GPS coordinates are (X i Y i (Find the longitude coordinates of each obstacle in the GPS coordinates that correspond to X) i The four longitude coordinates closest to the given value are used to identify obstacles corresponding to these four longitude coordinates as latitude reference obstacles. Similarly, among the latitude coordinates of each obstacle's GPS coordinates, the obstacles corresponding to the given value are identified as latitude reference obstacles. i The four latitude coordinates closest to the target value are selected, and the obstacles corresponding to these four latitude coordinates are identified as longitude reference obstacles. Then, the reference longitude coordinates corresponding to different longitude reference obstacles and the reference latitude coordinates corresponding to different latitude reference obstacles are used to verify the target GPS coordinates of the tower to be verified, thereby improving the verification efficiency and accuracy of the tower coordinates.
[0072] 104. Based on the tower span, target GPS coordinates, reference longitude coordinates corresponding to obstacles at different longitudes, and reference latitude coordinates corresponding to obstacles at different latitudes, verify the target GPS coordinates of the tower to be verified.
[0073] In this embodiment of the invention, the first step is to determine whether the target GPS coordinates are erroneous based on the tower span. If the target GPS coordinates are erroneous, the target GPS coordinates of the tower to be verified are corrected. If the target GPS coordinates are not erroneous, it is also necessary to determine whether the tower to be verified is located in an unreasonable position due to obstacles such as lakes, rivers, roads, or buildings, based on the target GPS coordinates, the reference longitude coordinates corresponding to obstacles of different longitudes, and the reference latitude coordinates corresponding to obstacles of different latitudes. Therefore, by using the tower spans between different towers, the GPS coordinates corresponding to the precision reference obstacles, and the latitude reference obstacles, respectively, to determine whether the coordinates of the tower to be verified are erroneous, this avoids the low measurement efficiency and measurement errors caused by manual on-site measurement. Thus, this invention can improve the verification efficiency and accuracy of tower coordinates.
[0074] According to the present invention, a method for verifying the coordinates of power grid line towers is provided. Compared with the current method of manually verifying tower coordinates, the present invention obtains the GPS coordinates of different towers on the target power grid line, wherein the different towers include the target tower to be verified, and determines different obstacles and their corresponding obstacle GPS coordinates within a preset range centered on the target tower to be verified; and determines the tower span between two adjacent towers based on the tower GPS coordinates; then, based on the obstacle GPS coordinates and the target GPS coordinates corresponding to the target tower to be verified, determines a preset number of longitude reference obstacles and latitude reference obstacles corresponding to the target tower to be verified among the different obstacles; finally, the target GPS coordinates of the target tower to be verified are verified based on the tower span, the target GPS coordinates, the reference longitude coordinates corresponding to different longitude reference obstacles, and the reference latitude coordinates corresponding to different latitude reference obstacles. Therefore, by using the GPS coordinates corresponding to the tower spans between different towers, the accuracy reference obstacles, and the dimension reference obstacles, it is possible to determine whether there are errors in the coordinates of the target tower to be verified. This avoids the low measurement efficiency and measurement errors caused by manual on-site measurement. Thus, this invention can improve the verification efficiency and accuracy of tower coordinates.
[0075] Furthermore, to better illustrate the process of verifying the coordinates of power grid line towers described above, and as a refinement and extension of the above embodiments, this invention provides another method for verifying the coordinates of power grid line towers, such as... Figure 2 As shown, the method includes:
[0076] 201. Obtain the GPS coordinates of different towers on the target power grid line, including the target tower to be verified, and determine the GPS coordinates of different obstacles and their corresponding obstacles within a preset range centered on the target tower to be verified.
[0077] In this embodiment of the invention, the GPS coordinates of different towers on the target power grid line are collected in advance, and different obstacles are determined within a preset range centered on the target tower to be verified, and the GPS coordinates of the obstacles corresponding to the different obstacles are collected.
[0078] 202. Based on the GPS coordinates of the towers, determine the span between two adjacent towers in different tower types.
[0079] In this embodiment of the invention, after collecting the GPS coordinates of different towers, it is necessary to calculate the span between adjacent towers. Therefore, step 202 specifically includes: obtaining a preset unit longitude length value and a preset unit latitude length value; subtracting the longitude coordinate values corresponding to two adjacent towers to obtain a longitude coordinate difference; subtracting the latitude coordinate values corresponding to two adjacent towers to obtain a latitude coordinate difference; determining the longitude span between two adjacent towers based on the preset unit longitude length value and the longitude coordinate difference; determining the latitude span between two adjacent towers based on the preset unit latitude length value and the latitude coordinate difference; and determining the tower span between two adjacent towers based on the longitude span and the latitude span.
[0080] Among them, the preset unit longitude length value is the length value per degree of longitude, and the preset unit latitude length value is the length value per degree of latitude.
[0081] Specifically, if two adjacent towers are A i and A i+1 The span between two adjacent towers can be calculated using the following formula:
[0082]
[0083] Among them, S i A represents i Base tower and A i+1 The span between the base towers, X i For A i The longitude coordinates (Y) of the base tower in the GPS coordinate system i For A i The latitude coordinates (X) of the base tower in the GPS coordinate system. i+1 For A i+1 The longitude coordinates (Y) of the base tower in the GPS coordinate system i+1 For A i+1The latitude coordinates (X) of the base tower in the GPS coordinate system. i -X i+1 Represents the difference in longitude coordinates, Y i -Y i+1 Represents the difference in latitude coordinates, (X i -X i+1 ) 2 L wd 2 Indicates longitude range, (Y) i -Y i+1 ) 2 L jd 2 Indicates latitude range, L wd L represents the preset unit longitude length value. jd This represents the preset unit latitude length value, and the span between any two adjacent towers can be calculated using the above formula.
[0084] 203. Calculate the longitude distance between the obstacle's longitude coordinates in the obstacle's GPS coordinates and the target's longitude coordinates in the target's GPS coordinates.
[0085] 204. Based on the longitude coordinate spacing value, determine the preset number of latitude reference obstacles corresponding to the target tower to be verified among different obstacles.
[0086] Specifically, if the target tower A to be verified i The combined GPS coordinates of obstacles such as lakes, rivers, roads, and buildings within a 100-meter radius are represented by T. 1. ..T k T i The coordinates are (X Ti Y Ti Tower A i The target GPS coordinates are (X i Y i ), and combine the longitude coordinates of each obstacle in the GPS coordinate set with the X coordinates of the obstacles. i Subtract the values, take the absolute value of the subtraction result to obtain the longitude coordinate spacing value, then sort the longitude coordinate spacing values in ascending order, determine the first preset number of target longitude coordinate spacing values from the sorted longitude coordinate spacing values, and determine the obstacles corresponding to the target longitude coordinate spacing values as latitude reference obstacles.
[0087] 205. Calculate the latitudinal coordinate interval between the obstacle's latitude coordinate in the obstacle's GPS coordinates and the target's latitude coordinate in the target's GPS coordinates.
[0088] 206. Based on the latitude coordinate spacing value, determine the preset number of longitude reference obstacles corresponding to the target tower to be verified among different obstacles.
[0089] Specifically, if the target tower A to be verified i The combined GPS coordinates of obstacles such as lakes, rivers, roads, and buildings within a 100-meter radius are denoted as T1...T. k T i The coordinates are (X Ti Y Ti Tower A i The target GPS coordinates are (X i Y i ), and combine the latitude coordinates of each obstacle in the obstacle GPS coordinate set with the Y coordinates. i Subtract the values, take the absolute value of the subtraction result to obtain the latitude coordinate spacing value, then sort the latitude coordinate spacing values in ascending order, determine the first preset number of target latitude coordinate spacing values from the sorted latitude coordinate spacing values, and determine the obstacles corresponding to the target latitude coordinate spacing values as longitude reference obstacles.
[0090] 207. Based on the tower span, target GPS coordinates, reference longitude coordinates corresponding to obstacles at different longitudes, and reference latitude coordinates corresponding to obstacles at different latitudes, verify the target GPS coordinates of the tower to be verified.
[0091] In this embodiment of the invention, after determining the span between adjacent towers, the reference obstacles at different longitudes, and the reference obstacles at different latitudes, it is necessary to verify the target GPS coordinates of the target tower to be verified based on the above information. Therefore, step 207 specifically includes: determining the number of spans where the span is greater than a preset span threshold; determining whether the number of spans is greater than a preset number threshold; if the number of spans is greater than the preset number threshold, determining that the target GPS coordinates of the target tower to be verified are incorrect; if the number of spans is less than or equal to the preset number threshold, determining two forward reference towers adjacent to the target tower to be verified in the forward direction, and two backward reference towers adjacent to the target tower to be verified in the backward direction, wherein the forward reference towers include a forward adjacent tower and a forward second adjacent tower adjacent to the target tower to be verified in the forward direction, and the backward reference towers include a backward adjacent tower and a backward second adjacent tower adjacent to the target tower to be verified in the backward direction; based on the target tower to be verified, the two forward reference towers are determined; if the number of spans is less than or equal to the preset number threshold, determining two forward reference towers adjacent to the target tower to be verified in the forward direction, and two backward reference towers adjacent to the target tower to be verified in the backward direction; the determination of the target tower to be verified, the two forward reference towers are determined ... The method involves using reference towers and the span between adjacent towers in the two backward reference towers to determine whether the target tower to be verified meets preset judgment conditions for coordinate errors. These preset judgment conditions include: the span between the forward adjacent tower and the forward second adjacent tower is less than a preset span threshold; the span between the forward adjacent tower and the target tower to be verified is greater than the preset span threshold; the span between the backward adjacent tower and the target tower to be verified is greater than the preset span threshold; and the span between the backward adjacent tower and the backward second adjacent tower is less than the preset span threshold. If the target tower to be verified meets the preset judgment conditions, it is determined that the target GPS coordinates of the target tower to be verified are incorrect. If the target tower to be verified does not meet the preset judgment conditions, the target GPS coordinates of the target tower to be verified are then verified based on the target GPS coordinates, the reference longitude coordinates corresponding to different longitude reference obstacles, and the reference latitude coordinates corresponding to different latitude reference obstacles.
[0092] The preset span threshold is set according to actual needs. For example, for lines above 35kV, the preset span threshold can be set to 2000 meters, and for lines below 10kV, the preset span threshold can be set to 1000 meters, or other values can be set. The preset quantity threshold is set according to actual needs.
[0093] Specifically, the number of spans greater than a preset span threshold is determined within the spans between each adjacent tower. For example, if the spans of each tower are S1 to S2... n In S1 to S nDetermine the target tower span greater than the preset span threshold, and determine the number of spans k corresponding to the target tower span. If k > 0.2n (preset quantity threshold), it is determined that there are too many errors in the tower coordinates on the target power grid line (including the coordinates of the target tower to be verified), and manual correction is required. If k ≤ 0.2n, taking the power grid line as the reference, the towers arranged from front to back are respectively A i-2 、A i-1 、A i 、A i+1 、A i+2 , where A i is the target tower to be verified, A i-2 is the forward sub-adjacent tower, A i-1 is the forward adjacent tower, A i+1 is the backward adjacent tower, A i+2 is the backward sub-adjacent tower. If S i-2 < M, S i-1 > M, and S i > M, S i+1 < M, then it is determined that there is an error in the target GPS coordinates of the target tower to be verified. Among them, S i-2 represents the tower span between A i-2 and A i-1 , S i-1 represents the tower span between A i-1 and A i , S i represents the tower span between A i and A i+1 , S i+1 represents the tower span between A i+1 and A i+2 , and M represents the preset span threshold. Further, in the case where there is an error in the target GPS coordinates of the target tower to be verified, the error coordinates need to be corrected. Based on this, the method includes: adding the longitude coordinate value corresponding to the forward adjacent tower to the longitude coordinate value corresponding to the backward adjacent tower to obtain the corrected longitude coordinate reference value corresponding to the target tower to be verified; adding the latitude coordinate value corresponding to the forward adjacent tower to the latitude coordinate value corresponding to the backward adjacent tower to obtain the corrected latitude coordinate reference value corresponding to the target tower to be verified; and determining the corrected GPS coordinates corresponding to the target tower to be verified based on the longitude coordinate reference value and the latitude coordinate reference value.
[0094] Specifically, the following formula can be used to correct the error coordinates:
[0095] X xi =(X i-1 +X i+1 ) / 2Y xi =(Yi-1 +Y i+1 ) / 2
[0096] Among them, X xi Y represents the corrected longitude coordinates corresponding to the target's GPS coordinates. xi X represents the corrected latitude coordinates corresponding to the target's GPS coordinates. i-1 X represents the longitude coordinate value of the preceding tower (the forward adjacent tower) adjacent to the target tower to be verified. i+3 Y represents the longitude coordinate value of the next tower adjacent to the target tower (the tower to the left of the target tower to be checked). i-1 This represents the latitude coordinate value of the preceding tower adjacent to the target tower to be verified, Y. i+1 This represents the latitude coordinate value of the next tower adjacent to the target tower to be verified.
[0097] Furthermore, if S i-2 ≥M, or S i-1 ≤M, or S≤M, or S i+1 If the value is ≥M, it is necessary to determine whether the target pole to be verified is located at an obstacle such as a river, lake, road, or building. Based on this, the specific determination method includes: based on the target's longitude and latitude coordinates, different reference latitude coordinates, and different reference longitude coordinates in the target's GPS coordinates, determining whether the target pole to be verified meets a preset coverage condition of being covered by an obstacle. The preset coverage condition includes: the target latitude coordinate value being between any two reference latitude coordinates, and the target longitude coordinate value being between any two reference longitude coordinates. If the target pole to be verified meets the preset coverage condition, it is determined that the target GPS coordinates of the target pole to be verified are incorrect; if the target pole to be verified does not meet the preset coverage condition, it is determined that the target GPS coordinates of the target pole to be verified are accurate.
[0098] Specifically, for example, find four latitude reference obstacles among different obstacles that are closest to the target longitude coordinates of the target tower to be verified, namely B, B1, D, and D1. If there are two obstacles B and D among B, B1, D, and D1, the target tower A to be verified is... i Target latitude coordinates Y i If the reference latitude coordinates of B and D are between those of tower A, then tower A... i Latitude is covered. Find four longitude reference obstacles (E, E1, F, F1) that are closest to the target latitude coordinates of the tower to be verified. If two of these obstacles, E1 and F, exist, the target tower A is considered verified. i Target longitude coordinates X iIf it is between the reference longitude coordinate values of E1 and F, then the tower A i The longitude is covered. After that, if the target longitude and target latitude values of the target tower to be verified, tower A i are both covered, it is determined that the target GPS coordinates of the target tower to be verified are incorrect. If the target longitude and target latitude values of the target tower to be verified, tower A i are not both covered, or only one of them is covered, it is determined that the target GPS coordinates of the target tower to be verified are accurate.
[0099] Furthermore, if the target longitude and target latitude values of the target tower to be verified, tower A i are both covered, it is necessary to correct the target GPS coordinates of the target tower to be verified, tower A i The specific correction method is as follows: The obstacle contour edge consists of several point sets with longitude and latitude values. According to the longitude and latitude values in the point set and the value of A i comparison, if the longitude value is the same as the longitude value of A i , a preset number of points can be found, such as point A and point C. If the latitude value is the same as the latitude value of Ai, a preset number of points can be found, such as point B and point D. Subtract the latitude and longitude of points A, C, B, and D from those of A i respectively, and take the point with the smallest difference as the proposed correct position of tower A i , that is, the corrected coordinate position.
[0100] Furthermore, if S i >M, S i+j >M, S i+k <M (1 < k < j), it indicates that there are consecutive coordinate errors or tower missing for towers from A i+1 to A i+j , and the coordinates of this section need to be manually reviewed.
[0101] Furthermore, it is also possible to take the position of the target tower to be verified, tower A i as the center, with a preset value as the radius, such as 150 meters (the low voltage level can be appropriately reduced). Based on the high-definition satellite image map, using the image recognition algorithm, identify the true positions of the target tower to be verified within 150 meters, such as Figure 3 shown, 2 true positions A ir1 and A ir2 are identified within the specified range. Calculate the distances between the two positions and A i respectively, and take the position A ir1 with the smallest distance as the true position of A i , to achieve intelligent correction of the tower coordinates.
[0102] Furthermore, embodiments of the present invention can also utilize preset three-dimensional elevation maps and high-definition satellite imagery maps to identify ground crossing errors of conductors between towers. Based on this, the method includes: acquiring an elevation data point matrix from a preset three-dimensional elevation map corresponding to the target power grid line, wherein the preset three-dimensional elevation map is composed of elevation data points spaced n meters apart; acquiring a first elevation corresponding to the lower phase conductor of the target tower to be verified, and a second elevation corresponding to the lower phase conductor of adjacent verification towers adjacent to the target tower to be verified; and determining the target tower's GPS coordinates and the adjacent verification towers' GPS coordinates from the elevation data point matrix. The system identifies a target elevation data matrix corresponding to both the target tower to be verified and the adjacent verification towers. Based on the target GPS coordinates and the GPS coordinates of the adjacent towers, it calculates the longitude and latitude reference values between the target tower to be verified and the adjacent verification towers. Based on the longitude and latitude reference values, it determines the envelope data matrix of the conductor between the target tower to be verified and the adjacent verification towers in the target elevation data matrix. Based on the envelope data matrix, the first elevation, the second elevation, the longitude reference value, and the latitude reference value, it verifies the ground crossing phenomenon of the conductor between the target tower to be verified and the adjacent verification towers.
[0103] Among them, the conductors between the towers are divided into multiple phases, that is, multiple groups of conductors, with the lowest one, which is closest to the ground, being the lower phase conductor.
[0104] Specifically, the preset 3D elevation map consists of elevation data points spaced n meters apart, such as 10 meters (or other precision). Therefore, the elevation data point array can be obtained from the preset 3D elevation map, and the target tower A to be verified can be used as the reference point. i and A i Adjacent tower A i+1 Several elevation data points are distributed between them, based on tower A. i and A i+1 latitude and longitude coordinates, if X i <X i+1 Y i <Y i+1 Find the longitude that simultaneously satisfies (X) i -10 to X i+1 Between +10, latitude between Y i -10 to Y i+1 There are a total of n elevation data points between +10 and (where X... i A represents i longitude coordinates, Y i A represents i latitude coordinates, X i+1 A represents i+1longitude coordinates, Y i+1 A represents i+1 (Latitude coordinates), number the n elevation data points according to their latitude and longitude values, and determine how... Figure 4 The dotted array shown represents the target elevation data array, used to determine if there might be a ground penetration error. Then, the distance to tower A is located within the target elevation data array. i and A i+1 The closest coordinates to the traverse line are determined by first calculating the longitude distance reference value c and the latitude distance reference value d using the following formulas:
[0105] x=(X i+1 -X i) *L wd
[0106] y = (Y i+1 -Y i )*L jd
[0107] c = x / 10
[0108] d = y / 10
[0109] Where c and d are both rounded down, c is the reference value for longitude distance, d is the reference value for latitude distance, and X i A represents i The longitude coordinates, Y i A represents i The latitude coordinates, X i+1 A represents i+1 The longitude coordinates, Y i+1 A represents i+1 The latitude coordinates, L wd L represents the preset unit longitude length value. jd This represents the preset unit latitude length value, from which the longitude and latitude reference values can be calculated using the above formula.
[0110] Furthermore, the starting point is A i P with determined coordinates a,b and P a,b+1 P a+1,b P a+1,b+1 Four points, where a and b are the indices of the point matrix and can take any value; the four points represent latitude, longitude, and distance, respectively. i The four points with the smallest difference in latitude and longitude, if c = 0 and d ≠ 0, then A i To A i+1 The envelope data lattice of the conductors is S = {P} a,b P a,b+1 P a,b+2 ...P a,b+d P a+1,b, P a+1,b+ 1...P a+1,b+d}, similarly, if d = 0 and c ≠ 0, then A i to A i+1 the envelope data lattice of the wire between them is S = {P a,b , P a+1,b , P a+2,b ...P a+c,b , P a,b+1 , P a+1,b+1 ...P a+c,b+1}, if c ≠ 0, d ≠ 0, and c > d (the method is similar when c < d), let f = d / c and p = Floor(f * c - 0.5), where Floor is the floor function, and p is used to determine the subscript of the envelope point, then A i to A i+1 the envelope data lattice of the wire between them is S = {P a,b , P a+1,b , P a+2,b+1. ..P a+1+c,b+p , P a,b+1 , P a+1,b+1 ...P a+1+c,b+1+p}, if the first altitude corresponding to the lower-phase wires of tower A i and A i+1 are h i and the second altitude is h i+1 (h i < h i+1 ), let △h = h i - h i+1 , if c ≠ 0 (the method is similar when c = 0 and d ≠ 0), for convenience of judgment, the altitude of the wire between A i and A i+1 is regarded as the following set
[0111] C = {h i , h i + △h, h i + 2△h...h i + c△h}
[0112] If h i + k△h < min(P a+1+k,b+pk , P a+1+k,b+1+pk ) (k = 1, 2...c), that is, any altitude in the C set satisfies the above condition, then it is determined that there is a problem of the wire between A i and A i+1 penetrating the ground, and the operation and maintenance personnel are reminded to modify the wrong data. If all altitudes in the C set do not satisfy the above condition, then it is determined that there is no problem of the wire between A i and A i+1 penetrating the ground.
[0113] According to another method for verifying the coordinates of power grid line towers provided by the present invention, compared with the current method of manually verifying tower coordinates, the present invention obtains the GPS coordinates of different towers on the target power grid line, wherein the different towers include the target tower to be verified, and determines different obstacles and their corresponding obstacle GPS coordinates within a preset range centered on the target tower to be verified; and determines the tower span between two adjacent towers based on the tower GPS coordinates; then, based on the obstacle GPS coordinates and the target GPS coordinates corresponding to the target tower to be verified, determines a preset number of longitude reference obstacles and latitude reference obstacles corresponding to the target tower to be verified among the different obstacles; finally, the target GPS coordinates of the target tower to be verified are verified based on the tower span, the target GPS coordinates, the reference longitude coordinates corresponding to different longitude reference obstacles, and the reference latitude coordinates corresponding to different latitude reference obstacles. Therefore, by using the GPS coordinates corresponding to the tower spans between different towers, the accuracy reference obstacles, and the dimension reference obstacles, it is possible to determine whether there are errors in the coordinates of the target tower to be verified. This avoids the low measurement efficiency and measurement errors caused by manual on-site measurement. Thus, this invention can improve the verification efficiency and accuracy of tower coordinates.
[0114] Furthermore, as Figure 1 In a specific implementation, this invention provides a device for verifying the coordinates of power grid line towers, such as... Figure 5 As shown, the device includes: an acquisition unit 31, a first determination unit 32, a second determination unit 33, and a verification unit 34.
[0115] The acquisition unit 31 can be used to acquire the GPS coordinates of different towers on the target power grid line, wherein the different towers include the target tower to be verified, and different obstacles and their corresponding GPS coordinates are determined within a preset range centered on the target tower to be verified.
[0116] The first determining unit 32 can be used to determine the span between two adjacent towers in the different towers based on the tower's GPS coordinates.
[0117] The second determining unit 33 can be used to determine a preset number of longitude reference obstacles and latitude reference obstacles corresponding to the target tower to be verified among the different obstacles, based on the GPS coordinates of the obstacle and the target GPS coordinates corresponding to the target tower to be verified.
[0118] The verification unit 34 can be used to verify the target GPS coordinates of the target tower to be verified based on the tower span, the target GPS coordinates, the reference longitude coordinates corresponding to different longitude reference obstacles, and the reference latitude coordinates corresponding to different latitude reference obstacles.
[0119] In specific application scenarios, in order to determine the span between two adjacent towers in different tower types, such as... Figure 6 As shown, the first determining unit 32 includes an acquisition module 321, a subtraction module 322, and a first determining module 323.
[0120] The acquisition module 321 can be used to acquire a preset unit longitude length value and a preset unit latitude length value.
[0121] The subtraction module 322 can be used to subtract the longitude coordinate values corresponding to two adjacent towers to obtain the longitude coordinate difference.
[0122] The subtraction module 322 can also be used to subtract the latitude coordinate values corresponding to two adjacent towers to obtain the latitude coordinate difference.
[0123] The first determining module 323 can be used to determine the longitude span between two adjacent towers based on the preset unit longitude length value and the longitude coordinate difference value.
[0124] The first determining module 323 can also be used to determine the latitude span between two adjacent towers based on the preset unit latitude length value and the latitude coordinate difference.
[0125] The first determining module 323 can be specifically used to determine the tower span between two adjacent towers based on the longitude span and the latitude span.
[0126] In specific application scenarios, in order to determine the preset number of longitude reference obstacles and latitude reference obstacles corresponding to the target tower to be verified among different obstacles, the second determining unit 33 includes a calculation module 331 and a second determining module 332.
[0127] The calculation module 331 can be used to calculate the longitude coordinate distance between the obstacle's longitude coordinate value in the obstacle's GPS coordinates and the target's longitude coordinate value in the target's GPS coordinates.
[0128] The second determining module 332 can be used to determine a preset number of latitude reference obstacles corresponding to the target tower to be verified among the different obstacles based on the longitude coordinate spacing value.
[0129] The calculation module 331 can also be used to calculate the latitudinal coordinate spacing between the obstacle latitude coordinate value in the obstacle GPS coordinates and the target latitude coordinate value in the target GPS coordinates.
[0130] The second determining module 332 can also be used to determine a preset number of longitude reference obstacles corresponding to the target tower to be verified among the different obstacles based on the latitude coordinate spacing value.
[0131] In specific application scenarios, in order to verify the target GPS coordinates of the target tower to be verified, the verification unit 34 includes a third determination module 341, a judgment module 342, a determination module 343 and a verification module 344.
[0132] The third determining module 341 can be used to determine the number of spans where the span of the tower is greater than a preset span threshold.
[0133] The judgment module 342 can be used to determine whether the number of gears is greater than a preset number threshold.
[0134] The determination module 343 can be used to determine that the target GPS coordinates of the target tower to be verified are incorrect if the number of spans is greater than the preset number threshold.
[0135] The third determining module 341 can be specifically used to determine, if the number of spans is less than or equal to the preset number threshold, two forward reference towers that are forward adjacent to the target tower to be verified, and two backward reference towers that are backward adjacent to the target tower to be verified, among the different towers. The forward reference towers include a forward adjacent tower and a forward second adjacent tower that are forward adjacent to the target tower to be verified, and the backward reference towers include a backward adjacent tower and a backward second adjacent tower that are backward adjacent to the target tower to be verified.
[0136] The judgment module 342 can also be used to determine whether the target tower to be verified meets the preset judgment conditions for coordinate errors based on the tower span between adjacent towers among the target tower to be verified, the two forward reference towers, and the two backward reference towers. The preset judgment conditions include: the tower span between the forward adjacent tower and the forward second adjacent tower is less than the preset span threshold; the tower span between the forward adjacent tower and the target tower to be verified is greater than the preset span threshold; the tower span between the backward adjacent tower and the target tower to be verified is greater than the preset span threshold; and the tower span between the backward adjacent tower and the backward second adjacent tower is less than the preset span threshold.
[0137] The determination module 343 can be specifically used to determine that the target GPS coordinates of the target tower to be verified are incorrect if the target tower to be verified meets the preset judgment conditions.
[0138] The verification module 344 can be used to verify the target GPS coordinates of the target tower to be verified based on the target GPS coordinates, the reference longitude coordinates corresponding to different longitude reference obstacles, and the reference latitude coordinates corresponding to different latitude reference obstacles if the target tower to be verified does not meet the preset judgment conditions.
[0139] In specific application scenarios, in order to verify the target GPS coordinates of the target tower to be verified, the verification module 344 can be used to determine whether the target tower to be verified meets the preset coverage conditions of being covered by obstacles based on the target longitude and latitude coordinates, different reference latitude coordinates, and different reference longitude coordinates in the target GPS coordinates. The preset coverage conditions include: the target latitude coordinates being between any two reference latitude coordinates and the target longitude coordinates being between any two reference longitude coordinates. If the target tower to be verified meets the preset coverage conditions, it is determined that the target GPS coordinates of the target tower to be verified are incorrect; if the target tower to be verified does not meet the preset coverage conditions, it is determined that the target GPS coordinates of the target tower to be verified are accurate.
[0140] In specific application scenarios, in order to correct erroneous coordinates, the verification unit 34 also includes an addition module 345.
[0141] The addition module 345 can be used to add the longitude coordinate value corresponding to the forward adjacent tower to the longitude coordinate value corresponding to the backward adjacent tower to obtain the corrected longitude coordinate reference value corresponding to the target tower to be checked.
[0142] The addition module 345 can also be used to add the latitude coordinate value corresponding to the forward adjacent tower to the latitude coordinate value corresponding to the backward adjacent tower to obtain the corrected latitude coordinate reference value corresponding to the target tower to be checked.
[0143] The third determining module 341 can also be used to determine the corrected GPS coordinates corresponding to the target tower to be verified based on the longitude coordinate reference value and the latitude coordinate reference value.
[0144] In specific application scenarios, in order to verify whether the conductors between the necklace towers are grounded, the device also includes a calculation unit 35.
[0145] The acquisition unit 31 can also be used to acquire elevation data points in a preset three-dimensional elevation map corresponding to the target power grid line, wherein the preset three-dimensional elevation map is composed of elevation data points spaced n meters apart, and to acquire the first elevation corresponding to the lower phase conductor of the target tower to be verified and the second elevation corresponding to the lower phase conductor of the adjacent verification tower adjacent to the target tower to be verified.
[0146] The first determining unit 32 can also be used to determine the target elevation data point matrix that is commonly corresponding to the target tower to be verified and the adjacent towers in the elevation data point matrix based on the target GPS coordinates corresponding to the target tower to be verified and the adjacent tower GPS coordinates corresponding to the adjacent verification towers.
[0147] The calculation unit 35 can be used to calculate the longitude and latitude reference values between the target tower to be verified and the adjacent towers based on the target GPS coordinates and the adjacent tower GPS coordinates.
[0148] The second determining unit 33 can also be used to determine the envelope data matrix of the conductor between the target tower to be verified and the adjacent verification tower in the target elevation data matrix based on the longitude distance reference value and the latitude distance reference value.
[0149] The verification unit 34 can also be used to verify the ground penetration phenomenon of the conductor between the target tower to be verified and the adjacent verification tower based on the envelope data matrix, the first altitude, the second altitude, the longitude distance reference value and the latitude distance reference value.
[0150] It should be noted that other corresponding descriptions of the functional modules involved in the power grid line tower coordinate verification device provided in this embodiment of the invention can be found in the following references. Figure 1 The corresponding description of the method shown will not be repeated here.
[0151] Based on the above, Figure 1Accordingly, this embodiment of the invention also provides a computer-readable storage medium storing a computer program that, when executed by a processor, performs the following steps: obtaining the GPS coordinates of different poles on a target power grid line, wherein the different poles include the target pole to be verified, and determining different obstacles and their corresponding obstacle GPS coordinates within a preset range centered on the target pole to be verified; determining the span between two adjacent poles based on the pole GPS coordinates; determining a preset number of longitude reference obstacles and latitude reference obstacles corresponding to the target pole to be verified among the different obstacles based on the obstacle GPS coordinates and the target GPS coordinates corresponding to the target pole to be verified; and verifying the target GPS coordinates of the target pole to be verified based on the pole span, the target GPS coordinates, the reference longitude coordinates corresponding to different longitude reference obstacles, and the reference latitude coordinates corresponding to different latitude reference obstacles.
[0152] Based on the above, Figure 1 The method shown and as Figure 5 The embodiment of the device shown in the invention also provides a physical structure diagram of a computer device, such as... Figure 7 As shown, the computer device includes: a processor 41, a memory 42, and a computer program stored in the memory 42 and executable on the processor. Both the memory 42 and the processor 41 are mounted on a bus 43. When the processor 41 executes the program, it performs the following steps: acquiring the GPS coordinates of different poles on the target power grid line, wherein the different poles include the target pole to be verified, and determining different obstacles and their corresponding GPS coordinates within a preset range centered on the target pole to be verified; determining the span between two adjacent poles based on the pole GPS coordinates; determining a preset number of longitude reference obstacles and latitude reference obstacles corresponding to the target pole to be verified among the different obstacles based on the obstacle GPS coordinates and the target GPS coordinates corresponding to the target pole to be verified; and verifying the target GPS coordinates of the target pole to be verified based on the pole span, the target GPS coordinates, the reference longitude coordinates corresponding to different longitude reference obstacles, and the reference latitude coordinates corresponding to different latitude reference obstacles.
[0153] The present invention obtains the GPS coordinates of different poles on a target power grid line, including the target pole to be verified. Within a preset range centered on the target pole to be verified, different obstacles and their corresponding GPS coordinates are determined. Based on the pole GPS coordinates, the span between two adjacent poles is determined. Then, based on the obstacle GPS coordinates and the target GPS coordinates of the target pole to be verified, a preset number of longitude and latitude reference obstacles are determined among the different obstacles. Finally, based on the pole span, the target GPS coordinates, the reference longitude coordinates of the different longitude reference obstacles, and the reference latitude coordinates of the different latitude reference obstacles, the target GPS coordinates of the target pole to be verified are verified. Therefore, by using the GPS coordinates corresponding to the tower spans between different towers, the accuracy reference obstacles, and the dimension reference obstacles, it is possible to determine whether there are errors in the coordinates of the target tower to be verified. This avoids the low measurement efficiency and measurement errors caused by manual on-site measurement. Thus, this invention can improve the verification efficiency and accuracy of tower coordinates.
[0154] It is obvious to those skilled in the art that the modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Optionally, they can be implemented using computer-executable program code, thereby storing them in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those presented herein, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.
[0155] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for verifying the coordinates of power grid line towers, characterized in that, include: Obtain the GPS coordinates of different towers on the target power grid line, wherein the different towers include the target tower to be verified, and determine the GPS coordinates of different obstacles and their corresponding obstacles within a preset range centered on the target tower to be verified; Based on the GPS coordinates of the towers, determine the tower span between two adjacent towers in the different towers; Based on the GPS coordinates of the obstacles and the target GPS coordinates of the target tower to be verified, a preset number of longitude reference obstacles and latitude reference obstacles corresponding to the target tower to be verified are determined among the different obstacles; Based on the tower span, the target GPS coordinates, the reference longitude coordinates corresponding to different longitude reference obstacles, and the reference latitude coordinates corresponding to different latitude reference obstacles, the target GPS coordinates of the target tower to be verified are verified. The step of verifying the target GPS coordinates of the target tower to be verified based on the tower span, the target GPS coordinates, the reference longitude coordinates corresponding to different longitude reference obstacles, and the reference latitude coordinates corresponding to different latitude reference obstacles includes: determining the number of tower spans greater than a preset span threshold; determining whether the number of spans is greater than a preset number threshold; if the number of spans is greater than the preset number threshold, determining that the target GPS coordinates of the target tower to be verified are incorrect; if the number of spans is less than or equal to the preset number threshold, determining two forward reference towers adjacent to the target tower to be verified and two backward reference towers adjacent to the target tower to be verified from among the different towers, wherein the forward reference towers include a forward adjacent tower and a forward second adjacent tower adjacent to the target tower to be verified, and the backward reference towers include a backward adjacent tower and a backward second adjacent tower adjacent to the target tower to be verified; based on the target tower to be verified, the two forward reference towers, and the target GPS coordinates of ... The method involves using reference towers and the span between adjacent towers in the two backward reference towers to determine whether the target tower to be verified meets preset judgment conditions for coordinate errors. These preset judgment conditions include: the span between the forward adjacent tower and the forward second adjacent tower is less than a preset span threshold; the span between the forward adjacent tower and the target tower to be verified is greater than the preset span threshold; the span between the backward adjacent tower and the target tower to be verified is greater than the preset span threshold; and the span between the backward adjacent tower and the backward second adjacent tower is less than the preset span threshold. If the target tower to be verified meets the preset judgment conditions, it is determined that the target GPS coordinates of the target tower to be verified are incorrect. If the target tower to be verified does not meet the preset judgment conditions, the target GPS coordinates of the target tower to be verified are then verified based on the target GPS coordinates, the reference longitude coordinates corresponding to different longitude reference obstacles, and the reference latitude coordinates corresponding to different latitude reference obstacles.
2. The method according to claim 1, characterized in that, The process of determining the span between two adjacent towers based on the tower's GPS coordinates includes: Obtain the preset unit longitude length value and the preset unit latitude length value; Subtract the longitude coordinates of two adjacent towers to obtain the longitude coordinate difference; Subtract the latitude coordinates of two adjacent towers to obtain the latitude coordinate difference. Based on the preset unit longitude length value and the longitude coordinate difference value, the longitude span between the two adjacent towers is determined; Based on the preset unit latitude length value and the latitude coordinate difference, the latitude span between the two adjacent towers is determined; Based on the longitude span and the latitude span, the span between two adjacent towers is determined.
3. The method according to claim 1, characterized in that, The step of determining a preset number of longitude reference obstacles and latitude reference obstacles corresponding to the target tower to be verified among the different obstacles, based on the GPS coordinates of the obstacles and the target GPS coordinates of the target tower to be verified, includes: Calculate the longitude distance between the obstacle's longitude coordinates in the obstacle's GPS coordinates and the target's longitude coordinates in the target's GPS coordinates; Based on the longitude coordinate spacing value, a preset number of latitude reference obstacles are determined among the different obstacles to correspond to the target tower to be verified. Calculate the latitudinal coordinate interval between the obstacle's latitude coordinates in the obstacle's GPS coordinates and the target's latitude coordinates in the target's GPS coordinates; Based on the latitude coordinate spacing value, a preset number of longitude reference obstacles are determined among the different obstacles to correspond to the target tower to be verified.
4. The method according to claim 1, characterized in that, The verification of the target GPS coordinates of the tower to be verified based on the target GPS coordinates, the reference longitude coordinates corresponding to obstacles at different longitudes, and the reference latitude coordinates corresponding to obstacles at different latitudes includes: Based on the target longitude and latitude coordinates, different reference latitude coordinates, and different reference longitude coordinates in the target GPS coordinates, it is determined whether the target tower to be verified meets the preset coverage conditions of being covered by obstacles. The preset coverage conditions include: the target latitude coordinates are between any two reference latitude coordinates among different reference latitude coordinates, and the target longitude coordinates are between any two reference longitude coordinates among different reference longitude coordinates. If the target tower to be verified meets the preset coverage conditions, then it is determined that the target GPS coordinates of the target tower to be verified are incorrect; If the target tower to be verified does not meet the preset coverage conditions, then the target GPS coordinates of the target tower to be verified are determined to be accurate.
5. The method according to claim 1, characterized in that, After determining that the target GPS coordinates of the target tower to be verified are incorrect, the method further includes: Add the longitude coordinates of the forward adjacent tower to the longitude coordinates of the backward adjacent tower to obtain the corrected longitude coordinate reference value of the target tower to be checked; Add the latitude coordinates of the forward adjacent tower to the latitude coordinates of the backward adjacent tower to obtain the corrected latitude coordinate reference value of the target tower to be verified. Based on the longitude and latitude reference values, the corrected GPS coordinates corresponding to the target tower to be verified are determined.
6. The method according to claim 1, characterized in that, The method further includes: The elevation data point matrix in the preset three-dimensional elevation map corresponding to the target power grid line is obtained, wherein the preset three-dimensional elevation map is composed of elevation data points spaced n meters apart, and the first elevation corresponding to the lower phase conductor of the target tower to be verified and the second elevation corresponding to the lower phase conductor of the adjacent verification tower adjacent to the target tower to be verified are obtained. Based on the target GPS coordinates corresponding to the target tower to be verified and the adjacent tower GPS coordinates corresponding to the adjacent verification towers, a target elevation data point matrix jointly corresponding to the target tower to be verified and the adjacent verification towers is determined in the elevation data point matrix; Based on the target GPS coordinates and the adjacent tower GPS coordinates, calculate the longitude and latitude reference values between the target tower to be verified and the adjacent verification towers; Based on the longitude distance reference value and the latitude distance reference value, the envelope data matrix of the target tower to be verified and the conductor between the adjacent verification towers is determined in the target elevation data matrix; Based on the envelope data matrix, the first altitude, the second altitude, the longitude distance reference value, and the latitude distance reference value, the ground penetration phenomenon of the conductor between the target tower to be verified and the adjacent verification tower is verified.
7. A device for verifying the coordinates of power grid line towers, characterized in that, include: The acquisition unit is used to acquire the GPS coordinates of different towers on the target power grid line, wherein the different towers include the target tower to be verified, and to determine different obstacles and their corresponding obstacle GPS coordinates within a preset range centered on the target tower to be verified. The first determining unit is used to determine the span between two adjacent towers among the different towers based on the GPS coordinates of the towers; The second determining unit is used to determine a preset number of longitude reference obstacles and latitude reference obstacles corresponding to the target tower to be verified among the different obstacles, based on the GPS coordinates of the obstacle and the target GPS coordinates corresponding to the target tower to be verified. The verification unit is used to verify the target GPS coordinates of the target tower to be verified based on the tower span, the target GPS coordinates, reference longitude coordinates corresponding to obstacles at different longitudes, and reference latitude coordinates corresponding to obstacles at different latitudes; wherein, the verification of the target GPS coordinates of the target tower to be verified based on the tower span, the target GPS coordinates, reference longitude coordinates corresponding to obstacles at different longitudes, and reference latitude coordinates corresponding to obstacles at different latitudes includes: determining the number of spans by which the tower span is greater than a preset span threshold. The method involves: determining whether the number of spans exceeds a preset threshold; if the number of spans exceeds the preset threshold, determining that the target GPS coordinates of the target tower to be verified are incorrect; if the number of spans is less than or equal to the preset threshold, determining two forward reference towers adjacent to the target tower to be verified and two backward reference towers adjacent to the target tower to be verified from among the different towers, wherein the forward reference towers include the forward adjacent tower and the forward second adjacent tower adjacent to the target tower to be verified, and the backward reference towers include the towers adjacent to the target tower to be verified. The target tower to be verified is then compared with its adjacent towers and its next-to-back towers. Based on the tower span distances between adjacent towers among the target tower to be verified, the two forward reference towers, and the two backward reference towers, it is determined whether the target tower to be verified meets preset judgment conditions for coordinate errors. These preset judgment conditions include: the tower span distance between the adjacent towers and the next-to-back towers is less than a preset span distance threshold; the tower span distance between the adjacent towers and the target tower to be verified is greater than the preset span distance threshold; and the distance between the adjacent towers and the target tower to be verified is greater than the preset span distance threshold. If the span between the towers to be verified is greater than a preset span threshold, and the span between the towers adjacent to the following tower and the tower next to the following tower is less than the preset span threshold; if the target tower to be verified meets the preset judgment conditions, then it is determined that the target GPS coordinates of the target tower to be verified are incorrect; if the target tower to be verified does not meet the preset judgment conditions, then the target GPS coordinates of the target tower to be verified are verified based on the target GPS coordinates, the reference longitude coordinates corresponding to different longitude reference obstacles, and the reference latitude coordinates corresponding to different latitude reference obstacles.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.
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 computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.