A method, apparatus, equipment and medium for segmenting a survey line

CN115511999BActive Publication Date: 2026-08-14GEOMATIVE DECODING CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-16
Publication Date
2026-08-14

AI Technical Summary

Technical Problem

在最终生成3D文件时,由于每个网格都需要单独处理,并且处理过程中需要关联其他处理网格的数据,数据处理效率较低的问题

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115511999B_ABST
    Figure CN115511999B_ABST
Patent Text Reader

Abstract

This invention discloses a method, apparatus, device, and medium for segmenting survey lines. The method includes: drawing a survey line based on measurement data of the object being measured; reading the direction of the survey line and determining the drawing direction of feature lines based on the direction of the survey line; determining the arrangement direction and number of processing grids based on the drawing direction of the feature lines and the distribution location of the survey line; and segmenting the survey line according to the arrangement direction and number of processing grids. This technical solution can clearly define the direction of the survey line and, based on this, simplify the number of grids, thereby improving the efficiency of data processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data processing, and more particularly to a method, apparatus, equipment, and medium for segmenting a survey line. Background Technology

[0002] With the development of urban construction and the gradual rise of digital city technology, the detection of roads, underground pipelines and bridges is becoming increasingly important.

[0003] Existing detection technologies use detection equipment and follow a fixed detection pattern, that is, detecting by connecting measurement points between different survey lines. The processing software then segments the survey lines by generating a processing mesh. However, when generating the final 3D file, the data processing efficiency is low because each mesh needs to be processed individually and the data from other processed meshes needs to be correlated during the processing.

[0004] At the same time, the increase in the number of grids processed leads to logical time waste and low computational efficiency. Summary of the Invention

[0005] This invention provides a method, apparatus, equipment, and medium for segmenting survey lines, which can clearly define the direction of the survey line and simplify the number of grids, thereby improving the efficiency of data processing.

[0006] According to one aspect of the present invention, a method for segmenting a survey line is provided, the method comprising:

[0007] Draw survey lines based on measurement data of the object being measured;

[0008] Read the direction of the survey line and determine the drawing direction of the feature line based on the direction of the survey line;

[0009] Based on the drawing direction of the feature lines and the distribution position of the survey lines, determine the arrangement direction and number of the processing grids;

[0010] The survey line is segmented according to the arrangement direction and number of the processing grids.

[0011] Optionally, the feature line includes the boundary line of the survey line or the center line of the survey line;

[0012] Reading the survey line direction and determining the drawing direction of the feature line based on the survey line direction includes:

[0013] The direction of the survey line is read based on the measurement data of the survey line;

[0014] If the survey line is a straight line, the direction of drawing the feature line is determined according to the direction of the survey line, and the starting and ending positions of the feature line are determined according to the measurement data of the survey line.

[0015] Optionally, the arrangement direction and number of processing grids are determined based on the drawing direction of the feature lines and the distribution position of the survey lines, including:

[0016] Determine the length and width of the processing grid;

[0017] Read the lateral distribution range of the survey line and determine the ratio of the lateral distribution range to the width of the processing grid;

[0018] Based on the drawing direction of the feature lines and the scale value, determine the arrangement direction and number of the processing grids.

[0019] Optionally, if the feature line is a survey boundary line, then the arrangement direction and number of the processing mesh are determined according to the drawing direction of the feature line and the scale value, including:

[0020] If the ratio is less than or equal to 1, the arrangement width of the processing grid is determined to be 1, and a processing grid with an arrangement width of 1 is generated with the boundary line of the survey line as the reference line.

[0021] If the ratio value is greater than 1, then the arrangement width of the processing grid is determined to be the smallest positive integer greater than the ratio value, and a processing grid with an arrangement width of the smallest positive integer is generated with the survey line boundary line as the reference line.

[0022] Optionally, if the feature line is the center line of the survey line, then the arrangement direction and number of the processing grids are determined according to the drawing direction of the feature line and the scale value, including:

[0023] If the ratio is less than or equal to 1, the arrangement width of the processing grid is determined to be 1, and a processing grid with an arrangement width of 1 is generated with the center line of the survey line as the axis.

