Three-dimensional profile thematic map generation method and system and medium
By rendering the geological drilling profile data into a two-dimensional plan and displaying it in layered manner using Opencascade, the problem of cumbersome construction of thematic diagram in the visualization of the three-dimensional model profile data is solved, and an intuitive three-dimensional profile data display is realized.
Patent Information
- Application Number
- CN202510262599.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-06
- Publication Date
- 2025-07-29
AI Technical Summary
The prior art is more cumbersome and not intuitive enough to construct a special map in the visualization of three-dimensional model profile data, and it is difficult to effectively combine two-dimensional profile data with three-dimensional models.
Using the imported geological drilling profile data as a vector layer, render it to a two-dimensional canvas and generate a two-dimensional plan thematic map. Use Opencascade to create a three-dimensional view for horizontal or vertical layered display, and integrate it to form a complete three-dimensional section thematic map.
It realizes batch import of profile data of multiple different heights, and through horizontal or vertical layered three-dimensional view display, the intuitiveness and ease of understanding of the spatial distribution and characteristics of the internal structure of the three-dimensional model are improved.
Smart Images

Figure CN120388117A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of 3D visualization, and particularly to a method, system and medium for generating a 3D sectional thematic map. Background Art
[0002] In recent years, 3D visualization technology has been widely used, especially in fields such as geological exploration, underground space planning, and mineral resource development. The establishment and analysis of 3D models are important means to understand the spatial distribution of geological bodies. In the construction of 3D models, sectional data is one of the commonly used data types. Through sectional data, the structural characteristics of the underground space can be effectively restored, and a basis can be provided for decision-making in related fields. Existing sectional data is usually stored and displayed in the form of a 2D plane. How to organically combine these 2D sectional data with 3D models to intuitively display the internal structural characteristics of the underground space is one of the current research directions. The present invention aims to solve the deficiencies in the visualization of 3D model sectional data in the prior art, such as the cumbersome construction of thematic maps and the lack of intuitiveness of thematic maps, and proposes an efficient and convenient thematic map construction and display system. This system can batch import sectional data at multiple different heights and display the sectional data at different heights in the form of a 3D view with horizontal or vertical stratification, so that the internal structures at different heights can be compared. This display method makes the spatial distribution and characteristics of the internal structure of the 3D model more intuitive and easy to understand. Summary of the Invention
[0003] The purpose of the present invention is to propose a method for generating a 3D sectional thematic map to solve the technical problems of cumbersome construction of thematic maps and lack of intuitiveness of thematic maps in the visualization of sectional data of existing 3D geological models.
[0004] Specifically, a method for generating a 3D sectional thematic map provided by the present invention includes the following steps:
[0005] S1. Import geological borehole sectional data, load the sectional data as a vector layer, and then render it onto a 2D canvas, and export the 2D canvas as a 2D planar sectional thematic map;
[0006] S2. Use Opencascade to create a 3D view. Under the 3D view, display the 2D planar sectional thematic map in horizontal or vertical stratification according to its relative position in the 3D space;
[0007] S3. Integrate and package the stratified 2D planar sectional thematic maps to form a complete 3D sectional thematic map.
[0008] A 3D sectional thematic map system includes:
[0009] A cross-section data import module for importing geological borehole cross-section data, loading the cross-section data as a vector layer, then rendering it onto a two-dimensional canvas, and exporting the two-dimensional canvas as a two-dimensional planar cross-section thematic map;
[0010] A three-dimensional cross-section thematic map visualization module that uses Opencascade to create a three-dimensional view. In the three-dimensional view, the two-dimensional planar cross-section thematic map is displayed in layers in the horizontal or vertical direction according to its relative position in the three-dimensional space;
[0011] A three-dimensional cross-section thematic map export module for integrating and packaging the layered two-dimensional planar cross-section thematic maps to form a complete three-dimensional cross-section thematic map.
[0012] A storage medium that stores instructions and data for implementing a method for generating a three-dimensional cross-section thematic map.
[0013] A three-dimensional cross-section thematic map generation device, comprising: a processor and the storage medium; the processor loads and executes the instructions and data in the storage medium for implementing a method for generating a three-dimensional cross-section thematic map.
[0014] The beneficial effects provided by the present invention are: it can batch import cross-section data at multiple different heights and display the cross-sections at different heights in the form of a three-dimensional view with horizontal or vertical layering, so as to compare the internal structures at different heights. This display method makes the spatial distribution and characteristics of the internal structure of the three-dimensional model more intuitive and easy to understand. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 is a schematic flowchart of the method of the present invention;
[0016] Figure 2 is a schematic diagram of the interface of the user interaction module of the present invention;
[0017] Figure 3 is a schematic diagram of the operation of the hardware device in an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0018] To make the objectives, technical solutions, and advantages of the present invention clearer, the embodiments of the present invention will be further described below in conjunction with the accompanying drawings.
[0019] Before formally elaborating on the present invention, first a general overview of the solution of the present invention is given for easy understanding.
[0020] Please refer to Figure 1 , the present invention provides a method for generating a three-dimensional cross-section thematic map, including the following steps:
[0021] S1. Import geological drill hole profile data, load the profile data as a vector layer, render it onto a 2D canvas, and export the 2D canvas as a 2D planar profile thematic map;
[0022] It should be noted that the present invention implements batch import of geological drilling profile data.
[0023] S2. Use Opencascade to create a 3D view. In the 3D view, the 2D planar section thematic map is displayed in layers horizontally or vertically according to its relative position in the 3D space.
[0024] It should be noted that these layers can be displayed in layers horizontally or vertically according to their relative positions in 3D space. The purpose of layering is to more clearly display the internal structural features of the 3D model at different cutting heights.
[0025] S3. Integrate and package the two-dimensional plane section thematic maps obtained by stratification to form a complete three-dimensional section thematic map.
[0026] It should be noted that integration and packaging specifically refers to adding thematic map titles and legends to form a complete 3D cross-section thematic map. This 3D view not only displays the internal structure of the geological body but also allows users to observe and analyze from different perspectives, providing a comprehensive and intuitive 3D cross-section data visualization solution.
[0027] A three-dimensional section thematic map system, comprising:
[0028] The profile data import module is used to import geological drill hole profile data, load the profile data as a vector layer, then render it onto a 2D canvas, and export the 2D canvas into a 2D plane profile thematic map;
[0029] It should be noted that the system can batch import multiple three-dimensional section data at different heights.
[0030] The data format must be SHP. This module supports batch import, allowing users to import multiple data files at once. The system calls QGIS to parse these SHP data, load them as QgsVectorLayer layers, and generate corresponding legends for 3D visualization.
[0031] The 3D section map visualization module uses OpenCascade to create a 3D view. In this 3D view, the 2D section map is displayed in layers horizontally or vertically according to its relative position in the 3D space.
[0032] As an example, the 3D model section thematic map visualization module displays different section data in a layered 3D view. It calls the OpenGL module in QT and the AIS_ViewController module in OpenCascade to provide a 3D view, displaying the imported section data in a horizontal or vertical layered format. This component uses OpenGL rendering technology to present the internal structure of the 3D model in 3D, allowing users to intuitively understand the internal spatial distribution and characteristics of the 3D model.
[0033] The system also includes a user interface module, through which the profile data can be viewed and analyzed. Figure 2 , Figure 2 It is a schematic diagram of the user interaction interface of the present invention.
[0034] It should be noted that the user interface module uses QT to build the user interface, allowing users to interact with the 3D view, including operations such as view rotation, zooming, and panning. In addition, users can also adjust the display style of the thematic map through this interface, such as adjusting the position of the legend and the arrangement of multiple thematic maps to meet different needs.
[0035] The 3D section thematic map export module is used to integrate and package the 2D plane section thematic maps obtained by layering to form a complete 3D section thematic map.
[0036] In the thematic map export module, users can use this function to export the current 3D view as a high-resolution image file, which can be exported in PNG image format.
[0037] See also Figure 3 , Figure 3 4 is a schematic diagram of the working of a hardware device according to an embodiment of the present invention. The hardware device specifically includes: a three-dimensional section thematic map generating device 401 , a processor 402 and a storage medium 403 .
[0038] A three-dimensional section thematic map generating device 401: The three-dimensional section thematic map generating device 401 implements the three-dimensional section thematic map generating method.
[0039] Processor 402: The processor 402 loads and executes the instructions and data in the storage medium 403 to implement the method for generating a three-dimensional section thematic map.
[0040] Storage medium 403: The storage medium 403 stores instructions and data; the storage medium 403 is used to implement the three-dimensional section thematic map generation method.
[0041] The beneficial effects of the present invention are:
[0042] First, it is to improve the modeling accuracy: By importing according to the center-of-mass points, setting the influence radius of the center-of-mass elements, drawing the center-of-mass area, and constructing the cross-section center-of-mass elements, the distribution characteristics of certain elements in the entire underground space are finally obtained. It solves the problems of inaccurate information expression and poor model display effect existing in the traditional three-dimensional underground space information model.
[0043] Secondly, it has a wide range of applications: Compared with the traditional underground space modeling, this method can not only be applied to the distribution characteristics of underground space minerals to obtain the best excavation plan, thus directly bringing economic benefits. It can also be applied to the spatial distribution characteristics of trace elements, heavy metal elements, etc. in the soil, which is of great significance for agricultural planting production and ecological environment protection.
[0044] The above are only the preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for generating a three-dimensional sectional thematic map, characterized in that: The method includes the following steps: S1. Import geological borehole profile data, load the profile data as a vector layer, then render it onto a 2D canvas, and export the 2D canvas as a 2D planar profile thematic map; S2. Use Opencascade to create a 3D view. Under the 3D view, display the 2D planar profile thematic map in layers in the horizontal or vertical direction according to its relative position in the 3D space; S3. Integrate and package the 2D planar profile thematic map obtained by layering to form a complete 3D profile thematic map.
2. A three-dimensional sectional thematic map system, characterized in that: It includes: A profile data import module for importing geological borehole profile data, loading the profile data as a vector layer, then rendering it onto a 2D canvas, and exporting the 2D canvas as a 2D planar profile thematic map; A 3D profile thematic map visualization module that uses Opencascade to create a 3D view. Under the 3D view, display the 2D planar profile thematic map in layers in the horizontal or vertical direction according to its relative position in the 3D space; A 3D profile thematic map export module for integrating and packaging the 2D planar profile thematic map obtained by layering to form a complete 3D profile thematic map.
3. The 3D sectional thematic map system according to claim 2, wherein: The profile data imported by the profile data import module is in SHP format and is imported in batches.
4. The three-dimensional sectional thematic map system according to claim 2, wherein: The 3D profile thematic map visualization module uses the OpenGL module in QT and the AIS_ViewController module in Opencascade to provide a 3D view.
5. The three-dimensional sectional thematic map system according to claim 2, wherein: It further includes a user interaction interface module for viewing and analyzing the profile data through the user interaction interface module.
6. The 3D sectional thematic map system according to claim 5, wherein: The user interaction interface module uses QT to build the user interface, and the interaction actions include rotation, zooming, and panning operations of the view.
7. The 3D sectional thematic map system according to claim 2, wherein: In the thematic map export module, the current 3D view is exported as a high-resolution image file.
8. A storage medium, characterized in that: The storage medium stores instructions and data for implementing a method for generating a 3D profile thematic map as claimed in claim 1.
9. A three-dimensional sectional thematic map generation device, characterized in that: It includes: A processor and a storage medium; the processor loads and executes the instructions and data in the storage medium for implementing a method for generating a 3D profile thematic map as claimed in claim 1.