Methods, devices, equipment, and storage media for generating finished drawings of power transmission line measurements
The method of automatically generating finished measurement diagrams of transmission lines solves the problems of low efficiency and error susceptibility in existing technologies, and achieves efficient and accurate generation of finished measurement diagrams of transmission lines, adapting to changes in line design routes.
Patent Information
- Application Number
- CN202210987417.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-17
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2042-08-17
AI Technical Summary
Existing technologies are inefficient and prone to errors when generating finished measurement drawings for transmission lines. In particular, the generation of tower base topographic drawings, tower base cross-sectional drawings, and plan cross-sectional drawings requires a large amount of manual operation, resulting in a large workload and difficulty in adapting to changes in the design path.
By acquiring measurement data and route design information of the target area, a computer program is used to automatically generate CAD plan views. Based on different instructions, it automatically generates tower base topographic maps, tower base cross-sectional maps, building distribution maps, and plan cross-sectional maps, including rotating graphic data, inserting pile location information, acquiring tower leg cross-sectional data and building attributes, and performing interpolation calculations in conjunction with a digital elevation model to achieve automated mapping.
It significantly improves the efficiency and quality of generating finished transmission line measurement maps, reduces the error rate of manual operation, facilitates changes in line design paths, and reduces the workload of mapping.
Smart Images

