An approach to automatically select a road for a shortcut by fusing engineering specifications and three-dimensional terrain features

By acquiring terrain data and construction standards under three-dimensional terrain constraints, calculating slopes in real time and avoiding steep slopes, and generating a continuous route inflection point sequence, the problem of automated continuous alignment in access road selection is solved, achieving efficient and standardized access road design.

CN123158740APending Publication Date: 2026-11-24GUIZHOU SHUZHILIANYUN ENG TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202611314735.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-27
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing access road alignment technology lacks the ability to automatically and continuously align under three-dimensional terrain constraints, resulting in low efficiency of manual alignment and difficulty in meeting engineering specifications. In particular, in mountainous terrain with large elevation differences, problems such as excessive longitudinal slope and unreasonable facility layout are prone to occur.

Method used

By acquiring 3D terrain mesh data and user-inputted access road construction standard parameters, the terrain slope is calculated in real time and the search direction is guided to avoid steep slopes, generating a continuous route inflection point sequence. Combined with cubic B-spline smoothing and equal arc length resampling, a 3D access road design model is generated and dynamically updated in response to parameter changes.

Benefits of technology

It realizes automated continuous alignment of access roads under three-dimensional terrain constraints, improves design efficiency, ensures that the path meets engineering specifications, reduces manual adjustment and calculation costs, and optimizes the integrated design of path geometry and facility layout.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123158740A_ABST
    Figure CN123158740A_ABST
Patent Text Reader

Abstract

This application provides an automated access road alignment method that integrates engineering specifications and three-dimensional terrain features, relating to the field of access road alignment technology. The method includes: acquiring three-dimensional terrain mesh data of the target area and user-input access road construction standard parameters; calculating the actual terrain slope between adjacent meshes in the current extension direction of the three-dimensional terrain mesh data, and determining a spiral alignment to avoid steep slopes, until a preliminary route inflection point sequence connecting the start and end points is obtained; smoothing the preliminary route inflection point sequence and extracting curve turning angle parameters, generating a three-dimensional access road design model based on the curve turning angle parameters and access road construction standard parameters; and re-executing the layout operations of the cross slope parameters and passing lane patches on the smoothed route based on the changed access road construction standard parameters to update the three-dimensional access road design model. The technical solution provided by this application can achieve automated continuous alignment in access road alignment under three-dimensional terrain constraints.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of access road alignment technology, and more specifically, to an automated access road alignment method that integrates engineering specifications and three-dimensional terrain features. Background Technology

[0002] Access road alignment is a crucial link in infrastructure construction, connecting the main project with external transportation. During the alignment process, it is necessary to comprehensively consider topographical and geological conditions, avoiding sections with adverse geological conditions such as landslides and debris flows, and ensuring roadbed stability. Simultaneously, it is essential to optimize the horizontal and vertical profile design to meet the safe passage requirements of construction and transportation vehicles and minimize disturbance to the surrounding ecological environment. Currently, access road alignment generally relies on designers manually drawing routes on two-dimensional topographic maps based on experience. This method has the following drawbacks: First, a two-dimensional perspective makes it difficult to intuitively avoid hidden steep slopes in three-dimensional space, resulting in manually drawn routes having significantly excessive longitudinal slopes in actual three-dimensional space. Second, it lacks the automated adaptation capability of engineering specifications. For example, access road construction standards strictly stipulate the passing lane spacing (200-300m) and the cross slope setting (2%-6%) under specific curve radii; manual alignment is prone to overlooking these details, leading to rework in later designs. Third, it lacks a dynamic linkage mechanism; once a section of terrain changes or parameters are altered, the entire route must be redrawn, which is extremely time-consuming.

[0003] Chinese patent CN111652436A relates to the field of path design, specifically an automatic route selection method for construction access roads based on contour lines. This invention utilizes contour maps to quickly and automatically select the route for construction access roads between two points, calculating the optimal route within tens of milliseconds. This automatically ensures the compliance and economy of construction access road planning, significantly reducing workload and improving efficiency compared to existing manual design methods. Furthermore, by finding shortcut access road segments, it simplifies construction difficulty, making the designed construction access roads more economical and rational. This scheme only uses two-dimensional contour maps to select the route of the construction access road between two points. However, under the three-dimensional terrain constraints of mountainous terrain with large elevation differences, the two-dimensional plane alignment mode lacks a real-time feedback mechanism for the longitudinal slope. This can lead to a "steep slope break" in the subsequent longitudinal profile design of the initially selected plane alignment. That is, the natural slope of the local ground line far exceeds the maximum longitudinal slope threshold of the access road, forcibly interrupting the continuity of the route. To overcome this break, manual trial and error is required, and the slope reduction and alignment can be achieved by setting up large-radius hairpin bends or long-distance detour contour lines. This process is highly dependent on engineering experience and has huge computational costs, which constitutes a substantial obstacle to the automated search of the algorithm. As a result, the discrete processing of the plane and longitudinal profiles cannot generate a continuous alignment that meets the longitudinal constraints. Therefore, how to achieve automated continuous alignment in access road selection under three-dimensional terrain constraints has become a difficult problem for the industry. Summary of the Invention

[0004] This application provides an automated access road alignment method that integrates engineering specifications and three-dimensional terrain features, which can realize automated continuous alignment in access road alignment under three-dimensional terrain constraints.

[0005] In a first aspect, this application provides an automated route selection method for access roads that integrates engineering specifications and three-dimensional terrain features, comprising the following steps: Acquire three-dimensional terrain mesh data of the target area and user-inputted access road construction standard parameters, wherein the access road construction standard parameters include at least the maximum longitudinal slope threshold and the passing lane spacing threshold; Using the starting grid in the three-dimensional terrain grid data as a reference, the system extends point by point towards the ending grid. The actual terrain slope between adjacent grids in the current extension direction is calculated in real time. When the actual terrain slope exceeds the maximum longitudinal slope threshold, the current extension direction is blocked, and the search direction is guided to turn to the lateral grid with the smallest angle with the local contour line, so as to continuously generate a spiraling line that avoids steep slopes on the three-dimensional terrain surface until a preliminary route inflection point sequence connecting the starting and ending points is obtained. The initial route inflection point sequence is smoothed and the curve turning angle parameters are extracted. Based on the curve turning angle parameters and the access road construction standard parameters, cross slope parameters and passing lane patches are laid out at the corresponding positions of the smoothed route to generate a three-dimensional access road design model. In response to externally inputted parameter change commands, the cross slope parameters and passing lane patterns on the smoothed route are re-executed based on the changed access road construction standard parameters to update the three-dimensional access road design model.

