A three-dimensional road generation method and device based on inclined real scene model

By importing two-dimensional design drawings and tilted real scene models, the three-dimensional road model is constructed and integrated, and the problems of two-dimensional to three-dimensional transformation and terrain fusion in the existing technology are solved, and a relatively realistic three-dimensional expression is achieved.

CN114091141BActive Publication Date: 2024-12-10南宁市勘测设计院集团有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111203435.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-15
Publication Date
2024-12-10
Estimated Expiration
2041-10-15

AI Technical Summary

Technical Problem

The prior art is difficult to convert two-dimensional road design diagrams into real three-dimensional models, and the generated three-dimensional road models cannot be effectively integrated with the actual regional terrain, and it is impossible to generate three-dimensional expressions of the real world.

Method used

By importing the two-dimensional road plan design diagram data and tilted real scene model, analyzing the two-dimensional data to build a three-dimensional plan grid, performing interpolation processing, building an initial three-dimensional road model, and flattening and lifting the tilted real scene model, and finally integrating it Generate the final three-dimensional road model.

Benefits of technology

The two-dimensional data is converted into the initial three-dimensional road model and fused with the processed tilt real-life model to generate a more realistic three-dimensional road model, solving the problem of fusion of three-dimensional roads and terrain.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114091141B_ABST
    Figure CN114091141B_ABST
Patent Text Reader

Abstract

The present invention relates to a method and device for generating a three-dimensional road based on an inclined real-scene model, the method comprising: importing a two-dimensional plane design drawing data package of a road and an inclined real-scene model of the road; parsing the two-dimensional road data package from the two-dimensional plane design drawing data package of the road to obtain two-dimensional road data; constructing a plane grid of the three-dimensional road through the two-dimensional road data, and interpolating the plane grid to obtain an optimized plane grid to construct an initial three-dimensional road model; flattening and lifting the inclined real-scene model; fusing the initial three-dimensional road model with the inclined real-scene model after flattening and lifting to obtain a final three-dimensional road model. The present invention converts the two-dimensional plane data into an initial three-dimensional road model and fuses the processed inclined real-scene model with the initial three-dimensional road model, thereby automatically generating a final three-dimensional road model, and the three-dimensional road model combined with the inclined real-scene model can generate a more realistic three-dimensional expression.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention mainly relates to the technical field of three-dimensional model data processing, and in particular to a three-dimensional road generation method and device based on an inclined real-scene model. Background Art

[0002] Oblique photography real-life models have been widely used in various fields and have become basic data for the planning and design industries. In conventional design, oblique real-life models are only used as reference models to assist in the identification of information such as ground features, coverings, and terrain. In road design, the plan view and cross-section of the road will identify the entire road shape, but it is difficult for non-professionals to perform spatial abstraction and imagine the three-dimensional shape of the road after construction. Although some current systems can generate three-dimensional roads, they only stay at the level of three-dimensional road visualization; on the other hand, the three-dimensional roads generated by these systems cannot be integrated with the actual regional terrain to form a three-dimensional expression of the real world. Summary of the invention

[0003] The technical problem to be solved by the present invention is to provide a three-dimensional road generation method and device based on an inclined real scene model in view of the deficiencies in the prior art.

[0004] The technical solution of the present invention to solve the above technical problem is as follows: A three-dimensional road generation method based on an inclined real scene model comprises the following steps:

[0005] Import the 2D road plan design data package and the road tilt real-life model;

[0006] Parse the two-dimensional road data package to obtain two-dimensional road data;

[0007] Constructing a plane grid of a three-dimensional road using the two-dimensional road data, and performing interpolation processing on the plane grid to obtain an optimized plane grid;

[0008] constructing an initial three-dimensional road model through the optimized plane grid;

[0009] Flattening and lifting the inclined real scene model;

[0010] The initial 3D road model is fused with the inclined real scene model after flattening and lifting to obtain the final 3D road model.

[0011] The beneficial effect of the present invention is: converting two-dimensional plane data into an initial three-dimensional road model, and fusing the processed inclined real-scene model with the initial three-dimensional road model, thereby automatically generating a final three-dimensional road model. The three-dimensional road model combined with the inclined real-scene model can generate a more realistic three-dimensional expression.

