Monitoring point space position anomaly detection and correction method, equipment and medium

By applying a spatial analysis algorithm based on map base map in environmental monitoring, the latitude and longitude recording errors of monitoring points are automatically identified and corrected, and the problems of low manual verification efficiency and error proneness in the existing technology are solved, and more efficient and accurate monitoring data display is achieved.

CN120063232APending Publication Date: 2025-05-30AGRO ENVIRONMENTAL PROTECTION INST OF MIN OF AGRI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510265563.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-07
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

In environmental monitoring, errors often occur in latitude and longitude records of monitoring points, resulting in data display errors. The existing technology relies on manual verification, which is inefficient and prone to errors.

Method used

A spatial analysis algorithm based on monitoring area map base map is used to automatically identify and correct the latitude and longitude of the recorded errors, and 25 sub-regions are divided for error classification identification and correction.

Benefits of technology

It improves the accuracy and efficiency of monitoring point latitude and longitude recording, reduces the time and error rate of manual verification, and can automatically identify and correct most recording errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120063232A_ABST
    Figure CN120063232A_ABST
Patent Text Reader

Abstract

The invention discloses a monitoring site space position anomaly detection and correction method and device and a medium, and relates to the technical field of monitoring site latitude and longitude, and the method comprises the following steps: 1, determining a latitude and longitude coordinate range value of a monitoring region according to a monitoring task; 2, taking degree values corresponding to the maximum longitude value X-max, the minimum longitude value X-min, the maximum latitude value Y-max and the minimum latitude value Y-min of the monitoring area as division values of the longitude and the latitude, and dividing the ground into 25 sub-areas including the actual monitoring area; 3, judging whether the longitude X of the monitoring point is within the longitude range (X-min, X-max) of the monitoring area or not, if yes, executing the step 4, and if not, executing the step 3; according to the method, the problem of difficulty in manual detection and correction of common errors in longitude and latitude recording of the monitoring points is solved, wrong longitudes and latitudes are automatically identified and recorded based on the base map of the monitoring area map, the errors are corrected after being classified and identified, and error identification is performed on pure wrong monitoring points which cannot be corrected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of longitude and latitude of monitoring points, and particularly relates to a method, device and medium for detecting and correcting abnormal spatial positions of monitoring points. Background Art

[0002] When conducting environmental monitoring, it is usually necessary to arrange monitoring points in the monitoring area [1] , and during the process of collecting environmental samples and monitoring data, it is necessary to accurately record the spatial position information of the monitoring points, that is, longitude and latitude, to clearly identify the location or area represented by the obtained monitoring data [2] . However, in the process of manual recording or data reporting, there will be phenomena such as misplacing the decimal point of longitude and latitude or filling in the longitude and latitude values in the wrong position (reversed), resulting in the situation that when the monitoring points and their corresponding monitoring data are marked on the map according to the recorded longitude and latitude, the marked location does not match the location set during the arrangement of the monitoring points, and the display of regional environmental information is incorrect.

[0003] The traditional correction method is to first mark the monitoring points on the map according to the recorded longitude and latitude, then manually search for the monitoring points that fall outside the boundary of the map monitoring area, or the points whose longitude and latitude are obviously inconsistent with the location they should belong to, and then find the original sampler and recorder for each point to verify the longitude and latitude, or compare and verify with the location and longitude and latitude shown in the sampling environment photos taken during sampling. The verification and correction efficiency is low, time-consuming and laborious. When the monitoring area is large and there are many monitoring points, manual verification cannot meet the requirements of the actual data result summary time limit, and manual verification is also prone to errors. Therefore, in view of the above deficiencies, this solution proposes a method, device and medium for detecting and correcting abnormal spatial positions of monitoring points.

[0004] [1] Research on the Method of Arranging Environmental Air Quality Monitoring Points in Lanzhou New Area [D]. Lai Xiliu. Lanzhou University, 2017. [2] Yan Xu, Li Zhenliang, Pu Yong, etc. Using a Monocular Monitoring Camera to Accurately Determine the Longitude and Latitude of the Waste Incineration Location [J]. Environmental Impact Assessment, 2019, 041(003): 88 - 91. Summary of the Invention

[0005] The purpose of the present invention is to solve at least one of the technical problems existing in the prior art, and provide a method, device and medium for detecting and correcting abnormal spatial positions of monitoring points. Through the designed spatial analysis algorithm, it solves the problem of difficult manual detection and correction of common errors in the recording of longitude and latitude of monitoring points. Based on the map base map of the monitoring area, it identifies the wrongly recorded or reported longitude and latitude, classifies and identifies the errors and then corrects them, and marks the purely wrong monitoring points that cannot be corrected.

[0006] The present invention discloses a method for detecting and correcting abnormal spatial positions of monitoring points, comprising the following steps: Step 1: Determine the longitude and latitude coordinate range values of the monitoring area according to the monitoring task; Step 2: The maximum value of the longitude of the monitoring area X-max , the minimum value of the longitude X-min , the maximum value of the latitude Y-max , the minimum value of the latitude Y-min The corresponding degree values are used as the division values of longitude and latitude, and the ground is divided into 25 sub-areas including the actual monitoring area; Step 3: Determine whether the longitude of the monitoring point X falls within the longitude range of the monitoring area ( X-min, X-max ). If it is judged to be yes, execute Step 4; if it is judged to be no, execute Step 5; Step 4: Determine whether the latitude of the monitoring point Y falls within the latitude range of the monitoring area ( Y-min, Y-max ). If it is judged to be yes, the monitoring point falls within the monitoring area and the spatial position of the monitoring point is normal; if it is judged to be no, execute Step 5; Step 5: Correct the longitude X and latitude Y of the monitoring point with abnormal spatial position.

[0007] Furthermore, record the corresponding degree values of X-min , X-max , Y-min , Y-max as c, d, a, b respectively, and a < b < c < d. Take a, b, c, d as the division values of longitude and latitude respectively, corresponding to 4 longitude division lines and 4 latitude division lines, and divide the monitoring area into 25 sub-areas, namely A1, A2, A3, B1, C1, A4, A5, A6, B2, C2, A7, A8, A9, B3, C3, D1, D2, D3, E, F, G1, G2, G3, H and I.

[0008] Furthermore, the specific operation of Step 5 is as follows: Step 51: Determine whether X is within the longitude range. If it is judged to be yes, execute Step 52; if it is judged to be no, execute Step 54; Step 52: Determine whether Y is within the longitude range. If it is judged to be yes, execute Step 53; if it is judged to be no, execute Step 59; Step 53: X and Y Perform decimal point position error correction when both are within the longitude range; Step 54: Determine whether XWhether it is within the latitude range, if judged as yes, execute Step 55, if judged as no, execute Step 57; Step 55: Judge Y Whether it is within the latitude range, if judged as yes, execute Step 56, if judged as no, execute Step 514; Step 56: X And Y When both are within the latitude range, correct the decimal point position error; Step 57: Judge Y Whether it is within the latitude range, if judged as yes, execute Step 58, if judged as no, execute Step 511; Step 58: X Not within the longitude range and the latitude range, but Y When within the latitude range, correct the decimal point position error; Step 59: Judge Y Whether it is within the latitude range, if judged as yes, the monitoring point spatial position is normal, if judged as no, execute Step 510; Step 510: X Within the longitude range, but Y When not within the longitude range and the latitude range, correct the decimal point position error; Step 511: Judge Y Whether it is within the longitude range, if judged as yes, execute Step 513, if judged as no, execute Step 512; Step 512: X And Y When both are not within the longitude range and the latitude range, correct the decimal point position error; Step 513: X Not within the longitude range and the latitude range, but Y When within the longitude range, correct the decimal point position error; Step 514: Judge Y Whether it is within the longitude range, if judged as yes, execute Step 515, if judged as no, execute Step 516; Step 515: X Within the latitude range, Y Not within the latitude range within the longitude range, that is, the monitoring point falls in Area A5, there is a longitude and latitude misalignment problem, perform longitude and latitude misalignment swapping correction; Step 516: X Within the latitude range, Y Not within the latitude range Y When not within the longitude range, correct the decimal point position error.