[0006] Preferably, acquiring the three-dimensional terrain mesh data of the target area and the user-inputted access road construction standard parameters specifically includes: The original point cloud data of the target area is collected, and a digital elevation model is generated after denoising and filtering. The digital elevation model is resampled using a regular grid to obtain three-dimensional terrain grid data containing three-dimensional coordinates and spatial topological relationships; The interactive interface provides a parameter input window to receive user input of access road construction standard parameters, including the maximum longitudinal slope threshold and the passing lane spacing threshold.

[0007] Preferably, the process of expanding point by point from the starting grid in the three-dimensional terrain grid data to the ending grid, and calculating in real time the actual terrain slope between adjacent grids in the current extension direction, specifically includes: Set the starting grid as the current grid, and determine the main search direction based on the spatial orientation of the current grid and the ending grid; Centered on the current grid, candidate grids are selected in the neighborhood sector of the main search direction, and the elevation difference and horizontal distance between the current grid and each candidate grid are extracted. The arctangent function value of the ratio of the elevation difference to the horizontal distance is used as the actual terrain slope in the direction from the current grid to the corresponding candidate grid.

[0008] Preferably, when the actual terrain slope exceeds the maximum longitudinal slope threshold, the current extension direction is blocked, and the search direction is guided to turn to the lateral grid with the smallest angle to the local contour line, so as to continuously generate a spiraling line that avoids steep slopes on the three-dimensional terrain surface until a preliminary route inflection point sequence connecting the start and end points is obtained. Specifically, this includes: Compare the actual terrain slope corresponding to each candidate grid with the maximum longitudinal slope threshold, mark the candidate grids whose actual terrain slope exceeds the maximum longitudinal slope threshold as blocking grids, and mark the candidate grids whose actual terrain slope does not exceed the maximum longitudinal slope threshold as feasible grids; If the feasible grid does not exist and only the blocking grid exists, then extract the elevation values ​​of all grids in the local neighborhood centered on the current grid, construct a local digital elevation model, fit the local terrain surface using the moving least squares method on the local digital elevation model, and calculate the contour tangent vector field of the local terrain surface. The lateral grid direction with the smallest angle to the tangent vector field of the contour line is determined as the spiraling guidance direction, and the grid adjacent to the current grid in the spiraling guidance direction is taken as the new current grid. If a feasible grid exists, the grid with the lowest overall cost is selected from the feasible grids as the new current grid; The grid center coordinates of the new current grid are stored sequentially into the route vertex sequence. The above search process is repeated until the new current grid is the endpoint grid, thus obtaining a preliminary route vertex sequence connecting the start and end points.

[0009] Preferably, smoothing the preliminary route inflection point sequence and extracting curve turning angle parameters specifically includes: The preliminary route inflection point sequence is globally fitted using cubic B-spline curves to obtain a continuous spatial curve. The spatial curve is then resampled at equal arc length intervals to generate a smoothed route inflection point sequence. The deflection angle of the smoothed route at each inflection point is calculated based on the change in azimuth of the line connecting adjacent inflection points in the smoothed route inflection point sequence, and the deflection angle is used as the curve turning angle parameter at the corresponding inflection point.

[0010] Preferably, the process of generating a three-dimensional access road design model by setting cross slope parameters and passing lane features at corresponding positions on the smoothed route based on the curve turning angle parameters and the access road construction standard parameters specifically includes: Based on the curve turning angle parameters at each inflection point of the smoothed route and the maximum longitudinal slope threshold in the access road construction standard parameters, calculate the cross slope value that is positively correlated with the curve turning angle, and assign the cross slope value to the road cross section of the corresponding inflection point to complete the cross slope parameter layout. Along the mileage direction of the smoothed route, with the passing lane spacing threshold in the standard parameters of the access road construction as the reference interval, the center point of the passing lane is inserted in the straight section of the smoothed route and the terrain is flat in a section that meets the sight distance requirement. With each passing lane center point as the positioning reference, the passing lane patch is generated by calling the preset passing lane parameterized patch template. The road cross section with the cross slope parameters set and the passing lane patch are swept along the smoothed route to generate a three-dimensional access road design model.

[0011] Preferably, raw point cloud data of the target area is collected by a mapping drone equipped with a lidar.

[0012] Preferably, in response to an externally input parameter change command, the layout operation of the cross slope parameters and passing lane features on the smoothed route is re-executed based on the changed access road construction standard parameters to update the three-dimensional access road design model. This specifically includes: Get parameter change events in the interactive interface, and trigger a parameter change command when the maximum longitudinal slope threshold or the passing lane spacing threshold is detected to have changed; Keeping the smoothed route unchanged, the cross slope values ​​of the road segments corresponding to each inflection point on the smoothed route are recalculated based on the changed maximum longitudinal slope threshold, and the insertion position of the center point of the passing lane is recalculated along the mileage direction of the smoothed route based on the changed passing lane spacing threshold. The parameterized passing lane template is called to regenerate the passing lane patches at the recalculated center point positions of each passing lane. The updated cross slope value and the regenerated passing lane patches replace the original cross slope parameters and passing lane patches. The road surface entity sweep is then performed again along the smoothed route to obtain the updated three-dimensional access road design model.

[0013] Secondly, this application provides a computer device, the computer device including a memory and a processor, the memory storing code, the processor being configured to acquire the code and execute the above-described method for automated access road selection that integrates engineering specifications and three-dimensional terrain features.

[0014] Thirdly, this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the aforementioned method for automated access road selection that integrates engineering specifications and three-dimensional terrain features.

[0015] The technical solutions provided by the embodiments disclosed in this application have the following beneficial effects: The automated access road alignment method provided in this application, which integrates engineering specifications and 3D terrain features, enables automated continuous alignment under 3D terrain constraints. First, a point cloud is collected using a surveying drone equipped with a lidar, and a digital elevation model is generated through filtering and interpolation. Then, 3D terrain grid data is constructed through regular grid resampling. Simultaneously, the maximum longitudinal slope threshold and passing lane distance threshold input by the user are received, providing a high-precision terrain base and quantifiable engineering specification constraints for subsequent automatic alignment selection. This avoids the subjectivity of terrain perception and the arbitrariness of specification execution inherent in traditional manual alignment selection. Second, the method expands point by point from the starting grid to the ending grid and calculates the actual terrain slope in real time. When the slope exceeds the limit, the search direction is guided to turn around the slope through the tangent vector field of local terrain contour lines, generating a preliminary route inflection point sequence to avoid steep slopes. This achieves automatic obstacle avoidance and continuous alignment under 3D terrain constraints, solving the problem of low efficiency due to repeated trial calculations in complex mountainous terrain. Furthermore, it addresses the problem of exhaustively listing feasible solutions. Then, the initial route inflection point sequence undergoes cubic B-spline smoothing and equal-arc-length resampling. Curve turning angle parameters are extracted based on the route deflection angle, thereby achieving dynamic matching between cross slope and curve turning amplitude. Simultaneously, passing lane patches are automatically deployed according to the passing lane spacing threshold, integrating route geometry optimization and facility parameterization into a unified 3D design model. This eliminates data gaps between the separate operations of route design and facility deployment, avoiding the problem that discrete processing of the horizontal and vertical planes cannot generate continuous alignments that satisfy longitudinal constraints. Finally, while maintaining the smoothed route geometry skeleton, it responds to parameter change commands by only locally recalculating and replacing the cross slope parameters and passing lane patches, avoiding the computational overhead of global re-selection after parameter adjustments. This achieves rapid response and dynamic updating of the design scheme to changes in standard parameters. In summary, the technical solution provided in this application can achieve automated continuous alignment in access road selection under 3D terrain constraints. Attached Figure Description

