Three-dimensional pipe network generation method for well lid fitting terrain
By correcting the position of the pipe points and manhole covers, a three-dimensional pipe network model with manhole covers fitting to the terrain is generated, which solves the problem of mismatch between the pipe network model and the terrain in the existing technology, and achieves seamless integration and high-quality pipe network and terrain. Visualization.
Patent Information
- Application Number
- CN202411507780.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-28
- Publication Date
- 2025-01-03
AI Technical Summary
When integrating with the GIS of the geographic information system, the existing three-dimensional pipeline model does not take into account the accuracy of the terrain data, resulting in the pipeline model not matching the terrain, affecting the visualization effect and data integration, making it difficult to conduct spatial analysis.
By correcting the ground elevation and slope of the pipe points, filtering and adjusting the position of the manhole cover, and using parameterized modeling to generate a three-dimensional pipeline model with manhole covers fitting the terrain to ensure the matching of the pipeline and terrain data.
It realizes seamless connection between the pipeline model and the terrain, improves the visualization effect and user experience, enhances the visualization of GIS data integration, and solves the problem of display inconsistency.
Smart Images

Figure CN119249669A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of geographic information, and relates to generating a three-dimensional model of underground pipelines, and specifically to a method for generating a three-dimensional pipeline network with a manhole cover fitting the terrain. Background Art
[0002] With the acceleration of urbanization and the continuous improvement of pipeline network facilities, underground pipeline network systems have become increasingly complex and large. These pipeline network systems not only carry important functions such as water supply, drainage, gas, and electricity in the city, but are also the lifeline of urban operation and development. Traditional pipeline network management mainly relies on two-dimensional maps, which has many limitations. First, two-dimensional maps are difficult to intuitively reflect the three-dimensional structure and spatial relationship of the pipeline network, which makes it difficult for designers and maintenance personnel to understand the layout of the pipeline network. Secondly, two-dimensional maps are not intuitive enough and it is difficult to reflect the three-dimensional topological information of the pipeline network and conduct spatial analysis.
[0003] The parametric modeling of the vascular network establishes a three-dimensional model of the pipeline network through geometric and attribute parameters, which can accurately describe and manage the pipeline network. It can not only display the various elements in the pipeline network system, such as pipelines, pipe points, valves, equipment, etc., in the form of three-dimensional entities, improve work efficiency and accuracy, but also realize flexible adjustment and update of pipeline network attributes through parametric methods, making the modification and update of pipeline network attributes simple and fast. However, when the current three-dimensional pipeline network model is integrated with the geographic information system GIS, since the accuracy of terrain data is not considered in the parametric modeling of the pipeline network, the generated pipeline network model often does not fit the terrain data. The pipeline network is usually higher or lower than the terrain height, and the pipeline network and terrain display are inconsistent, making the final displayed model visually discontinuous or distorted, affecting the user experience. In addition, the mismatch between models may cause the analysis or query function based on the superimposed data to fail to operate normally, the pipeline network and the terrain cannot match, and the final visualization effect may appear confusing, unreal or difficult to understand, reducing the user's understanding and trust in the data. Summary of the invention
[0004] In order to overcome the shortcomings of the above-mentioned prior art, the purpose of the present invention is to provide a method for generating a three-dimensional pipe network in which a manhole cover fits the terrain. The method is applied to realize parametric modeling of pipe network data fused with terrain data, so that the three-dimensional pipe network and terrain display are consistent, and it has the characteristics of complete visualization function and high data integration.
[0005] In order to achieve the above object, the technical solution adopted by the present invention is: A method for generating a three-dimensional pipe network with a manhole cover conforming to the terrain, characterized by comprising the following steps: Step 1, prepare to input vector pipeline data, pipeline point data, and terrain data; Step 2, correct the ground elevation of the control point according to the terrain data in step 1, read the control point data and terrain data in step 1, query the terrain elevation of the corresponding coordinate point on the terrain data according to the XY coordinates of the control point data, record the terrain elevation as the ground elevation of the control point, calculate the slope of the coordinate point, and save the terrain elevation and slope to the control point attributes; Step 3: Filter out the pipe points with manhole covers as attachments according to the pipe point data in step 2, and export GeoJSON, including the pipe point's ID, XY coordinates, and the pipe point's corrected ground height, the pipe point's slope, the well depth, and the size of the manhole cover; Step 4: Visualize the GeoJSON data of the pipe point well in step 3 and overlay the terrain data in step 1, and adjust the manhole cover manually; Step 5: Associate the pipeline point data and correct the starting and ending elevations of the pipeline. Read the pipeline data, including the pipeline number, starting number, ending number, starting depth, ending depth, starting elevation and ending elevation. Match the number of the pipeline point according to the starting number and ending number to obtain the corrected ground elevation of the corresponding pipeline point. The corrected elevation of the starting or ending point of the pipeline is recorded as fix_evt, the burial depth is d, and the corrected elevation of the pipeline point is h. Then: fix_evt = hd; The above formula is the corrected elevation of the starting point or end point of the pipeline. The corrected elevation of the starting point and end point of the pipeline is saved in the attribute. Step 6, use the above-corrected pipe point and pipeline data to generate a three-dimensional pipe network through parametric modeling, and obtain a three-dimensional pipeline with the manhole cover fitting the terrain.
[0006] The manual interactive adjustment of the manhole cover in step 4 includes the following steps: 4-1. Visualize the pipe point data wells in step 3, overlay terrain data, and manually interact to check whether the well location and the height of the well cover fit the terrain surface; 4-2. In step 2, the ground height of the well has been processed to fit the terrain. Only a few manhole covers do not fit the terrain. This is caused by the excessive slope of the terrain where the pipe point is located. The pipe points with a slope greater than the threshold are selected to check whether the manhole cover does not fit the terrain. The manhole cover elevation is adjusted by dragging the mouse, and the adjusted ground elevation is saved as the ground elevation of the pipe point and saved in the pipe point attribute information; the source of the pipeline network vector data can be a database or a vector file shp, and the terrain data can be an elevation DEM file or a terrain tile Heightmap or Quantized-mesh.
[0007] The step 4 corrects the ground elevation of the control point according to the terrain data, including obtaining the terrain elevation as the ground elevation of the control point by intersecting the coordinates of the control point data with the terrain data; and obtaining the terrain slope value as the slope of the control point by intersecting the coordinates of the control point data with the terrain data.
[0008] Each point of the pipe point attribute data has a unique identifier, that is, a number. Each line of the pipeline data marks the pipe point numbers of the starting point and the end point. The pipeline searches for the pipe point based on the starting point and the end point numbers and associates them with each other.
[0009] The beneficial effects of the present invention are: 1. The manhole covers of the generated pipe network model fit the terrain closely and are seamlessly connected with the terrain data. The visualization effect of the pipe network model is more realistic and convenient for users to use and browse, which improves users' understanding of the data.
[0010] 2. The generated pipe network model can be displayed superimposed with terrain data, which enhances the visualization of GIS data integration, facilitates spatial analysis and overlay analysis of pipe networks and terrain, and is easy for users to understand and accept.
[0011] 3. The present invention points out the key issues of current pipe network data modeling and other data integration, so that the pipe network modeling data can be integrated with the terrain data, thus avoiding the problem of inconsistent display; 4. The present invention provides a complete process for fitting a three-dimensional pipe network manhole cover to the ground, and points out the key points of the detailed technical route. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 It is the overall flow chart of the present invention.
[0013] Figure 2 The human interaction of the present invention is to manually adjust the elevation of the manhole cover.
[0014] Figure 3 This is the parameterized modeling effect of the present invention. DETAILED DESCRIPTION
[0015] The present invention will be further described below with reference to the accompanying drawings, i.e., embodiments.
[0016] like Figure 1 As shown, a three-dimensional pipe network generation technology for manhole covers fitting the terrain includes the following steps: Step 1, prepare to input vector pipeline data, pipeline point data, and terrain data; Step 2, correct the ground elevation of the control point according to the terrain data in step 1, read the control point data and terrain data in step 1, query the terrain elevation of the corresponding coordinate point on the terrain data according to the XY coordinates of the control point data, record the terrain elevation as the ground elevation of the control point, calculate the slope of the coordinate point, and save the terrain elevation and slope to the control point attributes; Step 3: Filter out the pipe points with manhole covers as attachments according to the pipe point data in step 2, and export GeoJSON, where GeoJSON contains the pipe point's ID, XY coordinates, and the pipe point's corrected ground height, the pipe point's slope, the well depth, and the size of the manhole cover; Step 4, such as Figure 2 As shown in the figure, the GeoJSON data of the pipe point well in step 3 is visualized and the terrain data in step 1 is superimposed. The elevation of the manhole cover is adjusted interactively, which includes the following steps: 4-1. Visualize the pipe point data wells in step 3, overlay terrain data, and manually interact to check whether the well location and the height of the well cover fit the terrain surface. 4-2. In step 2, the ground height of the well has been processed to fit the terrain. Only a few manhole covers do not fit the terrain. This is caused by the terrain slope of the pipe point being too large. Select the pipe points with a slope greater than the threshold to check whether the manhole cover does not fit the terrain. Adjust the manhole cover elevation by dragging the mouse, save the adjusted ground elevation as the ground elevation of the pipe point, and save it in the pipe point attribute information; Step 5: Associate the pipeline point data and correct the starting and ending elevations of the pipeline. Read the pipeline data, including the pipeline number, starting number, ending number, starting depth, ending depth, starting elevation and ending elevation. Match the number of the pipeline point according to the starting number and ending number to obtain the corrected ground elevation of the corresponding pipeline point. The corrected elevation of the starting or ending point of the pipeline is recorded as fix_evt, the burial depth is d, and the corrected elevation of the pipeline point is h. Then: fix_evt = hd; The above formula is the corrected elevation of the starting point or end point of the pipeline. The corrected elevation of the starting point and end point of the pipeline is saved in the attribute. Step 6: Use the pipeline and pipe point data from step 5 to perform parametric modeling. The modeling effect is as follows: Figure 3 shown.
Claims
1. A method for generating a three-dimensional pipe network with a manhole cover conforming to the terrain, characterized in that: The following steps are involved: Step 1, prepare to input vector pipeline data, pipeline point data, and terrain data; Step 2, correct the ground elevation of the control point according to the terrain data in step 1, read the control point data and terrain data in step 1, query the terrain elevation of the corresponding coordinate point on the terrain data according to the XY coordinates of the control point data, record the terrain elevation as the ground elevation of the control point, calculate the slope of the coordinate point, and save the terrain elevation and slope to the control point attributes; Step 3: Filter out all pipe points with manhole covers based on the pipe point data obtained in step 2 according to the feature and accessory attribute fields, and export GeoJSON, including the pipe point ID, XY coordinates, and the corrected ground height of the pipe point, the slope of the pipe point, the well depth, and the size of the manhole cover; Step 4: Visualize the GeoJSON data of the pipe point well in step 3 and overlay the terrain data in step 1, and adjust the manhole cover manually; Step 5: Associate the pipeline point data and correct the starting and ending elevations of the pipeline. Read the pipeline data, including the pipeline number, starting number, ending number, starting depth, ending depth, starting elevation and ending elevation. Match the number of the pipeline point according to the starting number and ending number to obtain the corrected ground elevation of the corresponding pipeline point. The corrected elevation of the starting or ending point of the pipeline is recorded as fix_evt, the burial depth is d, and the corrected elevation of the pipeline point is h. Then: fix_evt = hd; The above formula is the corrected elevation of the starting point or end point of the pipeline. The corrected elevation of the starting point and end point of the pipeline is saved in the attribute. Step 6, use the above-corrected pipe point and pipeline data to generate a three-dimensional pipe network through parametric modeling, and obtain a three-dimensional pipeline with the manhole cover fitting the terrain.
2. A method for generating a three-dimensional pipe network with a manhole cover conforming to the terrain according to claim 1, characterized in that: Each point of the pipe point attribute data has a unique identifier, that is, a number. Each line of the pipeline data marks the pipe point numbers of the starting point and the end point. The pipeline searches for the pipe point based on the starting point and the end point numbers and associates them with each other.
3. The method for generating a three-dimensional pipe network with a manhole cover conforming to the terrain according to claim 1, characterized in that: In step 4, the manhole cover is adjusted manually interactively, which includes the following steps: 4-1. Visualize the pipe point data wells in step 3, overlay terrain data, and manually interact to check whether the well location and the height of the well cover fit the terrain surface; 4-2. In step 2, the ground height of the well has been processed to fit the terrain. Only a few manhole covers do not fit the terrain. This is caused by the excessive slope of the terrain where the pipe point is located. The pipe points with a slope greater than the threshold are selected to check whether the manhole cover does not fit the terrain. The manhole cover elevation is adjusted by dragging the mouse, and the adjusted ground elevation is saved as the ground elevation of the pipe point and saved in the pipe point attribute information; the source of the pipeline network vector data can be a database or a vector file shp, and the terrain data can be an elevation DEM file or a terrain tile Heightmap or Quantized-mesh.
4. A method for generating a three-dimensional pipe network with a manhole cover conforming to the terrain according to claim 3, characterized in that: Step 4 corrects the ground elevation of the control point according to the terrain data, including obtaining the terrain elevation as the ground elevation of the control point by intersecting the coordinates of the control point data with the terrain data, and obtaining the terrain slope value as the slope of the control point by intersecting the coordinates of the control point data with the terrain data.