[0009] Furthermore, the specific operation of Step 53 is as follows: X AndY When both are within the longitude range, the specific operation for correcting the decimal point position is as follows: Step 531: X and Y When both are within the longitude range, that is, , the monitoring point falls within the B2 area. Multiply Y by 0.1 to get , and judge whether holds. If the judgment is yes, replace with Y , and mark the monitoring point as "decimal point error". If the judgment is no, execute Step 532; or, X and Y When both are within the longitude range, that is, , the monitoring point falls within the B2 area. Multiply X by 0.1 to get , and judge whether holds. If the judgment is yes, replace with X , perform longitude and latitude misalignment swapping correction at the same time, and mark the monitoring point as "longitude and latitude misalignment and decimal point error". If the judgment is no, execute Step 532; Step 532: Multiply X by 0.1 to get and Y Multiply by 0.1 to get . If both do not belong to

[0010] , then this monitoring point is an error point in longitude and latitude recording or reporting, and mark it as an error. X and Y When both are within the latitude range, the specific operation for correcting the decimal point position is as follows: Step 561: X and Y When both are within the latitude range, that is, , the monitoring falls within the D2 area. Multiply X by 10 to get , and judge whether holds. If the judgment is yes, replace with X , and mark the monitoring point as "decimal point error". If the judgment is no, execute Step 562; or, X and Y When both are within the latitude range, that is, , the monitoring falls within the D2 area. Multiply Y by 10 to get , and judge whether holds. If the judgment is yes, replace withY Meanwhile, perform longitude and latitude dislocation swapping correction, mark the monitoring point as "longitude and latitude dislocation and decimal point error", and execute step 562 when the judgment is no; Step 562: X obtained by multiplying by 10 and Y obtained by multiplying by 10 both do not belong to , then this monitoring point is a longitude and latitude recording or reporting error point, mark the error.

[0011] Furthermore, the specific operations of step 58 are as follows: X not within the longitude range and not within the latitude range but Y within the latitude range, the specific operations for decimal point position error correction are as follows: Step 581: X not within the longitude range and not within the latitude range but Y within the latitude range, that is and ; Step 582: Judge whether holds. When the judgment is yes, execute step 583; when the judgment is no, execute step 586; Step 583: and , the monitoring point falls in area F, multiply X by 0.1 to get , then judge whether holds. When the judgment is yes, execute step 584; when the judgment is no, execute step 585; Step 584: Replace with X , and mark the monitoring point as "decimal point error"; Step 585: The monitoring point is a longitude and latitude recording or reporting error point, mark the error; Step 586: Judge whether holds. When the judgment is yes, execute step 587; when the judgment is no, execute step 5810; Step 587: and , the monitoring point falls in area D1, multiply X by 100 to get , then judge whether holds. When the judgment is yes, execute step 588; when the judgment is no, execute step 589; Step 588: Replace with X , and mark the monitoring point as "decimal point error"; Step 589: If the monitoring point is a longitude and latitude record or a reported error point, mark the error; Step 5810: and , if the monitoring point falls within the D3 area, then X multiply by 0.1 to get , then Y multiply by 10 to get , then determine whether holds. If the judgment is yes, execute Step 5811; if the judgment is no, execute Step 5812; Step 5811: Replace with X , replace with Y , at the same time, correct the longitude and latitude misalignment by swapping, and mark the monitoring point as "longitude and latitude misalignment and decimal point error"; Step 5812: If the monitoring point is a longitude and latitude record or a reported error point, mark the error.

[0012] Furthermore, the specific operations of Step 510 are as follows: X When within the longitude range but Y not within the longitude range and latitude range, the specific operation for correcting the decimal point position error is as follows: Step 5101: X When within the longitude range but Y not within the longitude and latitude ranges, that is and ; Step 5102: Determine whether holds. If the judgment is yes, execute Step 5103; if the judgment is no, execute Step 5106; Step 5103: and , if the monitoring point falls within the B1 area, Y multiply by 0.1 to get , then determine whether holds. If the judgment is yes, execute Step 5104; if the judgment is no, execute Step 5105; Step 5104: There is a problem with the decimal point position of the monitoring point. Replace Y with , and mark the monitoring point as "decimal point error"; Y Step 5105: If the monitoring point is a longitude and latitude record error point, mark the error; Step 5106: Determine whether holds. If the judgment is yes, execute Step 5107; if the judgment is no, execute Step 51010; Step 5107: Step 5107: And the monitoring point falls within the B3 area, Y after multiplying by 0.1, we get judge whether it holds. If the judgment is yes, execute step 5108; if the judgment is no, execute step 5109; Step 5108: It indicates that there is a problem with the decimal point position of this monitoring point. Replace Y and mark the monitoring point as "decimal point error; replace Y and mark the monitoring point as "decimal point error; Step 5109: The monitoring point is a wrong longitude and latitude recording point, mark it as an error; Step 51010: And the monitoring point falls within the H area, Y after multiplying by 10, we get judge whether it holds. If the judgment is yes, execute step 51011; if the judgment is no, execute step 51012.

[0013] Step 51011: There is a problem with the decimal point position of the monitoring point. Replace Y and mark the monitoring point as "decimal point error"; replace Y and mark the monitoring point as "decimal point error"; Step 51012: The monitoring point is a wrong longitude and latitude recording point, mark it as an error.

[0014] Furthermore, the specific operation of step 512 is as follows: X And Y when both are not within the longitude range and latitude range, the specific operation for correcting the decimal point position is as follows; Step 5121: X And Y both are not within the longitude and latitude ranges, that is And judge whether it holds. If the judgment is yes, execute step 5122; if the judgment is no, execute step 5127; Step 5122, judge whether it holds. If the judgment is yes, execute step 5123; if the judgment is no, execute step 5124; Step 5123: When the monitoring point falls within the G1 area, correct the decimal point position of the monitoring point; Step 5124: judge whether it holds. If the judgment is yes, execute step 5125; if no, execute step 5126; Step 5125: and , if the monitoring point falls within area A7, correct the decimal point position error of the monitoring point; Step 5126: and , if the monitoring point falls within area A1, correct the decimal point position error of the monitoring point; Step 5127: Judge Whether it holds. If the judgment is yes, execute Step 5128; if the judgment is no, execute Step 51213; Step 5128: , judge Whether it holds. If the judgment is yes, execute Step 5129; if the judgment is no, execute Step 51210; Step 5129: and , if the monitoring point falls within area G3, correct the decimal point position error of the monitoring point; Step 51210: , judge Whether it holds. If the judgment is yes, execute Step 51211; if the judgment is no, execute Step 51212; Step 51211: and , if the monitoring point falls within area A9 and the monitoring point is an incorrect longitude and latitude record or reported error point, mark it as an error; Step 51212: and , if the monitoring point falls within area A3, correct the decimal point position error of the monitoring point; Step 51213: , judge Whether it holds. If the judgment is yes, execute Step 51214; if the judgment is no, execute Step 51215; Step 51214: and , if the monitoring point falls within area I, correct the decimal point position error of the monitoring point; Step 51215: , judge Whether it holds. If the judgment is yes, execute Step 51216; if the judgment is no, execute Step 51217; Step 51216: and , if the monitoring point falls within area C3, correct the decimal point position error of the monitoring point; Step 51217: and , if the monitoring point falls within area C1, correct the decimal point position error of the monitoring point.

[0015] Furthermore, the specific operations of step 513 are as follows: X Not within the longitude range and latitude range, but Y When within the longitude range, the specific operations for correcting the decimal point position are as follows: Step 51301: X Not within the longitude and latitude ranges, but Y Within the longitude range, that is and ; Step 51302: Judge whether holds. If the judgment is yes, execute step 51303; if the judgment is no, execute step 51306; Step 51303: and , the monitoring point falls in area A4, multiply X by 10 to get , then judge whether holds. If the judgment is yes, execute step 51304; if the judgment is no, execute step 51305; Step 51304: Replace with X , at the same time, correct the dislocation of longitude and latitude by swapping, and mark the monitoring point as "longitude and latitude dislocation and decimal point error"; Step 51305: The monitoring point is an error point in longitude and latitude record or report, mark the error; Step 51306: Judge whether holds. If the judgment is yes, execute step 51307; if the judgment is no, execute step 51310; Step 51307: and , the monitoring point falls in area A6, multiply X by 0.1 to get , then judge whether holds. If the judgment is yes, execute step 51308; if the judgment is no, execute step 51309; Step 51308: Replace with X , at the same time, correct the dislocation of longitude and latitude by swapping, and mark the monitoring point as "longitude and latitude dislocation and decimal point error"; Step 51309: The monitoring point is an error point in longitude and latitude record or report, mark the error; Step 51310: and , the monitoring point falls in area C2, multiply X by 0.1 to get , then judge whether Whether it holds. If it is judged to be yes, step 51311 is executed; if it is judged to be no, step 51312 is executed. Step 51311: Replace with X , and at the same time perform longitude and latitude dislocation swapping and correction, and mark the monitoring point as "longitude and latitude dislocation and decimal point error"; Step 51312: The monitoring point is a longitude and latitude recording or reported error point, mark the error.