[0016] Figure 1 This is an exemplary flowchart of the automated access road alignment method that integrates engineering specifications and three-dimensional terrain features as shown in this application; Figure 2 This is a schematic diagram of the transformation process of the initial route inflection sequence shown in this application into a smoothed route after smoothing. Figure 3 This is a schematic diagram of the structure of a computer device for realizing an automated route selection method for access roads that integrates engineering specifications and three-dimensional terrain features, as shown in this application. Detailed Implementation

[0017] To better understand the technical solution of this application, the technical solution of this application will be described in detail below with reference to the accompanying drawings and specific embodiments.

[0018] refer to Figure 1 This figure is an exemplary flowchart of the automated access road alignment method integrating engineering specifications and three-dimensional terrain features as shown in this application. The figure mainly includes the following steps: In step S101, the three-dimensional terrain grid data of the target area and the access road construction standard parameters input by the user are obtained. The access road construction standard parameters include at least the maximum longitudinal slope threshold and the passing lane spacing threshold.

[0019] It should be noted that the target area in this application refers to the pre-defined terrain space used for the construction access road. This terrain space contains clear start and end points and complete surface elevation undulation information, which is the basic geographical range on which subsequent three-dimensional terrain grid data collection, automatic route selection calculation and design model generation are based.

[0020] The following steps are used to obtain the three-dimensional terrain mesh data of the target area and the access road construction standard parameters input by the user: The original point cloud data of the target area is collected, and a digital elevation model is generated after denoising and filtering. The digital elevation model is resampled using a regular grid to obtain three-dimensional terrain grid data containing three-dimensional coordinates and spatial topological relationships; The interactive interface provides a parameter input window to receive user input of access road construction standard parameters, including the maximum longitudinal slope threshold and the passing lane spacing threshold.

[0021] Specifically, firstly, a surveying drone equipped with a lidar collects raw point cloud data of the target area. Within the designated construction area, the drone flies along a serpentine route with a forward overlap of at least 60% and a lateral overlap of at least 40% to collect raw point cloud data. This raw point cloud data is then imported into the CSF cloth simulation filtering algorithm. By inverting the point cloud and simulating the cloth's descent with preset cloth stiffness and grid resolution parameters (typically 3 for cloth stiffness and 0.5 meters for grid resolution), ground points and non-ground points are separated. After removing vegetation and building noise, Kriging interpolation is used. The separated ground points are used as known sample points, and the spatial correlation of the fitted spherical semi-variogram is used as weights to calculate the elevation values ​​of the grid nodes to be interpolated, generating a digital elevation model with a spatial resolution of 1 meter. This digital elevation model refers to rasterized terrain representation data storing the three-dimensional coordinates of the ground surface in a regular grid format. Then… Then, the digital elevation model is resampled using a bilinear interpolation algorithm. This involves recalculating the 3D coordinates of each grid center point using a preset grid spacing parameter, typically 5 meters, meaning the horizontal distance between adjacent grid center points in the generated 3D terrain grid data is 5 meters. The bilinear interpolation method extracts the elevation values ​​of the four nearest digital elevation model grid nodes surrounding the target grid center point and performs linear interpolation in both the X and Y directions to obtain the elevation value of the target grid center point. For example, if the coordinates and elevation values ​​of the four nodes surrounding the target grid center point are (0,0,100.5), (5,0,101.2), (0,5,100.8), and (5,5,101.5), respectively, interpolation is first performed in the X direction to obtain (2.5,0,100.85) for the first two points and (2.5,5,101.15) for the last two points. Then, interpolation is performed in the Y direction to obtain the target point (2.5,2.5,101).Simultaneously, an array of row and column index offsets is established between each grid node and its eight neighboring grid nodes, with offsets of (-1,-1), (-1,0), (-1,1), (0,-1), (0,1), (1,-1), (1,0), and (1,1), forming a 3D terrain grid data containing 3D coordinates and spatial topological relationships. The spatial topological relationships refer to the adjacency table constructed between grid nodes using the row and column index offset array, used to support rapid location and traversal of adjacent grids during subsequent path searching. Finally, numerical input boxes and dropdown menus are displayed in the software interface. A combination of checkboxes constructs a parameter input window. This window's data binding mechanism receives user input as a percentage value representing the maximum longitudinal slope threshold and a metric value representing the passing lane spacing threshold. An input validation callback function is called to determine if the input percentage value falls within a preset allowable range of 0% to 25% and if the metric value falls within a preset allowable range of 100 meters to 1000 meters. Input values ​​exceeding these ranges are displayed with a pop-up warning and the value is rejected from saving. For example, if the user inputs a maximum longitudinal slope threshold of 12% and a passing lane spacing threshold of 300 meters, the value is saved after successful validation, thus completing the acquisition of the access road construction standard parameters.

[0022] It should be noted that the access road construction standard parameters in this application refer to a set of quantitative constraint indicators abstracted from the construction access road design specifications to control route selection and facility layout. The access road construction standard parameters transform the qualitative requirements in the construction access road design specifications into quantitative constraint indicators that can be directly called by the computer automatic route selection algorithm. Among them, the maximum longitudinal slope threshold serves as a hard constraint condition for determining whether the terrain slope between adjacent grids meets the vehicle's climbing ability during the path search stage, and determines whether the search direction is blocked and whether it is necessary to start the spiraling route to avoid the steep slope. The passing lane spacing threshold serves as a mileage interval reference benchmark during the facility layout stage, and is used to determine the insertion position and layout density of the passing lane patch along the longitudinal direction of the route after the smooth route has been generated. The two together constrain the complete automated access road design process from macro-path direction to micro-facility configuration.

[0023] In step S102, the starting grid in the three-dimensional terrain grid data is used as a reference to extend point by point to the ending grid. The actual terrain slope between adjacent grids in the current extension direction is calculated in real time. When it is determined that the actual terrain slope exceeds the maximum longitudinal slope threshold, the current extension direction is blocked, and the search direction is guided to turn to the lateral grid with the smallest angle with the local contour line, so as to continuously generate a spiral line that avoids steep slopes on the three-dimensional terrain surface until a preliminary route inflection point sequence connecting the starting and ending points is obtained.

