Field measurement Doheng code conversion method, system, medium and equipment

By obtaining the data collected by the lightweight RTK receiver and performing Daoheng coding conversion, the complex and cumbersome problems of traditional field measurement methods are solved, and efficient and convenient measurement data processing and coding conversion are achieved, improving the accuracy and timeliness of measurement.

CN119987890APending Publication Date: 2025-05-13SHANDONG ELECTRIC POWER ENG CONSULTING INST CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510017571.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-06
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

Traditional field measurement methods have problems such as large equipment size, heavy weight, complex operation, cumbersome data collection and processing, and the inability to realize real-time data sharing and dynamic adjustment. Especially in the process of local object encoding and conversion, it is necessary to have rich professional knowledge and high carefulness, which can easily lead to errors.

Method used

By obtaining the original geographic data collected by the lightweight RTK receiver, obtaining high-precision measurement point coordinates in real time, and converting the data into Daoheng encoding form, the data is lightweight and real-time processing is achieved.

Benefits of technology

It improves the timeliness and convenience of field measurements, simplifies the process of collecting and coding and conversion of measurement data, reduces workload and project cycles, and enhances the accuracy and reliability of measurements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119987890A_ABST
    Figure CN119987890A_ABST
Patent Text Reader

Abstract

The invention belongs to the field of Doheng code conversion, and provides a field measurement Doheng code conversion method and system, a medium and equipment. The method comprises the following steps: according to a corner design file, extracting a center line from coordinate data in original surface feature data; judging the range of the measuring point according to the sideline width and sideline tolerance in the predohenry configuration file and the vertical distance of the measuring point relative to the reference center line; sequentially calculating the accumulated distance and the offset distance of the ground object at each measuring point and the included angle between each measuring point and the vertical direction of the center line, searching the code of each measuring point matched with the Dooheng ground object type code, and adding the corresponding included angle and the ground object height into the corresponding ground object information according to the Dooheng code format requirements of different types of ground objects, and storing the ground feature information and exporting a Dooheng coding file.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of DaoHeng code conversion, and in particular relates to a method, system, medium and equipment for converting DaoHeng code in field measurement. Background Art

