A method for determining pile numbers in road surveying
Through the overlay calculation of the road design center line and laser point cloud data, the coordinates and elevation of the pile addition location are automatically calculated, which solves the problem of low efficiency in determining the pile addition during road surveying, achieves fast and accurate pile addition determination, and improves efficiency. work efficiency and improved the road measurement system.
Patent Information
- Application Number
- CN202311681709.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-08
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2043-12-08
AI Technical Summary
In road surveying, it is a technical difficulty to automatically and quickly obtain the station number and its surface coordinates. The traditional method is time-consuming and labor-intensive, and the work efficiency is low.
Through the overlay calculation of the road design centerline and laser point cloud data, the coordinates and elevation of the pile addition location are automatically calculated. The road point cloud data is collected using drones, and the contour equations and road line equations at the steep slope are extracted and solved simultaneously. Add the pile coordinates and then determine the pile number.
There is no need for manual on-site measurement, which greatly improves work efficiency, avoids missing pile additions manually, provides a method to quickly obtain pile numbers, directly obtains digital information, and provides basic data for road profile drawing.
Smart Images

Figure CN117708368B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of road engineering measurement, and in particular to a method for determining pile numbers in road measurement. Background Art
[0002] Road engineering survey is an important part of engineering survey. Road survey includes two stages: preliminary survey and final survey. Preliminary survey is the basis and basis for preliminary road design. Its work content includes plane and elevation control measurement, as well as the production of strip topographic maps. Final survey is the basis and basis for road construction design, including road centerline measurement and longitudinal and cross-section surveying. Road centerline measurement is to mark the positions of these center piles in the field according to the specified centerline whole pile number. Road longitudinal section surveying is to determine the ground elevation of the corresponding point of the center pile number and draw the longitudinal section diagram. Cross-section surveying is to determine the elevation of the terrain change points at each center pile in the direction perpendicular to the road center line and draw the cross-section diagram, which provides a basis for calculating the earthwork volume and designing the roadbed cross section.
[0003] In order to more accurately reflect the ups and downs of the road along the route, it is usually necessary to set up piles at the terrain change points and measure the ground elevation of the pile points when measuring the longitudinal section of the road. In the past, longitudinal section measurements mainly used the leveling points during the initial measurement, and used leveling to determine the ground elevation of the pile position. This method of manual on-site measurement is relatively easy to find the terrain change points where piles are needed. Therefore, the distance between the change point and the whole pile number can be measured on-site to determine the pile number, and then the actual position corresponding to the pile number can be calibrated, and the ground elevation of the changed position can be determined. This measurement method is time-consuming and labor-intensive, and has low work efficiency. With the development of modern surveying and mapping technology, road surveying can be completed through advanced surveying and mapping technology, such as laser radar scanning to obtain ground point cloud data, and then use these data to automatically generate longitudinal section diagrams. In this process, the ground elevation corresponding to the whole pile number point can be automatically searched in the point cloud data according to the plane coordinates of the whole pile number point. However, when the terrain changes and piles need to be added, it is necessary to first determine the pile number, and then calculate the corresponding plane coordinates according to the pile number. The coordinates are searched in the point cloud data to obtain the ground point elevation.
[0004] At present, it is a technical difficulty to automatically and quickly obtain the pile number and its surface coordinates. The present invention is proposed to solve this problem. It mainly calculates the coordinates and elevation of the pile position automatically by superimposing the road design centerline and laser point cloud data, thereby quickly drawing the road longitudinal section. Summary of the invention
[0005] Purpose of the invention: In view of the shortcomings of the prior art, the present invention proposes a method for determining the pile numbers in road surveying. This method can more conveniently determine the coordinate positions of the piles added in road surveying, improves efficiency compared to traditional methods, and is more convenient for drawing road longitudinal sections.
[0006] Technical solution: A method for determining the pile number in road surveying, comprising the following steps:
[0007] Step 1: Road point cloud data collection: According to the terrain undulations in the survey area, use drones to collect road data in the order of route planning, pre-flight preparation, flight process, and recovery process;
[0008] Step 2: Road point cloud data processing: Process the collected point cloud data to obtain a point cloud data set;
[0009] Step 3: Extracting terrain line equations: extracting contour line equations and road line equations at steep slopes;
[0010] Step 4, simultaneous solution of equations: Solve the extracted contour line equation and road line equation simultaneously to obtain the x and y values of the stake coordinates;
[0011] Step 5, obtain elevation: Substitute the x and y values of the staked coordinates obtained in step 4 into the point cloud data set obtained in step 2 to obtain the three-dimensional data of the staked point, and then obtain the elevation;
[0012] Step 6: Determine the pile number: Through the coordinates of the pile location and the road equation, the pile mileage can be obtained and the pile number can be finally determined.
[0013] Furthermore, in step 1, the specific operations of collecting road point cloud data are as follows:
[0014] Step 1.1, select the appropriate sensor: select LiDAR as the sensor for collecting road point clouds;
[0015] Step 1.2: Install the sensor: Install the selected sensor on the drone;
[0016] Step 1.3, set data acquisition parameters: configure the data acquisition parameters of the sensor, which include acquisition speed, sampling frequency and point cloud density;
[0017] Step 1.4: Implement data collection: Conduct field data collection in the area where data needs to be collected;
[0018] Step 1.5, data recording: record the point cloud data obtained from the sensor; the point cloud data is stored in the original point cloud format.
[0019] Furthermore, the specific operations of the road point cloud data processing in step 2 are as follows:
[0020] Step 2.1, data import: import the road point cloud data into the point cloud processing software;
[0021] Step 2.2: Data cleaning: to remove abnormal values, outliers or erroneous data;
[0022] Step 2.3, point cloud filtering: use point cloud filtering technology to remove noise;
[0023] Step 2.4, segment ground and non-ground points: separate ground points from non-ground points through ground segmentation algorithm;
[0024] Step 2.5, feature extraction: extracting road features, which include the road centerline and edge;
[0025] Step 2.6, road modeling: construct a three-dimensional model of the road using the extracted features;
[0026] Step 2.7, lane line extraction: extracting lane line information;
[0027] Step 2.8, Data Analysis: Conduct further analysis, including traffic flow and road quality assessment;
[0028] Step 2.9, visualization: Use visualization tools to visualize the processed point cloud data;
[0029] Step 2.10, export results: export the processed data into the required format as required to obtain a point cloud dataset.
[0030] Furthermore, in step 3, the specific operation of extracting the terrain line equation is as follows:
[0031] Step 3.1, extract road line equations: extract the equations of each section of the road line from the existing dwg format digital map, including straight lines and circular curves; extracting the road line equation mainly includes the following steps:
[0032] a) Open DWG file: Use AutoCAD or other CAD software that supports DWG format to open the digital map;
[0033] b) Select the road: Use the selection tool in the CAD software to select the line or polyline representing the road;
[0034] c) Export geometry information: Use the export function of the CAD software to export the selected road geometry information into DXF format;
[0035] d) Use MATLAB or Python tools to read the exported geometry information file and extract the coordinate data of the road;
[0036] e) Fitting the road equation: Use the polyfit function of MATLAB or the NumPy library of Python in the mathematical library to fit the coordinate data and obtain the equation of the road;
[0037] Step 3.2, extract contour equations: Extract the contour equations of the steep slope from the existing DWG format digital topographic map. The following steps are mainly used to extract the contour equations:
[0038] a) Import DWG file: Use AutoCAD or other CAD software that supports DWG format to open the digital topographic map;
[0039] b) Select the steep slope area: Use the selection tool in the CAD software to select the area containing the steep slope;
[0040] c) Exporting contour data: exporting the contour data of the selected area into a formatted data file, wherein the formatted data file is in DXF or CSV format;
[0041] d) Use the mathematical library NumPy or SciPy to read the exported contour data file and perform further processing;
[0042] e) Data preprocessing: preprocess the contour data, including denoising, filtering, and downsampling operations;
[0043] f) Fitting the equation of the contour line at the steep slope: Use mathematical fitting method to fit the contour line data of the steep slope area to obtain the mathematical equation of the steep slope.
[0044] Furthermore, in step 4, the process of solving the equations simultaneously is as follows:
[0045] The road line equation and contour line equation extracted in step 3 are solved together. The road line equation is a first-order straight line equation or a multi-order curve equation, and the contour line equation is a multi-order curve equation; one group is the road line equation and the contour line equation. The two equations are solved together to obtain the plane coordinates (x i ,y i ), and finally the coordinates of all the pile-adding locations are obtained. The mileage of the pile-adding locations can be determined through the plane coordinates.
[0046] Furthermore, in step 5, the step of obtaining the elevation is as follows:
[0047] Substitute the plane coordinates of the pile-adding location obtained in step 4 back into the point cloud dataset obtained after processing in step 2, that is, query the corresponding three-dimensional coordinates in the point cloud dataset through the plane coordinates to obtain the elevation of the pile-adding location.
[0048] Beneficial effects:
[0049] 1) There is no need to manually measure the coordinates and elevation of the pile adding location on site, which greatly improves work efficiency.
[0050] 2) Using electronic topographic maps to determine steep slopes can avoid situations where piles are omitted manually.
[0051] 3) It provides a method for quickly obtaining the pile number in road surveying, which can directly obtain digital information and provide basic data for the digital management of roads.
[0052] 4) The obtained pile elevation can be directly used in drawing the road longitudinal section, making the entire road survey system more complete. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 Flow chart for obtaining pile elevation;
[0054] Figure 2 To determine the process of adding pile numbers. DETAILED DESCRIPTION
[0055] The technical solution of the present invention is described in detail below through the accompanying drawings and specific embodiments, but the protection scope of the present invention is not limited to the embodiments.
[0056] like Figure 1 and 2 As shown, a method for determining the pile number in road surveying mainly includes the following steps:
[0057] Step 1: Road point cloud data collection: According to the terrain undulations in the survey area, use drones to collect road data in the order of route planning, pre-flight preparation, flight process, and recovery process;
[0058] The road point cloud data collection is specifically as follows:
[0059] 1) Select a suitable sensor: Select a sensor suitable for road point cloud collection. In this embodiment, a laser radar is selected as the sensor.
[0060] 2) Install the sensor: Install the selected sensor on the acquisition platform and ensure that the installation position and posture of the sensor are correct to obtain accurate data.
[0061] In this embodiment, the laser radar is installed on the drone, and the installation position is: the laser radar is installed on the bottom of the drone aircraft. The attitude setting is as follows: the direction sets the laser radar to point vertically downward to obtain the elevation information of the ground, the pitch angle (Pitch) is set to 0 degrees, that is, parallel to the horizontal axis of the aircraft, the roll angle (Roll) is set to 0 degrees to ensure that the laser beam is in the horizontal direction, and the yaw angle (Yaw) is usually kept at 0 degrees, so that the laser radar faces the front of the aircraft. Such installation and attitude settings can ensure that the laser radar sensor is aimed vertically at the ground, thereby effectively obtaining terrain information.
[0062] 3) Set data acquisition parameters: Configure the data acquisition parameters of the sensor, including acquisition speed, sampling frequency, point cloud density, etc. The selection of these parameters depends on the specific application and requirements.
[0063] In this embodiment, the laser pulse frequency is set to 100kHz (i.e., 100,000 laser pulses are sent per second), the laser beam width is set to 0.2mrad, the scanning mode is that the aircraft performs continuous scanning in a normal flight trajectory, and the sampling interval is set to 10cm. Then the sampling speed = laser pulse frequency × laser beam width × sampling interval = 100,000Hz × 0.0002rad × 0.1m = 2,000 points / second. The acquisition speed is 8m / s, the sampling frequency is set to 160kHZ, and the point cloud density is set to 1 / 4 of the median point cloud density, i.e., 25%.
[0064] 4) Implementing the collection: Conducting field collection in the area where data needs to be collected, which involves flying a drone equipped with a laser radar. In this embodiment, the area where data is collected refers to the field area displayed on the electronic topographic map.
[0065] 5) Data recording: Record the point cloud data acquired from the sensor. The data is usually stored in the original point cloud format (such as LAS or PLY). In this embodiment, the original point cloud format is LAS format.
[0066] Step 2: Processing of road point cloud data: Processing the point cloud data into a suitable format to obtain a point cloud data set for subsequent use;
[0067] The road point cloud data processing is specifically as follows:
[0068] 1) Data import: Import the road point cloud data into the corresponding point cloud processing software. Common software includes PointCloud Library (PCL), LASTools, and some commercial software such as AutoCAD Civil 3D.
[0069] 2) Data cleaning: Data cleaning is done to remove abnormal values, outliers, or erroneous data. This operation can remove trees, buildings, etc. on the ground.
[0070] 3) Point cloud filtering: Use point cloud filtering techniques to remove noise, such as Gaussian filtering, statistical filtering, and / or median filtering.
[0071] 4) Segmentation of ground and non-ground points: Roads are usually represented as relatively flat areas in point clouds. Ground points can be separated from non-ground points through ground segmentation algorithms.
[0072] 5) Feature extraction: Extract road features, such as road centerline, edge, etc. Feature extraction can be achieved through local surface normal, curvature, point cloud density and other features.
[0073] 6) Road modeling: Use the extracted features to build a 3D model of the road. Road modeling includes fitting the plane, curve or other geometric shapes of the road.
[0074] 7) Lane extraction: If necessary, the lane information can be further extracted. Lane extraction requires the application of image processing or geometry-based methods.
[0075] 8) Data analysis: Conduct further analysis, such as traffic flow, road quality assessment, etc.
[0076] 9) Visualization: Use visualization tools to visualize the processed point cloud data. This helps to better understand the structure of the data and the extracted information.
[0077] 10) Export results: Export the processed data to other formats as needed to obtain a point cloud dataset for use or sharing in other software. Other formats include:
[0078] a) XYZ format: A simple text format, each line contains the X, Y, and Z coordinates of a point. It is easy to read and process, but the file size is large.
[0079] b) BIN format: Binary format, each point is stored in binary form. Compared with ASCII format, the file size is smaller, but it is not easy to read.
[0080] c) PLY format: PLY (Polygon File Format) is a flexible file format that supports point clouds, triangular meshes, etc. It can contain additional information such as color and normals.
[0081] d) OBJ format: OBJ (Wavefront.obj) is usually used to store 3D model information, but can also contain point cloud data. Supports color and normals.
[0082] e) PCD format: PCD (Point Cloud Data) is the format used in Point Cloud Library (PCL) and supports the storage and reading of point clouds.
[0083] f) LAS format: If the processed point cloud data still conforms to the LAS format specifications, you can also choose to keep it in LAS format.
[0084] g) SQLite format: Use SQLite database to store point cloud data. Each point is stored in a table format, which can support complex queries and indexes.
[0085] i) HDF5 format: HDF5 is a format suitable for large-scale scientific data, supporting hierarchical structure, compression and metadata storage.
[0086] In this embodiment, the processed point cloud data is exported into PCD format.
[0087] Step 3: Extracting terrain line equations: extracting contour line equations and road line equations at steep slopes;
[0088] The terrain line equation extraction is specifically as follows:
[0089] 1) Extract road line equations: Extract road line equations from existing dwg format digital maps, including straight lines, circular curves, etc. Each road line equation is different. In the subsequent simultaneous equations, select the required road line equations for simultaneous equation solution. The main steps for extracting road line equations are as follows:
[0090] a) Open DWG file: Use AutoCAD or other CAD software that supports DWG format to open the digital map.
[0091] b) Select the road: Using the selection tools in the CAD software, select the lines or polylines that represent the road.
[0092] c) Export geometry information: Use the export function of the CAD software to export the selected road geometry information to other formats, such as DXF.
[0093] d) Use tools such as MATLAB: Use tools such as MATLAB and Python to read the exported geometry information file and extract the coordinate data of the road.
[0094] e) Fitting the road equation: Use a mathematical library (such as MATLAB's polyfit function or Python's NumPy library) to fit the coordinate data to obtain the road equation.
[0095] 2) Extracting contour line equations: Extracting contour line equations at steep slopes from existing DWG format digital topographic maps. The following steps are mainly used to extract contour line equations:
[0096] a) Import DWG file: Use AutoCAD or other CAD software that supports DWG format to open the digital terrain map.
[0097] b) Select the scarp area: Using the selection tools in the CAD software, select the area containing the scarp. This may involve marking the contour lines of the scarp, or manually selecting the area based on terrain features.
[0098] c) Export Contour Data: Export the contour data of the selected area to a formatted data file such as DXF or CSV. This can be done through the export function in the CAD software.
[0099] d) Using Mathematical Libraries: Use mathematical libraries such as NumPy and SciPy (using Python) to read the exported contour data files and perform further processing.
[0100] e) Data preprocessing: The contour data is preprocessed, including denoising, filtering, downsampling and other operations, in order to better fit the equation.
[0101] f) Fitting the equation of the contour line at the steep slope: Use mathematical fitting methods, such as polynomial fitting, curve fitting, etc., to fit the contour line data of the steep slope area to obtain the mathematical equation of the steep slope.
[0102] Step 4, simultaneous solution of equations: Solve the extracted contour line equation and road line equation simultaneously to obtain the x and y values of the stake coordinates;
[0103] Solve the equations extracted in the previous step. The road line equation may be a first-order straight line equation or a multi-order curve equation. The contour line is a multi-order curve equation. A group consists of two equations. Solve the two equations to obtain the plane coordinates (x i ,y i ), and finally the coordinates of all the pile-adding locations are obtained. The mileage of the pile-adding locations can be determined through the plane coordinates.
[0104] Step 5, obtain elevation: Substitute the x and y values of the stake coordinates into the point cloud data set to obtain the three-dimensional data of the stake point, and then obtain the elevation;
[0105] The specific steps of obtaining the elevation are as follows:
[0106] Substitute the plane coordinates of the pile-adding location obtained in the previous step back into the point cloud dataset obtained after processing in step 2, that is, query the corresponding three-dimensional coordinates in the point cloud dataset through the plane coordinates to obtain the elevation of the pile-adding location.
[0107] Step 6: Determine the pile number: Through the coordinates of the pile location and the road equation, the pile mileage can be obtained and the pile number can be finally determined.
[0108] The stake number is determined as follows: the mileage of the stake location can be determined by solving the simultaneous equations and the road line equation, thereby further determining the stake number. For example, K1+107 means that a stake is set at the mileage of 1107m.
[0109] In the implementation of the present invention, the code for the road line equation extraction example using Python and NumPy to perform quadratic polynomial fitting is as follows:
[0110] import numpy as np
[0111] import matplotlib.pyplot as plt
[0112] #Read coordinate data (assuming the coordinate data is saved in a CSV file, each line contains (x, y))
[0113] data=np.genfromtxt('road_geometry.csv',delimiter=',')
[0114] #Fitting polynomial, here we assume that a quadratic polynomial is used
[0115] coefficients=np.polyfit(data[:,0],data[:,1],2)
[0116] #Create a fitting function
[0117] poly_function=np.poly1d(coefficients)
[0118] #Draw the original data and the fitted curve
[0119] plt.scatter(data[:,0],data[:,1],label='Original Data')
[0120] x_range=np.linspace(min(data[:,0]),max(data[:,0]),100)
[0121] plt.plot(x_range,poly_function(x_range),color='red',label='FittedCurve')
[0122] plt.xlabel('X-axis')
[0123] plt.ylabel('Y-axis')
[0124] plt.legend()
[0125] plt.show()
[0126] In the implementation of the present invention, the code for extracting the contour equation at the steep slope using Python and NumPy to perform quadratic polynomial fitting is as follows:
[0127] import numpy as np
[0128] import matplotlib.pyplot as plt
[0129] #Read contour data from a CSV file, each line contains (x, y, z)
[0130] data=np.genfromtxt('contour_lines.csv',delimiter=',')
[0131] #Extract the contour data of the steep slope, which may need to be selected according to the actual situation
[0132] steep_slope_data=...
[0133] #Fitting a quadratic polynomial
[0134] coefficients=np.polyfit(steep_slope_data[:,0:2],steep_slope_data[:,2],2)
[0135] #Create a fitting function
[0136] poly_function=np.poly1d(coefficients)
[0137] #Draw the original data and the fitted surface
[0138] plt.scatter(steep_slope_data[:,0],steep_slope_data[:,1],steep_slope_data[:,2],label="Original Data')
[0139] x_range=np.linspace(min(steep_slope_data[:,0]),max(steep_slope_data[:,0]),50)
[0140] y_range=np.linspace(min(steep_slope_data[:,1]),max(steep_slope_data[:,1]),50)
[0141] X,Y=np.meshgrid(x_range,y_range)
[0142] Z = poly_function([X,Y])
[0143] plt.plot_surface(X,Y,Z,alpha=0.5,color='red',label='FittedSurface')
[0144] plt.xlabel('X-axis')
[0145] plt.ylabel('Y-axis')
[0146] plt.legend()
[0147] plt.show()
[0148] The present invention does not require manual on-site coordinate and elevation measurement of the pile-adding location, which greatly improves work efficiency. The situation of manually missing piles can be avoided by judging the steep slope through the electronic topographic map. Digital information can be directly obtained, thereby providing basic data for the digital management of roads. The obtained pile-adding elevation can be directly used in the drawing of the road longitudinal section, making the entire road measurement system more perfect.
[0149] As described above, although the present invention has been shown and described with reference to specific preferred embodiments, it should not be construed as limiting the present invention itself. Various changes in form and details may be made without departing from the spirit and scope of the present invention as defined in the appended claims.
Claims
1. A method for determining pile numbers in road surveying, characterized in that: The following steps are involved: Step 1: Road point cloud data collection: According to the terrain undulations in the survey area, use drones to collect road data in the order of route planning, pre-flight preparation, flight process, and recovery process; Step 2: Road point cloud data processing: Process the collected point cloud data to obtain a point cloud data set; Step 3: Extracting terrain line equations: extracting contour line equations and road line equations at steep slopes; Step 4, simultaneous solution of equations: Solve the extracted contour line equation and road line equation simultaneously to obtain the x and y values of the stake coordinates; In step 4, the process of solving the equations simultaneously is as follows: The road line equation and contour line equation extracted in step 3 are solved together. The road line equation is a first-order straight line equation or a multi-order curve equation, and the contour line equation is a multi-order curve equation; one group is the road line equation and the contour line equation. The two equations are solved together to obtain the plane coordinates (x i ,y i ), and finally the coordinates of all the pile-adding locations are obtained. The mileage of the pile-adding locations can be determined through the plane coordinates; Step 5, obtain elevation: Substitute the x and y values of the staked coordinates obtained in step 4 into the point cloud data set obtained in step 2 to obtain the three-dimensional data of the staked point, and then obtain the elevation; Step 6: Determine the pile number: Through the coordinates of the pile location and the road equation, the pile mileage can be obtained and the pile number can be finally determined.
2. A method for determining pile numbers in road surveying according to claim 1, characterized in that: In step 1, the specific operations of road point cloud data collection are as follows: Step 1.1, select the appropriate sensor: select LiDAR as the sensor for collecting road point clouds; Step 1.2: Install the sensor: Install the selected sensor on the drone; Step 1.3, set data acquisition parameters: configure the data acquisition parameters of the sensor, which include acquisition speed, sampling frequency and point cloud density; Step 1.4: Implement data collection: Conduct field data collection in the area where data needs to be collected; Step 1.5, data recording: record the point cloud data obtained from the sensor; the point cloud data is stored in the original point cloud format.
3. The method for determining the pile number in road surveying according to claim 1, characterized in that: In step 2, the specific operations of road point cloud data processing are as follows: Step 2.1, data import: import the road point cloud data into the point cloud processing software; Step 2.2: Data cleaning: to remove abnormal values, outliers or erroneous data; Step 2.3, point cloud filtering: use point cloud filtering technology to remove noise; Step 2.4, segment ground and non-ground points: separate ground points from non-ground points through ground segmentation algorithm; Step 2.5, feature extraction: extracting road features, which include the road centerline and edge; Step 2.6, road modeling: construct a three-dimensional model of the road using the extracted features; Step 2.7, lane line extraction: extracting lane line information; Step 2.8, Data Analysis: Conduct further analysis, including traffic flow and road quality assessment; Step 2.9, visualization: Use visualization tools to visualize the processed point cloud data; Step 2.10, export results: export the processed data into the required format as required to obtain a point cloud dataset.
4. A method for determining pile numbers in road surveying according to claim 1, characterized in that: In step 3, the specific operation of extracting the terrain line equation is as follows: Step 3.1, extract road line equations: extract the equations of each section of the road line from the existing dwg format digital map, including straight lines and circular curves; extracting the road line equation mainly includes the following steps: a) Open DWG file: Use AutoCAD or other CAD software that supports DWG format to open the digital map; b) Select the road: Use the selection tool in the CAD software to select the line or polyline representing the road; c) Export geometry information: Use the export function of the CAD software to export the selected road geometry information into DXF format; d) Use MATLAB or Python tools to read the exported geometry information file and extract the coordinate data of the road; e) Fitting the road equation: Use the polyfit function of MATLAB or the NumPy library of Python in the mathematical library to fit the coordinate data and obtain the equation of the road; Step 3.2, extract contour equations: Extract the contour equations of the steep slope from the existing DWG format digital topographic map. The following steps are mainly used to extract the contour equations: a) Import DWG file: Use AutoCAD or other CAD software that supports DWG format to open the digital topographic map; b) Select the steep slope area: Use the selection tool in the CAD software to select the area containing the steep slope; c) Exporting contour data: exporting the contour data of the selected area into a formatted data file, wherein the formatted data file is in DXF or CSV format; d) Use the mathematical library NumPy or SciPy to read the exported contour data file and perform further processing; e) Data preprocessing: preprocess the contour data, including denoising, filtering, and downsampling operations; f) Fitting the equation of the contour line at the steep slope: Use mathematical fitting method to fit the contour line data of the steep slope area to obtain the mathematical equation of the steep slope.
5. The method for determining the pile number in road surveying according to claim 1, characterized in that: In step 5, the step of obtaining the elevation is as follows: Substitute the plane coordinates of the pile-adding location obtained in step 4 back into the point cloud dataset obtained after processing in step 2, that is, query the corresponding three-dimensional coordinates in the point cloud dataset through the plane coordinates to obtain the elevation of the pile-adding location.