[0016] Furthermore, the specific operations of step 516 are as follows: X Within the latitude range, Y Not within the latitude range and Y Not within the longitude range, the specific operations for decimal point position error correction are as follows: Step 51601: X Within the latitude range but Y Not within the longitude and latitude ranges, that is, and ; Step 51602: Judge whether holds. If it is judged to be yes, step 51603 is executed; if it is judged to be no, step 51604 is executed; Step 51603: and , the monitoring point falls in area A8, multiply X by 10 to get , multiply Y by 0.1 to get , then judge whether holds. If it is judged to be yes, step 51604 is executed; if it is judged to be no, step 51605 is executed; Step 51604: Replace with X , replace with Y , and mark the monitoring point as "decimal point error"; Step 51605: The monitoring point is a longitude and latitude recording or reported error point, mark the error; Step 51606: Judge whether holds. If it is judged to be yes, step 51607 is executed; if it is judged to be no, step 51610 is executed; Step 51607: and , the monitoring point falls in area G2, multiply Y by 100 to get , then judge whether holds. If it is judged to be yes, step 51608 is executed; if it is judged to be no, step 51609 is executed; Step 51608: Replace with Y , and at the same time perform longitude and latitude dislocation swapping correction, and mark the monitoring point as "longitude and latitude dislocation and decimal point error"; Step 51609: The monitoring point is a longitude and latitude recording or reporting error point, mark the error; Step 51610: and , if the monitoring point falls within area A2, multiply Y by 0.1 to get , then determine whether holds. If the judgment is yes, execute Step 51611; if the judgment is no, execute Step 51612; Step 51611: Replace with Y , and at the same time perform longitude and latitude dislocation swapping correction, and mark the monitoring point as "longitude and latitude dislocation and decimal point error"; Step 51612: For longitude and latitude recording or reporting error points, mark the error.

[0017] Furthermore, the specific operation of the longitude and latitude dislocation swapping correction is as follows: Perform correction according to the following formula: (1) (2) (3) In formula (1), put the X value of the monitoring point on A. In formula (2), cover the Y value of the monitoring point with X value. In formula (3), cover the value on A with Y value. After being processed by formulas (1), (2), and (3), swap the X and Y values.

[0018] A computer device includes: a memory, a processor, and a computer program stored on the memory and executable on the processor. The processor executes the computer program to implement the method for detecting and correcting abnormal spatial positions of monitoring points.

[0019] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it implements the method for detecting and correcting abnormal spatial positions of monitoring points.

[0020] Compared with the prior art, a method, device and medium for detecting and correcting abnormal spatial positions of monitoring points according to the present invention solve the problem of difficult manual detection and correction of common errors in the longitude and latitude records of monitoring points. Based on the map base map of the monitoring area, the longitude and latitude with recording errors are automatically identified, classified and corrected after identification, and error marking is performed on the purely wrong monitoring points that cannot be corrected. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The present invention will be further described below in conjunction with the drawings and embodiments; Figure 1 It is a schematic diagram of the coordinate area of the spatial position of a monitoring point according to the present invention; Figure 2 It is a specific case diagram of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0022] This part will describe in detail the specific embodiments of the present invention. The preferred embodiments of the present invention are shown in the drawings. The function of the drawings is to supplement the description of the text part of the specification, enabling people to intuitively and vividly understand each technical feature and the overall technical solution of the present invention, but it cannot be construed as a limitation on the protection scope of the present invention.

[0023] Referring to Figure 1 , a method for detecting and correcting abnormal spatial positions of monitoring points according to an embodiment of the present invention includes the following steps: Step 1: Determine the longitude and latitude coordinate range values of the monitoring area according to the monitoring task; Step 2: The maximum value of the longitude of the monitoring area X-max , the minimum value of the longitude X-min , the maximum value of the latitude Y-max , the minimum value of the latitude Y-min The corresponding degree values are used as the division values of longitude and latitude, and the ground is divided into 25 sub-areas including the actual monitoring area; Step 3: Determine whether the longitude X of the monitoring point falls within the longitude range of the monitoring area ( X-min, X-max ). If it is judged to be yes, execute Step 4; if it is judged to be no, execute Step 5; Step 4: Determine whether the latitude Y of the monitoring point falls within the latitude range of the monitoring area ( Y-min, Y-max ). If it is judged to be yes, the monitoring point falls within the monitoring area and the spatial position of the monitoring point is normal; if it is judged to be no, execute Step 5; Step 5: Correct the longitude X and latitude Y of the monitoring points with abnormal positions.

[0024] Take X-min , X-max ,Y-min , Y-max The corresponding degree values are denoted as c, d, a, b, and a < b < c < d. Taking a, b, c, and d as the division values of longitude and latitude respectively, there are 4 longitude division lines and 4 latitude division lines, dividing the monitoring area into 25 sub - areas, namely A1, A2, A3, B1, C1, A4, A5, A6, B2, C2, A7, A8, A9, B3, C3, D1, D2, D3, E, F, G1, G2, G3, H, and I.

[0025] Figure 1 Among them: E represents east longitude, W represents west longitude, N represents north latitude, and S represents south latitude.

[0026] Coordinate requirements for area A1: Y > d and X < a ; Coordinate requirements for area A2: Y > d and a ≤ X ≤ b ; Coordinate requirements for area A3: Y > d and b < X < c ; Coordinate requirements for area B1: Y > d and c ≤ X ≤ d ; Coordinate requirements for area C1: Y > d and X > d ; Coordinate requirements for area A4: c ≤ Y ≤ d and X < a ; Coordinate requirements for area A5: c ≤ Y ≤ d and a ≤ X ≤ b ; Coordinate requirements for area A6: c ≤ Y ≤ d and b < X < c ; Coordinate requirements for area B2: c ≤ Y ≤ d and c ≤ X ≤ d ; Coordinate requirements for area C2: c ≤ Y ≤ d and X > d ; Coordinate requirements for area A7: b < Y < c and X < a ; Coordinate requirements for area A8: b < Y < c and a ≤ X ≤ b ; Coordinate requirements for area A9: b < Y < c and b < X < c ; Coordinate requirements for area B3: b < Y < c and c ≤ X ≤ d ; Coordinate requirements for area C3:b < Y < c And X > d ; Coordinate requirements for area D1: a ≤ Y ≤ b And X < a ; Coordinate requirements for area D2: a ≤ Y ≤ b And a ≤ X ≤ b ; Coordinate requirements for area D3: a ≤ Y ≤ b And b < X < c ; Coordinate requirements for area E: a ≤ Y ≤ b And c ≤ X ≤ d ; Coordinate requirements for area F: a ≤ Y ≤ b And X > d ; Coordinate requirements for area G1: Y < a And X < a ; Coordinate requirements for area G2: Y < a And a ≤ X ≤ b ; Coordinate requirements for area G3: Y < a And b < X < c ; Coordinate requirements for area H: Y < a And c ≤ X ≤ d ; Coordinate requirements for area I: Y < a And X > d 。