[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.

[0003] From traditional manual measurement to modern global navigation satellite system (GNSS) and real-time kinematic positioning (RTK) technology, the accuracy and efficiency of measurement have been significantly improved. In recent years, the popularity of mobile devices has provided new opportunities for the further development of measurement technology. In particular, field measurement solutions based on Android devices have become a new hot spot in the field of geodetic surveying and surveying engineering due to their intelligence, lightness and convenience.

[0004] In field surveying, traditional surveying methods mainly rely on professional surveying equipment, such as total stations and high-precision GNSS receivers. Although these devices have high measurement accuracy, they are large in size, heavy in weight, and complex in operation. They require professional personnel to operate and are difficult to meet the needs of modern and rapid measurement. In addition, the data collection and processing process of traditional surveying methods is relatively cumbersome, and real-time data sharing and dynamic adjustment cannot be achieved, which limits the efficiency and flexibility of measurement. In addition to the limitations of equipment, traditional field surveying also faces a cumbersome internal mapping process. After the field survey is completed, the surveyor needs to organize, proofread and map the large amount of collected ground feature information data. This process usually takes a lot of time and effort, which not only increases the workload, but also prolongs the overall cycle of the project. In addition, the complex ground feature coding conversion process also brings great challenges to surveyors. Surveyors need to convert ground feature information data according to specific coding rules, which requires not only rich professional knowledge, but also high carefulness and patience. Any small error may lead to deviations in the final results and affect the accuracy and reliability of the measurement. Summary of the invention

[0005] In order to solve the above technical problems, the present invention provides a field measurement Daoheng code conversion method, system, medium and equipment, which can realize data collection and code conversion of a lightweight RTK receiver.

[0006] In order to achieve the above object, the present invention adopts the following technical solution:

[0007] The first aspect of the present invention provides a method for converting Daoheng coding in field measurement.

[0008] In one or more embodiments, a method for converting Daoheng coding in field measurement is provided, comprising:

[0009] Obtain the original ground data collected by the RTK equipment and import it into the Daoheng configuration file and corner design file;

[0010] Reading original point records from the original feature data and filtering the original point data, calculating and saving filtered coordinate data;

[0011] According to the first character of the tower pile name in the original feature data, the code in the Daoheng configuration file is matched to determine the Daoheng code corresponding to the corresponding tower pile name;

[0012] According to the corner design file, the center line is extracted from the coordinate data in the original feature data; the range of the measuring point is determined according to the edge line width and edge line tolerance in the pre-configuration file and the vertical distance of the measuring point relative to the reference center line;

[0013] Calculate the cumulative distance and offset of each measuring point, the vertical angle between the measuring point and the center line, and find the code that matches the Daoheng feature type code at each measuring point. Add the corresponding angle and feature height to the corresponding feature information according to the Daoheng coding format requirements of different types of features, save the feature information and export the Daoheng coding file.

[0014] As an implementation method, during the screening of the original point data, the first point and the last point are judged separately.

[0015] As an implementation method, the data in the original record array is traversed, and if it is the first point, it is checked whether the plane distance between the current point and the next point is less than the set distance; if so, the coordinates and height of the midpoint are calculated as the new point and saved; if the distance is greater than the set distance, only the coordinates and height of the current point are saved;

[0016] Traverse the data in the original record array. If it is the last point, check whether the plane distance between the current point and the previous point is less than the set distance; if so, calculate the coordinates and height of the midpoint as the new point and save it. If the distance is greater than the set distance, only save the coordinates and height of the current point.

[0017] As an implementation method, during the screening of the original point data, the data in the original record array is traversed, and for the middle point, it is calculated whether the plane distance between the current point and the previous point and the next point is less than the set distance. If so, the midpoint coordinates are calculated and merged. If not, the current point coordinates are saved.

[0018] As an implementation method, if the distance is less than a set edge tolerance, the measurement point is considered to belong to the centerline;

[0019] If the difference between the distance from the measuring point to the center line and the width of the edge line is within the edge line tolerance range and the distance is greater than 0, the point is located on the left edge line;

[0020] If the difference between the distance from the measured point to the center line and the edge width is within the edge tolerance range and the distance is less than 0, the point is located on the right edge.

[0021] As an implementation method, the process of exporting the Daoheng encoding file includes:

[0022] According to the initial feature sequence and Daoheng coding format requirements, the measurement point name, coordinates, height, feature type code, Daoheng code and remarks are listed in the exported data in sequence;

[0023] By concatenating character strings, the current time and project name are set as the encoding file name, and the saved data is written into the Daoheng encoding file.

[0024] A second aspect of the present invention provides a field measurement Daoheng code conversion system.

[0025] In one or more embodiments, a field measurement Daoheng coding conversion system includes:

[0026] Information acquisition and file import module, which is used to obtain the original ground data collected by the RTK equipment and import the Daoheng configuration file and corner design file;

[0027] An original point data screening module is used to read the original point records from the original feature data and screen the original point data, calculate the screened coordinate data and save it;

[0028] A Daoheng code matching module, which is used to match the first character of the tower pile name in the original feature data with the code in the Daoheng configuration file to determine the Daoheng code corresponding to the corresponding tower pile name;

[0029] A measuring point range judgment module is used to extract the center line from the coordinate data in the original feature data according to the corner design file; and judge the range of the measuring point according to the edge line width and edge line tolerance in the pre-configuration file and the vertical distance of the measuring point relative to the reference center line;

[0030] The Heng coding file export module is used to calculate the cumulative distance and offset distance of each measuring point, the vertical angle between the measuring point and the center line, and find the code that matches the Daoheng feature type code for each measuring point. The corresponding angle and feature height are added to the corresponding feature information according to the Daoheng coding format requirements of different types of features, the feature information is saved and the Daoheng coding file is exported.

[0031] A third aspect of the present invention provides a computer-readable storage medium.

[0032] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps in the field measurement Daoheng code conversion method as described above.

[0033] A fourth aspect of the present invention provides a computer program product.

[0034] A computer program product includes a computer program / instruction, which, when executed by a processor, implements the steps in the field measurement Daoheng code conversion method as described above.

[0035] A fifth aspect of the present invention provides an electronic device.

[0036] An electronic device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps in the above-mentioned field measurement Daoheng coding conversion method are implemented.

[0037] Compared with the prior art, the present invention has the following beneficial effects:

[0038] The present invention obtains the original ground object data collected by a lightweight RTK receiver, obtains the high-precision measurement point coordinates in real time, collects and manages ground object information data, and converts the collected data into Daoheng coding for output; the scheme of the present invention is simple and convenient to implement, and has strong practicality. It solves the problems of low practicality and inconvenience in practical application of related technologies, can improve the timeliness and convenience of field measurement, and has important engineering significance. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0040] Figure 1 1 is a flow chart of a method for converting DaoHeng codes in field measurement according to an embodiment of the present invention;

