Map picture interception method for distribution network project path schematic diagram design automatic mapping technology

By automatically calculating the interception range and intercepting and inserting map images, it solves the problem that the design results in traditional CAD design cannot be used directly on electronic maps, realizes automatic mapping and data accuracy of distribution network engineering design, and promotes power grid engineering. Digital design in the field.

CN118734382APending Publication Date: 2024-10-01SICHUAN WEIDE DIGITAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410773250.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In the design of distribution network engineering, DWG files generated by traditional CAD software cannot be used directly on electronic maps, making it difficult to guarantee the data integrity and accuracy of the design results. Manual entry is required, which is time-consuming and labor-intensive, and cannot meet the needs of digital design.

Method used

By obtaining the design point data in the distribution network engineering design results, using the longitude and latitude coordinates to calculate the interception range, and adjusting the interception range in combination with the Haversine formula, automatic interception and insertion of map images is realized, and the output of specified picture frames is supported to ensure automatic mapping of the design results. and data accuracy.

Benefits of technology

It realizes the automatic drawing of distribution network engineering design results, improves design efficiency and data accuracy, meets the requirements of digital design mode, and provides important technical support for the localization of design software in the field of power grid engineering.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118734382A_ABST
    Figure CN118734382A_ABST
Patent Text Reader

Abstract

The invention aims to research a map picture interception method for a distribution network project total path schematic diagram background map in a distribution network project digital design achievement automatic mapping technology, and the method comprises the steps: obtaining design point location data in a distribution network project design achievement, including the geographic position information of a design point location; determining an interception range 1 according to the longitude and latitude of the geographic information of each point location; in order to prevent the geographic position of the design point location from being located at the edge of the interception range 1, adjusting the interception range 1 by a preset value to obtain an interception range 2; if the user does not specify the picture frame, the interception range 2 is used as a final map interception range for interception, and the size of the base map of the map under the specified CAD measurement unit is calculated; if the picture frame is specified, according to the picture frame specified by the user, the intercepted map picture can completely cover the base map placing area in the picture frame by adjusting the interception range 2, interception is carried out, and the size and the picture zoom ratio of the map base map under the specified CAD measurement unit are calculated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of survey and design of distribution network engineering, and in particular to a map image capture method in automatic mapping technology for distribution network engineering path schematic design. Background Art

[0002] The design of the path diagram is the most basic design content in the design of distribution network engineering. It is necessary to plot, annotate and select the towers, cable wells, channels, lines, electrical equipment, pole-mounted equipment, and ground objects with GIS coordinate information on the basis of the map as the base map, and express the logical relationship between them. The traditional design method uses CAD software design, and the design uses the static picture of the map screenshot as the base map for design. After the design is completed, the CAD framing function is used to manually generate the framing results according to the selected frame, and save it in a dwg file to facilitate the later design of electronic results and the printing and delivery of results. The design is carried out using CAD software, and the results generated are electronic files saved locally. They are non-digital results and need to be circulated through file transfer methods such as file upload, file synchronization, and file copy. In the three-state integration control, the power grid company needs to display the design results on the electronic map. Since the dwg format file cannot be used directly on the electronic map, the power grid company has to manually enter the design results into the "one map" and other applications, which is time-consuming and labor-intensive, and the integrity and accuracy of the data cannot be guaranteed.

[0003] Therefore, abandoning CAD technology and using digital technology to achieve distribution network engineering design has become an important research direction and an important topic for the localization of design software in the field of power grid engineering. Since the current construction briefing and results delivery in the field of distribution network engineering are delivered in CAD format electronic files or printed drawings, the distribution network engineering design model based on digital technology needs to study automatic drawing technology, that is, the completed digital design results of the distribution network engineering will automatically output the path diagram, pole type overview, flat section diagram and other CAD electronic documents according to the requirements of the distribution network engineering. Only in this way can the output results of the distribution network engineering design model based on digital technology meet the requirements of the industry, the software has practical application significance, and can truly replace the traditional CAD design model of the distribution network engineering.

[0004] The distribution network project path diagram results are saved in dwg (a special format for saving design data in AutoCAD software) or dxf (AutoCAD drawing exchange file format) file formats, which can be opened with CAD software. Its content is the design results of poles, cable wells, channels, lines, electrical equipment, pole-mounted equipment, land features, etc. with coordinate positions marked and plotted in the selected drawing frame, and the corresponding map picture is used as the base map for display.

