Contour line and planar water system falling-into-water inspection system and method

By extracting data from contour lines and surface water systems, conducting spatial intersection judgment and calculation of flowing water surface center lines, the problem of inspection of intersection between contour lines and surface water systems is solved, the data accuracy and completeness of the quality inspection system are improved, and application reliability and work efficiency are enhanced.

CN120179751APending Publication Date: 2025-06-20自然资源部第二地形测量队
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510269872.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-07
Publication Date
2025-06-20

AI Technical Summary

Technical Problem

It is difficult for the prior art to effectively check the intersection of contour lines and surface water systems, especially when surface water systems are allowed to be crossed, it is difficult to clearly distinguish the intersection of contour lines and surface water systems.

Method used

A system and method for underwater inspection of contour lines and surface water systems are provided. By extracting data of contour lines and surface water systems, performing spatial intersection judgments, calculating the center line of the flowing water surface, and judging the span or fall of the contour lines based on the positional relationship of the intersection segments.

Benefits of technology

It improves data accuracy, improves the quality inspection system of geographic information data, enhances the application reliability of terrain data, improves work efficiency, and promotes the development of terrain analysis technology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120179751A_ABST
    Figure CN120179751A_ABST
Patent Text Reader

Abstract

The invention relates to a contour line and planar water system falling-into-water inspection system and method, and belongs to the field of geographic information and terrain analysis. The system fills the current blank in the aspect of planar water system and contour line inspection, perfects the quality inspection system of geographic information data, and can more accurately discover and correct errors in contour line data by specially inspecting the intersection condition of the contour line and the planar water system, thereby improving the accuracy of topographic data and improving the accuracy of the topographic data. More reliable data support is provided for various applications based on topographic data, such as a geographic information system, engineering planning and environmental evaluation, decision errors caused by data errors are reduced, a judgment standard and an inspection process of the intersection condition of the contour line and the planar water system are clarified and standardized, the efficiency and consistency of quality inspection work are improved, and the quality inspection efficiency is improved. A new thought and method are provided for technical research and development in related fields, and continuous progress of a terrain analysis technology is promoted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of geographic information and terrain analysis, and particularly relates to a contour line and planar water system falling water inspection system and method. Background Art

[0002] Contour lines refer to the closed curves formed by connecting adjacent points with the same height on a topographic map. The closed curves connecting points with the same elevation on the ground are vertically projected onto a horizontal plane and scaled and drawn on the drawing according to a ratio to obtain contour lines.

[0003] In the field of geographic information and terrain analysis, contour lines play a crucial role and are key elements for accurately expressing terrain and landforms. However, there are still many deficiencies in the current research and practice regarding the inspection of contour lines. Currently, there are few publicly available technologies for the inspection of contour lines and water systems; Wang Hui et al. mentioned the inspection of water curve contradictions in "Research on Automated Online Quality Inspection for Massive Geomorphic Data", but this inspection only targets single-line water systems and does not conduct inspections on planar water systems.

[0004] For the inspection of planar water systems, the main difficulty lies in that planar water systems are allowed to be crossed, but it is difficult to clearly distinguish the intersection situation between contour lines and planar water systems. Summary of the Invention

[0005] The purpose of the present invention is to provide a contour line and planar water system falling water inspection system and method to solve the above problems.

[0006] To achieve the above purpose, the present invention provides the following technical solutions: A contour line and planar water system falling water inspection method, comprising the following steps: S1: Extract contour lines, and extract all index contours, primary contours, and intermediate contours from the data according to GB codes; S2: Select all flowing water surfaces and static water surfaces of the planar water system, and merge all planar water systems; S3: Select the contour lines intersecting with the planar water system; S4: Use the selected contour lines to perform a spatial intersection judgment with the planar water system before merging to obtain all the planar water systems intersecting with the contour lines; S5: Perform a spatial intersection operation on the planar water system and the contour line data to obtain the intersecting line segments; record the national standard code of the planar water system in the intersecting line segments and record it as the HGB attribute; S6: Obtain the flowing water surfaces intersecting with the contour lines, and calculate the center lines of the flowing water surfaces; S7: Judge the intersecting line segments obtained in step S5. If the HGB attribute in the intersecting line segments is a static water surface, include the intersecting line segments in the error inspection temporary variable; If the HGB attribute of the intersecting line segment is flowing water surface, determine the position of the intersecting line segment relative to the river centerline, obtain the two endpoints of the intersecting line segment, and judge along the positive direction of the river centerline (from the starting point to the ending point). If the two endpoints are on one side of the river centerline, it is determined to fall in, and the intersecting line segment is included in the error-checking temporary variable; If the two endpoints are respectively on the left and right sides of the river centerline, it is determined to span, indicating that the river flows from a high place to a low place, which is a normal situation and is not included in the error-checking temporary variable; S8: Output the error-checking temporary variable as the inspection result.