[0024] The following steps are used to calculate the actual terrain slope between adjacent grids in the current extension direction, extending point by point from the starting grid to the ending grid in the three-dimensional terrain grid data: Set the starting grid as the current grid, and determine the main search direction based on the spatial orientation of the current grid and the ending grid; Centered on the current grid, candidate grids are selected in the neighborhood sector of the main search direction, and the elevation difference and horizontal distance between the current grid and each candidate grid are extracted. The arctangent function value of the ratio of the elevation difference to the horizontal distance is used as the actual terrain slope in the direction from the current grid to the corresponding candidate grid.

[0025] Specifically, firstly, the row and column indices of the user's starting grid and ending grid are read from the 3D terrain grid data. The row and column indices of the starting grid are assigned to the current grid index variable, completing the initialization of the search starting point. The current grid refers to the latest grid cell reached at the end of the path during the search process. Based on the row and column indices of the current grid and the ending grid, the row index difference Δrow and column index difference Δcol between the ending grid and the current grid are calculated. The arctangent function value of Δrow and Δcol, atan2(Δrow, Δcol) is used as the main search direction angle. For example, when the endpoint grid is located to the lower right of the current grid and Δrow is 3 and Δcol is 4, the main search direction angle is atan2(3,4), which is approximately 36.87 degrees. This completes the determination of the main search direction. The main search direction refers to the preferred expansion direction defined by the vector pointing from the current grid to the endpoint grid. Then, with the current grid as the center, within a ±45-degree fan-shaped neighborhood with the main search direction angle as the center line, all grids covered by this fan-shaped area are traversed according to the preset search radius R. The row and column indices of each traversed grid are extracted and combined with the row and column indices of the current grid to form a candidate grid set. For example, when the search radius R is 3 grid units, the fan-shaped area covers approximately 7 to 9 candidate grids. The candidate grids refer to the grid cells within the neighborhood sector that are selected as potential targets for the next expansion. For each candidate grid in the selected grid set, the elevation values ​​of the current grid and the candidate grid are read from the 3D terrain grid data. The absolute value of the difference between the elevation value of the candidate grid and the elevation value of the current grid is taken as the elevation difference corresponding to the candidate grid. At the same time, based on the row and column indices of the current grid and the candidate grid, the square root of the sum of the squares of the difference in row indices multiplied by the grid resolution and the difference in column indices multiplied by the grid resolution is taken as the horizontal distance corresponding to the candidate grid. The grid resolution is the horizontal distance between the center points of adjacent grids in the 3D terrain grid data, typically 5 meters. Finally, the quotient of the elevation difference divided by the horizontal distance is taken as the slope tangent. The arctangent function is calculated for this slope tangent, and the radian result is converted into an angle value to obtain the actual terrain slope in the direction from the current grid to the corresponding candidate grid.

[0026] It should be noted that the actual terrain slope in this application refers to the surface inclination angle calculated based on the elevation difference and horizontal distance between two adjacent grid points on the three-dimensional terrain surface. This angle is used to determine whether the expansion direction meets the maximum longitudinal slope constraint condition. In this scheme, the elevation difference and horizontal distance between adjacent grids in the three-dimensional terrain grid data are converted into a quantitative index of surface inclination expressed as an angle value. This provides a basis for path search that can be directly compared with the maximum longitudinal slope threshold. Thus, during the point-by-point expansion process, the path direction is constrained in real time to always meet the longitudinal slope design specifications of the construction access road.

[0027] When the actual terrain slope exceeds the maximum longitudinal slope threshold, the current extension direction is blocked, and the search direction is guided to the lateral grid with the smallest angle to the local contour line, so as to continuously generate spiral lines that avoid steep slopes on the three-dimensional terrain surface until a preliminary route inflection point sequence connecting the start and end points is obtained. This is achieved through the following steps: Compare the actual terrain slope corresponding to each candidate grid with the maximum longitudinal slope threshold, mark the candidate grids whose actual terrain slope exceeds the maximum longitudinal slope threshold as blocking grids, and mark the candidate grids whose actual terrain slope does not exceed the maximum longitudinal slope threshold as feasible grids; If the feasible grid does not exist and only the blocking grid exists, then extract the elevation values ​​of all grids in the local neighborhood centered on the current grid, construct a local digital elevation model, fit the local terrain surface using the moving least squares method on the local digital elevation model, and calculate the contour tangent vector field of the local terrain surface. The lateral grid direction with the smallest angle to the tangent vector field of the contour line is determined as the spiraling guidance direction, and the grid adjacent to the current grid in the spiraling guidance direction is taken as the new current grid. If a feasible grid exists, the grid with the lowest overall cost is selected from the feasible grids as the new current grid; The grid center coordinates of the new current grid are stored sequentially into the route vertex sequence. The above search process is repeated until the new current grid is the endpoint grid, thus obtaining a preliminary route vertex sequence connecting the start and end points.