[0041] Figure 2 2 is a schematic diagram of a specific process of converting Daoheng coding in field measurement according to an embodiment of the present invention;

[0042] Figure 3 2 is a schematic diagram of the structure of a field measurement Daoheng coding conversion system according to an embodiment of the present invention;

[0043] Figure 4 is a schematic diagram of an electronic device according to an embodiment of the present invention;

[0044] Figure 5 is a schematic diagram of ground feature data collection results according to an embodiment of the present invention;

[0045] Figure 6 It is the Daoheng coding conversion result of the embodiment of the present invention. DETAILED DESCRIPTION

[0046] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0047] It should be noted that the following detailed descriptions are all illustrative and intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.

[0048] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0049] Terminology explanation:

[0050] Daoheng coding: used to draw plan and section drawings. Daoheng coding is a coding method used in engineering surveying, which helps to effectively record measurement data such as distance and elevation and present them in drawings, especially in the drawing of plan and section drawings of infrastructure such as roads and tunnels. The common format is angle ± height of the object.

[0051] Daoheng coding file: a coding format file suitable for the cross-section drawing of Daoheng software, the format is point name, coordinates, height, feature type code, Daoheng code, and remarks.

[0052] RTK receiver: RTK is a differential GPS technology that can provide real-time high-precision positioning services by receiving differential correction data sent by fixed base stations. RTK receivers are mainly used in fields that require high-precision positioning, such as geographic surveying and mapping, drones, and precision agriculture, with positioning accuracy reaching centimeter levels.

[0053] Ellipsoid height: Ellipsoid height refers to the vertical distance of a point on the ground relative to a reference ellipsoid (usually an approximate model of the earth). Unlike altitude (i.e., height relative to sea level), ellipsoid height is based on the ellipsoid model of the earth. Therefore, there will be some differences between the ellipsoid height and the true height of the terrain, especially in mountainous areas or areas with large terrain undulations.

[0054] Cumulative distance and offset distance: Cumulative distance refers to the accumulated distance from the starting point to a certain point, which is usually used in measurement or route design; offset distance refers to the lateral offset distance relative to a reference line or curve, which is used to judge the deviation between a certain point and the benchmark path.

[0055] Figure 1 It is a flow chart of a method for converting Daoheng code in field measurement in an embodiment of the present invention.

[0056] Combination Figure 1 and Figure 2 The field measurement Daoheng code conversion method in this embodiment may include:

[0057] S101, obtaining the original ground feature data collected by the RTK device and importing it into the Daoheng configuration file and the corner design file.

[0058] Before obtaining the original ground data collected by the RTK device, it also includes connecting (wireless or other communication methods) the RTK device and obtaining the RTK device's own information, which includes latitude, longitude, altitude, number of satellites, horizontal accuracy, elevation accuracy, and solution accuracy.

[0059] The original feature data includes the collection point number (i.e. the measurement point number), remarks, east coordinate, north coordinate, elevation, longitude, latitude, ellipsoid height, pole height, plane accuracy, elevation accuracy, feature height, feature remarks, and feature code; the implementation method is as follows:

[0060] RTK searches for satellite signals, places RTK at the target point, and avoids being around buildings and tree shades. The types of coordinate solutions include no solution, single point solution, differential solution, floating point solution, and fixed solution. Wait for the solution type to become a fixed solution to ensure measurement accuracy.

[0061] Open the object collection interface, wait for the positioning information to be synchronized to the current area, set the RTK collection accuracy, and ensure that the collected data meets the measurement requirements;