[0012] Another technical solution of the present invention to solve the above technical problem is as follows: A three-dimensional road generation device based on an inclined real scene model, comprising:

[0013] Import module, used to import the road 2D plan design data package and the road tilt real scene model;

[0014] A parsing module, used for parsing the road two-dimensional plane design drawing data package to obtain two-dimensional road data;

[0015] A model building module, used to build a plane grid of a three-dimensional road through the two-dimensional road data, and perform interpolation processing on the plane grid to obtain an optimized plane grid;

[0016] constructing an initial three-dimensional road model through the optimized plane grid;

[0017] Flattening and lifting the inclined real scene model;

[0018] The initial 3D road model is fused with the inclined real scene model after flattening and lifting to obtain the final 3D road model.

[0019] Another technical solution of the present invention to solve the above-mentioned technical problem is as follows: a three-dimensional road generation device based on a tilted real-scene model, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the three-dimensional road generation method based on the tilted real-scene model as described above is implemented.

[0020] Another technical solution of the present invention to solve the above technical problem is as follows: a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the three-dimensional road generation method based on the inclined real scene model as described above is implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 A schematic flow chart of a method for generating a three-dimensional road based on an inclined real scene model provided by an embodiment of the present invention;

[0022] Figure 2 A functional module block diagram of a three-dimensional road generation device provided by an embodiment of the present invention;

[0023] Figure 3 A schematic diagram of data flow of a three-dimensional road generation method provided by an embodiment of the present invention;

[0024] Figure 4 A schematic diagram of a plane grid provided by an embodiment of the present invention;

[0025] Figure 5One of the schematic diagrams of road design styles provided in an embodiment of the present invention;

[0026] Figure 6 A second schematic diagram of a road design pattern provided in an embodiment of the present invention;

[0027] Figure 7 The third schematic diagram of the road design style provided by the embodiment of the present invention;

[0028] Figure 8 A diagram of the calculation of the road center plane coordinates provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0029] The principles and features of the present invention are described below in conjunction with the accompanying drawings. The examples given are only used to explain the present invention and are not used to limit the scope of the present invention.

[0030] Embodiment 1:

[0031] like Figure 1 , 3 As shown, a three-dimensional road generation method based on an inclined real scene model includes the following steps:

[0032] Import the 2D road plan design data package and the road tilt real-life model;

[0033] Parse the two-dimensional road data package to obtain two-dimensional road data;

[0034] Constructing a plane grid of a three-dimensional road using the two-dimensional road data, and performing interpolation processing on the plane grid to obtain an optimized plane grid;

[0035] constructing an initial three-dimensional road model through the optimized plane grid;

[0036] Flattening and lifting the inclined real scene model;

[0037] The initial 3D road model is fused with the inclined real scene model after flattening and lifting to obtain the final 3D road model.

[0038] Specifically, the road scene of the inclined real scene model and the road scene of the road two-dimensional plane design drawing data package are the same road.

[0039] In the above embodiment, the two-dimensional plane data is converted into an initial three-dimensional road model, and the processed inclined real scene model is merged with the initial three-dimensional road model to automatically generate the final three-dimensional road model. The three-dimensional road model combined with the inclined real scene model can generate a more realistic three-dimensional expression.

[0040] Specifically, the importing of the two-dimensional road plan design data package and the inclined real scene model of the road specifically includes:

[0041] Call the AutoCAD module to import the road 2D plan design data package and the pre-built inclined real-scene model.

[0042] Specifically, Figure 3 As shown, the two-dimensional plane design drawing data package includes a road plane map and a road cross-section map;

[0043] The process of parsing and obtaining the two-dimensional road data from the road two-dimensional plane design data package includes:

[0044] Calling the secondary development package ObjectARX in the AutoCAD module to obtain the road centerline in the road plan, and analyzing the road centerline to obtain the starting point and the end point of the centerline;

[0045] According to the road design standards, standardize the road cross-section template, and use the AutoCAD multi-select tool to obtain the set of cross-section drawings that need to be modeled.

[0046] The secondary development package ObjectARX is a development software package launched by AutoDesk for secondary development on the AutoCAD platform. It provides an object-oriented development environment and application program interface based on C++, which can truly and quickly access the AutoCAD graphic database.