[0005] This patent describes a method for automatically outputting a map image capture method in the distribution network engineering total path schematic diagram in the distribution network engineering digital design results automatic mapping technology. The distribution network engineering total path schematic diagram is not divided into sections, and displays the map and design results of the entire design results.

[0006] The total route diagram of the distribution network project can be output without a frame (usually only used for display within the system, not printed) or with a standard frame according to different user requirements. This patented method meets the needs of different customers to output map capture with different frames. Summary of the invention

[0007] The present invention aims to study a map image capture method of a background map of a general path schematic diagram of a distribution network project in the automatic mapping technology of digital design results of a distribution network project. The specific method includes the following steps:

[0008] S1: Obtain the design point data of the distribution network engineering design results, including but not limited to poles, cable wells, channels, lines, electrical equipment, pole-mounted equipment, ground features, etc., wherein the point data includes the geographical location information of the design points.

[0009] According to the longitude and latitude coordinates in the geographical location information of the design point, the maximum longitude λ of all the design points is obtained by comparing the sizes. 11 , minimum longitude λ 12 , maximum latitude Minimum latitude The interception range 1 is determined by The range defined by the coordinate points.

[0010] S2: To avoid the geographical location of the design point being at the edge of the interception range 1, adjust the corresponding λ of the interception range 1 by the preset value 11 , minimum longitude λ 12 , maximum latitude Minimum latitude The value of is obtained to obtain the interception range 2, so that all the design point areas are completely within the interception range 2.

[0011] According to the Haversine calculation formula for the distance between two points on the earth:

[0012]

[0013] d is the distance between the two points

[0014] r is the radius of the Earth

[0015] The latitude of point 1 and the latitude of point 2, measured in radians

[0016] λ1λ2: longitude of point 1 and longitude of point 2, measured in radians

[0017] The horizontal length of interception range 2 is:

[0018]

[0019] (where M 预 equal to the preset value)

[0020] The vertical length of interception range 2 is:

[0021]

[0022] S3: Whether the user specifies a frame for outputting results.

[0023] S4: If the drawing frame is not specified, the interception range 2 is used as the final map interception range, and the map base map is intercepted, and the size of the map base map in the specified CAD measurement unit is calculated, and the map base map of the distribution network total path schematic diagram is inserted.

[0024] S5: If a frame is specified, according to the frame specified by the user, the interception range 2 is adjusted so that the intercepted map image can completely cover the base map placement area in the frame, and the interception is performed, and the size and image zoom ratio of the map base map in the specified CAD measurement unit are calculated, and the distribution network total path schematic map base map is inserted.

[0025] Preferably, step S4 specifies a frame in the aforementioned capture range 2 to capture and insert a map image, and includes the following steps:

[0026] S41: According to the capture range 2 and the specified map tile level (the map tile level is any level from 0 to 18, usually one level from 15 to 18 is selected), the map software interface is called to take a screenshot to obtain a map image.

[0027] S42: Calculate the size of the captured map image in the distribution network path schematic CAD file according to the capture range 2 and the CAD measurement unit.

[0028] Set CAD measurement unit 1 (graphic unit) to represent X (mm)

[0029] The horizontal length of the graphic unit of the intercepted map image in CAD is:

[0030] L cad (Graphic unit) = L 截取范围2 (mm): X (mm / graphic unit)

[0031] The vertical length of the graphic unit of the intercepted map image in CAD is:

[0032] B cad(Graphic Unit) = B 截取范围2 (mm): X (mm / graphic unit)

[0033] S43: Based on the map image captured by S41 and the image size calculated by S42, an interface is called to insert the map image into the distribution network total path schematic CAD result file.

[0034] Preferably, step S5 specifies a frame in the aforementioned interception range 2 to adjust the interception range, intercept the map image, and insert the map image, including the following steps:

[0035] S51: According to the drawing size and drawing direction of the drawing frame specified by the user, the size of the base map placed in the drawing frame after the drawing is completed is determined, and the aspect ratio is calculated.

[0036] Set the vertical length of the base map to B0 and the horizontal length to L0. The aspect ratio is:

[0037] AR0=B0 / L0