[0027] The specific operations of step 5 are as follows: Step 51: Judge X Whether it is within the longitude range. If it is judged to be yes, execute step 52; if it is judged to be no, execute step 54; Step 52: Judge Y Whether it is within the longitude range. If it is judged to be yes, execute step 53; if it is judged to be no, execute step 59; Step 53: X And Y When both are within the longitude range, correct the decimal point position error; Step 54: Judge X Whether it is within the latitude range. If it is judged to be yes, execute step 55; if it is judged to be no, execute step 57; Step 55: Judge Y Whether it is within the latitude range. If it is judged to be yes, execute step 56; if it is judged to be no, execute step 514; Step 56: X And Y When both are within the latitude range, correct the decimal point position error; Step 57: Judge YDetermine whether it is within the latitude range. If the judgment is yes, execute Step 58; if the judgment is no, execute Step 511; Step 58: X Not within the longitude range and not within the latitude range, but Y When within the latitude range, correct the decimal point position error; Step 59: Determine Y Whether it is within the latitude range. If the judgment is yes, the spatial position of the monitoring point is normal; if the judgment is no, execute Step 510; Step 510: X Within the longitude range, but Y Not within the longitude range and not within the latitude range, correct the decimal point position error; Step 511: Determine Y Whether it is within the longitude range. If the judgment is yes, execute Step 513; if the judgment is no, execute Step 512; Step 512: X And Y When not within the longitude range and not within the latitude range, correct the decimal point position error; Step 513: X Not within the longitude range and not within the latitude range, but Y When within the longitude range, correct the decimal point position error; Step 514: Determine Y Whether it is within the longitude range. If the judgment is yes, execute Step 515; if the judgment is no, execute Step 516; Step 515: X Within the latitude range, Y Within the longitude range Y Not within the longitude range, that is, the monitoring point falls in Area A5, there is a longitude and latitude misalignment problem, and correct the longitude and latitude misalignment by swapping; Step 516: X Within the latitude range, Y Not within the latitude range Y When not within the longitude range, correct the decimal point position error.

[0028] The specific operations of Step 53 are as follows: X And Y When both are within the longitude range, the specific operations for correcting the decimal point position error are as follows: Step 531: X And Y When both are within the longitude range, that is , the monitoring point falls in Area B2, multiply Y by 0.1 to get , determine Whether it holds. If the judgment is yes, use to replaceY and mark the monitoring point as "decimal point error", and execute step 532 when the judgment is no; or, X and Y simultaneously within the longitude range, that is, , if the monitoring point falls within area B2, multiply X by 0.1 to obtain , and judge whether holds. When the judgment is yes, replace with X , simultaneously perform longitude and latitude misalignment swapping correction, and mark the monitoring point as "longitude and latitude misalignment and decimal point error", and execute step 532 when the judgment is no; Step 532: If both X multiplied by 0.1 to obtain and Y multiplied by 0.1 to obtain do not belong to , then this monitoring point is a longitude and latitude recording or reporting error point, and mark it as an error.

[0029] The specific operations of step 56 are as follows: X and Y When simultaneously within the latitude range, the specific operations for correcting the decimal point position are as follows: Step 561: X and Y simultaneously within the latitude range, that is, , if the monitoring falls within area D2, multiply X by 10 to obtain , and judge whether holds. When the judgment is yes, replace with X , and mark the monitoring point as "decimal point error", and execute step 562 when the judgment is no; or, X and Y simultaneously within the latitude range, that is, , if the monitoring falls within area D2, multiply Y by 10 to obtain , and judge whether holds. When the judgment is yes, replace with Y , simultaneously perform longitude and latitude misalignment swapping correction, and mark the monitoring point as "longitude and latitude misalignment and decimal point error", and execute step 562 when the judgment is no; Step 562: X If both multiplied by 10 to obtain Y and multiplied by 10 to obtain do not belong to , then this monitoring point is a longitude and latitude recording or reporting error point, and mark it as an error.

[0030] Further, the specific operations of step 58 are as follows: X Not within the longitude range and the latitude range, but Y When within the latitude range, the specific operation for correcting the decimal point position is as follows: Step 581: X Not within the longitude range and the latitude range, but Y Within the latitude range, that is And ; Step 582: Determine whether holds. If the determination is yes, execute step 583; if the determination is no, execute step 586; Step 583: And , the monitoring point falls in area F, multiply X by 0.1 to get , then determine whether holds. If the determination is yes, execute step 584; if the determination is no, execute step 585; Step 584: Replace with X , and mark the monitoring point as "decimal point error"; Step 585: The monitoring point is an error point in longitude and latitude record or report, mark it as an error; Step 586: Determine whether holds. If the determination is yes, execute step 587; if the determination is no, execute step 5810; Step 587: And , the monitoring point falls in area D1, multiply X by 100 to get , then determine whether holds. If the determination is yes, execute step 588; if the determination is no, execute step 589; Step 588: Replace with X , and mark the monitoring point as "decimal point error"; Step 589: The monitoring point is an error point in longitude and latitude record or report, mark it as an error; Step 5810: And , the monitoring point falls in area D3, multiply X by 0.1 to get , multiply Y by 10 to get , then determine whether holds. If the determination is yes, execute step 5811; if the determination is no, execute step 5812; Step 5811: Replace with X , replace with Y , simultaneously perform longitude and latitude dislocation swapping correction, and mark the monitoring point as "longitude and latitude dislocation and decimal point error"; Step 5812: The monitoring point is a longitude and latitude recording or reporting error point, mark the error.

[0031] The specific operations of Step 510 are as follows: X When within the longitude range but Y not within the longitude range and latitude range, the specific operations for correcting the decimal point position are as follows: Step 5101: X When within the longitude range but Y not within the longitude and latitude ranges, that is and ; Step 5102: Judge whether holds. If the judgment is yes, execute Step 5103; if the judgment is no, execute Step 5106; Step 5103: and , the monitoring point falls within the B1 area, Y multiply by 0.1 to get , then judge whether holds. If the judgment is yes, execute Step 5104; if the judgment is no, execute Step 5105; Step 5104: The monitoring point has a problem of Y the decimal point being in the wrong position. Replace with Y , and mark the monitoring point as "decimal point error"; Step 5105: The monitoring point is a longitude and latitude recording error point, mark the error; Step 5106: Judge whether holds. If the judgment is yes, execute Step 5107; if the judgment is no, execute Step 51010; Step 5107: and , the monitoring point falls within the B3 area, Y multiply by 0.1 to get , judge whether holds. If the judgment is yes, execute Step 5108; if the judgment is no, execute Step 5109; Step 5108: It shows that the monitoring point has a problem of Y the decimal point being in the wrong position. Replace with Y , and mark the monitoring point as "decimal point error; Step 5109: The monitoring point is a point with incorrect longitude and latitude records, mark it as an error; Step 51010: And , the monitoring point falls within area H, Y After multiplying by 10, we get , judge Whether it holds. If the judgment is yes, execute Step 51011; if the judgment is no, execute Step 51012.

[0032] Step 51011: There is Y a problem with the decimal point position of the monitoring point. Replace with Y , and mark the monitoring point as "decimal point error"; Step 51012: The monitoring point is a point with incorrect longitude and latitude records, mark it as an error.

[0033] The specific operations of Step 512 are as follows: X And Y When both are not within the longitude range and latitude range, the specific operations for correcting the decimal point position are as follows; Step 5121: X And Y are both not within the longitude and latitude ranges, that is And , judge Whether it holds. If the judgment is yes, execute Step 5122; if the judgment is no, execute Step 5127; Step 5122: Judge Whether it holds. If the judgment is yes, execute Step 5123; if the judgment is no, execute Step 5124; Step 5123: , the monitoring point falls within area G1, correct the decimal point position of the monitoring point; Step 5124: , judge Whether it holds. If the judgment is yes, execute Step 5125; if no, execute Step 5126; Step 5125: And , the monitoring point falls within area A7, correct the decimal point position of the monitoring point; Step 5126: And , the monitoring point falls within area A1, correct the decimal point position of the monitoring point; Step 5127: Judge Whether it holds. If the judgment is yes, execute Step 5128; if the judgment is no, execute Step 51213; Step 5128: , determine whether it holds. When the determination is yes, execute step 5129; when the determination is no, execute step 51210; Step 5129: and , the monitoring point falls within the G3 area, correct the decimal point position error of the monitoring point; Step 51210: , determine whether it holds. When the determination is yes, execute step 51211; when the determination is no, execute step 51212; Step 51211: and , the monitoring point falls within the A9 area, the monitoring point is an error point in longitude and latitude recording or reporting, mark the error; Step 51212: and , the monitoring point falls within the A3 area, correct the decimal point position error of the monitoring point; Step 51213: , determine whether it holds. When the determination is yes, execute step 51214; when the determination is no, execute step 51215; Step 51214: and , the monitoring point falls within the I area, correct the decimal point position error of the monitoring point; Step 51215: , determine whether it holds. When the determination is yes, execute step 51216; when the determination is no, execute step 51217; Step 51216: and , the monitoring point falls within the C3 area, correct the decimal point position error of the monitoring point; Step 51217: and , the monitoring point falls within the C1 area, correct the decimal point position error of the monitoring point.