[0028] In practice, firstly, the actual terrain slope value corresponding to each candidate grid in the candidate grid set is traversed. Each actual terrain slope value is compared with the maximum longitudinal slope threshold. If the actual terrain slope is greater than the maximum longitudinal slope threshold, a blocking flag is written to the attribute tag field of the candidate grid. If the actual terrain slope is less than or equal to the maximum longitudinal slope threshold, a feasible flag is written, thus completing the feasibility classification of the candidate grids. Here, blocking grids refer to candidate grids that are prohibited from expansion because their terrain slope exceeds the specification limit, and feasible grids refer to candidate grids that are allowed to expand because their terrain slope meets the specification requirements. Secondly, it is checked whether the count of feasible grids is zero. If the count of feasible grids is zero and only blocking grids exist, This indicates that none of the candidate grids within the main search direction sector meet the longitudinal slope requirements. At this point, the elevation values ​​of all grids within the 8-neighborhood of the current grid are extracted. The row and column indices of these grids are then combined with their corresponding elevation values ​​to form a local elevation matrix, completing the construction of the local digital elevation model (DEM). The DEM refers to the local terrain elevation sampling data stored in matrix form within the neighborhood of the current grid. Next, a local plane coordinate system is established for each grid point in the DEM, with the current grid as the origin. The moving least squares method is used to fit the local terrain surface. Specifically, a Gaussian weighted function is used to calculate the weight of each local grid point, where the bandwidth parameter h of the Gaussian weighted function is taken from the local neighborhood. By minimizing the coefficient vector of the surface polynomial using half the radius, a quadratic polynomial local terrain surface equation of the form Z=f(X,Y) is obtained. The local terrain surface refers to a smooth approximate surface fitted within a local neighborhood using the moving least squares method. The first-order partial derivatives of the surface in the X and Y directions are calculated on the local terrain surface equation to obtain a gradient vector field. Each vector in the gradient vector field is rotated 90 degrees around the Z-axis to obtain the contour tangent vector field. The contour tangent vector field is the vector field that is tangent to the contour lines of the local terrain surface everywhere, and its direction points towards the direction of minimum terrain slope, i.e., along the contour lines. Furthermore, calculations are performed with the current grid as the center. For each adjacent grid in its eight neighborhood, calculate the angle between the direction vector of each direction vector and the tangent vector of the contour line at the current grid. Select the direction of the adjacent grid with the smallest absolute value of the angle as the spiraling guidance direction. For example, when the angle between the west direction vector and the tangent vector in the eight neighborhood is 8 degrees and the northwest direction is 22 degrees, select the west direction with an angle of 8 degrees as the spiraling guidance direction. The spiraling guidance direction refers to the alternative expansion direction of bypassing the steep slope along the contour tangent direction when there is no feasible path in the main search direction sector. After determining the spiraling guidance direction, assign the row and column indices of the grids adjacent to the current grid in the spiraling guidance direction to the current grid index variable to complete the update of the current grid.Then, if the feasible grid count is greater than zero, a comprehensive cost is calculated for each feasible grid, consisting of a weighted sum of distance cost, elevation cost, and direction cost. The distance cost is the Euclidean distance from the candidate grid to the endpoint grid; the elevation cost is the absolute value of the elevation difference between the candidate grid and the current grid; and the direction cost is the angle of deviation of the candidate grid from the main search direction. These three costs are normalized, multiplied by weighting coefficients of 0.4, 0.3, and 0.3 respectively, and then summed. The row and column indices of the feasible grid with the lowest comprehensive cost are assigned to the current grid index variable, completing the update of the current grid. Finally, the updated 3D coordinates of the current grid center are appended to the end of the route inflection point sequence. The route inflection point sequence is an ordered list of coordinates of the current grid center stored sequentially according to the search progression order. This complete search loop from candidate grid selection to coordinate appending is repeated until the row and column indices of the current grid match those of the endpoint grid. The route inflection point sequence with now fully ordered coordinates is then used as the initial route inflection point sequence connecting the start and end points.

[0029] It should be noted that the preliminary route inflection point sequence in this application refers to the geometric skeleton of the continuous spatial path from the starting grid to the ending grid after spiraling line operations that constrain longitudinal slope and avoid steep slopes. During the search generation stage, the maximum longitudinal slope threshold is used as a hard constraint to block the direction that exceeds the limit in real time. When the terrain is steep and the main search direction is completely blocked, the search is guided to turn to the slope-avoiding direction through the tangent vector field of the local terrain surface contour lines. This makes the generated inflection point sequence avoid insurmountable steep slope sections in terms of macroscopic direction, providing an initial path geometric input that is self-consistent with engineering specifications without the need for manual intervention and adjustment for subsequent smoothing processing and engineering design model generation.

[0030] In step S103, the initial route inflection point sequence is smoothed and the curve turning angle parameters are extracted. Based on the curve turning angle parameters and the access road construction standard parameters, cross slope parameters and passing lane patches are laid out at the corresponding positions of the smoothed route to generate a three-dimensional access road design model.

[0031] The smoothing of the preliminary route inflection point sequence and the extraction of curve turning angle parameters are achieved through the following steps: The preliminary route inflection point sequence is globally fitted using cubic B-spline curves to obtain a continuous spatial curve. The spatial curve is then resampled at equal arc length intervals to generate a smoothed route inflection point sequence. The deflection angle of the smoothed route at each inflection point is calculated based on the change in azimuth of the line connecting adjacent inflection points in the smoothed route inflection point sequence, and the deflection angle is used as the curve turning angle parameter at the corresponding inflection point.

[0032] Specifically, firstly, the three-dimensional coordinates of each inflection point in the preliminary route inflection point sequence are used as the input for the model points of the B-spline curve fitting. The cumulative chord length parameterization method is used to calculate the nodal parameter values ​​corresponding to each model point. Specifically, starting from the first inflection point, the Euclidean distances between adjacent inflection points are calculated sequentially and accumulated. The accumulated chord length of each inflection point is divided by the total chord length to obtain the normalized nodal parameter values. For example, if the inflection point sequence contains three points P0, P1, and P2, and the distance from P0 to P1 is 10 meters and the distance from P1 to P2 is 15 meters, the normalized nodal parameter values ​​are 0, 0.4, and 1.0, respectively. A cubic B-spline basis function is selected and constructed using the nodal parameter values. The matrix is ​​used to inversely calculate the coordinates of the control vertices of the B-spline curve by solving a system of linear equations constrained by the coordinates of the shape points. Control vertices are intermediate computational nodes that determine the shape of the B-spline curve but are not necessarily traversed by the curve itself. Substituting the control vertices into the cubic B-spline curve equation yields a continuous spatial curve expressed as a piecewise polynomial. This continuous spatial curve is a smooth, first-order, continuously differentiable path curve in three-dimensional space generated by fitting the cubic B-spline curve. This continuous spatial curve is then resampled with equal arc lengths. Starting from the curve's origin, the spatial coordinates of each sampling point are calculated point-by-point along the curve's arc length direction at a preset sampling arc length step size. A typical sampling arc length step size is 2 meters. Specifically, given the current value of the curve parameter u, iterates with a step size Δu, using the secant method to find the integral value of the arc length of the curve from parameter u to u+Δu that equals the value of the sampling arc length step size Δu. The coordinates of the curve points at this parameter are extracted until the entire curve is covered. All sampling points are stored sequentially to obtain a smoothed route inflection point sequence. The smoothed route inflection point sequence refers to an ordered list of coordinates within the broken line segment generated after B-spline fitting and equal arc length resampling, characterized by smooth transitions and uniform spacing between adjacent points. Finally, the smoothed route inflection point sequence is traversed from the second inflection point to the second-to-last inflection point, and the coordinates of the previous inflection point are extracted for each inflection point. Given the coordinates of the current inflection point and the coordinates of the next inflection point, calculate the direction vector from the previous inflection point to the current inflection point and the direction vector from the current inflection point to the next inflection point. Denote the projection vectors of the two direction vectors onto the horizontal plane as V1 and V2, respectively. Use the vector dot product formula V1·V2 divided by the product of the magnitudes of V1 and V2 to obtain the cosine value of the angle between the two vectors. Take the inverse cosine function of this cosine value to obtain the deflection angle in degrees. The deflection angle refers to the turning angle formed by the direction vectors of two adjacent road segments in the horizontal plane, which is used to characterize the curvature of the route at the inflection point. Assign the calculated deflection angle to the current inflection point as its curve turning angle parameter.