[0038] S52: In order to make the intercepted map base map just cover the area where the base map is placed in the frame by scaling at the same ratio, so as to achieve the purpose of standardized mapping, the map interception range size aspect ratio needs to be consistent with AR0 in step S51, and it is necessary to adjust the screenshot range through calculation on the basis of the aforementioned interception range 2 to form interception range 3. S53: According to interception range 3 and the specified map tile level (the map tile level is any level in the levels 0-18, and usually one level in the levels 15-18 is selected), the map software interface is called to take a screenshot to obtain a map image.

[0039] S54: Calculate the size of the captured map image in the distribution network path schematic CAD file and the map image scaling ratio according to the capture range 3 and the CAD measurement unit.

[0040] Set CAD measurement unit 1 (graphic unit) to represent X (mm)

[0041] The horizontal length of the graphic unit of the intercepted map image in CAD is:

[0042] L cad (Graphic unit) = L 截取范围3 (mm): X (mm / graphic unit)

[0043] The vertical length of the graphic unit of the intercepted map image in CAD is:

[0044] B cad (Graphic Unit) = B 截取范围3 (mm): X (mm / graphic unit)

[0045] Scaling ratio p For: Sp = L cad (Graphic unit): L0 (Graphic unit)

[0046] S55: According to the map picture intercepted in step S53, the picture size calculated in S54, and the scaling ratio, call the interface to insert the map picture into the CAD result file.

[0047] Preferably, step S52 calculates and adjusts the screenshot range based on the foregoing intercepted range 2 to form intercepted range 3, including the following steps:

[0048] S521: Calculate the aspect ratio of intercepted range 2:

[0049] In the foregoing step S2, the calculated longitudinal length of intercepted range 2 is B 截取范围2 , and the transverse length is L 截取范围2 , then the aspect ratio of intercepted range 2 is: AR1 = B 截取范围2 / L 截取范围2 .

[0050] S522: If AR0 = AR1, there is no need to adjust the transverse or longitudinal dimensions of intercepted range 2, that is:

[0051] L 截取范围3 = L 截取范围2

[0052] B 截取范围3 = B 截取范围2

[0053] S523: If AR1 < AR0, the transverse dimension L 截取范围2 remains unchanged, and the adjusted B 截取范围2 dimension is:

[0054] B 截取范围3 = L 截取范围2 B0 / L0

[0055] That is, the longitudinal dimension of the map intercepted range is adjusted from B 截取范围2 to B 截取范围3 . To ensure the center display specification of the map in intercepted range 2, it is extended equally on both the left and right. The up and down extension distances are:

[0056] B 扩 = (B 截取范围3 - B 截取范围2 ) / 2

[0057] According to the foregoing transverse dimension L 截取范围2 remaining unchanged, then:

[0058] L 截取范围3 = L 截取范围2

[0059] L扩 =0

[0060] S524: If AR1>AR0, then the longitudinal dimension B 截取范围2 Unchanged, adjusted L 截取范围2 The dimensions are:

[0061] L 截取范围3 =B 截取范围2 L0 / B0

[0062] That is, the horizontal size of the map capture range is from L 截取范围2 Adjust to L 截取范围3 In order to ensure the map is standardized, the left and right sides are expanded equidistantly. The expansion distance is:

[0063] L 扩 =(L 截取范围3 -L 截取范围2 ) / 2

[0064] According to the aforementioned longitudinal dimension B 截取范围2 unchanged, then:

[0065] B 截取范围3 =B 截取范围2

[0066] B 扩 =0

[0067] S525: According to the above step S2 and the description of steps S41 to S44, the interception range 1 is expanded in the four directions of east, west, south and north to form an interception range 3 framed by four coordinate points A', B', C', and D'. The expansion distances in the four directions of east, west, south and north are:

[0068] L 西扩 =M 预 +L 扩

[0069] L 东扩 =M 预 +L 扩

[0070] B 北扩 =M 预 +B 扩

[0071] B 南扩 =M 预 +B 扩

[0072] According to the longitude and latitude of coordinate points A(λ12,φ11), B(λ11,φ11), C(λ12,φ12), and D(λ11,φ12), as well as L west expansion, L east expansion, B north expansion, and B south expansion, by specifying the map coordinate system distance conversion formula, the longitude and latitude of the four points A′(λ32,φ31), B′(λ31,φ31), C′(λ32,φ32), and D′(λ31,φ32) can be calculated.