[0047] like Figure 5-7 As shown, multiple cross sections in the road cross section diagram are traversed, and multiple element information of the road in each cross section is parsed during the traversal process;

[0048] In the direction from the starting point to the end point of the center line, the positions of the cross sections are retrieved in the road cross-section diagram in turn, the plane coordinates of the road elements at the cross section are calculated according to the multiple element information corresponding to the retrieved cross sections, and a coordinate data set is established based on the plane coordinates of each road element corresponding to each cross section obtained by calculation.

[0049] Specifically, Figure 3 As shown, the plurality of element information includes road center, shoulder width, side slope, roadbed slope, centerline length and shoulder length;

[0050] The process of calculating the plane coordinates of the road elements on the cross section according to the retrieved multiple element information corresponding to the cross section, and establishing a coordinate data set according to the plane coordinates of each road element corresponding to each cross section obtained by calculation includes:

[0051] Obtaining an intersection point where the cross section intersects the center of the road, calculating a tangent line of the intersection point, and obtaining direction angles of two ends of the road perpendicular to the tangent line according to the tangent line;

[0052] Calculate the coordinates of both ends of the road perpendicular to the tangent line according to the tangent line, the direction angle and the length of the center line;

[0053] Calculate the shoulder coordinates according to the tangent line and the shoulder width;

[0054] Calculate the point coordinates of the outermost terrain according to the inclined real scene model, take the point coordinates as known points, emit slope rays with the slope slope, calculate the slope coordinates according to the point coordinates and the slope rays, and emit roadbed rays with the roadbed slope, calculate the roadbed coordinates according to the point coordinates and the roadbed rays;

[0055] A coordinate data set is established based on the calculated coordinates of the two ends of the road, the shoulder coordinates, the slope coordinates and the roadbed coordinates corresponding to each cross section.

[0056] like Figure 8 As shown in the figure, according to the length of the road cross section, the cross section position is retrieved from the starting point in the road centerline, as shown in the figure. Figure 4 As shown, the plane coordinates of each road element on the section are calculated respectively; taking the central road as an example, the cross section intersects with the center point at point a0, calculate the tangent θ at this point, and calculate the angles of the two sides of the road perpendicular to the tangent: α and β. If the distance between the center of the road and the roadside is L, then according to the length of the tangent and the center line, the vertical extension points on both sides of the road at the section point can be calculated as follows: (X 0 , Y 0 ), (X 1 , Y 1 ). Similarly, the two vertical plane coordinates of the intersection of the shoulder and the center line can be obtained. Since the slope and roadbed are analyzed in the previous steps to obtain the slope, it is necessary to calculate the coordinates of the outermost point according to the terrain of the inclined real scene model. Here, the known points of the second outermost are used to emit a ray according to the slope, and the point where the ray intersects with the terrain is calculated, which is the point of the outermost slope or foundation.

[0057] Specifically, Figure 3 As shown, the two-dimensional plane design drawing data package also includes a road longitudinal section view;

[0058] The process of constructing a plane grid of a three-dimensional road by using the two-dimensional road data and performing interpolation processing on the plane grid to obtain an optimized plane grid includes:

[0059] like Figure 2As shown, a plane grid of a three-dimensional road is constructed in the order of "slope / roadbed-shoulder-road-shoulder-slope / roadbed", and coordinates are marked in the corresponding grids on the plane grid according to the established coordinate data set; the X, Y, and Z coordinates are obtained by analyzing the cross section in the aforementioned steps.

[0060] The inverse distance weighted method is used in combination with the road longitudinal section diagram to perform interpolation processing between adjacent grids in the plane grid to obtain the optimized plane grid.

[0061] It should be understood that the distance between cross-section design drawings is often large. If the rendering of the road in the three-dimensional road model is not abrupt, it is necessary to further interpolate two adjacent cross-sections to obtain cross-sections with a smaller interval distance. Based on the cross-section data information obtained in the above steps, the inverse distance weighted method is used to interpolate the cross-sections in combination with the road longitudinal section to form a new cross-section set, thereby obtaining an optimized plane grid.

[0062] Inverse distance weighted interpolation, namely IDW (Inverse Distance Weight), can also be called the distance inverse multiplication method, which means that the distance inverse multiplication gridding method is a weighted average interpolation method, which can perform exact or smooth interpolation.