[0024] If the ratio value is greater than 1, then the arrangement width of the processing grid is determined to be the smallest positive integer greater than the ratio value, and a processing grid with an arrangement width of the smallest positive integer is generated with the survey line centerline as the axis.

[0025] Optionally, after reading the survey line direction and determining the drawing direction of the feature line based on the survey line direction, the method further includes:

[0026] The survey line and the feature line are displayed on the front-end page; and drawing buttons are generated in the first and second directions of the feature line.

[0027] In response to a click operation of the drawing button in the first or second direction, a processing grid with a width of 1 is generated in the first or second direction of the feature line with the feature line as the boundary.

[0028] Optionally, reading the survey line direction includes:

[0029] The direction of the measuring line is determined based on the coordinates of the measuring points on the lateral line.

[0030] According to another aspect of the present invention, a segmentation device for a measuring line is provided, comprising:

[0031] The survey line drawing module is used to draw survey lines based on the measurement data of the object being measured.

[0032] The feature line drawing module is used to read the direction of the survey line and determine the drawing direction of the feature line based on the direction of the survey line.

[0033] The processing grid determination module is used to determine the arrangement direction and number of processing grids based on the drawing direction of the feature lines and the distribution position of the survey lines.

[0034] The segmentation processing module is used to segment the survey line according to the arrangement direction and number of the processing grid.

[0035] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0036] At least one processor; and

[0037] A memory communicatively connected to the at least one processor; wherein,

[0038] The memory stores a computer program that can be executed by the at least one processor, which enables the at least one processor to perform the line segmentation method according to any embodiment of the present invention.

[0039] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the line segmentation method of any embodiment of the present invention.

[0040] The technical solution of this invention involves drawing survey lines based on measurement data of the object being measured; reading the direction of the survey lines and determining the drawing direction of feature lines based on the direction of the survey lines; determining the arrangement direction and number of processing grids based on the drawing direction of the feature lines and the distribution position of the survey lines; and segmenting the survey lines according to the arrangement direction and number of processing grids. This technical solution can clearly define the direction of the survey lines and simplify the number of grids, thereby improving the efficiency of data processing.

[0041] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

[0042] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0043] Figure 1 This is a flowchart of a method for segmenting a survey line according to Embodiment 1 of the present invention;

[0044] Figure 2 This is a schematic diagram of the structure of a line segmentation device according to Embodiment 2 of the present invention;

[0045] Figure 3 This is a schematic diagram of the structure of an electronic device that implements a method for segmenting a survey line according to an embodiment of the present invention. Detailed Implementation

[0046] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0047] It should be noted that the terms "one aspect," "another aspect," "objective," etc., used in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0048] Example 1

[0049] Figure 1This is a flowchart of a survey line segmentation method according to Embodiment 1 of the present invention. This embodiment is applicable to the processing of probe data. The method can be executed by a survey line segmentation device, which can be implemented in hardware and / or software. The survey line segmentation device can be configured in an electronic device with data processing capabilities. Figure 1 As shown, the method includes:

[0050] S110, draw survey lines based on the measurement data of the object being measured.

[0051] The technical solution of this embodiment can be executed by data processing software or electronic devices containing data processing software, and is suitable for scenarios where ground-penetrating radar performs data detection according to individual measurement points or pre-arranged measurement lines. For example, it can perform multi-channel detection of road surfaces, read the detection data through software, and then process the data.

[0052] The survey line can be an observation line composed of observation points arranged along a straight line at a certain scale. The object being measured can be roads, underground pipelines, underground lines, and bridges, etc. The measurement data can be coordinate data, returned radar wave data, etc.

[0053] The process involves measuring the object under test using radar, reading the measurement data, and then drawing a survey line based on the coordinates of the measured points, either by connecting the points one by one or by connecting the first and last points.

[0054] S120, Read the direction of the survey line and determine the drawing direction of the feature line based on the direction of the survey line.