[0034] When the monitoring point falls within the G1 area, the operation to correct the decimal point position error of the monitoring point is as follows: Multiply X by 100 to get , Y Multiply by 10 or 100 to get , if Replace X , replace with Y , and mark the monitoring point as "decimal point error"; if , then this monitoring point is a longitude and latitude recording or reporting error point, mark it as an error; if , replace with X , replace with Y , at the same time, perform longitude and latitude misalignment swapping correction, and mark the monitoring point as "longitude and latitude misalignment and decimal point error"; if , then this monitoring point is a longitude and latitude recording or reporting error point, mark it as an error.

[0035] When the monitoring point falls in areas A7 and A1, the correction operation for the decimal point position of the monitoring point is as follows: Multiply X by 100 to get , Y Multiply by 0.1 to get , replace with X , replace with Y , and mark the monitoring point as "decimal point error"; if , then this monitoring point is a longitude and latitude recording or reporting error point, mark it as an error.

[0036] When the monitoring point falls in area G3, the correction operation for the decimal point position of the monitoring point is as follows: Multiply X by 0.1 to get , Y Multiply by 10 or 100 to get , replace with X , replace with Y , at the same time, perform longitude and latitude misalignment swapping correction, and mark the monitoring point as "longitude and latitude misalignment and decimal point error"; if , then this monitoring point is a longitude and latitude recording or reporting error point, mark it as an error.

[0037] When the monitoring point falls in area A3, the correction operation for the decimal point position of the monitoring point is as follows: Multiply X by 0.1 to get , Y Multiply by 0.1 to get , replace with X , replace with Y , and swap X and YThe numerical value, and mark the monitoring point as "longitude and latitude misalignment and decimal point error"; if after adjustment , then this monitoring point is an error point in longitude and latitude recording or reporting, mark it as an error; If the monitoring point falls in area I, the operation to correct the decimal point position of the monitoring point is as follows: Multiply X by 0.1 to get , Y Multiply by 10 to get , if , replace X with , replace Y , and mark the monitoring point as "decimal point error"; if , then this monitoring point is an error point in longitude and latitude recording or reporting, mark it as an error; if , replace with X , replace with Y , at the same time perform the correction of longitude and latitude misalignment swapping, and mark the monitoring point as "longitude and latitude misalignment and decimal point error"; if , then this monitoring point is an error point in longitude and latitude recording or reporting, mark it as an error.

[0038] If the monitoring point falls in area C3, the operation to correct the decimal point position of the monitoring point is as follows: Multiply X by 0.1 to get , Y Multiply by 0.1 to get , if , replace X with , replace Y , and mark the monitoring point as "decimal point error"; if , then this monitoring point is an error point in longitude and latitude recording or reporting, mark it as an error.

[0039] If the monitoring point falls in area C1, the operation to correct the decimal point position of the monitoring point is as follows: Multiply X by 0.1 to get , Y Multiply , if , replace with X , replace with Y , and mark the monitoring point as "decimal point error"; if , replace with X, replace Instead Y , while performing longitude and latitude misalignment correction and marking the monitoring point as "longitude and latitude misalignment and decimal point error"; if , , then the monitoring point is an error point in longitude and latitude recording or reporting, and mark it as an error.

[0040] The specific operations of step 513 are as follows: X Not within the longitude range and latitude range but Y When within the longitude range, the specific operations for correcting the decimal point position are as follows: Step 51301: X Not within the longitude and latitude ranges but Y Within the longitude range, that is and ; Step 51302: Judge whether holds. If the judgment is yes, execute step 51303; if the judgment is no, execute step 51306; Step 51303: and , the monitoring point falls in area A4. Multiply X by 10 to get , and then judge whether holds. If the judgment is yes, execute step 51304; if the judgment is no, execute step 51305; Step 51304: Replace with X , while performing longitude and latitude misalignment correction and marking the monitoring point as "longitude and latitude misalignment and decimal point error"; Step 51305: The monitoring point is an error point in longitude and latitude recording or reporting, and mark it as an error; Step 51306: Judge whether holds. If the judgment is yes, execute step 51307; if the judgment is no, execute step 51308; Step 51307: and , the monitoring point falls in area A6. Multiply X by 0.1 to get , and then judge whether holds. If the judgment is yes, execute step 51308; if the judgment is no, execute step 51309; Step 51308: Replace with X , while performing longitude and latitude misalignment correction and marking the monitoring point as "longitude and latitude misalignment and decimal point error"; Step 51309: The monitoring point is an error point in longitude and latitude recording or reporting, and mark it as an error; Step 51310: And , when the monitoring point falls within the C2 area, multiply X by 0.1 to obtain , and then determine whether holds. When the determination is yes, execute Step 51311; when the determination is no, execute Step 51312; Step 51311: Replace with X , simultaneously perform longitude and latitude misalignment correction, and mark the monitoring point as "longitude and latitude misalignment and decimal point error"; Step 51312: The monitoring point is a longitude and latitude recording or reporting error point, mark the error.

[0041] The specific operations of Step 516 are as follows: X Within the latitude range, Y Not within the latitude range and Y Not within the longitude range, the specific operations for correcting the decimal point position are as follows: Step 51601: X Within the latitude range but Y Not within the longitude and latitude ranges, that is, And ; Step 51602: Determine whether holds. When the determination is yes, execute Step 51603; when the determination is no, execute Step 51606; Step 51603: And , when the monitoring point falls within the A8 area, multiply X by 10 to obtain , multiply Y by 0.1 to obtain , and then determine whether holds. When the determination is yes, execute Step 51604; when the determination is no, execute Step 51605; Step 51604: Replace with X , replace with Y , and mark the monitoring point as "decimal point error"; Step 51605: The monitoring point is a longitude and latitude recording or reporting error point, mark the error; Step 51606: Determine whether holds. When the determination is yes, execute Step 51607; when the determination is no, execute Step 51610; Step 51607: And , the monitoring point falls within the G2 area, and Y is multiplied by 100 to obtain , and then it is judged whether holds. If the judgment is yes, step 51608 is executed; if the judgment is no, step 51609 is executed; Step 51608: Use to replace Y , and at the same time, perform longitude and latitude misalignment swapping correction, and mark the monitoring point as "longitude and latitude misalignment and decimal point error"; Step 51609: The monitoring point is a longitude and latitude recording or reporting error point, and mark the error; Step 51610: and , if the monitoring point falls within the A2 area, multiply Y by 0.1 to obtain , and then judge whether holds. If the judgment is yes, step 51611 is executed; if the judgment is no, step 51612 is executed; Step 51611: Use to replace Y , and at the same time, perform longitude and latitude misalignment swapping correction, and mark the monitoring point as "longitude and latitude misalignment and decimal point error"; Step 51612: The longitude and latitude are recording or reporting error points, and mark the error.

[0042] The specific operation of the longitude and latitude misalignment swapping correction is as follows: Perform correction according to the following formula: (1) (2) (3) In formula (1), the X value of the monitoring point is placed on A. In formula (2), the Y value of the monitoring point X covers the Y value. In formula (3), the value on A covers the X and Y values are swapped.

[0043] The present invention solves the problems of difficult manual detection and correction of common errors in longitude and latitude recording of monitoring points. Based on the map base map of the monitoring area, it automatically identifies the incorrect longitude and latitude records, classifies and identifies the errors and then corrects them, and marks the pure error monitoring points that cannot be corrected.

[0044] A computer device, comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to implement a method for detecting and correcting abnormal spatial positions of monitoring points.