[0062] Select the feature type, enter the point number, remarks and pole height. The feature types include linear features and point features. Linear features include ditch and ridge, road, constant fence, power line, pipeline, house and vegetation. Point features include control points, water system facilities, independent trees, residential areas, pipeline facilities, power facilities, road facilities, industrial and mining facilities and public facilities.

[0063] If the RTK accuracy does not meet the requirements, wait for the RTK device to search for satellite signals to obtain higher positioning accuracy;

[0064] Place the RTK at the target feature point, select the feature type, enter the point number, remarks and pole height, select Collect point data on the Android device, and obtain high-precision real-time point coordinates; if the data collection or input is wrong, you can delete the point and collect it again; select Save point information to store the point data in the internal intermediate encoding form. The encoding form is: AA_BB_CC, where AA represents the feature code, BB represents the feature height, and CC represents the remarks.

[0065] After continuously collecting feature data, if there is no new target point to be collected, click the Save Point Information button. Including collection point number, remarks, east coordinate, north coordinate, elevation, longitude, latitude, ellipsoid height, pole height, plane accuracy, elevation accuracy, feature height, feature remarks, simple feature code, save data such as Figure 5 shown.

[0066] Among them, the corner design file is in txt format, which includes point name, east coordinate, north coordinate, and elevation;

[0067] Daoheng parameter configuration file is in txt format, which includes corner tower identification, corner tower branch identification, straight tower identification, direction pile identification, pile position tolerance, sideline width, and sideline width tolerance.

[0068] S102, reading original point records from the original feature data, filtering the original point data, calculating filtered coordinate data and saving the filtered coordinate data.

[0069] Among them, the original point record file is in txt format, which includes the collection point number, remarks, east coordinate, north coordinate, elevation, longitude, latitude, ellipsoid height, pole height, plane accuracy, elevation accuracy, feature height, feature remarks, and feature code.

[0070] Specifically, in step S102, during the screening of the original point data, the first point and the last point are judged separately.

[0071] Among them, the data in the original record array is traversed. If it is the first point, check whether the plane distance between the current point and the next point is less than the set distance (for example: 0.05m); if so, calculate the coordinates and height of the midpoint as a new point and save it. If the distance is greater than the set distance (for example: 0.05m), only save the coordinates and height of the current point;

[0072] Traverse the data in the original record array. If it is the last point, check whether the plane distance between the current point and the previous point is less than the set distance (for example: 0.05m); if so, calculate the coordinates and height of the midpoint as the new point and save it. If the distance is greater than the set distance (for example: 0.05m), only save the coordinates and height of the current point.

[0073] In the process of filtering the original point data, the data in the original record array is traversed. For the middle point, it is calculated whether the plane distance between the current point and the previous point and the next point is less than the set distance (for example: 0.05m). If so, the midpoint coordinates are calculated and merged. If not, the current point coordinates are saved.

[0074] S103, matching the first character of the tower pile name in the original feature data with the code in the Daoheng configuration file to determine the Daoheng code corresponding to the tower pile name.

[0075] According to the first character of the tower pile point name in the original feature information, it is matched with the code in the Daoheng configuration file to determine its specific feature type, such as corner, straight line, direction pile, offset pile or ordinary point, and the feature type code is set to `J` (corner), `Z` (straight line), `F` (direction pile), `P` (offset pile) or `C` (ordinary point).

[0076] S104, extracting the center line from the coordinate data in the original feature data according to the corner design file; judging the range of the measuring point according to the edge line width and edge line tolerance in the pre-configuration file and the vertical distance of the measuring point relative to the reference center line.

[0077] Wherein, in step S104, if the distance is less than the set edge line tolerance, it is considered that the measurement point belongs to the center line;

[0078] If the difference between the distance from the measuring point to the center line and the width of the edge line is within the edge line tolerance range and the distance is greater than 0, the point is located on the left edge line;

[0079] If the difference between the distance from the measured point to the center line and the edge width is within the edge tolerance range and the distance is less than 0, the point is located on the right edge.

[0080] S105, calculate the cumulative distance and offset distance of each measuring point, the vertical angle between the measuring point and the center line, and find the code that matches the Daoheng feature type code of each measuring point, add the corresponding angle and feature height to the corresponding feature information according to the Daoheng coding format requirements of different types of features, save the feature information and export the Daoheng coding file.