[0073] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0074] The map image interception method in the general path diagram of a distribution network project in the present invention is an indispensable key technology for automatically outputting the distribution network project path diagram in the automatic mapping technology of the digital design results of the distribution network project. Its application will lay the foundation for the automatic mapping technology of the digital design results of the distribution network project, and it is also an important technical point for the localization of design software in the field of power grid engineering. BRIEF DESCRIPTION OF THE DRAWINGS

[0075] Figure 1 It is a flowchart of the map interception method

[0076] Figure 2 This is a map capture calculation diagram

[0077] Figure 3 It is a diagram of the drawing frame

[0078] Specific implementation content

[0079] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0080] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. All other embodiments obtained by ordinary technicians in this field without creative work based on the embodiments of the present invention are within the scope of protection of the present invention.

[0081] The specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0082] Embodiment 1:

[0083] like Figure 1The process shown in the figure is a method for capturing map images of automatic mapping technology for designing distribution network engineering path schematic diagram. The specific method includes the following steps:

[0084] S1: Obtain the design point data of the distribution network engineering design results, including but not limited to poles, cable wells, channels, lines, electrical equipment, pole-mounted equipment, ground features, etc., wherein the point data includes the geographical location information of the design points.

[0085] According to the longitude and latitude coordinates in the geographical location information of the design point, the maximum longitude λ of all the design points is obtained by comparing the sizes. 11 , minimum longitude λ 12 , maximum latitude Minimum latitude The interception range 1 is determined by The range defined by the coordinate points, such as Figure 2 "Cut range 1" is shown.

[0086] S2: To avoid the geographical location of the design point being at the edge of the interception range 1, adjust the corresponding λ of the interception range 1 by the preset value 11 , minimum longitude λ 12 , maximum latitude Minimum latitude , and obtain the interception range 2, such as Figure 2 As shown in “Intercepting range 2”, all the designed point areas are completely within the intercepting range 2.

[0087] According to the Haversine calculation formula for the distance between two points on the earth:

[0088]

[0089] d is the distance between the two points

[0090] r is the radius of the Earth

[0091] The latitude of point 1 and the latitude of point 2, measured in radians

[0092] λ1λ2: longitude of point 1 and longitude of point 2, measured in radians

[0093] The horizontal length of interception range 2 is

[0094]

[0095] (where M 预 equal to the preset value)

[0096] The vertical length of interception range 2 is

[0097]

[0098] S3: Whether the user specifies a frame for outputting results.

[0099] S4: If the drawing frame is not specified, the interception range 2 is used as the final map interception range, and the map base map is intercepted, and the size of the map base map in the specified CAD measurement unit is calculated, and the map base map of the distribution network total path schematic diagram is inserted.

[0100] S5: If a frame is specified, according to the frame specified by the user, the interception range 2 is adjusted so that the intercepted map image can completely cover the base map placement area in the frame, and the interception is performed, and the size and image zoom ratio of the map base map in the specified CAD measurement unit are calculated, and the distribution network total path schematic map base map is inserted.

[0101] Preferably, step S4 specifies a frame in the aforementioned capture range 2 to capture and insert a map image, and includes the following steps:

[0102] S41: According to the capture range 2 and the specified map tile level (the map tile level is any level from 0 to 18, usually one level from 15 to 18 is selected), the map software interface is called to take a screenshot to obtain a map image.

[0103] S42: Calculate the size of the captured map image in the distribution network path schematic CAD file according to the capture range 2 and the CAD measurement unit.

[0104] Set CAD measurement unit 1 (graphic unit) to represent X (mm)

[0105] The horizontal length of the graphic unit of the intercepted map image in CAD is:

[0106] L cad (Graphic unit) = L 截取范围2 (mm): X (mm / graphic unit)

[0107] The vertical length of the graphic unit of the intercepted map image in CAD is:

[0108] B cad (Graphic Unit) = B 截取范围2 (mm): X (mm / graphic unit)

[0109] S43: Based on the map image captured by S41 and the image size calculated by S42, an interface is called to insert the map image into the distribution network total path schematic CAD result file.