[0055] The characteristic line can be a straight line or a curve used to represent the overall direction of one or more survey lines. For example, the characteristic line can be one of all survey lines. By selecting this survey line as the characteristic line, the number of survey lines on both sides of the characteristic line can be made similar.

[0056] The characteristic lines include the boundary lines or center lines of the survey lines. The boundary lines can be drawn on one side of the survey line, close to it. The boundary lines can be drawn along the direction of the survey line, and can be straight lines or curves. The center lines can be drawn along the direction of the survey line, and are located at the center of the area covered by one or more survey lines.

[0057] In this embodiment, optionally, reading the survey line direction and determining the drawing direction of the feature line based on the survey line direction includes:

[0058] The direction of the survey line is read based on the measurement data of the survey line.

[0059] If the survey line is a straight line, the drawing direction of the feature line is determined according to the direction of the survey line, and the starting and ending positions of the feature line are determined according to the measurement data of the survey line. The starting position can be the center of the farthest end of the survey line or a point within one grid cell near the survey line and extending beyond its range. The ending position can be the end of the survey line relative to the starting position, along its direction, or a point within one grid cell beyond the end of the survey line.

[0060] The grid can be a 50-meter by 25-meter square, with a length of 50 meters and a width of 25 meters.

[0061] Specifically, the coordinate data of the measuring points determined by the measurement data are used to determine the direction of the lateral line, and then the feature line is drawn.

[0062] In this embodiment, reading the survey line direction and determining the drawing direction of the feature line based on the survey line direction can accurately determine the direction and position of the feature line, which is beneficial for data processing. Optionally, based on the above technical solutions, reading the survey line direction includes:

[0063] The direction of the measuring line is determined based on the coordinates of the measuring points on the lateral line.

[0064] One method to determine the direction of a survey line by measuring the coordinates of measuring points is to connect the measuring points sequentially and calculate the average slope of the line connecting adjacent measuring points to determine the position and direction of the survey line, or to select two suitable measuring points at the beginning and end and connect them to determine the position and direction of the survey line.

[0065] In this technical solution, reading the direction of the measuring line clarifies the direction of the measuring line, enabling more accurate measurements.

[0066] S130, determine the arrangement direction and number of processing grids based on the drawing direction of the feature lines and the distribution position of the survey lines.

[0067] The arrangement direction can be horizontal or vertical. The number of arrangements can be determined by the smallest positive integer ratio of the horizontal distribution range of the survey line to the grid width.

[0068] The horizontal direction can be perpendicular to the survey line or the direction of the grid width. The vertical direction can be along the survey line or the direction of the grid length.

[0069] This includes determining the orientation and number of grid cells to be processed.

[0070] The arrangement direction and number of grid lines can be automatically generated by determining the feature lines;

[0071] Alternatively, after determining the feature lines, draw buttons in the first and / or second directions of the feature lines, and determine the grid arrangement direction and number by clicking the buttons.

[0072] The first direction and the second direction can be the directions on both sides of the feature line laterally.

[0073] Based on the above technical solutions, optionally, the arrangement direction and number of processing grids are determined according to the drawing direction of the feature lines and the distribution position of the survey lines, including:

[0074] Determine the length and width of the processing grid.

[0075] Read the lateral distribution range of the survey line and determine the ratio of the lateral distribution range to the width of the processing grid.

[0076] Based on the drawing direction of the feature lines and the scale value, the arrangement direction and number of grid cells are determined. The scale value is limited to 1 and can be less than or equal to 1 or greater than 1. If the scale value is less than or equal to 1, a single column or row of grid cells is generated; if the scale value is greater than 1, a grid of columns or rows with the smallest positive integer value of the scale value is generated.

[0077] This technical solution clarifies the grid arrangement direction and number based on the drawing direction of the feature lines and the ratio of the horizontal distribution range to the width of the processing grid, which helps to simplify the grid.

[0078] Based on the above technical solutions, optionally, if the feature line is a survey boundary line, then the arrangement direction and number of processing grids are determined according to the drawing direction of the feature line and the scale value, including:

[0079] If the ratio is less than or equal to 1, the arrangement width of the processing grid is determined to be 1, and a processing grid with an arrangement width of 1 is generated with the boundary line of the survey line as the reference line.

[0080] If the ratio value is greater than 1, then the arrangement width of the processing grid is determined to be the smallest positive integer greater than the ratio value, and a processing grid with an arrangement width of the smallest positive integer is generated with the survey line boundary line as the reference line.

[0081] The arrangement width can be the smallest positive integer representing the ratio of the transverse distribution range of the survey line to the grid width. For example, when the ratio of the transverse distribution range of the survey line to the grid width is 0.2, the arrangement width is 1; when the ratio of the transverse distribution range of the survey line to the grid width is 6.2, the arrangement width is 7.

[0082] This technical solution determines the number of grid lines for the survey line by drawing boundary lines, avoiding grid intersections and clarifying the grid arrangement direction and number, thereby simplifying the grid.

[0083] Based on the above technical solutions, optionally, if the feature line is the center line of the survey line, then the arrangement direction and number of the processing grids are determined according to the drawing direction of the feature line and the scale value, including:

[0084] If the ratio is less than or equal to 1, the arrangement width of the processing grid is determined to be 1, and a processing grid with an arrangement width of 1 is generated with the center line of the survey line as the axis.

[0085] If the ratio value is greater than 1, then the arrangement width of the processing grid is determined to be the smallest positive integer greater than the ratio value, and a processing grid with an arrangement width of the smallest positive integer is generated with the survey line centerline as the axis.

[0086] This technical solution determines the number of grid lines for the survey line by drawing a center line, avoiding grid intersections and clarifying the grid arrangement direction and number, thus simplifying the grid. Based on the above technical solutions, optionally, after reading the survey line direction and determining the drawing direction of the feature lines according to the survey line direction, the method may further include:

[0087] The survey line and the feature line are displayed on the front-end page; and drawing buttons are generated in the first and second directions of the feature line.

[0088] In response to a click operation of the drawing button in the first or second direction, a processing grid with a width of 1 is generated in the first or second direction of the feature line with the feature line as the boundary.

[0089] In this technical solution, the grid arrangement direction and number are determined by generating drawing buttons, thus simplifying the number of grids.

[0090] S140, the survey line is segmented according to the arrangement direction and number of the processing grid.

[0091] After generating the grid, the radar data is segmented based on the grid. The data in each grid only retains the radar data in the corresponding grid. In this way, when generating the 3D file, only the data in the corresponding grid needs to be read, avoiding wasting time on logic and increasing data processing efficiency exponentially.

[0092] The technical solution of this embodiment draws survey lines based on measurement data of the object under test, reads the direction of the survey lines, determines the drawing direction of feature lines based on the direction of the survey lines, and then determines the arrangement direction and number of processing grids based on the drawing direction of the feature lines and the distribution of the survey lines. Then, the survey lines are segmented according to the arrangement direction and number of processing grids. This solves the problem of the large number of grids determined by coordinates and the time wastage caused by reading radar files for each channel of each survey line. It can clearly define the direction of the survey lines and simplify the number of grids, thereby improving the efficiency of data processing.

[0093] Example 2

[0094] Figure 2 This is a schematic diagram of a survey line segmentation device according to Embodiment 2 of the present invention. This device can execute the survey line segmentation method provided in any embodiment of the present invention, and possesses the corresponding functional modules and beneficial effects for executing the method. For example... Figure 2 As shown, the device includes:

[0095] The survey line drawing module 210 is used to draw survey lines based on the measurement data of the object being measured.

[0096] The feature line drawing module 220 is used to read the direction of the survey line and determine the drawing direction of the feature line according to the direction of the survey line;

[0097] The processing grid determination module 230 is used to determine the arrangement direction and number of processing grids based on the drawing direction of the feature lines and the distribution position of the survey lines.

[0098] The segmentation processing module 240 is used to segment the survey line according to the arrangement direction and number of the processing grid.

[0099] Optional, feature line drawing module 220, specifically used for:

[0100] The direction of the survey line is read based on the measurement data of the survey line:

[0101] If the survey line is a straight line, the drawing direction of the feature line is determined according to the direction of the survey line, and the starting and ending positions of the feature line are determined according to the measurement data of the survey line.

[0102] Reading the survey line direction includes:

[0103] The direction of the measuring line is determined based on the coordinates of the measuring points on the lateral line.

[0104] Optionally, the mesh determination module 230 is used for:

[0105] Determine the length and width of the processing grid;

[0106] Read the lateral distribution range of the survey line and determine the ratio of the lateral distribution range to the width of the processing grid;

[0107] Based on the drawing direction of the feature lines and the scale value, determine the arrangement direction and number of the processing grids.

[0108] Optionally, the device further includes: a boundary line determination unit, specifically used for:

[0109] If the ratio is less than or equal to 1, the arrangement width of the processing grid is determined to be 1, and a processing grid with an arrangement width of 1 is generated with the boundary line of the survey line as the reference line.

[0110] If the ratio value is greater than 1, then the arrangement width of the processing grid is determined to be the smallest positive integer greater than the ratio value, and a processing grid with an arrangement width of the smallest positive integer is generated with the survey line boundary line as the reference line.

[0111] Optionally, the device further includes a centerline determining unit, specifically used for:

[0112] If the ratio is less than or equal to 1, the arrangement width of the processing grid is determined to be 1, and a processing grid with an arrangement width of 1 is generated with the center line of the survey line as the axis.

[0113] If the ratio value is greater than 1, then the arrangement width of the processing grid is determined to be the smallest positive integer greater than the ratio value, and a processing grid with an arrangement width of the smallest positive integer is generated with the survey line centerline as the axis.

[0114] Optionally, the device further includes: a button drawing unit, specifically used for:

[0115] The survey line and the feature line are displayed on the front-end page; and drawing buttons are generated in the first and second directions of the feature line.

[0116] In response to a click operation of the drawing button in the first or second direction, a processing grid with a width of 1 is generated in the first or second direction of the feature line with the feature line as the boundary.

[0117] The line segmentation device provided in this embodiment of the invention can execute the line segmentation method provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the method.

[0118] Example 3

[0119] Figure 3This is a schematic diagram of an electronic device implementing a line segmentation method according to an embodiment of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0120] like Figure 3 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 may also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0121] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0122] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above.

[0123] In some embodiments, the segmentation of the method test line can be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or mounted on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the segmentation of the method test line described above can be performed. Alternatively, in other embodiments, processor 11 can be configured to perform the segmentation of the method test line by any other suitable means (e.g., by means of firmware).

[0124] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0125] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0126] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0127] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0128] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0129] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.

[0130] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.

[0131] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A method for segmenting a survey line, characterized in that, include: Draw survey lines based on measurement data of the object being measured; The direction of the survey line is read, and the drawing direction of the feature line is determined according to the direction of the survey line; wherein, the feature line includes the boundary line of the survey line or the center line of the survey line; the boundary line of the survey line is a straight line or curve drawn on one side of the survey line, close to the position of the survey line and along the direction of the survey line; the center line of the survey line is drawn along the direction of the survey line and at the center position of the distribution range of one or more survey lines; Based on the drawing direction of the feature lines and the distribution position of the survey lines, determine the arrangement direction and number of the processing grids; The survey line is segmented according to the arrangement direction and number of the processing grids; The process of determining the arrangement direction and number of grid cells based on the drawing direction of the feature lines and the distribution location of the survey lines includes: Determine the length and width of the processing grid; Read the lateral distribution range of the survey line and determine the ratio of the lateral distribution range to the width of the processing grid; Based on the drawing direction of the feature lines and the scale value, determine the arrangement direction and number of the processing grids; Wherein, if the feature line is a survey boundary line, then the arrangement direction and number of processing grids are determined according to the drawing direction of the feature line and the scale value, including: If the ratio is less than or equal to 1, the arrangement width of the processing grid is determined to be 1, and a processing grid with an arrangement width of 1 is generated with the boundary line of the survey line as the reference line. If the ratio value is greater than 1, then the arrangement width of the processing grid is determined to be the smallest positive integer greater than the ratio value, and a processing grid with an arrangement width of the smallest positive integer is generated with the survey line boundary line as the reference line. Wherein, if the feature line is the center line of the survey line, then the arrangement direction and number of the processing grids are determined according to the drawing direction of the feature line and the scale value, including: If the ratio is less than or equal to 1, the arrangement width of the processing grid is determined to be 1, and a processing grid with an arrangement width of 1 is generated with the center line of the survey line as the axis. If the ratio value is greater than 1, then the arrangement width of the processing grid is determined to be the smallest positive integer greater than the ratio value, and a processing grid with an arrangement width of the smallest positive integer is generated with the survey line centerline as the axis.