[0033] refer to Figure 2This figure is a schematic diagram of the transformation process from the initial route inflection point sequence shown in this application to the smoothed route after smoothing. The initial route inflection point sequence, which is formed by connecting multiple black dots in sequence at the top of the figure, represents the original polyline path formed by connecting discrete inflection points obtained based on the three-dimensional terrain grid expansion search. After route smoothing optimization, it is transformed into the smoothed route shown in the strip below. The discrete inflection points are fitted into a continuous and smooth curve shape. Multiple curve corners are identified and marked at the route turning positions. The curve corner parameters will serve as the basic data for the subsequent layout of the access road cross slope parameters and the layout of the passing lane patches, so as to realize the construction of a standardized three-dimensional model of the access road based on the linear features.

[0034] It should be noted that the curve turning angle parameter in this application refers to the attribute value marked on each inflection point of the smoothed route to quantify the turning amplitude at that point. For example, when V1 points due east and V2 points northeast, the deflection angle is 45 degrees, which is used for subsequent cross slope value calculation. This scheme quantifies the curvature of the smoothed route at each inflection point as a deflection angle value, providing an input variable directly related to the route geometry for subsequent cross slope value calculation. This allows the cross slope parameter to be adaptively adjusted according to the curve turning angle, i.e., the sharper the curve, the greater the cross slope. This achieves dynamic matching between the road surface lateral slope and the route horizontal alignment, avoiding the problems of poor lateral drainage or insufficient driving stability in curved sections caused by using fixed values ​​or manual segmentation of cross slope parameters in traditional methods.

[0035] Based on the curve turning angle parameters and the access road construction standard parameters, the cross slope parameters and passing lane features are set up at the corresponding positions of the smoothed route. The generation of the three-dimensional access road design model is achieved through the following steps: Based on the curve turning angle parameters at each inflection point of the smoothed route and the maximum longitudinal slope threshold in the access road construction standard parameters, calculate the cross slope value that is positively correlated with the curve turning angle, and assign the cross slope value to the road cross section of the corresponding inflection point to complete the cross slope parameter layout. Along the mileage direction of the smoothed route, with the passing lane spacing threshold in the standard parameters of the access road construction as the reference interval, the center point of the passing lane is inserted in the straight section of the smoothed route and the terrain is flat in a section that meets the sight distance requirement. With each passing lane center point as the positioning reference, the passing lane patch is generated by calling the preset passing lane parameterized patch template. The road cross section with the cross slope parameters set and the passing lane patch are swept along the smoothed route to generate a three-dimensional access road design model.

[0036] Specifically, first, iterate through each inflection point in the smoothed route inflection point sequence, read the curve angle parameter value associated with each inflection point, and substitute the curve angle parameter and the maximum longitudinal slope threshold into the cross slope calculation formula. Calculate the cross slope value of the road surface for the corresponding inflection point segment, where The minimum cross slope is set at 2%. The maximum preset cross slope is 6%. The curve turning angle parameter at the current inflection point. To preset the maximum turning angle reference value as 90 degrees, for example, when the turning angle parameter of a certain inflection point curve is 30 degrees, the calculated cross slope value is 2% + (30 / 90) × (6% - 2%) ≈ 3.33%. This formula ensures that the cross slope value is positively correlated with the curve turning angle and does not exceed the maximum longitudinal slope threshold. The calculated cross slope value is written into the road cross section attribute field of the corresponding inflection point segment. The road cross section refers to the geometric definition data of the road profile perpendicular to the centerline of the route, including the road width and the transverse slope value, thus completing the cross slope parameter layout. Then, along the mileage direction of the smoothed route, starting from the starting point, the passing lane layout positions are searched at intervals based on the passing lane spacing threshold. Specifically, starting from 0 meters at the route's starting point, the route advances meter by meter along the centerline, accumulating the mileage value. When the accumulated mileage value reaches an integer multiple of the passing lane spacing threshold, advancement is paused. The route deflection angle within 50 meters before and after the current mileage position is checked to see if it is less than a preset straight-line determination threshold of 5 degrees. If so, the mileage segment is determined to be a straight segment. Then, the terrain grid elevation values ​​within 30 meters before and after the current mileage position are extracted to calculate the root mean square of the terrain undulation. If the root mean square is less than a preset flatness determination threshold of 0.5 meters, the mileage position is determined to be a flat terrain segment. A straight segment refers to a section of road where the route deflection angle is continuously less than the threshold, and a flat terrain segment refers to a section where the terrain elevation changes within a certain range. For road sections that meet the preset flatness conditions, if the current mileage position simultaneously meets both the straight section and flat terrain conditions, then the center point of the passing lane is inserted at that mileage position. If not, the position is slightly adjusted forward or backward along the mileage direction until both conditions are met. The center point of the passing lane refers to the positioning reference coordinate point of the passing lane geometric patch on the route. Using each passing lane center point as the positioning reference, a preset passing lane parametric patch template is called. The passing lane parametric patch template refers to parametric geometric graphic description data with the passing lane center point as the origin, a predefined passing lane length of 15 meters, a width of 3 meters, and a transition section length of 10 meters. The template origin is translated to the coordinates of the passing lane center point and then... The template is rotated and aligned with the tangent direction to generate the passing lane feature at that location. The passing lane feature refers to the geometric entity of the road widening area in three-dimensional space. Finally, the road cross section with the cross slope parameters is swept and lofted along the smoothed route centerline to generate a continuous road entity. Road entity sweeping refers to the process of generating a three-dimensional entity model with the road cross section as the cross-sectional outline and the route centerline as the sweeping path. When the route mileage position is detected to coincide with the passing lane feature position during the sweeping process, the current section is automatically switched to a composite section that includes the passing lane widening size to continue sweeping, completing the integrated three-dimensional modeling of the road surface and the passing lane, and generating a three-dimensional access road design model.

[0037] It should be noted that the three-dimensional access road design model in this application refers to the three-dimensional digital design of the construction access road that includes complete road geometry, cross slope parameters, and passing lane facilities. In this embodiment, the route geometry skeleton after longitudinal slope constraint selection and smoothing is integrated with the cross slope parameters adaptively calculated based on curve turning angles and the passing lane patches automatically deployed according to spacing thresholds and terrain conditions into a unified three-dimensional digital design result. This realizes the fully automated modeling of the construction access road from macro-path planning to micro-cross-section configuration and then to the layout of ancillary facilities. It eliminates the data transmission gaps and parameter inconsistencies caused by the step-by-step manual operation of path selection and facility layout in traditional design. This allows the design results to be directly used for engineering quantity statistics, construction simulation, and on-site layout in a three-dimensional visualization environment, effectively improving the overall efficiency of construction access road design and the completeness of the deliverables.

[0038] In step S104, in response to the parameter change command input from the outside, the layout operation of the cross slope parameters and passing lane patches on the smoothed route is re-executed based on the changed access road construction standard parameters, so as to update the three-dimensional access road design model.

