A method for generating a true three-dimensional geological profile
By vectorizing the geological profile and restoring the three-dimensional spatial position, the three-dimensional geological profile is generated and loaded with drilling data, which solves the problem of difficulty in fully understanding the two-dimensional geological profile and enables multi-faceted display and geological analysis of complex geological conditions. Digital transformation of data.
Patent Information
- Application Number
- CN202311281252.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-26
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2043-09-26
AI Technical Summary
In the existing technology, it is difficult for geologists to fully understand complex geological conditions through two-dimensional geological profiles, and existing methods can only process geological profiles in picture format, unable to perform subsequent analysis and calculations, and their applicability is limited.
By obtaining the geological section in CAD and picture formats, vectorizing it and converting it into CAD format, extracting line data and text information, and generating positioning point files, the three-dimensional spatial position restoration of the geological section is realized, and in the three-dimensional geological section Load drilling data and geological maps, generate 3D drilling models and geological maps, and support 3D display on the WebGIS side.
It achieves multi-faceted and intuitive display of complex geological conditions, provides more comprehensive geological data, facilitates research and project management by engineering personnel, and supports the digital transformation of geological data.
Smart Images

Figure CN117392336B
Abstract
Description
Technical Field
[0001] The patent of this invention relates to the technical field of three-dimensional geological profiles, and specifically, to a method for generating a real three-dimensional geological profile. Background Art
[0002] The geotechnical engineering investigation report is the most basic geological data for the project and an important means for design units and construction companies to understand the geological conditions of the project. The geological profile in the investigation report carries rich geological information and is an important data for understanding the geological conditions of the entire project.
[0003] In the prior art, the geological profiles in the survey reports are all two-dimensional geological profiles, which express two-dimensional geological information, making it difficult for geologists to fully understand the complex geological conditions.
[0004] The Chinese patent (patent number: CN202210544043.0) discloses the geological profile Figure 3 The method, device and storage medium for extracting 3D spatial information can only process geological profiles in picture format. The picture format is not vector information and cannot be used for subsequent analysis and calculation, so its applicability is limited. Summary of the invention
[0005] The purpose of the present invention is to provide a method for generating a true three-dimensional geological profile, aiming to solve the problem in the prior art that it is difficult for geologists to fully understand a complex address.
[0006] The present invention is achieved by a method for generating a true three-dimensional geological profile, comprising the following steps:
[0007] 1) Obtain geological profiles, including CAD format profiles and image format profiles;
[0008] 2) vectorizing the image format cross-sectional view to form a vector graphic, and importing the vector graphic into the CAD format cross-sectional view through CAD software;
[0009] 3) Extract line data and text information from the CAD format profile and generate a positioning point file;
[0010] 4) Importing the CAD format profile and the positioning point file into the platform, realizing the three-dimensional spatial position recovery of the geological profile, and generating a three-dimensional geological profile;
[0011] 5) Collecting drilling data that passes through the three-dimensional geological section or is within the set range of the three-dimensional geological section, importing the drilling data into the three-dimensional geological section, and generating a three-dimensional drilling model.
[0012] 6) Loading a three-dimensional geological map into the three-dimensional drilling model.
[0013] Furthermore, in the step 2), the image-format profile is vectorized and saved as a vector graphic in a DXF format or a DWG format.
[0014] Furthermore, in the step 2), the image format cross-sectional drawings are batch imported into the CorelDRAW software, and the image format cross-sectional drawings are converted into editable vector graphics using a stroke tracking tool. After the vector graphics are edited, the vector graphics are poured into the CAD format cross-sectional drawings.
[0015] Furthermore, in the step 2), the image format cross-sectional view is imported into the CorelDRAW software, the tracking bitmap tool is selected in the bitmap toolbar of the CorelDRAW software, the tracking parameters are set, and the OK option is clicked to complete the tracking operation, thereby completing the conversion of the image format cross-sectional view into a vector graphic.
[0016] Furthermore, in the step 4), the section directions in the CAD format section drawing are consistent, and each section defines four positioning points, including surface point A, surface point B, surface projection point A1 and surface projection point B1, the surface projection point A1 is the vertical projection point of surface point A at the bottom of the section, and the surface projection point B1 is the vertical projection point of surface point B at the bottom of the section.
[0017] Furthermore, in the step 4), when the section direction has an inflection point position that changes the section direction, two positioning points are added to each section, including a surface point C defined at the inflection point position and a projection point C1 defined at the bottom of the section.
[0018] Furthermore, in the step 4), the three-dimensional coordinate data and the two-dimensional data of the four positioning points are respectively obtained, and a two-dimensional to three-dimensional spatial transformation matrix is obtained based on the three-dimensional data and the two-dimensional data. According to the spatial transformation matrix, the three-dimensional spatial positions of all positions of the geological profile are restored.
[0019] Furthermore, in the step 4), color filling is performed in the three-dimensional geological section, the uploaded line data is enclosed to form a closed surface, and the filling color is assigned in the closed surface.
[0020] Furthermore, in the step 4), during the color filling process, a color table in Excel format is prepared, hexadecimal numbers are used to represent color values, the color table is converted into a json file, and the json file is imported into the platform to achieve color filling of the three-dimensional geological profile.
[0021] Furthermore, in step 6), the three-dimensional geological map is a bedrock geological map, a 3D image map, a topographic map, or the like.
[0022] Compared with the prior art, the method for generating a real three-dimensional geological profile provided by the present invention can display the boreholes and geological profiles in three dimensions on the WebGIS end, and load relevant three-dimensional geological maps at the same time, and can display the longitudinal, transverse and three-dimensional geological data of the project area in many aspects, and can reflect the geological conditions more comprehensively and intuitively, providing convenience for engineering personnel to study the geological conditions of complex sites. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 It is a schematic diagram of the flow of the method for generating a real three-dimensional geological profile provided by the present invention;
[0024] Figure 2 It is a schematic diagram of the arrangement of the positioning points provided by the present invention;
[0025] Figure 3 is a cross-sectional view of a borehole provided by the present invention;
[0026] Figure 4 is a cross-sectional view of the inflection point provided by the present invention;
[0027] Figure 5 It is a schematic diagram of the format of the positioning point file provided by the present invention;
[0028] Figure 6 It is a schematic diagram of the format of the stratum color table provided by the present invention. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0030] The implementation of the present invention is described in detail below in conjunction with specific embodiments.
[0031] The same or similar numbers in the drawings of this embodiment correspond to the same or similar parts; in the description of the present invention, it should be understood that if the terms "upper", "lower", "left", "right" and the like indicate directions or positional relationships based on the directions or positional relationships shown in the 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 direction, be constructed and operated in a specific direction. Therefore, the terms describing the positional relationship in the drawings are only used for illustrative purposes and cannot be understood as limitations on this patent. For ordinary technicians in this field, the specific meanings of the above terms can be understood according to specific circumstances.
[0032] Reference Figure 1-6 It is shown that it is a preferred embodiment provided by the present invention.
[0033] The method for generating a true three-dimensional geological profile includes the following steps:
[0034] 1) Obtain geological profiles, including CAD format profiles and image format profiles;
[0035] 2) Vectorize the image format section view to form a vector graphic, and import the vector graphic into the CAD format section view through CAD software;
[0036] 3) Extract line data and text information from the CAD format profile and generate a positioning point file;
[0037] 4) Import the CAD format profile and positioning point files into the platform to restore the three-dimensional spatial position of the geological profile and generate a three-dimensional geological profile;
[0038] 5) Collect the drilling data that passes through the three-dimensional geological section or is within the set range of the three-dimensional geological section, import the drilling data into the three-dimensional geological section, and generate a three-dimensional drilling model.
[0039] 6) Load the 3D geological map into the 3D drilling model.
[0040] The above-mentioned method for generating a real three-dimensional geological profile can display the borehole and geological profile in three dimensions on the WebGIS side, and load relevant three-dimensional geological maps at the same time. It can display the longitudinal, transverse and three-dimensional geological data of the project area in many aspects, and can reflect the geological conditions more comprehensively and intuitively, providing convenience for engineering personnel to study the geological conditions of complex sites.
[0041] In step 2), after the image-format cross-section drawing is vectorized, it is saved as a vector graphic in DXF format or DWG format, and DXF format or DWG format supports importing into CAD software.
[0042] In step 2), the image format cross-section drawings are batch-imported into the CorelDRAW software, and the image format cross-section drawings are converted into editable vector graphics using the stroke tracking tool. After the vector graphics are edited, the vector graphics are imported into the CAD format cross-section drawings.
[0043] In step 2), the image format cross-section diagram is imported into the CorelDRAW software, the tracking bitmap tool is selected in the bitmap toolbar of the CorelDRAW software, the tracking parameters are set, and the OK option is clicked to complete the tracking operation, thereby completing the conversion of the image format cross-section diagram into a vector graphic.
[0044] In this embodiment, in step 4), the cross-section directions in the CAD format cross-section drawing are consistent, and each of the cross-sections defines four positioning points, including surface point A, surface point B, surface projection point A1, and surface projection point B1. Surface projection point A1 is the vertical projection point of surface point A at the bottom of the cross-section, and surface projection point B1 is the vertical projection point of surface point B at the bottom of the cross-section.
[0045] In step 4), when the profile direction has an inflection point position that changes the profile direction, two positioning points are added to each profile, including a surface point C defined at the inflection point position and a projection point C1 defined at the bottom of the profile.
[0046] In step 4), the three-dimensional coordinate data and the two-dimensional data of the four positioning points are respectively obtained, and a two-dimensional to three-dimensional spatial transformation matrix is obtained based on the three-dimensional data and the two-dimensional data. According to the spatial transformation matrix, the three-dimensional spatial position of all positions of the geological profile is restored.
[0047] Among them, the two-dimensional coordinates of the positioning point can be obtained in the CAD format section according to the query function, and the three-dimensional coordinates of the positioning point can be recorded in the survey report or picture format section.
[0048] For example, taking the surface point A and the surface projection point A1 as examples, the x and y coordinates in point A (x, y, z) are the x and y coordinate values of the drill hole, and the z value is the elevation value of the opening. In A1 (x1, y1, z1), the x1 and y1 coordinates are the same as the x and y coordinates of point A, and the z1 value needs to be calculated, z1 = opening elevation - drilling depth.
[0049] If the CAD format profile is a drilling profile, the positioning point is the drilling point. If only the inflection point position is recorded in the CAD format profile, the positioning point is the profile inflection point. In the positioning point file, each line is a positioning point information, where X, Y, and Z are the three-dimensional spatial coordinates of the positioning point, and PX and PY are the two-dimensional coordinates of the positioning point. The three-dimensional coordinates and the two-dimensional coordinates correspond one to one.
[0050] According to the correspondence between two-dimensional coordinates and three-dimensional coordinates, the two-dimensional to three-dimensional space transformation matrix can be calculated to realize the recovery of the three-dimensional spatial position of all elements in the plane. To calculate the two-dimensional to three-dimensional space transformation matrix, at least four pairs of matching two-dimensional points and three-dimensional points are required. These four points are required to be non-collinear in two dimensions, including two surface points and the other two are surface projection points of the surface points.
[0051] Assume A(x1,y1)→(X1,Y1,Z1), A2(x2,y2)→(X2,Y2,Z2), B(x3,y3)→(X3,Y3,Z3), B1(x4,y4)→(X4,Y4,Z4). The spatial transformation matrix calculation process is as follows:
[0052] 1) Construct an augmented matrix:
[0053] Construct an 8×9 augmented matrix A and fill every two rows of the matrix according to the existing point pairs. The example is as follows:
[0054]
[0055] 2) Solve the least squares problem:
[0056] Use the least squares method to solve the null space or right singular vector of the augmented matrix A and obtain a 9×1 column vector B, which can be solved using the matrix decomposition method.
[0057] (2) Reconstructing the transformation matrix
[0058] Reconstruct the column vector B into a 3×4 homogeneous transformation matrix M, as shown below:
[0059]
[0060] Through the above steps, the spatial transformation matrix M of the two-dimensional to three-dimensional perspective change can be calculated. It is worth noting that one direction of the profile corresponds to one spatial transformation matrix M. The more directions there are, the more positioning points are required, and the more spatial transformation matrices M there are.
[0061] After the positioning point file is written, extract the line data and text information in the CAD file. The line data is saved as [x1, y1, x2, y2, x3, y3], and the text information is saved in the format of [x, y, text], where [x, y] is the coordinate of the center point of the text information.
[0062] In step 4), color filling is performed in the three-dimensional geological section, the uploaded line data is enclosed to form a closed surface, and the color is assigned to the closed surface.
[0063] Upload CAD format profiles and positioning point files on the platform, convert the geographic coordinate system of the three-dimensional geological profile into a Cartesian coordinate system, and realize three-dimensional spatial position recovery on the platform.
[0064] The 3D geological section has no lithology and pattern filling, and the identification of the internal strata of the 3D geological section mainly relies on text information. If necessary, the 3D geological section can be further filled with color.
[0065] In this embodiment, in step 4), during the color filling process, a color table in Excel format is prepared, hexadecimal numbers are used to represent color values, the color table is converted into a json file, and the json file is imported into the platform to achieve color filling of the three-dimensional geological profile.
[0066] In step 6), the three-dimensional geological map can be a bedrock geological map, a 3D image map, a topographic map, etc., which can facilitate geological staff to study geological conditions by integrating various data. Project management is carried out within the platform, and this project website can also serve as a supplement to the survey report, responding to the digital transformation of the survey and design industry.
[0067] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for generating a true three-dimensional geological profile, characterized in that: The following steps are involved: 1) Obtain geological profiles, including CAD format profiles and image format profiles; 2) vectorizing the image format cross-sectional view to form a vector graphic, and importing the vector graphic into the CAD format cross-sectional view through CAD software; 3) Extract line data and text information from the CAD format profile and generate a positioning point file; 4) Importing the CAD format profile and the positioning point file into the platform, realizing the three-dimensional spatial position recovery of the geological profile, and generating a three-dimensional geological profile; 5) Collecting drilling data that passes through the three-dimensional geological section or is within the set range of the three-dimensional geological section, importing the drilling data into the three-dimensional geological section, and generating a three-dimensional drilling model; 6) Loading a three-dimensional geological map into the three-dimensional drilling model; In the step 4), the sections in the CAD format section drawing have the same direction, and each section defines four positioning points, including a surface point A, a surface point B, a surface projection point A1, and a surface projection point B1. The surface projection point A1 is a vertical projection point of the surface point A at the bottom of the section, and the surface projection point B1 is a vertical projection point of the surface point B at the bottom of the section; In the step 4), when the section trend has an inflection point position that changes the section trend, two positioning points are added on each section, including a surface point C defined at the inflection point position and a projection point C1 defined at the bottom of the section; In the step 4), the three-dimensional coordinate data and the two-dimensional data of the four positioning points are respectively obtained, and a two-dimensional to three-dimensional space transformation matrix is obtained according to the three-dimensional data and the two-dimensional data, and the three-dimensional space position of all positions of the geological section is restored according to the space transformation matrix; The two-dimensional coordinates of the positioning point are obtained in the CAD format profile according to the query function, and the three-dimensional coordinates of the positioning point are obtained in the survey report or picture format profile.
2. The method for generating a true three-dimensional geological profile according to claim 1, characterized in that: In the step 2), the image-format profile is vectorized and saved as a vector graphic in a DXF format or a DWG format.
3. The method for generating a true three-dimensional geological profile according to claim 2, characterized in that: In the step 2), the image format cross-sectional drawings are batch-imported into CorelDRAW software, and the image format cross-sectional drawings are converted into editable vector graphics using a stroke tracking tool. After the vector graphics are edited, the vector graphics are imported into the CAD format cross-sectional drawings.
4. The method for generating a true three-dimensional geological profile according to claim 3, characterized in that: In the step 2), the image format cross-section diagram is imported into the CorelDRAW software, the tracking bitmap tool is selected in the bitmap toolbar of the CorelDRAW software, the tracking parameters are set, and the OK option is clicked to complete the tracking operation, thereby completing the conversion of the image format cross-section diagram into a vector graphic.
5. The method for generating a true three-dimensional geological profile according to any one of claims 1 to 4, characterized in that: In the step 4), color filling is performed in the three-dimensional geological section, the uploaded line data is enclosed to form a closed surface, and the filling color is assigned in the closed surface.
6. The method for generating a true three-dimensional geological profile according to claim 5, characterized in that: In the step 4), during the color filling process, a color table in Excel format is prepared, hexadecimal numbers are used to represent color values, the color table is converted into a JSON file, and the JSON file is imported into the platform to achieve color filling of the three-dimensional geological profile.
7. The method for generating a true three-dimensional geological profile according to any one of claims 1 to 4, characterized in that: In step 6), the three-dimensional geological map is a bedrock geological map or a 3D image map or a topographic map.