[0063] According to the road refinement rules, each cross-section segment is further refined, the spatial plane coordinates are obtained using the longitudinal section, and the corresponding elevation coordinates are obtained using the inclined real-life model to further refine the plane grid of the three-dimensional road.

[0064] Specifically, Figure 3 As shown, the process of constructing the initial three-dimensional road model by optimizing the plane grid includes:

[0065] Extract road texture from the road cross-section image to obtain a texture image;

[0066] Determine the road elements corresponding to each grid in the optimized plane grid;

[0067] Based on the identified optimized plane grid, the AcDbSubDMesh class object in the AutoCAD module is called to construct a three-dimensional road blank model;

[0068] The corresponding texture coordinates are extracted from the texture image according to the road elements corresponding to each grid, and the AcDbSubDMesh class function in the AutoCAD module is called to match each texture coordinate to the corresponding three-dimensional road model vertex coordinates to obtain an initial three-dimensional road model.

[0069] Specifically, during the road texture extraction process: the texture of the road is analyzed based on the cross-sectional view, and a texture image that meets the road design is extracted. If no texture image is retrieved, a default texture image is used.

[0070] In the process of road element identification: the road grid is matched with the cross section, and the road element category to which each grid in the road grid belongs is identified: such as road, shoulder, slope or roadbed.

[0071] During the construction of the 3D road blank model: Based on the identified grid, the 3D road blank model is established based on the AcDbSubDMesh class function in AutoCAD. During the generation of the 3D road model: Based on the extracted texture image and the identification results of the road elements, the texture coordinates of the road elements in the texture image are extracted; the texture coordinates are assigned to the corresponding 3D road model vertex coordinates. This step uses the AcDbSubDMesh class function to complete the matching of texture coordinates and vertex coordinates, thereby realizing the generation of the 3D road model.

[0072] In this embodiment, the two-dimensional plane is converted into a three-dimensional road model to further realize the three-dimensional expression of the real world.

[0073] Specifically, the process of flattening and lifting the inclined real scene model includes:

[0074] In the tilted real scene model, taking meshes as objects, constructing flattened slopes of triangular facets of each mesh, and obtaining corresponding vertex coordinates according to each flattened slope;

[0075] A plane is set in the inclined real scene model, vertex coordinates above the plane are flattened, and vertex coordinates below the plane are lifted.

[0076] In this embodiment, the inclined real-life model terrain corresponding to the grid is flattened. The side slope and roadbed generate a slope, and the terrain above the slope is lowered to the same level as the slope for the side slope, and the terrain below the slope is raised to the same level as the slope for the roadbed. A horizontal / slope is generated for the central road and shoulder, and all terrain above the horizontal / slope is flattened, and all terrain below the horizontal / slope is raised. This facilitates better integration of the inclined real-life model with the three-dimensional road model.

[0077] Specifically, the process of fusing the initial three-dimensional road model with the inclined real scene model after flattening and lifting to obtain the final three-dimensional road model includes:

[0078] The AutoCAD module is called to render the inclined real-scene model after the flattening and lifting process, and the rendered inclined real-scene model is integrated into the initial three-dimensional road model to obtain the final three-dimensional road model.

[0079] The above technical solution of the present invention extracts the coordinate data from the road information in the road design drawing, and constructs a road grid based on the coordinate data, uses the road grid to fuse with the inclined real-life model, constructs a three-dimensional road model under AutoCAD based on ObjectARX, and performs texture mapping with the plane grid through the road texture picture. Thereby, the automatic construction and generation of the three-dimensional road is completed, and the three-dimensional construction effect of the road design drawing in AutoCAD is realized. AutoCAD is widely used by road planning departments as an auxiliary mapping tool, and the demand for constructing a three-dimensional road model that is integrated with the terrain through design drawings in AutoCAD is also becoming more and more urgent. The present invention makes up for the shortcoming that the three-dimensional road and the terrain in AutoCAD are not effectively integrated, and realizes the requirements of three-dimensional construction of the road in AutoCAD and integration of the actual terrain, which has a good market promotion value.

[0080] Embodiment 2:

[0081] A three-dimensional road generation device based on an inclined real scene model, comprising:

[0082] Import module, used to import the road 2D plan design data package and the road tilt real scene model;

[0083] A parsing module, used for parsing the road two-dimensional plane design drawing data package to obtain two-dimensional road data;

[0084] A model building module, used to build a plane grid of a three-dimensional road through the two-dimensional road data, and perform interpolation processing on the plane grid to obtain an optimized plane grid;

[0085] constructing an initial three-dimensional road model through the optimized plane grid;

[0086] Flattening and lifting the inclined real scene model;

[0087] The initial 3D road model is fused with the inclined real scene model after flattening and lifting to obtain the final 3D road model.

[0088] Embodiment 3:

[0089] A three-dimensional road generation device based on an inclined real-scene model comprises a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the three-dimensional road generation method based on the inclined real-scene model as described above is implemented.

[0090] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0091] 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, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A three-dimensional road generation method based on an inclined real scene model, characterized in that: The steps include: Import the 2D road plan design data package and the road tilt real-life model; Parse the two-dimensional road data package to obtain two-dimensional road data; Constructing a plane grid of a three-dimensional road using the two-dimensional road data, and performing interpolation processing on the plane grid to obtain an optimized plane grid; constructing an initial three-dimensional road model through the optimized plane grid; Flattening and lifting the inclined real scene model; The initial 3D road model is merged with the inclined real scene model after flattening and lifting to obtain the final 3D road model; The two-dimensional road plan design data package includes a road plan and a road cross-section diagram; The process of parsing and obtaining the two-dimensional road data from the road two-dimensional plane design data package includes: Calling the secondary development package ObjectARX in the AutoCAD module to obtain the road centerline in the road plan, and analyzing the road centerline to obtain the starting point and the end point of the centerline; Traverse multiple cross sections in the road cross section diagram, and analyze multiple element information of the road in each cross section during the traversal process; In the direction from the starting point to the end point of the center line, the positions of the cross sections are sequentially retrieved in the road cross section diagram, the plane coordinates of the road elements at the cross sections are calculated according to the multiple element information corresponding to the retrieved cross sections, and a coordinate data set is established according to the plane coordinates of each road element corresponding to each cross section obtained by calculation; The plurality of element information includes road center, shoulder width, side slope, roadbed slope, centerline length, and shoulder length; The process of calculating the plane coordinates of the road elements at the cross section according to the retrieved multiple element information corresponding to the cross section, and establishing a coordinate data set according to the plane coordinates of each road element corresponding to each cross section obtained by calculation includes: Obtaining an intersection point where the cross section intersects the center of the road, calculating a tangent line of the intersection point, and obtaining direction angles of two ends of the road perpendicular to the tangent line according to the tangent line; Calculate the coordinates of both ends of the road perpendicular to the tangent line according to the tangent line, the direction angle and the length of the center line; Calculate the shoulder coordinates according to the tangent line and the shoulder width; Calculate the point coordinates of the outermost terrain according to the inclined real scene model, take the point coordinates as known points, emit slope rays with the slope slope, calculate the slope coordinates according to the point coordinates and the slope rays, and emit roadbed rays with the roadbed slope, calculate the roadbed coordinates according to the point coordinates and the roadbed rays; A coordinate data set is established based on the calculated coordinates of the two ends of the road, the shoulder coordinates, the slope coordinates and the roadbed coordinates corresponding to each cross section.

2. The three-dimensional road generation method according to claim 1, characterized in that: The importing of the two-dimensional road plan design data package and the tilted real scene model of the road specifically includes: Call the AutoCAD module to import the road 2D plan design data package and the pre-built inclined real-scene model.

3. The three-dimensional road generation method according to claim 1, characterized in that: The road two-dimensional plane design data package also includes a road longitudinal section diagram; The process of constructing a plane grid of a three-dimensional road by using the two-dimensional road data and performing interpolation processing on the plane grid to obtain an optimized plane grid includes: Constructing a plane grid of a three-dimensional road in the order of "slope / roadbed-shoulder-road-shoulder-slope / roadbed", and marking coordinates in corresponding grids on the plane grid according to the established coordinate data set; The inverse distance weighted method is used in combination with the road longitudinal section diagram to perform interpolation processing between adjacent grids in the plane grid to obtain the optimized plane grid.