[0110] Preferably, step S5 specifies a frame in the aforementioned interception range 2 to adjust the interception range, intercept the map image, and insert the map image, including the following steps:

[0111] S51: According to the drawing size and drawing direction of the drawing frame specified by the user, the size of the base map placed in the drawing frame after the drawing is completed is determined, and the aspect ratio is calculated.

[0112] like Figure 3 The figure shows a CAD drawing frame diagram, where the shaded area is the pre-set map base map coverage area for the automatic output of the distribution network path diagram, B0 is the vertical length, and L0 is the horizontal length. The aspect ratio is:

[0113] Set the vertical length of the base map to B0 and the horizontal length to L0. The aspect ratio is:

[0114] AR0=B0 / L0

[0115] S52: In order to make the intercepted map base map just cover the area where the base map is placed in the frame by scaling at the same ratio, so as to achieve the purpose of standardized mapping, the map interception range size aspect ratio needs to be consistent with AR0 in step S51, and it is necessary to adjust the screenshot range through calculation on the basis of the aforementioned interception range 2 to form interception range 3. S53: According to interception range 3 and the specified map tile level (the map tile level is any level in the levels 0-18, and usually one level in the levels 15-18 is selected), the map software interface is called to take a screenshot to obtain a map image.

[0116] S54: Calculate the size of the captured map image in the distribution network path schematic CAD file and the map image scaling ratio according to the capture range 3 and the CAD measurement unit.

[0117] Set CAD measurement unit 1 (graphic unit) to represent X (mm)

[0118] The horizontal length of the graphic unit of the intercepted map image in CAD is:

[0119] L cad (Graphic unit) = L 截取范围3 (mm): X (mm / graphic unit)

[0120] The vertical length of the graphic unit of the intercepted map image in CAD is:

[0121] B cad (Graphic Unit) = B 截取范围3 (mm): X (mm / graphic unit)

[0122] Scaling ratio p For: S p =L cad (Graphic unit):L0(Graphic unit)

[0123] S55: Insert the map picture into the CAD result file by calling the interface according to the map picture intercepted in step S53, the picture size calculated in S54, and the scaling ratio.

[0124] Preferably, step S52 calculates and adjusts the screenshot range on the basis of the foregoing intercept range 2 to form an intercept range 3, including the following steps:

[0125] S521: Calculate the aspect ratio of the intercept range 2:

[0126] In the foregoing step S2, the calculated longitudinal length of the intercept range 2 is B 截取范围2 , and the transverse length is L 截取范围2 , then the aspect ratio of the intercept range 2 is: AR1 = B 截取范围2 / L 截取范围2 .

[0127] S522: If AR0 = AR1, there is no need to adjust the transverse or longitudinal dimension of the intercept range 2, that is:

[0128] L 截取范围3 = L 截取范围2

[0129] B 截取范围3 = B 截取范围2

[0130] S523: If AR1 < AR0, the transverse dimension L 截取范围2 remains unchanged, and the adjusted B 截取范围2 dimension is:

[0131] B 截取范围3 = L 截取范围2 B0 / L0

[0132] That is, the longitudinal dimension of the map intercept range is adjusted from B 截取范围2 to B 截取范围3 . To ensure the center display specification of the map in the intercept range 2, it is expanded equally on both the left and right. The expansion distance up and down is:

[0133] B 扩 = (B 截取范围3 - B 截取范围2 ) / 2

[0134] According to the foregoing transverse dimension L 截取范围2 remaining unchanged, then:

[0135] L 截取范围3 = L 截取范围2

[0136] L 扩 = 0

[0137] S524: If AR1 > AR0, the longitudinal dimension B 截取范围2Unchanged, adjusted L 截取范围2 The dimensions are:

[0138] L 截取范围3 =B 截取范围2 L0 / B0

[0139] That is, the horizontal size of the map capture range is from L 截取范围2 Adjust to L 截取范围3 In order to ensure the map is standardized, the left and right sides are expanded equidistantly. The expansion distance is:

[0140] L 扩 =(L 截取范围3 -L 截取范围2 ) / 2

[0141] According to the aforementioned longitudinal dimension B 截取范围2 unchanged, then:

[0142] B 截取范围3 =B 截取范围2

[0143] B 扩 =0