[0039] In response to externally inputted parameter change commands, the layout operations of the cross slope parameters and passing lane features on the smoothed route are re-executed based on the changed access road construction standard parameters to update the three-dimensional access road design model. This is achieved through the following steps: Get parameter change events in the interactive interface, and trigger a parameter change command when the maximum longitudinal slope threshold or the passing lane spacing threshold is detected to have changed; Keeping the smoothed route unchanged, the cross slope values ​​of the road segments corresponding to each inflection point on the smoothed route are recalculated based on the changed maximum longitudinal slope threshold, and the insertion position of the center point of the passing lane is recalculated along the mileage direction of the smoothed route based on the changed passing lane spacing threshold. The parameterized passing lane template is called to regenerate the passing lane patches at the recalculated center point positions of each passing lane. The updated cross slope value and the regenerated passing lane patches replace the original cross slope parameters and passing lane patches. The road surface entity sweep is then performed again along the smoothed route to obtain the updated three-dimensional access road design model.

[0040] Specifically, firstly, in the parameter input window of the interactive interface, the maximum longitudinal slope threshold input box and the passing lane distance threshold input box are bound to onChange event listener functions respectively. When the user modifies the value in the input box and triggers a focus loss or Enter confirmation operation, the onChange event listener function captures the old and new values ​​of the input box, compares the old and new values ​​as strings, and if the value has changed, a parameter change instruction is triggered. The parameter change instruction is an internal message object that carries the new value of the maximum longitudinal slope threshold and / or the passing lane distance threshold after the change. For example, when the user changes the maximum longitudinal slope threshold from 12% to 10%, a parameter change with the new threshold of 10% is triggered. The instruction is as follows: Then, keeping the coordinates of each inflection point and the curve turning angle parameters unchanged in the smoothed route inflection point sequence, substitute the changed maximum longitudinal slope threshold from the parameter change instruction into the cross slope calculation formula to recalculate the cross slope value corresponding to each inflection point. Simultaneously, based on the changed passing lane spacing threshold, along the mileage direction of the smoothed route, the passing lane center point search is re-executed at intervals using the changed passing lane spacing threshold as the reference. Specifically, starting from 0 meters at the route starting point, the mileage is re-accumulated. When the accumulation reaches an integer multiple of the changed passing lane spacing threshold, the straight section and flat terrain conditions are checked and fine-tuned as needed, generating a new set of passing lane center points. The insertion position of the passing lane center point refers to the position along the road... The passing lane layout location sequence is re-searched along the mileage direction according to the passing lane spacing threshold. Finally, at the recalculated center point positions of each passing lane, the parameterized passing lane patch template is called, the template origin is translated to the coordinates of each passing lane center point, and rotated and aligned according to the route tangent direction to regenerate the passing lane patch set. Then, the cross slope parameter array in the original 3D access road design model is replaced with the updated cross slope value array, and the original passing lane patch list is replaced with the regenerated passing lane patch set to complete the local update of the model parameters. Finally, the smoothed route centerline is used as the sweep path line, and the cross slope values ​​corresponding to each inflection point segment are used to reconstruct each mileage. The road surface cross-sectional outline at the location is swept segment by segment along the sweep path line, and the composite section with widened dimensions is switched at the passing lane patch position. The road surface entity sweep operation is re-executed. Road surface entity sweep refers to the process of regenerating a three-dimensional entity model along the route centerline with the updated cross-section as the section. After the sweep is completed, the newly generated three-dimensional road surface entity replaces the road surface entity part in the original three-dimensional access road design model to obtain the updated three-dimensional access road design model. For example, after the user changes the passing lane spacing threshold from 200 meters to 150 meters, the number of passing lanes on the route increases from 5 to 7. The updated three-dimensional access road design model automatically generates widened road surface entities at the newly added passing lane positions.

[0041] It should be noted that the updated three-dimensional access road design model in this application refers to the three-dimensional access road design result generated by re-sweeping the road surface entity after locally recalculating and replacing the cross slope value and the position and number of passing lane patches based on the changed maximum longitudinal slope threshold and / or passing lane spacing threshold, while keeping the smoothed route geometric skeleton unchanged. Compared with the previous three-dimensional access road design model, the cross slope distribution of the road surface and the spacing of the passing lane facilities have been re-matched with the changed access road construction standard parameters, while the horizontal alignment and longitudinal orientation of the route remain unchanged.

[0042] In addition, this application also provides a computer device, the computer device including a memory and a processor, the memory storing code, the processor being configured to acquire the code and execute the above-described method for automated access road selection that integrates engineering specifications and three-dimensional terrain features.

[0043] In some embodiments, reference Figure 3 The figure is a schematic diagram of the computer device used to implement the automated access road alignment method integrating engineering specifications and three-dimensional terrain features according to this application. The automated access road alignment method integrating engineering specifications and three-dimensional terrain features in the above embodiments can be implemented through... Figure 3 The computer device shown is used to implement this, and the computer device includes at least one processor 301, a communication bus 302, a memory 303, and at least one communication interface 304.

[0044] The processor 301 may be a general-purpose central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more devices used to control the execution of the access road automated route selection method that integrates engineering specifications and three-dimensional terrain features in this application.

[0045] The communication bus 302 can be used to transmit information between the aforementioned components.

[0046] The memory 303 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disks or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto. The memory 303 may exist independently and be connected to the processor 301 via the communication bus 302. The memory 303 may also be integrated with the processor 301.

[0047] The memory 303 stores program code for executing the solution of this application, and its execution is controlled by the processor 301. The processor 301 executes the program code stored in the memory 303. The program code may include one or more software modules. In the above embodiments, the determination of the automated access road alignment method integrating engineering specifications and three-dimensional terrain features can be implemented by the processor 301 and one or more software modules in the program code in the memory 303.

[0048] Communication interface 304 uses any transceiver-like device for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc.

[0049] In a specific implementation, as one example, a computer device may include multiple processors, each of which may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. Here, a processor may refer to one or more devices, circuits, and / or processing cores used to process data (e.g., computer program instructions).

[0050] The aforementioned computer device can be a general-purpose computer device or a special-purpose computer device. In specific implementations, the computer device can be a desktop computer, a portable computer, a network server, a handheld digital assistant (PDA), a mobile phone, a tablet computer, a wireless terminal device, a communication device, or an embedded device. This application does not limit the type of computer device.

[0051] In addition, this application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-mentioned method for automated access road selection that integrates engineering specifications and three-dimensional terrain features.

[0052] Although preferred embodiments of this application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of this application.