[0045] For specific cases, refer to Figure 2 : Take the longitude and latitude range of 6.38°N - 36.36°N and 84.35°E - 116.65°E as the monitoring area; Divide the ground into sub-regions according to the four boundaries of the longitude and latitude range; Specifically: Taking the longitude from 84.35°E to 116.65°E and the latitude from 6.38°N to 36.36°N as an example, use 6.38°E, 36.36°E, 84.35°E, and 116.65°E as the division values of longitude respectively, and use 6.38°N, 36.36°N, 84.35°N, and 116.65°N as the division values of latitude respectively, and divide the ground into 25 sub-regions including the actual monitoring area.

[0046] Specific operations in step 53: X and Y At the same time within the longitude range, that is , monitor the point falling in area B2, multiply Y by 0.1 to get , if , replace with Y , and mark the monitoring point as "decimal point error"; or multiply X by 0.1 to get , if , replace with X , and at the same time swap the X and Y values according to formulas (1), (2), and (3), and mark the monitoring point as "longitude and latitude misalignment and decimal point error"; otherwise, X the obtained by multiplying Y by 0.1 and the obtained by multiplying by 0.1 both do not belong to

[0047] Specific operations in step 56: X and Y At the same time within the latitude range, that is , monitor the point falling in area D2, multiply X by 10 to get , if , replace withX , and mark the monitoring point as "decimal point error"; or Y Multiply by 10 to get , if , then Replace Y , and at the same time swap X and Y values according to formulas (1), (2), and (3), and mark the monitoring point as "longitude and latitude dislocation and decimal point error"; conversely, X The and Y obtained by multiplying by 10 both do not belong to , then this monitoring point is an error point in longitude and latitude recording or reporting, and mark it as an error.

[0048] Specific operations in step 58: X Not within the longitude and latitude range but Y within the latitude range, that is and . When , the monitoring point falls in area F, multiply X by 0.1 to get , if , then Replace X , and mark the monitoring point as "decimal point error"; if , then this monitoring point is an error point in longitude and latitude recording or reporting, and mark it as an error. When , the monitoring point falls in area D1, multiply X by 100 to get , if , then Replace X , and mark the monitoring point as "decimal point error"; if , then this monitoring point is an error point in longitude and latitude recording or reporting, and mark it as an error. When , the monitoring point falls in area D3, multiply X by 0.1 to get , multiply Y by 10 to get , if , then Replace X , replace with Y , and at the same time correct the longitude and latitude dislocation by swapping, and mark the monitoring point as "longitude and latitude dislocation and decimal point error"; if or , then the monitoring point is an error point in longitude and latitude recording or reporting, and mark it as an error.

[0049] Specific operations in step 510: X within the longitude range but Y not within the longitude and latitude ranges, that is and : When , the monitoring point falls within area B1, Y multiply by 0.1 to get When , it indicates that there is a problem with the decimal point position of this monitoring point. Replace Y with replace Y , and mark the monitoring point as "decimal point error"; if , then this monitoring point is a longitude and latitude recording error point, mark it as an error.

[0050] When , the monitoring point falls within area B3, Y multiply by 0.1 to get When , it indicates that there is a problem with the decimal point position of this monitoring point. Replace Y with replace Y , and mark the monitoring point as "decimal point error"; if , then this monitoring point is a longitude and latitude recording error point, mark it as an error.

[0051] When , the monitoring point falls within area H, Y multiply by 10 to get When , it indicates that there is a problem with the decimal point position of this monitoring point. Replace Y with replace Y , and mark the monitoring point as "decimal point error"; if , then this monitoring point is a longitude and latitude recording error point, mark it as an error.

[0052] Specific operations in step 512: X and Y are both not within the longitude and latitude ranges, that is and : When , the monitoring point falls within area G1, multiply X by 100 to get , Y multiply by 10 or 100 to get If , replace with X , replace with Y, and mark the monitoring point as "decimal point error"; if , then this monitoring point is an error point in longitude and latitude recording or reporting, mark it as an error; if , replace with X , replace with Y , and at the same time swap X and Y according to formulas (1), (2), and (3), and mark the monitoring point as "longitude and latitude dislocation and decimal point error"; if , then this monitoring point is an error point in longitude and latitude recording or reporting, mark it as an error.

[0053] When , the monitoring point falls in area A7, multiply X by 100 to get , Y multiply by 0.1 to get , if , replace with X , replace with Y , and mark the monitoring point as "decimal point error"; if , then this monitoring point is an error point in longitude and latitude recording or reporting, mark it as an error.

[0054] When , the monitoring point falls in area A1, multiply X by 100 to get , Y multiply by 0.1 to get , if , replace with X , replace with Y , and mark the monitoring point as "decimal point error"; if , then this monitoring point is an error point in longitude and latitude recording or reporting, mark it as an error.

[0055] When , the monitoring point falls in area G3, multiply X by 0.1 to get , Y multiply by 10 or 100 to get , if , replace with X , replace with Y , and at the same time swap X and YThe numerical value, and mark the monitoring point as "longitude and latitude misalignment and decimal point error"; if , then this monitoring point is an error point in longitude and latitude recording or reporting, and mark the error.

[0056] When , the monitoring point falls within area A9, then this monitoring point is an error point in longitude and latitude recording or reporting, and mark the error.

[0057] When , the monitoring point falls within area A3, multiply X by 0.1 to get , Y multiply by 0.1 to get , if , replace X with , replace Y , and at the same time swap X and Y numerical values according to formulas (1), (2), and (3), and mark the monitoring point as "longitude and latitude misalignment and decimal point error"; if after adjustment , then this monitoring point is an error point in longitude and latitude recording or reporting, and mark the error.

[0058] When and , the monitoring point falls within area I, multiply X by 0.1 to get , Y multiply by 10 to get , if , replace X with , replace Y , and mark the monitoring point as "decimal point error"; if , then this monitoring point is an error point in longitude and latitude recording or reporting, and mark the error; if , replace with X , replace with Y , and at the same time swap X and Y numerical values according to formulas (1), (2), and (3), and mark the monitoring point as "longitude and latitude misalignment and decimal point error"; if , then this monitoring point is an error point in longitude and latitude recording or reporting, and mark the error.

[0059] When and , the monitoring point falls within area C3, multiply X by 0.1 to get , YMultiply by 0.1 to get , if , replace with X , replace with Y , and mark the monitoring point as "decimal point error"; if , then this monitoring point is an error point in longitude and latitude recording or reporting, mark it as an error.

[0060] When , the monitoring point falls in area C1, multiply X by 0.1 to get , Y Multiply by 0.1 to get , if , replace with X , replace with Y , and mark the monitoring point as "decimal point error"; if , replace with X , replace with Y , and swap the values of X and Y according to formulas (1), (2), and (3), and mark the monitoring point as "longitude and latitude misalignment and decimal point error"; if , , then this monitoring point is an error point in longitude and latitude recording or reporting, mark it as an error.

[0061] Specific operation of step 513: If X is not within the longitude and latitude range but Y is within the longitude range, that is and . When , the monitoring point falls in area A4, multiply X by 10 to get , if , replace with X , and swap the values of X and Y according to formulas (1), (2), and (3), and mark the monitoring point as "longitude and latitude misalignment and decimal point error"; if , then this monitoring point is an error point in longitude and latitude recording or reporting, mark it as an error. When , the monitoring point falls in area A6, multiply X by 0.1 to get , if , replace with X , and swap the values according to formulas (1), (2), and (3)X and Y the numerical values, and mark the monitoring point as "latitude and longitude dislocation and decimal point error"; if , then this monitoring point is an error point in latitude and longitude recording or reporting, and mark it as an error. When , the monitoring point falls within the C2 area, and X is multiplied by 0.1 to obtain , if , then is used to replace X , and at the same time, according to formulas (1), (2), and (3), X and Y the numerical values are swapped, and the monitoring point is marked as "latitude and longitude dislocation and decimal point error"; if , then this monitoring point is an error point in latitude and longitude recording or reporting, and mark it as an error.

