Groundwater Web end three-dimensional model space rendering analysis and lightweight method and system
By obtaining drilling data from geological exploration and generating and rendering three-dimensional geological models, the problem that traditional two-dimensional charts are difficult to express the complexity of the underground environment is solved, and efficient and accurate underground water geological structure display and virtual exploration functions are achieved.
Patent Information
- Application Number
- CN202510171521.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-17
- Publication Date
- 2025-06-06
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
It is difficult for the existing technology to efficiently and accurately construct complex geological and hydrological three-dimensional models, and traditional two-dimensional geological maps and single drilling data cannot fully express the complexity of the underground environment.
Drilling data is obtained through geological exploration, drilling location, depth, formation type and aquifer information are extracted, data cleaning and standardization are performed, preliminary three-dimensional geological models are generated using interpolation algorithm, and the model is rendered onto a web page through three-dimensional rendering technology, for lightweight processing, and integrated spatial analysis tools to realize virtual drilling function.
It realizes a more comprehensive and three-dimensional geological structure information display of underground waters, improves user experience and data visualization efficiency, and optimizes performance and accessibility.
Smart Images

Figure CN120107435A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of geology, and more specifically, to a method and system for spatial rendering analysis and lightweighting of a groundwater Web-based three-dimensional model. Background Art
[0002] With the rapid development of information technology, the construction and analysis of three-dimensional physical models have gradually become important tools in various research fields, especially in the fields of groundwater, water ecology and water environment, hydrology, water resources and geology. The construction of three-dimensional models not only helps to more accurately understand and predict the behavior of the underground environment, but also provides important support for resource management and environmental protection.
[0003] However, since the geological structures and hydrological environments involved in these fields are usually very complex, how to efficiently and accurately construct these models and apply them to practical research has become a difficult problem to be solved. Traditional two-dimensional geological maps and single borehole data are often unable to fully express the complexity of the underground environment. Therefore, based on a limited number of physical borehole data, building a three-dimensional physical model through professional algorithms and data can provide more comprehensive and three-dimensional geological structure information. Summary of the invention
[0004] In order to overcome the above-mentioned defects of the prior art, the embodiments of the present invention provide a method and system for spatial rendering analysis and lightweighting of a groundwater Web-based three-dimensional model to solve the problems raised in the above-mentioned background technology.
[0005] To achieve the above object, the present invention provides the following technical solution, a method for spatial rendering analysis and lightweighting of a groundwater Web-based three-dimensional model, which specifically includes the following steps:
[0006] Step S1, obtaining borehole data through geological survey, and extracting the location, depth, formation type and aquifer information of each borehole through the borehole data, and storing it in a database;
[0007] Step S2, cleaning and standardizing the borehole data collected in step S1, using an interpolation algorithm to perform spatial interpolation on the borehole data to generate a preliminary three-dimensional geological model;
[0008] Step S3, based on the three-dimensional model generated in step S2, visual rendering is performed on it, the three-dimensional physical model is rendered on the web page using three-dimensional rendering technology, and the generated three-dimensional model is lightweighted;
[0009] Step S4: Integrate spatial analysis tools to implement virtual drilling functions, simulate users performing virtual drilling operations at different locations, and provide data feedback for field exploration.
[0010] In a preferred embodiment, in step S1, borehole data is obtained through geological survey, and the location, depth, formation type and aquifer information of each borehole are extracted from the borehole data and stored in a database. The specific steps are as follows:
[0011] Step A1, data collection: Use mechanical drilling equipment to perform drilling operations. Each borehole is drilled layer by layer according to different working depths. Before drilling begins, use GPS equipment to record the latitude and longitude of each borehole. During the drilling process, record the depth of each borehole and indicate the stratigraphic changes in each depth section. When the borehole passes through the aquifer, mark the specific location of the aquifer during the drilling process, and record the water level depth and water flow;
[0012] Step A2, data storage: Based on the characteristics of the borehole data, create a database containing all borehole information, including borehole number, longitude and latitude, depth, formation type and aquifer information, and enter the recorded borehole data into the database item by item to ensure that it is accessible and queryable.
[0013] In a preferred embodiment, in step S2, the borehole data collected in step S1 are cleaned and standardized, and the borehole data are spatially interpolated using an interpolation algorithm to generate a preliminary three-dimensional geological model. The specific steps are as follows:
[0014] Step B1, spatial interpolation: Process the outliers in the borehole data and standardize the processed data to ensure that the values of different features are on the same scale. Use the Kriging method to interpolate the latitude and longitude of the borehole location (x i ,y i ) and depth Z(x i ) is used as a known data point, and the estimated value of the unknown point is calculated based on the known value of the drilling position. The specific calculation formula is as follows: Among them, Z * (x j ,y j ) is the interpolation point (x j ,y j ), Z(x i ) is the depth value of the known position, μ is the bias correction term, n is the number of known data points, i refers to the index of the known point currently summed, and λ i is the corresponding weight, based on the covariance calculation, obtained by solving the equation:
[0015]
[0016] Among them, C(x i ,y i ) is a known point (x i ,y i), C(x j ,y j ) is a known point (x i ,y i ) and the interpolation point (x j ,y j ) between the two;
[0017] Step B2, generating a three-dimensional model: drawing the interpolation result into a three-dimensional grid model, determining the grid spacing, and generating point cloud data in a three-dimensional coordinate system, further comprising the following steps:
[0018] Step B201: Combine the interpolation calculation results and combine the coordinates of each interpolation point with its depth to form point cloud data in a three-dimensional coordinate system in the format of (x j ,y j ,Z * (x j ,y j ));
[0019] Step B202: convert the point cloud data into a three-dimensional surface mesh, reconstruct the point cloud data using a triangulation algorithm, and convert the point cloud data into a set of triangular facets to form a continuous three-dimensional surface. j ,y j ,Z * (x j ,y j )) and patch indexes.
[0020] In a preferred embodiment, in step S3, based on the three-dimensional model generated in step S2, visual rendering is performed on it, three-dimensional rendering technology is used to render the three-dimensional physical model on a web page, and the generated three-dimensional model is lightweight processed. The specific steps are as follows:
[0021] Step C1, mesh simplification: Reduce the complexity of the model by calculating an error metric for each vertex in the model. For each vertex, the error metric matrix is expressed as Among them, A, b and c are functions composed of the adjacency relationship between vertices and the facets. The error threshold is set to τ. For each vertex, the error metric value of the vertex is calculated according to the constructed error metric matrix Q: According to the calculated error metric, vertices with E < τ are selected for retention, and vertices with E ≥ τ are deleted to reduce the complexity of the model;
[0022] Step C2, model lightweight: compress the simplified mesh by optimizing the storage structure to reduce the bandwidth occupied during network transmission, use the index buffer to reduce the repeated storage of vertices, and reduce the amount of data by referencing the same vertex coordinates:
[0023] Step C3, Web visualization: The simplified 3D model is loaded into the Web page using the 3D model loader, and the camera controller of cesium.js or three.js is used to provide users with interactive functions, so that users can view and operate the 3D model in the Web browser.
[0024] In a preferred embodiment, in step S4, a spatial analysis tool is integrated to implement a virtual drilling function, simulate a user performing a virtual drilling operation at different locations, and provide data feedback of field exploration. The specific steps are as follows:
[0025] Step D1, creating an interactive user interface to enable the user to select a drilling location in the three-dimensional geological model. When the user sets the drilling depth, the geological data related to the drilling location is extracted from the integrated database in real time. The three-dimensional data stored in the geological model is used to calculate the drilling path through a path planning algorithm, and the drilling process is displayed through graphics. The drilling path is represented by L = {(x k ,y k ,z k )|0≤k≤m, and z k =z 0 -k·Δz}, where (x k ,y k ) represents the coordinate of the drilling hole on the plane, z 0 is the height of the starting position of the drilling, Δz represents each depth unit of the drilling, and m represents the number of depth layers of the drilling;
[0026] Step D2: visualize the drilling path and related geological information, provide a drilling profile view, clearly display the drilling path and soil structure and physical properties at the depth. Users can adjust the drilling position and depth to view model changes in real time and obtain geological feedback related to different positions and depths. Based on user feedback, optimize the model and functions to ensure that the virtual drilling is consistent with the field exploration data.
[0027] This application also provides a groundwater Web-based 3D model spatial rendering analysis and lightweight system, which specifically includes a data acquisition module, a 3D geological model generation module, a visualization rendering module, and a spatial analysis module;
[0028] Data acquisition module: obtains drilling data through geological survey, extracts the location, depth, formation type and aquifer information of each drilling hole through the drilling data, and stores it in the database;
[0029] 3D geological model generation module: cleans and standardizes the collected drilling data, uses interpolation algorithms to perform spatial interpolation on the drilling data, and generates a preliminary 3D geological model;
[0030] Visualization rendering module: Based on the generated 3D model, it performs visualization rendering on it. It uses 3D rendering technology to render the 3D physical model onto the Web page and performs lightweight processing on the generated 3D model.
[0031] Spatial analysis module: Integrates spatial analysis tools to realize virtual drilling functions, simulate users performing virtual drilling operations at different locations, and provide data feedback for field exploration.
[0032] The beneficial effects of the present invention are as follows: obtaining drilling data through geological survey, and extracting the location, depth, formation type and aquifer information of each borehole through the drilling data, storing the information in a database, cleaning and standardizing the collected drilling data, using an interpolation algorithm to perform spatial interpolation on the drilling data, generating a preliminary three-dimensional geological model, visually rendering the generated three-dimensional model, using three-dimensional rendering technology to render the three-dimensional physical model on a Web page, and performing lightweight processing on the generated three-dimensional model, integrating spatial analysis tools, realizing a virtual drilling function, simulating users to perform virtual drilling operations at different locations, and providing data feedback on field exploration. The present invention improves user experience and data visualization efficiency, and optimizes performance and accessibility by performing spatial rendering analysis and lightweight processing on the three-dimensional physical model. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 The figure is a flow chart of the method of the present invention. DETAILED DESCRIPTION
[0034] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.
[0035] In the description of this application, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, "plurality" means two or more, unless otherwise clearly and specifically defined.
[0036] In the description of the present application, the term "for example" is used to mean "used as an example, illustration or description". Any embodiment described as "for example" in the present application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is given to enable any technician in the field to implement and use the present invention. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the present invention can be implemented without using these specific details. In other examples, well-known structures and processes will not be elaborated in detail to avoid unnecessary details to obscure the description of the present invention. Therefore, the present invention is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in the present application.
[0037] Example 1
[0038] This embodiment provides Figure 1 The method for spatial rendering analysis and lightweighting of the groundwater Web-based 3D model shown in the figure specifically includes the following steps:
[0039] Step S1, obtaining borehole data through geological survey, and extracting the location, depth, formation type and aquifer information of each borehole through the borehole data, and storing it in a database;
[0040] Step S2, cleaning and standardizing the borehole data collected in step S1, using an interpolation algorithm to perform spatial interpolation on the borehole data to generate a preliminary three-dimensional geological model;
[0041] Step S3, based on the three-dimensional model generated in step S2, visual rendering is performed on it, the three-dimensional physical model is rendered on the web page using three-dimensional rendering technology, and the generated three-dimensional model is lightweighted;
[0042] Step S4: Integrate spatial analysis tools to implement virtual drilling functions, simulate users performing virtual drilling operations at different locations, and provide data feedback for field exploration.
[0043] Preferably, in step S1, the borehole data is obtained through geological survey, and the location, depth, formation type and aquifer information of each borehole are extracted through the borehole data and stored in a database. The specific steps are as follows:
[0044] Step A1, data collection: Use mechanical drilling equipment to perform drilling operations. Each borehole is drilled layer by layer according to different working depths. Before drilling begins, use GPS equipment to record the latitude and longitude of each borehole. During the drilling process, record the depth of each borehole and indicate the stratigraphic changes in each depth section. When the borehole passes through the aquifer, mark the specific location of the aquifer during the drilling process, and record the water level depth and water flow;
[0045] Step A2, data storage: Based on the characteristics of the borehole data, create a database containing all borehole information, including borehole number, longitude and latitude, depth, formation type and aquifer information, and enter the recorded borehole data into the database item by item to ensure that it is accessible and queryable.
[0046] Preferably, in step S2, the borehole data collected in step S1 are cleaned and standardized, and the borehole data are spatially interpolated using an interpolation algorithm to generate a preliminary three-dimensional geological model. The specific steps are as follows:
[0047] Step B1, spatial interpolation: Process the outliers in the borehole data and standardize the processed data to ensure that the values of different features are on the same scale. Use the Kriging method to interpolate the latitude and longitude of the borehole location (x i ,y i ) and depth Z(x i ) is used as a known data point, and the estimated value of the unknown point is calculated based on the known value of the drilling position. The specific calculation formula is as follows: Among them, Z * (x j ,y j ) is the interpolation point (x j ,y j ), Z(x i ) is the depth value of the known position, μ is the bias correction term, n is the number of known data points, i refers to the index of the known point currently summed, and λ i is the corresponding weight, based on the covariance calculation, obtained by solving the equation:
[0048]
[0049] Among them, C(x i ,y i ) is a known point (x i ,y i ), C(x j ,y j ) is a known point (x i ,y i ) and the interpolation point (x j ,y j ) between the two;
[0050] Step B2, generating a three-dimensional model: drawing the interpolation result into a three-dimensional grid model, determining the grid spacing, and generating point cloud data in a three-dimensional coordinate system, further comprising the following steps:
[0051] Step B201: Combine the interpolation calculation results and combine the coordinates of each interpolation point with its depth to form point cloud data in a three-dimensional coordinate system in the format of (x j ,y j ,Z * (x j ,y j ));
[0052] Step B202: convert the point cloud data into a three-dimensional surface mesh, reconstruct the point cloud data using a triangulation algorithm, and convert the point cloud data into a set of triangular facets to form a continuous three-dimensional surface. j ,y j ,Z * (x j ,y j )) and patch indexes.
[0053] Preferably, in step S3, based on the three-dimensional model generated in step S2, visual rendering is performed on it, three-dimensional rendering technology is used to render the three-dimensional physical model on a web page, and the generated three-dimensional model is lightweight processed, and the specific steps are as follows:
[0054] Step C1, mesh simplification: Reduce the complexity of the model by calculating an error metric for each vertex in the model. For each vertex, the error metric matrix is expressed as Among them, A, b and c are functions composed of the adjacency relationship between vertices and the facets. The error threshold is set to τ. For each vertex, the error metric value of the vertex is calculated according to the constructed error metric matrix Q: According to the calculated error metric, vertices with E < τ are selected for retention, and vertices with E ≥ τ are deleted to reduce the complexity of the model;
[0055] Step C2, model lightweight: compress the simplified mesh by optimizing the storage structure to reduce the bandwidth occupied during network transmission, use the index buffer to reduce the repeated storage of vertices, and reduce the amount of data by referencing the same vertex coordinates:
[0056] Step C3, Web visualization: The simplified 3D model is loaded into the Web page using the 3D model loader, and the camera controller of cesium.js or three.js is used to provide users with interactive functions, so that users can view and operate the 3D model in the Web browser.
[0057] Preferably, in step S4, a spatial analysis tool is integrated to implement a virtual drilling function, simulate a user performing a virtual drilling operation at different locations, and provide data feedback of field exploration. The specific steps are as follows:
[0058] Step D1, creating an interactive user interface to enable the user to select a drilling location in the three-dimensional geological model. When the user sets the drilling depth, the geological data related to the drilling location is extracted from the integrated database in real time. The three-dimensional data stored in the geological model is used to calculate the drilling path through a path planning algorithm, and the drilling process is displayed through graphics. The drilling path is represented by L = {(x k ,y k ,z k )|0≤k≤m, and z k =z 0 -k·Δz}, where (x k ,y k ) represents the coordinate of the drilling hole on the plane, z 0 is the height of the starting position of the drilling, Δz represents each depth unit of the drilling, and m represents the number of depth layers of the drilling;
[0059] Step D2: visualize the drilling path and related geological information, provide a drilling profile view, clearly display the drilling path and soil structure and physical properties at the depth. Users can adjust the drilling position and depth to view model changes in real time and obtain geological feedback related to different positions and depths. Based on user feedback, optimize the model and functions to ensure that the virtual drilling is consistent with the field exploration data.
[0060] Example 2
[0061] This embodiment provides a groundwater Web-based 3D model spatial rendering analysis and lightweight system, which specifically includes a data acquisition module, a 3D geological model generation module, a visualization rendering module, and a spatial analysis module;
[0062] Data acquisition module: obtains drilling data through geological survey, extracts the location, depth, formation type and aquifer information of each drilling hole through the drilling data, and stores it in the database;
[0063] 3D geological model generation module: cleans and standardizes the collected drilling data, uses interpolation algorithms to perform spatial interpolation on the drilling data, and generates a preliminary 3D geological model;
[0064] Visualization rendering module: Based on the generated 3D model, it performs visualization rendering on it. It uses 3D rendering technology to render the 3D physical model onto the Web page and performs lightweight processing on the generated 3D model.
[0065] Spatial analysis module: Integrates spatial analysis tools to realize virtual drilling functions, simulate users performing virtual drilling operations at different locations, and provide data feedback for field exploration.
[0066] It should be noted that in the above embodiments, the description of each embodiment has its own emphasis, and for parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0067] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0068] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded computer, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0069] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0070] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0071] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0072] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A method for spatial rendering analysis and lightweighting of groundwater Web-based 3D models, characterized in that: The specific steps include: Step S1, obtaining borehole data through geological survey, and extracting the location, depth, formation type and aquifer information of each borehole through the borehole data, and storing it in a database; Step S2, cleaning and standardizing the borehole data collected in step S1, using an interpolation algorithm to perform spatial interpolation on the borehole data to generate a preliminary three-dimensional geological model; Step S3, based on the three-dimensional model generated in step S2, visual rendering is performed on it, the three-dimensional physical model is rendered on the web page using three-dimensional rendering technology, and the generated three-dimensional model is lightweighted; Step S4: Integrate spatial analysis tools to implement virtual drilling functions, simulate users performing virtual drilling operations at different locations, and provide data feedback for field exploration.
2. The method for spatial rendering analysis and lightweighting of groundwater Web-based three-dimensional models according to claim 1 is characterized by: In step S1, the borehole data is obtained through geological survey, and the location, depth, formation type and aquifer information of each borehole are extracted from the borehole data and stored in the database. The specific steps are as follows: Step A1, data collection: Use mechanical drilling equipment to perform drilling operations. Each borehole is drilled layer by layer according to different working depths. Before drilling begins, use GPS equipment to record the latitude and longitude of each borehole. During the drilling process, record the depth of each borehole and indicate the stratigraphic changes in each depth section. When the borehole passes through the aquifer, mark the specific location of the aquifer during the drilling process, and record the water level depth and water flow; Step A2, data storage: Based on the characteristics of the borehole data, create a database containing all borehole information, including borehole number, longitude and latitude, depth, formation type and aquifer information, and enter the recorded borehole data into the database item by item.
3. The method for spatial rendering analysis and lightweighting of groundwater Web-based three-dimensional model according to claim 1, characterized in that: In step S2, the borehole data collected in step S1 are cleaned and standardized, and the borehole data are spatially interpolated using an interpolation algorithm to generate a preliminary three-dimensional geological model. The specific steps are as follows: Step B1, spatial interpolation: Process the outliers in the borehole data and standardize the processed data to ensure that the values of different features are on the same scale. Use the Kriging method to interpolate the latitude and longitude of the borehole location (x i ,y i ) and depth Z(x i ) is used as a known data point, and the estimated value of the unknown point is calculated based on the known value of the drilling position. The specific calculation formula is as follows: Among them, Z * (x j ,y j ) is the interpolation point (x j ,y j ), Z(x i ) is the depth value of the known position, μ is the bias correction term, n is the number of known data points, i refers to the index of the known point currently summed, and λ i is the corresponding weight, based on the covariance calculation, obtained by solving the equation: Among them, C(x i ,y i ) is a known point (x i ,y i ), C(x j ,y j ) is a known point (x i ,y i ) and the interpolation point (x j ,y j ) between the covariances; Step B2, generating a three-dimensional model: drawing the interpolation result into a three-dimensional grid model, determining the grid spacing, and generating point cloud data in a three-dimensional coordinate system.
4. The method for spatial rendering analysis and lightweighting of groundwater Web-based three-dimensional models according to claim 3 is characterized by: In the step B2 of generating a three-dimensional model, the interpolation result is drawn as a three-dimensional grid model, the grid spacing is determined, and point cloud data in a three-dimensional coordinate system is generated, further comprising the following steps: Step B201: Combine the interpolation calculation results and combine the coordinates of each interpolation point with its depth to form point cloud data in a three-dimensional coordinate system in the format of (x j ,y j ,Z * (x j ,y j )); Step B202: convert the point cloud data into a three-dimensional surface mesh, reconstruct the point cloud data using a triangulation algorithm, and convert the point cloud data into a set of triangular facets to form a continuous three-dimensional surface. j ,y j ,Z * (x j ,y j )) and patch indexes.
5. The method for spatial rendering analysis and lightweighting of groundwater Web-based three-dimensional model according to claim 1, characterized in that: In step S3, based on the three-dimensional model generated in step S2, visual rendering is performed on it, and the three-dimensional physical model is rendered on the web page using three-dimensional rendering technology, and the generated three-dimensional model is lightweight processed. The specific steps are as follows: Step C1, mesh simplification: Reduce the complexity of the model by calculating an error metric for each vertex in the model. For each vertex, the error metric matrix is expressed as Among them, A, b and c are functions composed of the adjacency relationship between vertices and the facets. The error threshold is set to τ. For each vertex, the error metric value of the vertex is calculated according to the constructed error metric matrix Q: According to the calculated error metric, vertices with E < τ are selected for retention, and vertices with E ≥ τ are deleted to reduce the complexity of the model; Step C2, model lightweight: compress the simplified mesh by optimizing the storage structure to reduce the bandwidth occupied during network transmission, use the index buffer to reduce the repeated storage of vertices, and reduce the amount of data by referencing the same vertex coordinates: Step C3, Web visualization: The simplified 3D model is loaded into a Web page using a 3D model loader, and an interactive function is provided to the user by using a camera controller, so that the user can view and operate the 3D model in a Web browser.
6. The method for spatial rendering analysis and lightweighting of groundwater Web-based three-dimensional model according to claim 1, characterized in that: In step S4, a spatial analysis tool is integrated to realize a virtual drilling function, simulate a user performing a virtual drilling operation at different locations, and provide data feedback of field exploration. The specific steps are as follows: Step D1, creating an interactive user interface to enable the user to select a drilling location in the three-dimensional geological model. When the user sets the drilling depth, the geological data related to the drilling location is extracted from the integrated database. The three-dimensional data stored in the geological model is used to calculate the drilling path through a path planning algorithm, and the drilling process is displayed through a graphic. The drilling path is represented by L = {(x k ,y k ,z k )|0≤k≤m, and z k =z0-k·Δz}, where (x k ,y k ) represents the coordinates of the borehole on the plane, z0 is the height of the starting position of the borehole, Δz represents each depth unit of the borehole, and m represents the depth layer number of the borehole; Step D2: visualize the drilling path and related geological information, provide a drilling profile view, clearly display the drilling path and soil structure and physical properties at the depth. Users can adjust the drilling position and depth to view model changes in real time and obtain geological feedback related to different positions and depths. Based on user feedback, optimize the model and functions to ensure that the virtual drilling is consistent with the field exploration data.
7. A system for spatial rendering analysis and lightweighting of a groundwater Web-based 3D model is applied to a method for spatial rendering analysis and lightweighting of a groundwater Web-based 3D model as claimed in any one of claims 1 to 6, characterized in that: It includes data acquisition module, 3D geological model generation module, visualization rendering module, and spatial analysis module; Data acquisition module: obtains drilling data through geological survey, extracts the location, depth, formation type and aquifer information of each drilling hole through the drilling data, and stores it in the database; 3D geological model generation module: cleans and standardizes the collected drilling data, uses interpolation algorithms to perform spatial interpolation on the drilling data, and generates a preliminary 3D geological model; Visualization rendering module: Based on the generated 3D model, it performs visualization rendering on it. It uses 3D rendering technology to render the 3D physical model onto the Web page and performs lightweight processing on the generated 3D model. Spatial analysis module: Integrates spatial analysis tools to realize virtual drilling functions, simulate users performing virtual drilling operations at different locations, and provide data feedback for field exploration.