[0081] Calculate the angle between the measuring point and the center line in the vertical direction, and ensure that the angle is between -90 and 90 degrees. For each measuring point, determine whether the simple feature code matches the Daoheng feature type code, and add the angle and feature height to the feature information according to the Daoheng coding format requirements of different types of features (commonly angle ± feature height); and extract the point name, coordinates, height, and remarks from the original data in turn, and save them in combination with the matching feature type code and the calculated Daoheng code. For features such as street lights, flagpoles, traffic signs, and signal markers, use specific codes and remarks.

[0082] In step S105, the process of exporting the Daoheng coding file includes:

[0083] S1051, according to the initial feature sequence and the Daoheng coding format requirements, the measurement point name, coordinates, height, feature type code, Daoheng code and remarks information are sequentially included in the exported data;

[0084] S1052, by concatenating the character string, set the current time and project name as the encoding file name, and write the saved data into the Daoheng encoding file. According to the Daoheng software requirements, the file format is csv format, such as Figure 6 shown.

[0085] Figure 3 Schematic diagram of the structure of a field measurement Daoheng code conversion system in an embodiment of the present invention. Figure 1 The field measurement Daoheng coding conversion method corresponds to Figure 3 As shown, the field measurement Daoheng code conversion system in this embodiment may include:

[0086] The information acquisition and file import module 301 is used to acquire the original ground feature data collected by the RTK equipment and import the Daoheng configuration file and the corner design file;

[0087] The original point data screening module 302 is used to read the original point records from the original feature data and screen the original point data, calculate the screened coordinate data and save it;

[0088] A Daoheng code matching module 303 is used to match the first character of the tower pile name in the original feature data with the code in the Daoheng configuration file to determine the Daoheng code corresponding to the corresponding tower pile name;

[0089] The measuring point range judgment module 304 is used to extract the center line from the coordinate data in the original feature data according to the corner design file; and judge the range of the measuring point according to the edge line width and edge line tolerance in the pre-configuration file and the vertical distance of the measuring point relative to the reference center line;

[0090] The Heng coding file export module 305 is used to calculate the cumulative distance and offset distance of each measuring point, the vertical angle between the measuring point and the center line, and find the code that matches the Daoheng feature type code of each measuring point, add the corresponding angle and feature height to the corresponding feature information according to the Daoheng coding format requirements of different types of features, save the feature information and export the Daoheng coding file.

[0091] It should be noted here that Figure 3 The various modules in the field measurement Daoheng coding conversion system are Figure 1 The various steps in the field measurement Daoheng coding conversion method in correspond to each other, and the specific implementation process is the same, so it will not be repeated here.

[0092] Reference Figure 4 , a schematic diagram of an electronic device is given. It should be noted that, Figure 4 The electronic device 400 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0093] like Figure 4 As shown, electronic device 400 includes a central processing unit (CPU) 401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a storage portion 408 into a random access memory (RAM) 403. In RAM 403, various programs and data required for system operation are also stored. Central processing unit 401, ROM 402 and RAM 403 are connected to each other via bus 404. Input / output (I / O) interface 405 is also connected to bus 404.

[0094] The following components are connected to the I / O interface 405: an input section 406 including a keyboard, a mouse, etc.; an output section 407 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 408 including a hard disk, etc.; and a communication section 409 including a network interface card such as a local area network (LAN) card, a modem, etc. The communication section 409 performs communication processing via a network such as the Internet. A drive 410 is also connected to the I / O interface 405 as needed. A removable medium 411, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 410 as needed so that a computer program read therefrom is installed into the storage section 408 as needed.

[0095] When the central processing unit 401 in the electronic device of this embodiment executes the program, the following is achieved: Figure 1 The steps in the field measurement Daoheng code conversion method are shown.

[0096] It should be noted here that the electronic device may be an Android device or a device embedded with other running programs, which will not be described in detail here.

[0097] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer readable medium, the computer program including a computer program for executing Figure 1 In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 409, and / or installed from the removable medium 411. When the computer program is executed by the central processing unit 401, various functions defined in the apparatus of the present application are executed.