[0007] Furthermore, the flowing water surface includes rivers, canals, main irrigation canals, seasonal rivers, and dried-up rivers, and the static water surface includes lakes, reservoirs, ponds, seasonal lakes, and dried-up lakes.

[0008] The present invention also provides a contour line and planar water system falling water inspection system, which is applied to the above-mentioned contour line and planar water system falling water inspection method.

[0009] The beneficial effects of the present invention are as follows: 1. Improve data accuracy: By specifically checking the intersection of contour lines and planar water systems, errors in contour line data can be more accurately detected and corrected, thereby improving the accuracy of terrain data.

[0010] 2. Improve the quality inspection system: Fill the gap in the current inspection of planar water systems and contour lines, and improve the quality inspection system of geographic information data.

[0011] 3. Enhance application reliability: Provide more reliable data support for various applications based on terrain data, such as geographic information systems, engineering planning, and environmental assessment, and reduce decision-making errors caused by data errors.

[0012] 4. Improve work efficiency: Define and standardize the judgment criteria and inspection process for the intersection of contour lines and planar water systems, which helps to improve the efficiency and consistency of quality inspection work.

[0013] 5. Promote technological development: Provide new ideas and methods for technical research and development in related fields, and promote the continuous progress of terrain analysis technology.

[0014] The above description is only an overview of the technical solution of the present invention. In order to be able to understand the technical means of the present invention more clearly and implement it according to the content of the specification, the following takes the preferred embodiments of the present invention and combines with the attached drawings to describe in detail as follows. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 It is a schematic diagram of a contour line correctly spanning a flowing water system surface; Figure 2 Schematic diagram of contour lines falling into flowing water surface Figure 3 Schematic diagram of contour lines falling into static water surface Figure 4 Flow chart of contour lines and planar water system water entry inspection system shown in the present invention Figure 5 Schematic diagram of correct spanning judgment of contour lines and planar water system water entry inspection system shown in the present invention Figure 6 Schematic diagram of incorrect falling judgment of contour lines and planar water system water entry inspection system shown in the present invention Figure 7 Result schematic diagram of inspection interface of contour lines and planar water system water entry inspection system shown in the present invention Detailed implementation manners

[0016] Next, the technical solutions of the present invention will be clearly and completely described in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0017] In the description of the present invention, it should be noted that the orientation or positional relationship indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. is based on the orientation or positional relationship shown in the accompanying drawings. It is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be construed as a limitation of the present invention. In addition, the terms "first", "second", "third" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance.

[0018] In addition, the technical features involved in different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0019] First of all, it is necessary to explain the proprietary terms in this field: 1. Flowing water surface Rivers, canals, main canals, ephemeral rivers, dry rivers, etc. are flowing water surfaces. Contour lines are only allowed to span and are not allowed to fall into flowing water surfaces.

[0020] 2. Static water surface Static water surfaces (lakes, reservoirs, ponds, ephemeral lakes, dry lakes, etc.), contour lines are not allowed to fall into.

[0021] 3. Span It indicates that contour lines are allowed to cross flowing water surfaces; when a contour line crosses the center line of a planar river, etc. represented by double lines to scale, that is, when the two endpoints of the line segment where the contour line intersects the water system surface are respectively on both sides of the river center line, it is a normal and reasonable crossing. Otherwise, it is judged as an error output. Please refer to Figure 1 。

[0022] 4. Falling into It indicates that contour lines are not allowed to fall into water system surface elements, where: When a contour line falls into a flowing water surface (such as a river), and intersects with the water surface only on the same side of the river, it is judged as falling in and an error is output; the contour line falling into a flowing water surface is as Figure 2 shown; When a contour line falls into a static water surface (such as a lake), and shows an intersection with the water surface, it is judged as falling in and an error is output; the contour line falling into a static water surface is as Figure 3 shown.

[0023] Please refer to Figures 4 - 7 , the method for checking the fall of contour lines and planar water systems shown in this application includes the following steps: 1: Contour line extraction, extract all index contours, first contours, intermediate contours, etc. from the data according to GB code.

[0024] 2: Select all flowing water surfaces and static water surfaces of the planar shape. Flowing water surfaces include rivers, canals, main canals, ephemeral rivers, dry rivers, etc., and static water surfaces include lakes, reservoirs, ponds, ephemeral lakes, dry lakes, etc., and merge all planar water systems.