[0062] The specific operation of step 515: X is within the latitude range, Y within the longitude range, when the monitoring point falls within the A5 area, perform the correction of swapping the dislocation of latitude and longitude; The specific operation of step 516: X within the latitude range but Y not within the longitude and latitude ranges, that is and , when , the monitoring point falls within the A8 area, multiply X by 10 to obtain , multiply Y by 0.1 to obtain , if , then is used to replace X , replace with Y , and mark the monitoring point as "decimal point error"; if or , then it is an error point in latitude and longitude recording or reporting, and mark it as an error. When , the monitoring point falls within the G2 area, multiply Y by 100 to obtain , if , then is used to replace Y , and at the same time, according to formulas (1), (2), and (3), swap X and Y the numerical values, and mark the monitoring point as "latitude and longitude dislocation and decimal point error"; if , then it is an error point in latitude and longitude recording or reporting, and mark it as an error. When , the monitoring point falls within the A2 area, multiply Y by 0.1 to obtain , if , then Instead of Y , at the same time, swap according to formulas (1), (2), and (3) X and Y the numerical values, and mark the monitoring point as "latitude and longitude misalignment and decimal point error"; if , then it is a latitude and longitude recording or reporting error point, and mark the error.

[0063] The embodiments of the present invention have been described in detail above in conjunction with the accompanying drawings. However, the present invention is not limited to the above embodiments, and various changes can be made without departing from the spirit of the present invention within the scope of knowledge possessed by those of ordinary skill in the art.

Claims

1. A method for detecting and correcting abnormality in the spatial position of a monitoring point, characterized in that: The following steps are involved: Step 1: Determine the latitude and longitude coordinate range of the monitoring area according to the monitoring task; Step 2: Maximum longitude of the monitoring area X-max , the minimum value of longitude X-min , the maximum value of latitude Y-max , minimum value of latitude Y-min The corresponding degree values ​​are used as the segmentation values ​​of longitude and latitude to divide the ground into 25 sub-areas including the actual monitoring area; Step 3: Determine the longitude of the monitoring point X Whether it falls within the longitude range of the monitoring area ( X-min, X-max ), if the judgment is yes, execute step 4, if the judgment is no, execute step 5; Step 4: Determine the latitude of the monitoring point Y Whether it falls within the latitude range of the monitoring area ( Y-min, Y-max ), if it is judged as yes, the monitoring point falls within the monitoring area and the spatial position of the monitoring point is normal; if it is judged as no, execute step 5; Step 5: Longitude of monitoring points with abnormal spatial positions X ,latitude Y Perform error correction.

2. A method for detecting and correcting abnormality in the spatial position of a monitoring point according to claim 1, characterized in that: Will X-min , X-max , Y-min , Y-max The corresponding degree values ​​are recorded as c, d, a, and b, and a<b<c<d. a, b, c, and d are used as the longitude and latitude division values ​​respectively. Corresponding to the four longitude dividing lines and the four latitude dividing lines, the monitoring area is divided into 25 sub-areas, namely A1, A2, A3, B1, C1, A4, A5, A6, B2, C2, A7, A8, A9, B3, C3, D1, D2, D3, E, F, G1, G2, G3, H and I.

3. A method for detecting and correcting abnormality in the spatial position of a monitoring point according to claim 2, characterized in that: Step 5: Step 51: Judgement X Whether it is within the longitude range, if it is judged to be yes, execute step 52, if it is judged to be no, execute step 54; Step 52: Judgement Y Whether it is within the longitude range, if it is judged to be yes, execute step 53, if it is judged to be no, execute step 59; Step 53: X and Y At the same time, the decimal point position error is corrected when within the longitude range; Step 54: Judgement X Whether it is within the latitude range, if it is judged to be yes, execute step 55, if it is judged to be no, execute step 57; Step 55: Judgement Y Whether it is within the latitude range, if it is judged to be yes, execute step 56, if it is judged to be no, execute step 514; Step 56: X and Y At the same time, the decimal point position error is corrected when within the latitude range; Step 57: Judgement Y Whether it is within the latitude range, if it is judged to be yes, execute step 58, if it is judged to be no, execute step 511; Step 58: X Not within the longitude range and not within the latitude range but Y Correction of decimal point position errors within the latitude range; Step 59: Judgement Y Whether it is within the latitude range, if it is judged to be yes, the spatial position of the monitoring point is normal, if it is judged to be no, execute step 510; Step 510: X Within longitude but Y Correct the decimal point position error when it is not within the longitude and latitude range; Step 511: Determination Y Whether it is within the longitude range, if it is judged to be yes, execute step 513, if it is judged to be no, execute step 512; Step 512: X and Y When both are not within the longitude range and the latitude range, the decimal point position error is corrected; Step 513: X Not within the longitude range and not within the latitude range but Y Correction of decimal point position errors when within the longitude range; Step 514: Determination Y Whether it is within the longitude range, if it is judged to be yes, execute step 515, if it is judged to be no, execute step 516; Step 515: X In the latitude range, Y If the monitoring point is within the longitude range but not within the latitude range, i.e., falls within the A5 area, the longitude and latitude misalignment correction is performed; Step 516: X In the latitude range, Y Not within latitude range Y Corrects decimal point position errors when out of the longitude range.

4. A method for detecting and correcting abnormality in spatial position of monitoring points according to claim 3, characterized in that: The specific operations of step 53 are as follows: X and Y At the same time, the specific operations for correcting the decimal point position error within the longitude range are as follows: Step 531: X and Y At the same time, within the longitude range, that is, , the monitoring point is in the B2 area, Y Multiply by 0.1 to get ,judge Is it established? If it is true, replace Y , and mark the monitoring point as "decimal point error", and if the judgment is no, execute step 532; or, X and Y At the same time, within the longitude range, that is, , the monitoring point is in the B2 area, X Multiply by 0.1 to get ,judge Is it established? If it is true, replace X , and at the same time, the longitude and latitude misalignment is corrected, and the monitoring point is marked as "longitude and latitude misalignment and decimal point error". If the judgment is no, step 532 is executed; Step 532: X Multiply by 0.1 to get and Y Multiply by 0.1 to get None of , then the monitoring point is an error point in longitude and latitude recording or reporting, and is marked as an error.

5. A method for detecting and correcting abnormality in the spatial position of a monitoring point according to claim 4, characterized in that: The specific operations of step 56 are as follows: X and Y At the same time, the specific operations for correcting the decimal point position error within the latitude range are as follows: Step 561: X and Y At the same time, within the latitude range, that is, , the monitoring falls in the D2 area, X Multiply by 10 to get ,judge Is it true? If it is true, replace X , and mark the monitoring point as "decimal point error", and if the judgment is no, execute step 562; or, X and Y At the same time, within the latitude range, that is, , the monitoring falls in the D2 area, Y Multiply by 10 to get ,judge Is it true? If it is true, replace Y , and at the same time, the longitude and latitude misalignment is corrected, and the monitoring point is marked as "longitude and latitude misalignment and decimal point error". If the judgment is no, step 562 is executed; Step 562: X Multiply by 10 to get and Y Multiply by 10 to get None of , then the monitoring point is an error point in longitude and latitude recording or reporting, and is marked as an error.

6. A method for detecting and correcting abnormality in spatial position of monitoring points according to claim 5, characterized in that: The specific operations of step 58 are as follows: X Not within the longitude range and not within the latitude range but Y The specific operations for correcting the decimal point position error within the latitude range are as follows: Step 581: X Not within the longitude range and not within the latitude range but Y In the latitude range, and ; Step 582: Determination If the answer is yes, execute step 583; if the answer is no, execute step 586; Step 583: and , the monitoring point falls in area F, X Multiply by 0.1 to get , and then judge If the answer is yes, execute step 584; if the answer is no, execute step 585; Step 584: replace X , and mark the monitoring point as "decimal point error"; Step 585: the monitoring point is a latitude and longitude record or reporting error point, and an error is marked; Step 586: Determination If the answer is yes, execute step 587; if the answer is no, execute step 5810; Step 587: and , the monitoring point falls in the D1 area, X Multiply by 100 to get , and then judge If the answer is yes, execute step 588; if the answer is no, execute step 589; Step 588: replace X , and mark the monitoring point as "decimal point error"; Step 589: the monitoring point is a latitude and longitude recording or reporting error point, and an error is marked; Step 5810: and , the monitoring point falls in the D3 area, X Multiply by 0.1 to get ,Will Y Multiply by 10 to get , and then judge If the answer is yes, execute step 5811; if the answer is no, execute step 5812; Step 5811: replace X ,Will replace Y , and correct the misalignment of longitude and latitude at the same time, and mark the monitoring point as "misalignment of longitude and latitude and decimal point error"; Step 5812: The monitoring point is the latitude and longitude recording or reporting error point, and the error is marked.