Figure CN115408750B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of power transmission lines, and in particular to a method, apparatus, equipment, and storage medium for generating finished measurement drawings of power transmission lines. Background Technology
[0002] The completed drawings for power transmission line surveying include plan and cross-sectional views, tower base topographic maps, tower base cross-sectional views, and building distribution maps.
[0003] Different transmission line measurement finished drawings involve different data and processing methods. Users need to prepare different measurement data files according to the output transmission line measurement finished drawings and manually draw the drawings based on the measurement data files, resulting in low efficiency in generating transmission line measurement finished drawings. Summary of the Invention
[0004] Based on this, the purpose of this application is to provide a method, apparatus, equipment and storage medium for generating finished transmission line measurement diagrams, and to propose a method for generating finished transmission line measurement diagrams that can greatly improve the efficiency and quality of the generated diagrams.
[0005] According to a first aspect of the embodiments of this application, a method for generating a finished measurement drawing of a transmission line is provided, the method comprising: Acquire measurement data and route design path information for the target area; wherein, the route design path information includes multiple pile locations and their coordinate information; A CAD plan of the target area is generated based on the measurement data of the target area; wherein, the CAD plan includes multiple graphics and annotation data; Obtain the attribute information of tension sections corresponding to various features in the CAD plan and the digital elevation model of the target area; Upon receiving the tower base topographic map generation instruction, the graphic and annotation data within a preset distance range of each pile position are obtained from the CAD plan view. The graphic and annotation data are rotated so that the angle bisectors of the forward and backward directions of the tower position corresponding to each pile position are located in the horizontal direction of the plane where the tower base topographic map to be generated is located. The tower base topographic map frame is inserted and the pile position information is filled in, and the tower base topographic map is generated and displayed. Upon receiving the instruction to generate a tower base cross-section diagram, the tower type corresponding to the multiple pile locations is obtained. Based on the tower type and the coordinate information of the multiple pile locations, the tower leg cross-section data is obtained. Based on the tower leg cross-section data and the tower base cross-section template, the tower leg cross-section line corresponding to each pile location is generated. The tower base cross-section diagram frame is inserted and the pile location information is filled in. The tower base cross-section diagram is then generated and displayed. Upon receiving a house distribution map generation instruction, the system acquires house attribute data and house images; taking each tension section as an independent interval, it acquires house data corresponding to each tension section based on the CAD plan, the house attribute data, and the house images; based on the minimum cumulative distance value of the house relative to the tension section, it sorts the houses in each independent interval in ascending order, using the minimum of the minimum cumulative distance values of the houses in each independent interval relative to the tension section as the starting cumulative distance, and determines the cumulative distance range according to a preset cumulative distance range value, acquiring the first N houses whose minimum cumulative distance value falls within the cumulative distance range; based on the house data and house images of the N houses, it generates and displays a house distribution map; wherein, the house data includes house graphic data, house attribute data, and the minimum cumulative distance value of the house relative to the tension section; N > 1; Upon receiving the command to generate a plan profile, the system obtains the line coordinate information of each feature in the plan profile based on the tension section attribute information and corner pile coordinate information of each feature in the CAD plan. It then generates a feature plan profile based on the line coordinate information of each feature in the plan profile. Next, it performs interpolation calculations on the digital elevation model based on the line design path information to obtain a topographic profile. Finally, it merges the feature plan profile and the topographic plan profile to generate and display the plan profile.
[0006] According to a second aspect of the embodiments of this application, a transmission line measurement finished drawing generation apparatus is provided, the apparatus comprising: The first data acquisition module is used to acquire measurement data and route design path information of the target area; wherein, the route design path information includes multiple pile positions and coordinate information of the multiple pile positions; The CAD drawing generation module is used to generate a CAD plan view of the target area based on the measurement data of the target area; wherein, the CAD plan view includes multiple graphics and annotation data; The second data acquisition module is used to acquire the tension section attribute information corresponding to each feature in the CAD plan and the digital elevation model of the target area. The tower base topographic map generation module is used to, upon receiving the tower base topographic map generation instruction, obtain graphic and annotation data within a preset distance range for each pile position from the CAD plan view, rotate the graphic and annotation data so that the angle bisectors of the forward and backward directions of each pile position are located in the horizontal direction of the plane where the tower base topographic map to be generated is located, insert the tower base topographic map frame and fill in the pile position information, generate and display the tower base topographic map; The tower base cross-section diagram generation module is used to obtain the tower type corresponding to the multiple pile positions when a tower base cross-section diagram generation instruction is received; obtain the tower leg cross-section data according to the tower type and the coordinate information of the multiple pile positions; generate the tower leg cross-section line corresponding to each pile position according to the tower leg cross-section data and the tower base cross-section template; insert the tower base cross-section diagram frame and fill in the pile position information; and generate and display the tower base cross-section diagram. The building distribution map generation module is used to acquire building attribute data and building images upon receiving a building distribution map generation instruction; taking each tension section as an independent interval, it acquires building data corresponding to each tension section based on the CAD plan, the building attribute data, and the building images; based on the minimum cumulative distance value of the building relative to the tension section, it sorts the buildings in each independent interval in ascending order, using the minimum of the minimum cumulative distance values of the buildings in each independent interval relative to the tension section as the starting cumulative distance, determines the cumulative distance range according to a preset cumulative distance range value, and acquires the first N buildings whose minimum cumulative distance value falls within the cumulative distance range; based on the building data and building images of the N buildings, it generates and displays a building distribution map; wherein, the building data includes building graphic data, building attribute data, and the minimum cumulative distance value of the building relative to the tension section; N > 1; The plan profile generation module is used to, upon receiving a plan profile generation command, obtain the line coordinate information of each feature in the plan profile based on the tension section attribute information and corner pile coordinate information of each feature in the CAD plan, generate a feature plan profile based on the line coordinate information of each feature in the plan profile, perform interpolation calculation on the digital elevation model based on the line design path information to obtain a topographic profile, and merge the feature plan profile and the topographic plan profile to generate and display the plan profile.
[0007] According to a third aspect of the embodiments of this application, an electronic device is provided, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and executed by the method for generating a finished drawing of a transmission line measurement according to any one of the present invention.
[0008] According to a fourth aspect of the embodiments of this application, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the method for generating finished drawings of transmission line measurements as described in any one of the claims.
[0009] In this embodiment, a CAD plan view of the target area is generated based on the measurement data of the target area. Upon receiving input commands for generating plan and cross-section diagrams, tower base topographic diagrams, tower base cross-section diagrams, or building distribution diagrams, the corresponding plan and cross-section diagrams, tower base topographic diagrams, tower base cross-section diagrams, or building distribution diagrams are automatically generated and displayed based on the CAD plan view of the target area and the line design path information. This application can automatically generate transmission line measurement finished diagrams such as plan and cross-section diagrams, tower base topographic diagrams, tower base cross-section diagrams, or building distribution diagrams from a single CAD plan view of the target area according to the user's drawing requirements, greatly improving the efficiency and quality of transmission line measurement finished diagram generation.
[0010] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application.
[0011] To better understand and implement this application, the following detailed description is provided in conjunction with the accompanying drawings. Attached Figure Description
[0012] Figure 1 A schematic diagram illustrating a method for generating a finished measurement drawing of a transmission line, provided in one embodiment of this application; Figure 2 A schematic diagram illustrating the process of generating a finished measurement drawing of a transmission line, provided for another embodiment of this application; Figure 3 A flowchart of step S5 provided in one embodiment of this application; Figure 4 A flowchart of step S5 provided for another embodiment of this application; Figure 5 This is a CAD plan view of the target area provided in one embodiment of this application; Figure 6 A plan view of the target area provided in one embodiment of this application; Figure 7 A topographical diagram of the target area provided in one embodiment of this application; Figure 8 A cross-sectional view of the tower base of a target area provided in one embodiment of this application; Figure 9 A house distribution map of a target area provided in one embodiment of this application; Figure 10 A schematic diagram of a transmission line measurement finished drawing generation device provided in one embodiment of this application; Figure 11 This is a schematic diagram of the structure of an electronic device provided in one embodiment of this application. Detailed Implementation
[0013] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0014] It should be understood that the described embodiments are merely some, not all, of the embodiments in this application. All other embodiments obtained by those skilled in the art based on the embodiments in this application without inventive effort are within the scope of protection of this application.
[0015] In the following description, when referring to the accompanying drawings, the same numbers in different drawings denote the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0016] In the description of this application, it should be understood that the terms "first," "second," "third," etc., are used only to distinguish similar objects and are not necessarily used to describe a specific order or sequence, nor should they be construed as indicating or implying relative importance. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances. The singular forms "a," "the," and "the" used in this application and the appended claims are also intended to include the plural forms, unless the context clearly indicates otherwise. The words "if" or "when" as used herein can be interpreted as "when," "in response to a determination." Furthermore, in the description of this application, unless otherwise stated, "a plurality" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist; for example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship.
[0017] Existing technologies require the prior preparation of complete topographic measurement data files for the base area when generating topographic maps of the base area. A general topographic map of the base area is then generated using absolute geographic coordinates. Each map is then manually rotated by a specific angle according to rules to generate individual map sheets. This process is labor-intensive, inefficient, and prone to human error. Furthermore, directly generating topographic maps by rotating the topographic measurement data files by a specific angle makes it difficult to extract data such as features and cross-sectional elevations from the generated maps. Existing technologies require filtering measurement data in the direction of the tower base section from the tower base topographic measurement data file when generating the tower base cross-section diagram. This involves manually filtering the data in the direction of the tower base section section and then drawing the tower base cross-section diagram based on the data. The above mapping method is labor-intensive and inefficient. Existing technologies require the prior preparation of complete plan and section measurement data files when generating plan and section diagrams. These data must then be manually edited or converted into an interface file recognizable by the plan and section diagram software. Finally, the interface file is opened and edited using the software. If the design path changes, these steps must be repeated to regenerate the diagrams. Plan and section diagrams from older design paths are difficult to reuse, resulting in low drafting efficiency.
[0018] Existing technologies require manually cutting out the building graphic data for each building distribution map from the plan and section drawings, and then manually editing and drawing the map. The above drawing method is labor-intensive, inefficient, and prone to human error.
[0019] Please see Figure 1-2 This application provides a method for generating finished transmission line measurement drawings, which can automatically generate plan and cross-sectional views, tower base topographic maps, tower base cross-sectional views, or building distribution maps of transmission lines based on a single CAD plan of the target area, according to the user's mapping requirements. The method includes the following steps: S1: Obtain measurement data and route design path information for the target area; The measurement data includes feature codes and feature coordinates; the feature codes can be determined based on the feature name and preset feature coding rules, and the feature coordinates can include the east and north coordinates of the feature.
[0020] The route design information includes multiple stake locations and their coordinate information; In one embodiment, after acquiring the measurement data of the target area, the following steps are further included: The measurement data is traversed, and it is checked whether the measurement data meets the preset requirements. Data that does not meet the preset requirements is marked.
[0021] Determining whether the measurement data meets the preset requirements can include determining whether each item of the measurement data is complete and / or whether each item of the measurement data meets the mapping requirements; for example, whether the feature coding conforms to the preset feature coding rules, etc.
[0022] Data that does not meet preset requirements can be identified by highlighting the corresponding data item in red or generating a prompt message at the end of the corresponding data item. The prompt message informs the user that the data does not meet the preset requirements. Preferably, the prompt message may also include the reason for non-compliance, such as incompleteness or non-compliance with mapping requirements, so that the user can promptly follow up with the prompt message to supplement and adjust the data, thereby improving the accuracy of the mapping.
[0023] S2: Generate a CAD plan of the target area based on the measurement data of the target area; Specifically, a CAD plan of the target area can be generated by manual drawing or by automatically generating maps from measurement data. In one embodiment, when generating a CAD plan of the target area by manual drawing, the corresponding feature symbols, feature lines, and feature points are manually drawn on the CAD plan according to the manually selected feature categories to obtain the CAD plan of the target area.
[0024] In another embodiment, when generating a CAD plan of a target area using an automatic mapping method based on measurement data, the step of generating the CAD plan of the target area based on the measurement data of the target area includes: Determine the land cover category and corresponding land cover symbol based on the land cover code; Land feature symbols such as graves, stones, 10kV, and 500kV can be obtained from the land feature legend based on the land feature category. Drawable land feature categories include: crossings, isolated features, transportation facilities, residential areas, water system facilities, vegetation annotations, other land features, and cross-sectional lines. The land feature legend is compatible with the Southern Surveying and Mapping CASS software, facilitating the use of CAD plans within the software.
[0025] Determine the location of each feature and the lines connecting them based on their coordinates, and then draw a CAD plan of the target area in CAD drawing software.
[0026] The scale of the CAD floor plan can be set to 1:500 or customized according to the user's specific needs.
[0027] S3: Obtain the tension section attribute information and digital elevation model of the target area corresponding to each feature in the CAD plan; In one embodiment, the tension segment attributes of features on the CAD plan can be automatically calculated and assigned based on the angle bisector method of the path direction before and after the corner stake, according to the route design path information, to obtain tension segment attribute information; or, in another embodiment, one or more features can be manually selected and their corresponding tension segment attributes can be set to obtain tension segment attribute information.
[0028] A Digital Elevation Model (DEM) is a digital simulation of ground topography (i.e., a digital representation of the surface morphology of the terrain) achieved through limited terrain elevation data. It is a physical ground model that represents ground elevation using an ordered array of numerical values.
[0029] The digital elevation model of the target area can be a file in DEM or TIF format. In this embodiment, the digital elevation model of the target area can be obtained from the archives of the land and resources department of the target area or through autonomous aerial surveying to ensure the accuracy of the digital elevation model of the target area.
[0030] S4: Upon receiving the tower base topographic map generation instruction, obtain the graphic and annotation data within a preset distance range of each pile position from the CAD plan view, rotate the graphic and annotation data so that the angle bisectors of the forward and backward directions of the tower positions corresponding to the multiple pile positions are rotated to the horizontal direction of the plane where the tower base topographic map to be generated is located, insert the tower base topographic map frame and fill in the pile position information, generate and display the tower base topographic map; wherein, the pile position information includes the pile position name, serial number and surveyor information; The annotation data may include the coordinates and dimensions of the pile location.
[0031] The forward and backward directions of the tower location can be determined based on the route design information.
[0032] The user determines the size of the generated tower base topographic map by setting a preset distance range. In this embodiment, the preset distance range can be set to within 35 meters of the center pile.
[0033] It should be noted that when acquiring the graphics within a preset distance range for each pile location, if there are linear terrain features exceeding the preset distance range, the user can set whether to crop the linear features according to their needs. In this embodiment, the default setting is not to crop.
[0034] After generating the tower base topographic map, users can also set whether to generate a map of the original coordinates as a verification block layer according to their needs. In this embodiment, the default setting is not to generate one.
[0035] In this embodiment of the application, multiple tower base topographic maps can be generated in batches. Each tower base topographic map is numbered according to its generation order. For example, the number of the first generated tower base topographic map is set to 1, so that the user can easily determine the order of each tower base topographic map.
[0036] In this embodiment of the application, users can also set whether to generate tower base topographic maps corresponding to the starting and ending pile positions according to their needs.
[0037] After generating the tower base topographic map, you can output it to the corresponding tower base topographic map generation directory.
[0038] The tower base topographic map generation instruction is used to generate the tower base topographic map. The tower base topographic map can be a control instruction input by the user from an external input device. The transmission line measurement finished map generation method of this application can run on a computer device. When the computer device receives the user's tower base topographic map generation instruction, it automatically executes step S103 to generate the tower base topographic map and automatically save it on the computer device.
[0039] S5: Upon receiving the instruction to generate a tower base cross-section diagram, obtain the tower type corresponding to the multiple pile positions, and obtain the tower leg cross-section data based on the tower type and the coordinate information of the multiple pile positions; generate the tower leg cross-section line corresponding to each pile position based on the tower leg cross-section data and the tower base cross-section template, insert the tower base cross-section diagram frame and fill in the pile position information, and generate and display the tower base cross-section diagram. Among them, the tower types include straight towers and corner towers. Corner towers are used to change the direction of the transmission line. In the embodiments of this application, the tower type corresponding to each pile position can be determined according to the line design path information.
[0040] The tower leg cross-sectional data includes the direction of the tower leg cross-section and the elevation data of each point on the tower leg cross-section.
[0041] After obtaining the tower leg cross-section data, four tower leg cross-section lines for each pile location can be automatically generated based on the tower base cross-section template. Finally, the tower base cross-section diagram frame is inserted, and pile location information such as pile location name, serial number, and surveyor is filled in. The tower base cross-section diagram is then named and generated.
[0042] After generating the tower base cross-section diagram, it can be output to the corresponding tower base cross-section diagram generation directory.
[0043] In this embodiment of the application, multiple tower base cross-sectional diagrams can be generated in batches. Each tower base cross-sectional diagram is numbered according to its generation order. For example, the number of the first generated tower base cross-sectional diagram is set to 1, so that the user can easily determine the order of each tower base cross-sectional diagram.
[0044] When naming the cross-sectional diagram of the tower foundation, it can be named according to the number and name of the cross-sectional diagram. For example, the cross-sectional diagram of the tower foundation can be named "number-pile name.dwg".
[0045] Specifically, in one embodiment, such as Figure 3 As shown, the measurement data includes elevation data, and the step of obtaining the tower leg cross-sectional data includes: S511: Determine the cross-sectional direction of multiple tower legs based on the coordinate information of multiple pile locations and the tower type of the multiple pile locations; S512: Starting from the center pile, sequentially obtain the elevation value of the intersection point of the tower leg cross section with the contour map and the distance value from the center pile in each tower leg cross section direction to obtain the tower leg cross section data; In this embodiment of the application, the cross-sectional direction of the tower leg can include the four directions of front, back, left, and right of the tower leg.
[0046] Or, such as Figure 4 As shown, in another embodiment, the step of acquiring the tower leg cross-sectional data includes: S521: Determine the cross-sectional direction of multiple tower legs based on the coordinate information of multiple pile locations and the tower type of the multiple pile locations; S522: Obtain discrete elevation points within a preset length range for the tower leg cross-section, construct an irregular triangular network, and obtain the coordinates of interpolation points starting from the center pile in each tower leg cross-section direction according to a preset interpolation interval. Based on the elevation of the vertex of the triangular network to which the interpolation point belongs and the distance between the interpolation point and the vertex, calculate the elevation of the interpolation point using a weighted interpolation method based on the inverse square distance ratio, and obtain the tower leg cross-section data.
[0047] The interpolation interval can be set according to user needs. In this embodiment, the interpolation interval is set to 1 meter.
[0048] A triangulated Irregular Network (TIN) is a network of interconnected triangular faces that divides a region into a finite set of points. The shape and size of the triangular faces depend on the density and location of the irregularly distributed measurement points.
[0049] The weighted interpolation method based on the inverse square distance ratio determines the weights by the reciprocal of the k-th power of the distance between the interpolation point and the scattered points in the neighborhood. The attribute value of the interpolation point is obtained by weighted averaging of the attribute values of the scattered points in the neighborhood; where 0≤k≤2. Specifically, in the embodiment of this application, k=2.
[0050] In this embodiment, a CAD plan view of the target area is generated based on the measurement data of the target area. Upon receiving an input command to generate a tower base topographic map, the tower base topographic map is automatically generated and displayed based on the CAD plan view of the target area and the line design path information. Upon receiving a command to generate a tower base cross-section view, the tower base cross-section view is automatically generated and displayed based on the CAD plan view of the target area and the line design path information. This application can automatically generate transmission line measurement finished drawings such as tower base cross-section views or tower base topographic maps according to the user's generation needs, thereby improving the generation efficiency of transmission line measurement finished drawings.
[0051] S6: Upon receiving the instruction to generate a house distribution map, acquire house attribute data and house images; taking each tension section as an independent interval, acquire the house data corresponding to each tension section based on the CAD plan, the house attribute data, and the house images; based on the minimum cumulative distance value of the house relative to the tension section, sort the houses in each independent interval in ascending order, take the minimum of the minimum cumulative distance values of the houses in each independent interval relative to the tension section as the starting cumulative distance, determine the cumulative distance range according to the preset cumulative distance range value, and acquire the first N houses whose minimum cumulative distance value is within the cumulative distance range; generate and display a house distribution map based on the house data and house images of the N houses; wherein, the house data includes house graphic data, house attribute data, and the minimum cumulative distance value of the house relative to the tension section; N>1; House attribute data can include house number, house structure, number of floors, main and auxiliary buildings, house photo name, tower location range, village name, homeowner name, and remarks. The house photo name defaults to the same name as the house number; if different, it needs to be manually edited. The village name, homeowner name, and remarks data are manually entered and improved based on field survey data.
[0052] In this embodiment of the application, the house attribute data can be stored on the computer device in the form of a preset table (e.g., an Excel file). When a house distribution map generation instruction is received, the house attribute data is obtained from the preset house attribute data file.
[0053] House images can be pre-stored in a preset house image storage folder in JPG, BMP, or PNG format. House images can be named according to house numbers, making it convenient to quickly retrieve the corresponding house images from the preset house image storage folder when a house distribution map generation command is received.
[0054] The building's graphic data may include the coordinates of the polyline corner points relative to the tension section, the minimum and maximum cumulative distances, the minimum offset, the building area (single floor), and the total area (building area × number of floors). The cumulative distance refers to the distance from the current point along the line path to the starting point during the line layout survey.
[0055] The building graphic data is automatically calculated and generated by the computer by traversing all the buildings in each tension section of the CAD plan, without the need for manual measurement.
[0056] In this embodiment of the application, N can be 15, and the cumulative distance range can be set to 230 meters, that is, the cumulative distance range is [leiju1, leiju1+230], where leiju1 is the minimum of the minimum cumulative distance values of the houses in each independent section relative to the tension section.
[0057] In this embodiment of the application, all houses in each independent interval are traversed, and the top 15 houses with the smallest cumulative distance in [leiju1,leiju1+230] are selected, and a corresponding house distribution map is generated based on these 15 houses.
[0058] To ensure a consistent, neat, and aesthetically pleasing final image, all house images are centered on the house distribution map, while the start and end distances of the house distribution map are updated accordingly. House photos are automatically arranged and displayed according to the preset layout and size.
[0059] S7: Upon receiving the command to generate a plan profile, based on the tension section attribute information and corner pile coordinate information corresponding to each feature in the CAD plan, obtain the line coordinate information of each feature in the plan profile, generate a feature plan profile based on the line coordinate information of each feature in the plan profile, perform interpolation calculation on the digital elevation model based on the line design path information, and obtain a topographic profile; merge the feature plan profile and the topographic plan profile to generate and display the plan profile.
[0060] A plan and section drawing is a type of railway engineering drawing that combines a plan view and a section view, with the railway centerline as the horizontal axis. The plan view uses the railway coordinate system, and all terrain and feature coordinates are relative coordinates.
[0061] The line coordinate system is an engineering coordinate system with the line centerline as the horizontal axis and the vertical centerline as the vertical axis. It expresses the coordinates of ground features using the cumulative distance and offset relative to the line centerline.
[0062] Specifically, the alignment coordinates of each feature in the alignment profile can be calculated based on the parameters generated from the alignment profile and the tension section attribute information corresponding to each feature in the CAD plan. Thus, the alignment profile of each feature can be generated based on the alignment coordinate information of each feature in the alignment profile.
[0063] The parameters for generating the planar profile include the planar range, initial cumulative distance, map frame range, scale range, arrangement of projection line annotations, arrangement of crossing point annotations, and annotation size.
[0064] The scale range can include minimum and maximum elevations; the arrangement of projection line annotations can include unused and programmed arrangements; the arrangement of crossing point annotations can include unused and programmed arrangements; the map frame range can include 50 meters and 75 meters. In this embodiment, the plane range can be set to 50 meters, the starting cumulative distance can be set to 0 meters, the map frame range can be set to 50 meters, the scale range can be set to automatic setting, the projection line annotations can be set to program arrangement with an interval of 25, the crossing point annotations can be set to program arrangement, and the annotation size can be set to 6.5.
[0065] A topographic profile is a very important piece of topographic information. It can reflect the elevation undulations of a local area along a certain horizontal line and can also vividly show the topographic type and characteristics of a region.
[0066] Specifically, based on the route design information and interpolation parameters, the digital elevation model is interpolated using the bilinear interpolation method. The interpolation parameters may include parameters such as edge line, wind offset, acquisition interval, initial cumulative distance, and generation type.
[0067] In this embodiment, the edge line can be set to 14 meters, the wind deflection distance can be set to 30 meters, the acquisition interval can be set to 5 meters, the initial cumulative distance can be set to 0 meters, and the generation type can be set to "only retain the edge line and wind deflection line that are 0 meters above the center line".
[0068] In step S7, before displaying the plan view, the following steps are also included: In response to the projection line trimming command, the solid line segments of the projection lines in the plan view are trimmed to the center line at the corresponding cumulative distance. In response to the crossing point marking instruction, the elevation and offset of the crossing point of the cross section of the plan view are obtained and marked on the plan view; In response to the editing command, the measurement points and stakes in the plan view are edited; wherein, editing measurement points includes adding measurement points and modifying measurement points, and editing stakes includes adding stakes, modifying stakes, and deleting stakes.
[0069] The projection line trimming command is used to trim the solid line segments of all projection lines in the plan view to the center line at the corresponding cumulative distance with one click. After interpolating the digital elevation data based on the route design information, the following steps are also included: Acquire ground measurement points within the threshold range of the line centerline, elevation data of the ground measurement points, and vegetation envelope data; Based on the digital elevation data of the ground measurement points, every two ground measurement points along the centerline of the line are taken as a segment. The elevation of the terrain section is corrected according to the elevation of the section before and after each segment to obtain the corrected terrain plan profile. Based on the vegetation envelope data, vegetation envelopes are added to the corrected topographic profile; wherein, the vegetation envelopes indicate the natural growth height of different tree species.
[0070] The crossing point annotation command is used to annotate the elevation and offset of crossing points on a cross-section. This command can be used to annotate a single crossing point on a plan view, or to annotate multiple crossing points on a plan view in batches.
[0071] When editing measurement points, you can add or modify measurement points by setting the point type, point number, cumulative distance, offset, and elevation on the plan view, or by setting the point type, point coordinates, elevation, and the tension section to which it belongs, or by selecting them on the map.
[0072] When editing piles, you can add, modify, and delete piles by setting the pile type, pile number, rotation angle, elevation, cumulative distance, east coordinate, and north coordinate on the plan view.
[0073] Vegetation envelope data can include the starting cumulative distance, ending cumulative distance, and natural growth height of each vegetation segment. This vegetation envelope data can be stored on a computer device as a pre-defined TXT or Excel file.
[0074] In this embodiment of the application, the sampling interval between tree apexes can be set to 10 meters, and it can be set that no line is connected when the spacing between tree apexes exceeds 5 meters.
[0075] Specifically, the step of adding vegetation envelope lines to the corrected topographic profile based on the vegetation envelope line data includes: Based on the starting and ending cumulative distances and natural growth height of each vegetation segment, the topographic cross-sections corresponding to the starting and ending cumulative distance segments are traversed. According to the sampling interval of the tree apex, the elevations of the center line and the left and right side lines at the same cumulative distance are compared. Tall tree vertices are added at positions with higher elevations. The vegetation envelope is then added by connecting the tall tree vertices in sequence according to the cumulative distance.
[0076] The topographic profile includes the centerline and the left and right sidelines.
[0077] After generating and displaying the plan view, the following steps are also included: In response to the connection command, the selected planar section area is determined, and the measurement points within the threshold range of the center line, edge line and wind deflection line in the area are obtained and connected to obtain the center line, edge line and wind deflection line.
[0078] In response to the node creation command, a new section line node is created at the selected location; In response to a node cancellation command, cancel the section line node at the selected location; In response to the planar section splicing command, the starting point and ending point of at least two selected planar sections are determined, and the at least two planar sections are spliced according to the starting point and ending point of the at least two planar sections. In response to the planar section fusion command, the coordinate information of the pile positions of at least two selected planar sections is determined, and all data of one planar section is merged into the other planar section along the preset pile position.
[0079] In response to the command to raise terrain profile lines, raise all selected terrain profile lines by a first specified height; In response to the command to lower terrain profile lines, lower all selected terrain profile lines by a second specified height. Connection commands, node creation commands, node cancellation commands, profile splicing commands, and profile fusion commands can be operation commands that users can input through external input devices (such as mouse, keyboard, etc.).
[0080] Among them, the section line node to be cancelled can be the section line node closest to the selected position.
[0081] During the fusion of plan and profile drawings, if discrepancies occur in the pile name, plane coordinates, elevation, and rotation angle of overlapping piles in the two plan and profile drawings, an error message will be issued and the fusion of the plan and profile drawings will be stopped to prompt the user to promptly confirm the abnormality.
[0082] The selected terrain profile lines can include the centerline, edge lines, and wind deflection lines.
[0083] The first specified height and the second specified height can be the same or different.
[0084] In this embodiment of the application, after generating the plan and section view, the user only needs to issue the corresponding operation command to perform operations such as creating new section line nodes, canceling section line nodes, splicing and merging on the generated plan and section view, without the need for complex manual adjustments, which can effectively improve the efficiency of plan and section view editing.
[0085] like Figure 5 As shown, it is a CAD plan view of the target area generated by the transmission line measurement finished drawing generation method of the present application embodiment.
[0086] like Figure 6 As shown, upon receiving the planar profile generation instruction, step S7 of this application is executed to generate a planar profile of the target area.
[0087] like Figure 7 As shown, upon receiving the tower base topographic map generation instruction, step S4 of this application is executed to generate the tower base topographic map of the target area; like Figure 8 As shown, upon receiving the instruction to generate a tower base cross-section diagram, step S5 of this application is executed to generate a tower base cross-section diagram of the target area; like Figure 9 As shown, upon receiving the instruction to generate a housing distribution map, step S6 of this application is executed to generate a housing distribution map of the target area.
[0088] In this embodiment, after generating a CAD plan based on the measurement data of the target area, the plan and cross-section diagram, tower base topographic diagram, tower base cross-section diagram, and building distribution diagram can be automatically generated with one click based on the CAD plan of the target area and the line design path information. This can effectively improve the efficiency of transmission line mapping. The CAD plan of this application has strong versatility and high reusability, facilitates changes to the line design path, reduces the workload of mapping, and greatly improves the efficiency and quality of generating finished transmission line measurement diagrams.
[0089] This embodiment provides a device for generating finished measurement drawings of transmission lines, which can be used to execute the method for generating finished measurement drawings of transmission lines according to the embodiments of this application. For details not disclosed in this embodiment, please refer to the method embodiments of this application.
[0090] Please see Figure 10 , Figure 10 This is a schematic diagram of a transmission line measurement finished drawing generation device disclosed in an embodiment of this application. The transmission line measurement finished drawing generation device includes: The first data acquisition module 1 is used to acquire measurement data and route design path information of the target area; wherein, the route design path information includes multiple pile positions and coordinate information of the multiple pile positions; CAD drawing generation module 2 is used to generate a CAD plan view of the target area based on the measurement data of the target area; wherein, the CAD plan view includes multiple graphics and annotation data; The second data acquisition module 3 is used to acquire the tension section attribute information corresponding to each feature in the CAD plan and the digital elevation model of the target area. The tower base topographic map generation module 4 is used to, when receiving the tower base topographic map generation instruction, obtain the graphic and annotation data within a preset distance range of each pile position from the CAD plan, rotate the graphic and annotation data so that the angle bisectors of the forward and backward directions of each pile position are located in the horizontal direction of the plane where the tower base topographic map to be generated is located, insert the tower base topographic map frame and fill in the pile position information, generate and display the tower base topographic map; The tower base cross-section diagram generation module 5 is used to obtain the tower type corresponding to the multiple pile positions when receiving the tower base cross-section diagram generation instruction; obtain the tower leg cross-section data according to the tower type and the coordinate information of the multiple pile positions; generate the tower leg cross-section line corresponding to each pile position according to the tower leg cross-section data and the tower base cross-section template; insert the tower base cross-section diagram frame and fill in the pile position information; and generate and display the tower base cross-section diagram. The building distribution map generation module 6 is used to acquire building attribute data and building images upon receiving a building distribution map generation instruction; taking each tension section as an independent interval, it acquires building data corresponding to each tension section based on the CAD plan, the building attribute data, and the building images; based on the minimum cumulative distance value of the building relative to the tension section, it sorts the buildings in each independent interval in ascending order, using the minimum of the minimum cumulative distance values of the buildings in each independent interval relative to the tension section as the starting cumulative distance, determines the cumulative distance range according to a preset cumulative distance range value, and acquires the first N buildings whose minimum cumulative distance value falls within the cumulative distance range; and generates and displays a building distribution map based on the building data and building images of the N buildings; wherein, the building data includes building graphic data, building attribute data, and the minimum cumulative distance value of the building relative to the tension section; N > 1; The plan profile generation module 7 is used to, upon receiving a plan profile generation instruction, obtain the line coordinate information of each feature in the plan profile based on the tension section attribute information and corner pile coordinate information of each feature in the CAD plan, generate a feature plan profile based on the line coordinate information of each feature in the plan profile, perform interpolation calculation on the digital elevation model based on the line design path information to obtain a topographic profile, and merge the feature plan profile and the topographic plan profile to generate and display the plan profile.
[0091] This embodiment provides an electronic device that can be used to execute all or part of the steps of the transmission line measurement and final drawing generation method of this application. For details not disclosed in this embodiment, please refer to the method embodiments of this application.
[0092] Please see Figure 11 , Figure 11 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device 200 may be, but is not limited to, a combination of one or more devices such as servers, personal computers, laptops, smartphones, and tablets.
[0093] In a preferred embodiment of this application, the electronic device 200 includes a memory 201, at least one processor 202, at least one communication bus 203, and a transceiver 204.
[0094] Those skilled in the art should understand that Figure 11 The structure of the electronic device shown does not constitute a limitation of the embodiments of this application. It can be a bus structure or a star structure. The electronic device 200 may also include more or fewer other hardware or software than shown, or different component arrangements.
[0095] In some embodiments, the electronic device 200 is a device capable of automatically performing numerical calculations and / or information processing according to pre-set or stored instructions. Its hardware includes, but is not limited to, microprocessors, application-specific integrated circuits (ASICs), programmable gate arrays (FPGAs), digital processors, and embedded devices. The electronic device 200 may also include client devices, including, but not limited to, any electronic product capable of human-computer interaction with a client via a keyboard, mouse, remote control, touchpad, or voice control device, such as personal computers, tablet computers, smartphones, and digital cameras.
[0096] It should be noted that the electronic device 200 is merely an example. Other existing or future electronic products that are suitable for this application should also be included within the scope of protection of this application and are incorporated herein by reference.
[0097] In some embodiments, the memory 201 stores a computer program that, when executed by the at least one processor 202, implements all or part of the steps in the transmission line measurement final drawing generation method as described in the embodiments. The memory 201 includes a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage, magnetic tape storage, or any other computer-readable medium capable of carrying or storing data.
[0098] In some embodiments, the at least one processor 202 is the control unit of the electronic device 200, connecting various components of the electronic device 200 via various interfaces and lines. It executes programs or modules stored in the memory 201 and calls data stored in the memory 201 to perform various functions and process data of the electronic device 200. For example, when the at least one processor 202 executes a computer program stored in the memory, it implements all or part of the steps of the transmission line measurement finished drawing generation method described in this application embodiment; or it implements all or part of the functions of the transmission line measurement finished drawing generation device. The at least one processor 202 may be composed of integrated circuits, such as a single packaged integrated circuit, or multiple integrated circuits with the same or different functions, including combinations of one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and various control chips.
[0099] In some embodiments, the at least one communication bus 203 is configured to enable communication between the memory 201 and the at least one processor 202, etc.
[0100] The electronic device 200 may also include various sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be described in detail here.
[0101] This embodiment provides a computer-readable storage medium storing a computer program. The instructions are adapted to be loaded and executed by a processor using the method for generating a finished drawing of a transmission line measurement according to Embodiment 1 of this application. The specific execution process can be found in the detailed description of Embodiment 1, which will not be repeated here.
[0102] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to in the description of the method embodiments. The device embodiments described above are merely illustrative. The components described as separate parts may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this application according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0103] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0104] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0105] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A method for generating a final measurement drawing of a transmission line, characterized in that, The method includes: Acquire measurement data and route design path information for the target area; wherein, the route design path information includes multiple pile locations and their coordinate information; A CAD plan of the target area is generated based on the measurement data of the target area; wherein, the CAD plan includes multiple graphics and annotation data; Obtain the attribute information of tension sections corresponding to various features in the CAD plan and the digital elevation model of the target area; Upon receiving the tower base topographic map generation instruction, the graphic and annotation data within a preset distance range of each pile position are obtained from the CAD plan view. The graphic and annotation data are rotated so that the angle bisectors of the forward and backward directions of the tower position corresponding to each pile position are located in the horizontal direction of the plane where the tower base topographic map to be generated is located. The tower base topographic map frame is inserted and the pile position information is filled in, and the tower base topographic map is generated and displayed. Upon receiving the instruction to generate a tower base cross-section diagram, the tower type corresponding to the multiple pile locations is obtained. Based on the tower type and the coordinate information of the multiple pile locations, the tower leg cross-section data is obtained. Based on the tower leg cross-section data and the tower base cross-section template, the tower leg cross-section line corresponding to each pile location is generated. The tower base cross-section diagram frame is inserted and the pile location information is filled in. The tower base cross-section diagram is then generated and displayed. Upon receiving a house distribution map generation instruction, the system acquires house attribute data and house images; taking each tension section as an independent interval, it acquires house data corresponding to each tension section based on the CAD plan, the house attribute data, and the house images; based on the minimum cumulative distance value of the house relative to the tension section, it sorts the houses in each independent interval in ascending order, using the minimum of the minimum cumulative distance values of the houses in each independent interval relative to the tension section as the starting cumulative distance, and determines the cumulative distance range according to a preset cumulative distance range value, acquiring the first N houses whose minimum cumulative distance value falls within the cumulative distance range; based on the house data and house images of the N houses, it generates and displays a house distribution map; wherein, the house data includes house graphic data, house attribute data, and the minimum cumulative distance value of the house relative to the tension section; N > 1; Upon receiving the command to generate a plan profile, the system obtains the line coordinate information of each feature in the plan profile based on the tension section attribute information and corner pile coordinate information of each feature in the CAD plan. It then generates a feature plan profile based on the line coordinate information of each feature in the plan profile. Next, it performs interpolation calculations on the digital elevation model based on the line design path information to obtain a topographic plan profile. Finally, it merges the feature plan profile and the topographic plan profile to generate and display the plan profile. After interpolating the digital elevation model based on the route design information, the following steps are also included: Acquire ground measurement points within the threshold range of the line centerline, elevation data of the ground measurement points, and vegetation envelope data; Based on the elevation data of the ground measurement points, every two ground measurement points along the centerline of the line are taken as a segment. The elevation of the terrain section is corrected according to the elevation of the section before and after each segment to obtain the corrected terrain plan profile. Based on the vegetation envelope data, vegetation envelopes are added to the corrected topographic profile; wherein, the vegetation envelopes indicate the natural growth height of different tree species.
2. The method for generating a finished measurement drawing of a transmission line according to claim 1, characterized in that, The measurement data includes elevation data, the tower type includes straight towers and angle towers, and the tower leg cross-section data includes the direction of the tower leg cross-section and the elevation data of each point on the tower leg cross-section. The steps for obtaining the tower leg cross-section data include: Based on the coordinate information of multiple pile locations and the tower type of the multiple pile locations, the cross-sectional direction of multiple tower legs is determined; Starting from the center pile, the elevation values and distances from the center piles at the intersection points of the cross-sections of each tower leg and the contour map are obtained sequentially to acquire the tower leg cross-section data. Alternatively, the step of obtaining the tower leg cross-sectional data includes: Based on the coordinate information of multiple pile locations and the tower type of the multiple pile locations, the cross-sectional direction of multiple tower legs is determined; Discrete elevation points within a preset length range of the tower leg cross-section are obtained, and an irregular triangular network is constructed. Starting from the center pile in each tower leg cross-section direction, the coordinates of the interpolation points are obtained according to the preset interpolation interval. Based on the elevation of the vertex of the triangular network to which the interpolation point belongs and the distance between the interpolation point and the vertex, the elevation of the interpolation point is calculated using a weighted interpolation method based on the inverse square distance ratio, and the tower leg cross-section data is obtained.
3. The method for generating a finished measurement drawing of a transmission line according to claim 1, characterized in that, Before displaying the plan view, the following steps are also included: In response to the projection line trimming command, the solid line segments of the projection lines in the plan view are trimmed to the center line at the corresponding cumulative distance. In response to the crossing point marking instruction, the elevation and offset of the crossing point of the cross section of the plan view are obtained and marked on the plan view; In response to the editing command, the measurement points and stakes in the plan view are edited; wherein, editing measurement points includes adding measurement points and modifying measurement points, and editing stakes includes adding stakes, modifying stakes, and deleting stakes.
4. The method for generating a finished measurement drawing of a transmission line according to claim 1, characterized in that, The measurement data includes feature codes and feature coordinates; the step of generating a CAD plan of the target area based on the measurement data of the target area includes: Determine the land cover category and corresponding land cover symbol based on the land cover code; Determine the location of each feature and the lines connecting them based on the coordinates of the features. Draw a CAD plan of the target area in CAD drawing software.
5. A device for generating finished drawings of transmission line measurements, characterized in that, The device includes: The first data acquisition module is used to acquire measurement data and route design path information of the target area; wherein, the route design path information includes multiple pile positions and coordinate information of the multiple pile positions; The CAD drawing generation module is used to generate a CAD plan view of the target area based on the measurement data of the target area; wherein, the CAD plan view includes multiple graphics and annotation data; The second data acquisition module is used to acquire the tension section attribute information corresponding to each feature in the CAD plan and the digital elevation model of the target area. The tower base topographic map generation module is used to, upon receiving the tower base topographic map generation instruction, obtain graphic and annotation data within a preset distance range for each pile position from the CAD plan view, rotate the graphic and annotation data so that the angle bisectors of the forward and backward directions of each pile position are located in the horizontal direction of the plane where the tower base topographic map to be generated is located, insert the tower base topographic map frame and fill in the pile position information, generate and display the tower base topographic map; The tower base cross-section diagram generation module is used to obtain the tower type corresponding to the multiple pile positions when a tower base cross-section diagram generation instruction is received; obtain the tower leg cross-section data according to the tower type and the coordinate information of the multiple pile positions; generate the tower leg cross-section line corresponding to each pile position according to the tower leg cross-section data and the tower base cross-section template; insert the tower base cross-section diagram frame and fill in the pile position information; and generate and display the tower base cross-section diagram. The building distribution map generation module is used to acquire building attribute data and building images upon receiving a building distribution map generation instruction; taking each tension section as an independent interval, it acquires building data corresponding to each tension section based on the CAD plan, the building attribute data, and the building images; based on the minimum cumulative distance value of the building relative to the tension section, it sorts the buildings in each independent interval in ascending order, using the minimum of the minimum cumulative distance values of the buildings in each independent interval relative to the tension section as the starting cumulative distance, determines the cumulative distance range according to a preset cumulative distance range value, and acquires the first N buildings whose minimum cumulative distance value falls within the cumulative distance range; based on the building data and building images of the N buildings, it generates and displays a building distribution map; wherein, the building data includes building graphic data, building attribute data, and the minimum cumulative distance value of the building relative to the tension section; N > 1; The plan profile generation module is used to, upon receiving a plan profile generation command, obtain the line coordinate information of each feature in the plan profile based on the tension section attribute information and corner pile coordinate information of each feature in the CAD plan, generate a feature plan profile based on the line coordinate information of each feature in the plan profile, perform interpolation calculation on the digital elevation model based on the line design path information to obtain a topographic plan profile, and merge the feature plan profile and the topographic plan profile to generate and display the plan profile. The plan profile generation module is used to, after interpolating the digital elevation model according to the route design path information, obtain ground measurement points within the threshold range of the route centerline, elevation data of the ground measurement points, and vegetation envelope data; based on the elevation data of the ground measurement points, divide every two ground measurement points in the direction of the route centerline into a segment, and correct the elevation of the terrain profile according to the elevation of the sections before and after each segment to obtain a corrected terrain plan profile map; based on the vegetation envelope data, add vegetation envelope lines to the corrected terrain plan profile map; wherein, the vegetation envelope lines indicate the natural growth height of different tree species.
6. An electronic device, characterized in that, include: A processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and executed as described in any one of claims 1 to 4 to generate a transmission line measurement final drawing.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the method for generating finished drawings of transmission line measurements as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Data processing and mapping method of topographic surveying of electric transmission line tower positions
CN102750413A
Automatic outputting method of electric transmission line house distribution map
CN102760189A
Plane section automatic mapping method and system and storage medium
CN114861376A