[0025] 3: Select the contour lines that intersect with the planar water system.

[0026] 4: Considering that the water system surface may be broken between map margins, use the selected contour lines to perform a spatial intersection judgment with the planar water system before merging to obtain all the planar water systems that intersect with the contour lines. In this step, due to the large data scale, as few planar water systems as possible should be selected to generate the center line, so as to reduce the memory consumption.

[0027] 5: Perform a spatial intersection operation on the water system surface and the contour line data to obtain the intersecting line segments; record the national standard code of the water system surface in the intersecting line segments and record it as the HGB attribute.

[0028] 6: Obtain the flowing water surfaces that intersect with the contour lines and calculate the center lines of the flowing water surfaces.

[0029] 7: Loop through the intersecting line segments generated in step 5.

[0030] If the HGB attribute in the intersecting line segment is a static water surface, include the intersecting line segment in the error check temporary variable.

[0031] 8: If the HGB attribute of the intersecting line segment is flowing water surface, it is necessary to perform crossing and falling judgment. The judgment logic for crossing and falling of the flowing water surface is as follows: It mainly lies in determining the position of the intersecting line segment relative to the river center line. The specific process is to obtain the two endpoints of the intersecting line segment and make a judgment along the positive direction of the river center line (from the starting point to the ending point), which is divided into two cases: both endpoints are on one side of the river center line, or are respectively on the left and right sides of the river center line. If both endpoints are on one side of the river center line, it is judged as falling, and the intersecting line segment is included in the error-checking temporary variable; if the two endpoints are respectively on the left and right sides of the river center line, it is judged as crossing, indicating that the river flows from a high place to a low place, which is a normal situation and is not included in the error-checking temporary variable.

[0032] 9: Loop to step 7 until the end.

[0033] 10: Output the error-checking temporary variable as the inspection result.

[0034] In summary, after integrating and processing the data information of contour lines and planar water systems, the present invention makes a spatial intersection judgment according to the intersection situation, and judges the crossing and falling of the contour lines according to the center line and the intersection situation after calculating the center line of the planar water system, filling the gap in the current inspection of planar water systems and contour lines, and improving the quality inspection system of geographic information data.

[0035] The technical features of the above-described embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.

[0036] The above-described embodiments merely represent several implementation manners of the present invention, and their descriptions are relatively specific and detailed, but should not be construed as a limitation on the scope of the invention patent. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present invention, several modifications and improvements can still be made, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the present invention patent shall be subject to the appended claims.

Claims

1. A method for inspecting water fall in contour lines and planar water systems, characterized in that: The following steps are involved: S1: Extract contour lines, extract all counting curves, first curves, and intermediate curves in the data according to GB code; S2: Select all the flowing water surfaces and still water surfaces, and merge all the surface water systems; S3: Select the contour lines that intersect with the surface water system; S4: Using the selected contour lines and the surface water system before merging to perform spatial intersection judgment, so as to obtain all surface water systems intersecting with the contour lines; S5: Perform spatial intersection operation on the surface water system and the contour line data to obtain the intersecting line segments; The national standard code of the planar water system is recorded in the intersecting line segment and recorded as the HGB attribute; S6: Obtain the flowing water surface intersecting with the contour line and calculate the center line of the flowing water surface; S7: judging the intersecting line segment obtained in step S5, if the HGB attribute in the intersecting line segment is still water surface, counting the intersecting line segment into the temporary variable for error checking; If the HGB attribute of the intersecting line segment is flowing water surface, determine the position of the intersecting line segment relative to the center line of the river, obtain the two endpoints of the intersecting line segment, and make a judgment along the positive direction of the center line of the river (from the starting point to the end point). If the two endpoints are on one side of the center line of the river, it is determined to fall into the center line, and the intersecting line segment is counted into the temporary variable for error checking; If the two endpoints are located on the left and right sides of the center line of the river, it is considered as crossing, indicating that the river flows from high to low, and is not counted in the error check temporary variable; S8: Output the error check temporary variable as the check result.

2. The method for inspecting water fall of contour lines and planar water systems according to claim 1, characterized in that: The flowing water surface includes rivers, canals, main channels, seasonal rivers, and dry rivers; the still water surface includes lakes, reservoirs, ponds, seasonal lakes, and dry lakes.

3. A system for detecting water fall in contour and surface water system, characterized in that: Applicable to the method for inspecting water fall of contour lines and surface water systems as described in any one of claims 1-2.