7. A method for detecting and correcting abnormality in spatial position of monitoring points according to claim 3, characterized in that: The specific operations of step 510 are as follows: X Within longitude but Y When the decimal point position is not within the longitude range or latitude range, the specific operations are as follows: Step 5101: X Within longitude but Y Not within the longitude and latitude range, that is and ; Step 5102: Determination If the answer is yes, execute step 5103; if the answer is no, execute step 5106; Step 5103: and , the monitoring point is located in the B1 area, Y Multiply by 0.1 to get , and then judge If the answer is yes, execute step 5104; if the answer is no, execute step 5105; Step 5104: Monitoring point exists Y The decimal point is in the wrong place. replace Y , and mark the monitoring point as "decimal point error"; Step 5105: the monitoring point is an error point in longitude and latitude recording, and an error is marked; Step 5106: Determination If the answer is yes, execute step 5107; if the answer is no, execute step 51010; Step 5107: and , the monitoring point is located in the B3 area, Y Multiply by 0.1 to get ,judge If the answer is yes, execute step 5108; if the answer is no, execute step 5109; Step 5108: Indicate that the monitoring point exists Y The decimal point is in the wrong place. replace Y , and mark the monitoring point as "decimal point error; Step 5109: the monitoring point is an error point in longitude and latitude recording, and is marked as an error; Step 51010: and , the monitoring point falls in the H area, Y Multiply by 10 and you get ,judge If the answer is yes, execute step 51011; if the answer is no, execute step 51012; Step 51011: Monitoring point exists Y The decimal point is in the wrong place. replace Y , and mark the monitoring point as "decimal point error"; Step 51012: The monitoring point is an erroneous point in longitude and latitude recording, and is marked as an error.

8. The method for detecting and correcting abnormality in the spatial position of a monitoring point according to claim 3, characterized in that: The specific operations of step 512 are as follows: X and Y When both are not within the longitude range and the latitude range, the specific operations for correcting the decimal point position error are as follows; Step 5121: X and Y are not within the range of longitude and latitude, that is and ,judge If the answer is yes, execute step 5122; if the answer is no, execute step 5127; Step 5122: Determination If the answer is yes, execute step 5123; if the answer is no, execute step 5124; Step 5123: , the monitoring point falls in the G1 area, and the decimal point position error of the monitoring point is corrected; Step 5124: ,judge If the answer is yes, execute step 5125; if not, execute step 5126; Step 5125: and , the monitoring point falls in the A7 area, and the decimal point position error of the monitoring point is corrected; Step 5126: and , the monitoring point falls in the A1 area, and the decimal point position error of the monitoring point is corrected; Step 5127: Determination If the answer is yes, execute step 5128; if the answer is no, execute step 51213; Step 5128: ,judge If the answer is yes, execute step 5129; if the answer is no, execute step 51210; Step 5129: and , the monitoring point falls in the G3 area, and the decimal point position error of the monitoring point is corrected; Step 51210: ,judge If the answer is yes, execute step 51211; if the answer is no, execute step 51212; Step 51211: and ,The monitoring point falls in the A9 area, and the monitoring point is a point where the latitude and longitude are recorded or reported incorrectly, and the mark is wrong; Step 51212: and , the monitoring point falls in the A3 area, and the decimal point position error of the monitoring point is corrected; Step 51213: ,judge If the answer is yes, execute step 51214; if the answer is no, execute step 51215; Step 51214: and , the monitoring point falls in area I, and the decimal point position error of the monitoring point is corrected; Step 51215: ,judge If the answer is yes, execute step 51216; if the answer is no, execute step 51217; Step 51216: and , the monitoring point falls in the C3 area, and the decimal point position error of the monitoring point is corrected; Step 51217: and , the monitoring point falls in the C1 area, and the decimal point position error of the monitoring point is corrected.

9. A method for detecting and correcting abnormality in spatial position of monitoring points according to claim 6, characterized in that: The specific operations of step 513 are as follows: X Not within the longitude range and not within the latitude range but Y The specific operations for correcting the decimal point position error within the longitude range are as follows: Step 51301: X Not within the longitude and latitude range but Y In the longitude range, that is and ; Step 51302: Determination If the answer is yes, execute step 51303; if the answer is no, execute step 51306; Step 51303: and , the monitoring point is in the A4 area, X Multiply by 10 to get , and then judge If the answer is yes, execute step 51304; if the answer is no, execute step 51305; Step 51304: replace X , and correct the misalignment of longitude and latitude at the same time, and mark the monitoring point as "misalignment of longitude and latitude and decimal point error"; Step 51305: the monitoring point is a latitude and longitude recording or reporting error point, and an error is marked; Step 51306: Determination If the answer is yes, execute step 51307; if the answer is no, execute step 51308; Step 51307: and , the monitoring point is in the A6 area, X Multiply by 0.1 to get , and then judge If the answer is yes, execute step 51308; if the answer is no, execute step 51309; Step 51308: replace X , and correct the misalignment of longitude and latitude at the same time, and mark the monitoring point as "misalignment of longitude and latitude and decimal point error"; Step 51309: the monitoring point is a latitude and longitude recording or reporting error point, and an error is marked; Step 51310: and , the monitoring point falls in the C2 area, X Multiply by 0.1 to get , and then judge If the answer is yes, execute step 51311; if the answer is no, execute step 51312; Step 51311: replace X , and correct the misalignment of longitude and latitude at the same time, and mark the monitoring point as "misalignment of longitude and latitude and decimal point error"; Step 51312: The monitoring point is a latitude and longitude record or reporting error point, and the error is marked.

10. A method for detecting and correcting abnormality in spatial position of monitoring points according to claim 9, characterized in that: The specific operations of step 516 are as follows: X In the latitude range, Y Not within the latitude range and Y When the longitude is not within the range, the specific operation to correct the decimal point position error is as follows: Step 51601: X Within the latitude range Y Not within the longitude and latitude range, that is and ; Step 51602: Determination If the answer is yes, execute step 51603; if the answer is no, execute step 51606; Step 51603: and The monitoring point is located in the A8 area. X Multiply by 10 to get ,Will Y Multiply by 0.1 to get , and then judge If the answer is yes, execute step 51604; if the answer is no, execute step 51605; Step 51604: replace X ,Will replace Y , and mark the monitoring point as "decimal point error"; Step 51605: the monitoring point is a latitude and longitude recording or reporting error point, and an error is marked; Step 51606: Determination If the answer is yes, execute step 51607; if the answer is no, execute step 51610; Step 51607: and , the monitoring point falls in the G2 area, Y Multiply by 100 and you get , and then judge If the answer is yes, execute step 51608; if the answer is no, execute step 51609; Step 51608: replace Y , and correct the misalignment of longitude and latitude at the same time, and mark the monitoring point as "misalignment of longitude and latitude and decimal point error"; Step 51609: the monitoring point is a latitude and longitude recording or reporting error point, and an error is marked; Step 51610: and , the monitoring point falls in area A2, Y Multiply by 0.1 to get , and then judge If the answer is yes, execute step 51611; if the answer is no, execute step 51612; Step 51611: replace Y , and correct the misalignment of longitude and latitude at the same time, and mark the monitoring point as "misalignment of longitude and latitude and decimal point error"; Step 51612: Record or report the error point in latitude and longitude, and mark the error.

11. A method for detecting and correcting abnormality in spatial position of monitoring points according to claim 10, characterized in that: The specific operations for correcting the misalignment of longitude and latitude are as follows: Correction is done according to the following formula: (1) (2) (3) Formula (1) converts the monitoring point X The value is placed on A, and formula (2) converts the monitoring point Y Value Override X Value, formula (3) covers the value on A Y After being processed by formulas (1), (2) and (3), the value X and Y Swap the values.

12. A computer device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method for detecting and correcting the spatial position anomaly of a monitoring point as described in any one of claims 1 to 11.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for detecting and correcting the abnormality of the spatial position of a monitoring point described in any one of claims 1 to 11 is implemented.