[0098] in, Figure 1 The computer program instructions corresponding to the method shown may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0099] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0100] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for converting Daoheng code in field measurement, characterized in that: include: Obtain the original ground data collected by the RTK equipment and import it into the Daoheng configuration file and corner design file; Reading original point records from the original feature data and filtering the original point data, calculating and saving filtered coordinate data; According to the first character of the tower pile name in the original feature data, the code in the Daoheng configuration file is matched to determine the Daoheng code corresponding to the corresponding tower pile name; According to the corner design file, the center line is extracted from the coordinate data in the original feature data; the range of the measuring point is determined according to the edge line width and edge line tolerance in the pre-configuration file and the vertical distance of the measuring point relative to the reference center line; Calculate the cumulative distance and offset of each measuring point, the vertical angle between the measuring point and the center line, and find the code that matches the Daoheng feature type code at each measuring point. Add the corresponding angle and feature height to the corresponding feature information according to the Daoheng coding format requirements of different types of features, save the feature information and export the Daoheng coding file.

2. The field measurement Daoheng code conversion method according to claim 1, characterized in that: During the screening of the original point data, the first point and the last point are judged separately.

3. The field measurement Daoheng code conversion method according to claim 2, characterized in that: Traverse the data in the original record array. If it is the first point, check whether the plane distance between the current point and the next point is less than the set distance. If so, calculate the coordinates and height of the midpoint as the new point and save it. If the distance is greater than the set distance, only save the coordinates and height of the current point. Traverse the data in the original record array. If it is the last point, check whether the plane distance between the current point and the previous point is less than the set distance; if so, calculate the coordinates and height of the midpoint as the new point and save it. If the distance is greater than the set distance, only save the coordinates and height of the current point.

4. The field measurement Daoheng code conversion method according to claim 1, characterized in that: In the process of filtering the original point data, the data in the original record array is traversed. For the middle point, it is calculated whether the plane distance between the current point and the previous point and the next point is less than the set distance. If so, the midpoint coordinates are calculated and merged. If not, the current point coordinates are saved.

5. The field measurement Daoheng code conversion method according to claim 1, characterized in that: If the distance is less than the set edge tolerance, the measured point is considered to belong to the center line; If the difference between the distance from the measuring point to the center line and the width of the edge line is within the edge line tolerance range and the distance is greater than 0, the point is located on the left edge line; If the difference between the distance from the measured point to the center line and the edge width is within the edge tolerance range and the distance is less than 0, the point is located on the right edge.

6. The field measurement Daoheng code conversion method according to claim 1, characterized in that: The process of exporting Daoheng encoding files includes: According to the initial feature sequence and Daoheng coding format requirements, the measurement point name, coordinates, height, feature type code, Daoheng code and remarks are listed in the exported data in sequence; By concatenating character strings, the current time and project name are set as the encoding file name, and the saved data is written into the Daoheng encoding file.

7. A method for converting Daoheng code in field measurement, characterized in that: include: Information acquisition and file import module, which is used to obtain the original ground data collected by the RTK equipment and import the Daoheng configuration file and corner design file; An original point data screening module is used to read the original point records from the original feature data and screen the original point data, calculate the screened coordinate data and save it; A Daoheng code matching module, which is used to match the first character of the tower pile name in the original feature data with the code in the Daoheng configuration file to determine the Daoheng code corresponding to the corresponding tower pile name; A measuring point range judgment module is used to extract the center line from the coordinate data in the original feature data according to the corner design file; and judge the range of the measuring point according to the edge line width and edge line tolerance in the pre-configuration file and the vertical distance of the measuring point relative to the reference center line; The Heng coding file export module is used to calculate the cumulative distance and offset distance of each measuring point, the vertical angle between the measuring point and the center line, and find the code that matches the Daoheng feature type code for each measuring point. The corresponding angle and feature height are added to the corresponding feature information according to the Daoheng coding format requirements of different types of features, the feature information is saved and the Daoheng coding file is exported.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps in the field measurement Daoheng code conversion method as described in any one of claims 1 to 6 are implemented.

9. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps in the field measurement Daoheng code conversion method as described in any one of claims 1 to 6 are implemented.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps in the field measurement Daoheng code conversion method as described in any one of claims 1 to 6 are implemented.