[0144] S525: According to the above step S2 and the description of steps S41 to S44, the interception range 1 is expanded in the four directions of east, west, south and north to form an interception range 3 framed by four coordinate points A', B', C', and D'. The expansion distances in the four directions of east, west, south and north are:

[0145] L 西扩 =M 预 +L 扩

[0146] L 东扩 =M 预 +L 扩

[0147] B 北扩 =M 预 +B 扩

[0148] B 南扩 =M 预 +B 扩

[0149] According to the coordinate point The longitude and latitude of 西扩 , L 东扩 , B 北扩 , B 南扩 , by specifying the map coordinate system distance conversion formula, it can be calculated The longitude and latitude coordinates of a point.

[0150] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the above embodiments, a person skilled in the art should understand that the technical solutions described in the above embodiments can still be modified, or some of the technical features can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for capturing map images of automatic mapping technology for designing distribution network engineering path schematic diagrams, the specific method comprising the following steps: S1: Obtain the design point data of the distribution network engineering design results, including but not limited to poles, cable wells, channels, lines, electrical equipment, pole-mounted equipment, ground features, etc., wherein the point data includes the geographical location information of the design points. According to the longitude and latitude coordinates in the geographical location information of the design point, the maximum longitude λ of all the design points is obtained by comparing the sizes. 11 , minimum longitude λ 12 , maximum latitude Minimum latitude The interception range 1 is determined by The range defined by 4 coordinate points. S2: To avoid the geographical location of the design point being at the edge of the interception range 1, adjust the corresponding λ of the interception range 1 by the preset value 11 , minimum longitude λ 12 , maximum latitude Minimum latitude The value of is obtained to obtain the interception range 2, so that all the design point areas are completely within the interception range 2. According to the Haversine calculation formula for the distance between two points on the earth: d is the distance between the two points r is the radius of the Earth The latitude of point 1 and the latitude of point 2, measured in radians λ1λ 2: The longitude of point 1 and the longitude of point 2, measured in radians The horizontal length of interception range 2 is (where M 预 equal to the preset value) The vertical length of interception range 2 is S3: Whether the user specifies a frame for outputting results. S4: If the drawing frame is not specified, the interception range 2 is used as the final map interception range, and the map base map is intercepted, and the size of the map base map in the specified CAD measurement unit is calculated, and the map base map of the distribution network total path schematic diagram is inserted. S5: If a standard frame is specified, according to the frame specified by the user, the interception range 2 is adjusted so that the intercepted map image can completely cover the base map placement area in the frame, and the interception is performed. The size and image zoom ratio of the map base map in the specified CAD measurement unit are calculated, and the distribution network total route schematic map base map is inserted.

2. According to claim 1, a method for capturing map images of automatic mapping technology for designing a distribution network engineering path schematic diagram, characterized in that: Step S4 uses the interception range 2 as the final map interception range, performs interception, calculates the size of the map base map in the specified CAD measurement unit, and inserts the map base map of the distribution network total path schematic diagram, including the following steps: S41: According to the capture range 2 and the specified map tile level (the map tile level is any level from 0 to 18, usually one level from 15 to 18 is selected), the map software interface is called to take a screenshot to obtain a map image. S42: Calculate the size of the captured map image in the distribution network path schematic CAD file according to the capture range 2 and the CAD measurement unit. Set CAD measurement unit 1 (graphic unit) to represent X (mm) The horizontal length of the graphic unit of the intercepted map image in CAD is: L cad (graphic unit) = L 截取范围2 (mm): X (mm / graphic unit) The vertical length of the graphic unit of the intercepted map image in CAD is: B cad (graphic unit) = B 截取范围2 (mm): X (mm / graphic unit) S43: Based on the map image captured by S41 and the image size calculated by S42, an interface is called to insert the map image into the distribution network total path schematic CAD result file.