[0053] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A method for automated route selection of access roads that integrates engineering specifications and three-dimensional terrain features, characterized in that, Includes the following steps: Acquire three-dimensional terrain mesh data of the target area and user-inputted access road construction standard parameters, wherein the access road construction standard parameters include at least the maximum longitudinal slope threshold and the passing lane spacing threshold; Using the starting grid in the three-dimensional terrain grid data as a reference, the system extends point by point towards the ending grid. The actual terrain slope between adjacent grids in the current extension direction is calculated in real time. When the actual terrain slope exceeds the maximum longitudinal slope threshold, the current extension direction is blocked, and the search direction is guided to turn to the lateral grid with the smallest angle with the local contour line, so as to continuously generate a spiraling line that avoids steep slopes on the three-dimensional terrain surface until a preliminary route inflection point sequence connecting the starting and ending points is obtained. The initial route inflection point sequence is smoothed and the curve turning angle parameters are extracted. Based on the curve turning angle parameters and the access road construction standard parameters, cross slope parameters and passing lane patches are laid out at the corresponding positions of the smoothed route to generate a three-dimensional access road design model. In response to externally inputted parameter change commands, the cross slope parameters and passing lane patterns on the smoothed route are re-executed based on the changed access road construction standard parameters to update the three-dimensional access road design model.

2. The automated access road alignment method integrating engineering specifications and three-dimensional terrain features as described in claim 1, characterized in that, The acquisition of 3D terrain mesh data of the target area and user-inputted access road construction standard parameters specifically includes: The original point cloud data of the target area is collected, and a digital elevation model is generated after denoising and filtering. The digital elevation model is resampled using a regular grid to obtain three-dimensional terrain grid data containing three-dimensional coordinates and spatial topological relationships; The interactive interface provides a parameter input window to receive user input of access road construction standard parameters, including the maximum longitudinal slope threshold and the passing lane spacing threshold.

3. The automated route selection method for access roads that integrates engineering specifications and three-dimensional terrain features as described in claim 1, characterized in that, Extending point by point from the starting grid in the three-dimensional terrain grid data to the ending grid, and calculating in real time the actual terrain slope between adjacent grids in the current extension direction, specifically includes: Set the starting grid as the current grid, and determine the main search direction based on the spatial orientation of the current grid and the ending grid; Centered on the current grid, candidate grids are selected in the neighborhood sector of the main search direction, and the elevation difference and horizontal distance between the current grid and each candidate grid are extracted. The arctangent function value of the ratio of the elevation difference to the horizontal distance is used as the actual terrain slope in the direction from the current grid to the corresponding candidate grid.

4. The automated access road alignment method integrating engineering specifications and three-dimensional terrain features as described in claim 1, characterized in that, When the actual terrain slope exceeds the maximum longitudinal slope threshold, the current extension direction is blocked, and the search direction is guided to turn to the lateral grid with the smallest angle to the local contour line, so as to continuously generate spiral lines that avoid steep slopes on the three-dimensional terrain surface until a preliminary route inflection point sequence connecting the start and end points is obtained. Specifically, this includes: Compare the actual terrain slope corresponding to each candidate grid with the maximum longitudinal slope threshold, mark the candidate grids whose actual terrain slope exceeds the maximum longitudinal slope threshold as blocking grids, and mark the candidate grids whose actual terrain slope does not exceed the maximum longitudinal slope threshold as feasible grids; If the feasible grid does not exist and only the blocking grid exists, then extract the elevation values ​​of all grids in the local neighborhood centered on the current grid, construct a local digital elevation model, fit the local terrain surface using the moving least squares method on the local digital elevation model, and calculate the contour tangent vector field of the local terrain surface. The lateral grid direction with the smallest angle to the tangent vector field of the contour line is determined as the spiraling guidance direction, and the grid adjacent to the current grid in the spiraling guidance direction is taken as the new current grid. If a feasible grid exists, the grid with the lowest overall cost is selected from the feasible grids as the new current grid; The grid center coordinates of the new current grid are stored sequentially into the route vertex sequence. The above search process is repeated until the new current grid is the endpoint grid, thus obtaining a preliminary route vertex sequence connecting the start and end points.

5. The automated route selection method for access roads that integrates engineering specifications and three-dimensional terrain features as described in claim 1, characterized in that, The smoothing process for the preliminary route inflection point sequence and the extraction of curve turning angle parameters specifically include: The preliminary route inflection point sequence is globally fitted using cubic B-spline curves to obtain a continuous spatial curve. The spatial curve is then resampled at equal arc length intervals to generate a smoothed route inflection point sequence. The deflection angle of the smoothed route at each inflection point is calculated based on the change in azimuth of the line connecting adjacent inflection points in the smoothed route inflection point sequence, and the deflection angle is used as the curve turning angle parameter at the corresponding inflection point.

6. The automated access road alignment method integrating engineering specifications and three-dimensional terrain features as described in claim 1, characterized in that, Based on the curve turning angle parameters and the access road construction standard parameters, cross slope parameters and passing lane features are laid out at the corresponding positions of the smoothed route to generate a three-dimensional access road design model, specifically including: Based on the curve turning angle parameters at each inflection point of the smoothed route and the maximum longitudinal slope threshold in the access road construction standard parameters, calculate the cross slope value that is positively correlated with the curve turning angle, and assign the cross slope value to the road cross section of the corresponding inflection point to complete the cross slope parameter layout. Along the mileage direction of the smoothed route, with the passing lane spacing threshold in the standard parameters of the access road construction as the reference interval, the center point of the passing lane is inserted in the straight section of the smoothed route and the terrain is flat in a section that meets the sight distance requirement. With each passing lane center point as the positioning reference, the passing lane patch is generated by calling the preset passing lane parameterized patch template. The road cross section with the cross slope parameters set and the passing lane patch are swept along the smoothed route to generate a three-dimensional access road design model.

7. The automated access road alignment method integrating engineering specifications and three-dimensional terrain features as described in claim 2, characterized in that, Raw point cloud data of the target area is collected by a surveying drone equipped with a lidar.

8. The automated route selection method for access roads that integrates engineering specifications and three-dimensional terrain features as described in claim 1, characterized in that, In response to externally inputted parameter change commands, the cross slope parameters and passing lane pattern layout operations on the smoothed route are re-executed based on the changed access road construction standard parameters to update the three-dimensional access road design model. Specifically, this includes: Get parameter change events in the interactive interface, and trigger a parameter change command when the maximum longitudinal slope threshold or the passing lane spacing threshold is detected to have changed; Keeping the smoothed route unchanged, the cross slope values ​​of the road segments corresponding to each inflection point on the smoothed route are recalculated based on the changed maximum longitudinal slope threshold, and the insertion position of the center point of the passing lane is recalculated along the mileage direction of the smoothed route based on the changed passing lane spacing threshold. The parameterized passing lane template is called to regenerate the passing lane patches at the recalculated center point positions of each passing lane. The updated cross slope value and the regenerated passing lane patches replace the original cross slope parameters and passing lane patches. The road surface entity sweep is then performed again along the smoothed route to obtain the updated three-dimensional access road design model.

Citation Information

Patent Citations

  • Automatic construction shortcut line selection method based on contour lines

    CN111652436A