4. The three-dimensional road generation method according to claim 1, characterized in that: The process of constructing the initial three-dimensional road model by optimizing the plane grid includes: Extract road texture from the road cross-section image to obtain a texture image; Determine the road elements corresponding to each grid in the optimized plane grid; Based on the identified optimized plane grid, the AcDbSubDMesh class object in the AutoCAD module is called to construct a three-dimensional road blank model; The corresponding texture coordinates are extracted from the texture image according to the road elements corresponding to each grid, and the AcDbSubDMesh class function in the AutoCAD module is called to match each texture coordinate to the corresponding three-dimensional road model vertex coordinates to obtain an initial three-dimensional road model.

5. The three-dimensional road generation method according to claim 1, characterized in that: The process of flattening and lifting the inclined real scene model includes: In the tilted real scene model, taking meshes as objects, constructing flattened slopes of triangular facets of each mesh, and obtaining corresponding vertex coordinates according to each flattened slope; A plane is set in the inclined real scene model, vertex coordinates above the plane are flattened, and vertex coordinates below the plane are lifted.

6. The three-dimensional road generation method according to claim 1, characterized in that: The process of fusing the initial three-dimensional road model with the inclined real scene model after flattening and lifting to obtain the final three-dimensional road model includes: The AutoCAD module is called to render the inclined real-scene model after the flattening and lifting process, and the rendered inclined real-scene model is integrated into the initial three-dimensional road model to obtain the final three-dimensional road model.

7. A three-dimensional road generation device based on an inclined real scene model, characterized in that: include: Import module, used to import the road 2D plan design data package and the road tilt real scene model; A parsing module, used for parsing the road two-dimensional plane design drawing data package to obtain two-dimensional road data; A model building module, used to build a plane grid of a three-dimensional road through the two-dimensional road data, and perform interpolation processing on the plane grid to obtain an optimized plane grid; constructing an initial three-dimensional road model through the optimized plane grid; Flattening and lifting the inclined real scene model; The initial 3D road model is merged with the inclined real scene model after flattening and lifting to obtain the final 3D road model; The two-dimensional road plan design data package includes a road plan and a road cross-section diagram; The analysis module is specifically used for: Calling the secondary development package ObjectARX in the AutoCAD module to obtain the road centerline in the road plan, and analyzing the road centerline to obtain the starting point and the end point of the centerline; Traverse multiple cross sections in the road cross section diagram, and analyze multiple element information of the road in each cross section during the traversal process; In the direction from the starting point to the end point of the center line, the positions of the cross sections are sequentially retrieved in the road cross section diagram, the plane coordinates of the road elements at the cross sections are calculated according to the multiple element information corresponding to the retrieved cross sections, and a coordinate data set is established according to the plane coordinates of each road element corresponding to each cross section obtained by calculation; The plurality of element information includes road center, shoulder width, side slope, roadbed slope, centerline length, and shoulder length; In the analysis module, the process of calculating the plane coordinates of the road elements at the cross section according to the retrieved multiple element information corresponding to the cross section, and establishing the coordinate data set according to the plane coordinates of each road element corresponding to each cross section obtained by calculation includes: Obtaining an intersection point where the cross section intersects the center of the road, calculating a tangent line of the intersection point, and obtaining direction angles of two ends of the road perpendicular to the tangent line according to the tangent line; Calculate the coordinates of both ends of the road perpendicular to the tangent line according to the tangent line, the direction angle and the length of the center line; Calculate the shoulder coordinates according to the tangent line and the shoulder width; Calculate the point coordinates of the outermost terrain according to the inclined real scene model, take the point coordinates as known points, emit slope rays with the slope slope, calculate the slope coordinates according to the point coordinates and the slope rays, and emit roadbed rays with the roadbed slope, calculate the roadbed coordinates according to the point coordinates and the roadbed rays; A coordinate data set is established based on the calculated coordinates of the two ends of the road, the shoulder coordinates, the slope coordinates and the roadbed coordinates corresponding to each cross section.

8. A three-dimensional road generation device based on an inclined real scene model, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the three-dimensional road generation method based on the inclined real scene model as described in any one of claims 1 to 6 is implemented.