3. A method for capturing map images of a distribution network engineering path schematic design automatic mapping technology according to claim 1, characterized in that: Step S5 is to adjust the capture range 2 according to the frame specified by the user so that the captured map image can completely cover the base map placement area in the frame, perform capture, calculate the size and image zoom ratio of the map base map in the specified CAD measurement unit, and insert the distribution network total path schematic map base map, including the following steps: S51: According to the drawing size and drawing direction of the drawing frame specified by the user, the size of the base map placed in the drawing frame after the drawing is completed is determined, and the aspect ratio is calculated. Set the vertical length of the base map to B0 and the horizontal length to L0. The aspect ratio is: AR0=B0 / L0 S52: In order to make the captured map base map scaled at the same ratio so as to cover the area where the base map is placed in the frame and achieve the purpose of standardized mapping, the aspect ratio of the map capture range size needs to be consistent with AR0 in step S51. It is necessary to adjust the capture range through calculation on the basis of the aforementioned capture range 2 to form capture range 3. S53: According to the capture range 3 and the specified map tile level (the map tile level is any level from 0 to 18, usually one level from 15 to 18 is selected), the map software interface is called to take a screenshot to obtain a map image. S54: Calculate the size of the captured map image in the distribution network path schematic CAD file and the map image scaling ratio according to the capture range 3 and the CAD measurement unit. Set CAD measurement unit 1 (graphic unit) to represent X (mm) The horizontal length of the graphic unit of the intercepted map image in CAD is: L cad (graphic unit) = L 截取范围3 (mm): X (mm / graphic unit) The vertical length of the graphic unit of the intercepted map image in CAD is: B cad (graphic unit) = B 截取范围3 (mm): X (mm / graphic unit) Scaling ratio p For: S p =L cad (Graphic unit):L0(Graphic unit) S55: Based on the map image captured in step S53 and the image size and zoom ratio calculated in step S54, an interface is called to insert the map image into the CAD output file.

4. A method for capturing map images of a distribution network engineering path schematic design automatic mapping technology according to claim 3, characterized in that: In step S52, in order to make the intercepted map base map scaled in the same proportion so as to just cover the area where the base map is placed in the frame, so as to achieve the purpose of standardized mapping, the aspect ratio of the map interception range size needs to be consistent with AR0 in step S51, and the interception range needs to be adjusted by calculation on the basis of the aforementioned interception range 2 to form interception range 3, which includes the following steps: S521: Calculate the aspect ratio of the clipping range 2: In the above step S2, the longitudinal length of the interception range 2 is calculated to be B 截取范围2 , the horizontal length is L 截取范围2 , then the aspect ratio of interception range 2 is: AR1 = B 截取范围2 / L 截取范围2 . S522: If AR 0= AR 1, There is no need to adjust the horizontal or vertical size of the interception range 2, that is: L 截取范围3= L 截取范围2 B 截取范围3= B 截取范围2 S523: If AR1 <AR 0, Then the horizontal dimension L 截取范围2 unchanged, adjusted B 截取范围2 The dimensions are: B 截取范围3= L 截取范围2 B 0 / L0 That is, the vertical size of the map capture range is from B 截取范围2 Adjust to B 截取范围3 ,In order to ensure the center display standard of the interception range 2 map, the left and right expansion is equidistant. The upper and lower expansion distances are: B 扩 =(B 截取范围3 -B 截取范围2 ) / 2 According to the above horizontal dimension L 截取范围2 unchanged, then: L 截取范围3= L 截取范围2 L 扩 =0 S524: If AR1>AR 0, The longitudinal dimension B 截取范围2 Unchanged, adjusted L 截取范围2 The dimensions are: L 截取范围3= B 截取范围2 L 0 / B0 That is, the horizontal size of the map capture range is from L 截取范围2 Adjust to L 截取范围3, In order to ensure the map is standardized, the left and right sides are expanded equidistantly. The expansion distance is: L 扩 =(L 截取范围3 -L 截取范围2 ) / 2 According to the aforementioned longitudinal dimension B 截取范围2 unchanged, then: B 截取范围3= B 截取范围2 B 扩 =0 S525: According to the above step S2 and the description of steps S41 to S44, the interception range 1 is expanded in the four directions of east, west, south and north to form an interception range 3 framed by four coordinate points A', B', C', and D'. The expansion distances in the four directions of east, west, south and north are: L 西扩 =M 预 +L 扩 L 东扩 =M 预 +L 扩 B 北扩 =M 预 +B 扩 B 南扩 =M 预 +B 扩 According to the coordinate point The longitude and latitude of 西扩、 L 东扩、 B 北扩、 B 南扩 , by specifying the map coordinate system distance conversion formula, it can be calculated The coordinates of the 4 points, longitude and latitude.