2. The method according to claim 1, characterized in that, Reading the survey line direction and determining the drawing direction of the feature line based on the survey line direction includes: The direction of the survey line is read based on the measurement data of the survey line; If the survey line is a straight line, the direction of drawing the feature line is determined according to the direction of the survey line, and the starting and ending positions of the feature line are determined according to the measurement data of the survey line.

3. The method according to claim 1, characterized in that, After reading the survey line direction and determining the drawing direction of the feature line based on the survey line direction, the method further includes: The survey line and the feature line are displayed on the front-end page; and drawing buttons are generated in the first and second directions of the feature line. In response to a click operation of the drawing button in the first or second direction, a processing grid with a width of 1 is generated in the first or second direction of the feature line with the feature line as the boundary.

4. The method according to claim 1, characterized in that, Reading the survey line direction includes: The direction of the survey line is determined based on the coordinates of the survey points on the survey line.

5. A segmentation device for a survey line, characterized in that, include: The survey line drawing module is used to draw survey lines based on the measurement data of the object being measured. The feature line drawing module is used to read the direction of the survey line and determine the drawing direction of the feature line according to the direction of the survey line; wherein, the feature line includes the boundary line of the survey line or the center line of the survey line; the boundary line of the survey line is a straight line or curve drawn on one side of the survey line, close to the position of the survey line and along the direction of the survey line; the center line of the survey line is drawn along the direction of the survey line and at the center position of the distribution range of one or more survey lines; The processing grid determination module is used to determine the arrangement direction and number of processing grids based on the drawing direction of the feature lines and the distribution position of the survey lines. The segmentation processing module is used to segment the survey line according to the arrangement direction and number of the processing grid. The processing grid determination module is specifically used for: determining the length and width of the processing grid; reading the lateral distribution range of the survey line and determining the ratio of the lateral distribution range to the width of the processing grid; and determining the arrangement direction and number of processing grids based on the drawing direction of the feature line and the ratio. Wherein, if the feature line is a survey line boundary line, the processing grid determination module includes a boundary line determination unit, specifically used for: if the ratio value is less than or equal to 1, determining the arrangement width of the processing grid to be 1, and generating a processing grid with an arrangement width of 1 using the survey line boundary line as the reference line; if the ratio value is greater than 1, determining the arrangement width of the processing grid to be the smallest positive integer greater than the ratio value, and generating a processing grid with an arrangement width of the smallest positive integer using the survey line boundary line as the reference line; Wherein, if the feature line is the center line of the survey line, the processing grid determination module includes a center line determination unit, specifically used for: if the ratio value is less than or equal to 1, determining the arrangement width of the processing grid to be 1, and generating a processing grid with an arrangement width of 1 with the center line of the survey line as the axis; if the ratio value is greater than 1, determining the arrangement width of the processing grid to be the smallest positive integer greater than the ratio value, and generating a processing grid with an arrangement width of the smallest positive integer with the center line of the survey line as the axis.

6. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the segmentation method of the survey line according to any one of claims 1-4.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed by a processor, implement the segmentation method for the survey line according to any one of claims 1-4.

Citation Information

Patent Citations

  • Method and device for acquiring two-dimensional survey line

    CN104502961A

  • Two-dimensional structural mesh generation method for branchless river based on topographic feature boundaries

    CN109101732A