A method and device for processing ditch geographic information data

By automatically identifying and processing topographic map data through computers, the problem of low adjustment efficiency of surrounding surface elements after the ditch surface is converted into a single line is solved, and the automatic processing and efficiency improvement after the ditch surface is converted into a single line are realized.

CN118229514BActive Publication Date: 2024-10-25BEIJING SUNWAY TECH CORP LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410642703.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-23
Publication Date
2024-10-25
Estimated Expiration
2044-05-23

AI Technical Summary

Technical Problem

In the process of converting large-scale topographic maps to small-scale topographic maps, when the ditch surface is converted into a single line, it is necessary to manually judge the width information and adjust the surrounding features, resulting in low efficiency.

Method used

Through computer automatic recognition and processing, the data set of the regional topographic map is obtained. When the width of the ditch surface is less than the threshold, the ditch surface is converted into a ditch line, and the connection between the connected features and the ditch line is automatically adjusted, and unnecessary feature elements are deleted. Achieve automated processing.

Benefits of technology

It realizes the automatic conversion of ditch surface elements into single-line elements, improves processing efficiency, and can set width conditions and coding settings according to the target data, automatically extend associated land class boundaries and vegetation surfaces, and delete internal features and features on surface edges.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118229514B_ABST
    Figure CN118229514B_ABST
Patent Text Reader

Abstract

The present application discloses a method and device for processing ditch-type geographic information data, which solves the problem of low efficiency in converting ditch surfaces to ditch lines in the prior art for processing surrounding land features. A method for processing ditch-type geographic information data, comprising the steps of: obtaining a data set of a regional topographic map; the data set comprising a data cluster of land features in the topographic map; obtaining a first data cluster and a second data cluster; the first data cluster comprising first surface feature data representing the ditch; the second data cluster comprising first line feature data and second surface feature data representing connected land features; in response to the ditch surface width attribute data being less than a first threshold, changing the first data cluster and the second data cluster; when displaying the data cluster graphics, converting the ditch surface to a ditch line; extending the first line feature and / or the second surface feature to connect with the ditch line. The present application realizes the automatic processing of converting ditch surface features to ditch line features when the basic geographic information data is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of computer graphics processing and geographic information database, and in particular to a method and device for processing ditch-type geographic information data. Background Art

[0002] When converting a large-scale topographic map to a small-scale topographic map, the ditch surface less than a certain width value is converted into a single-line ditch line. Manual operation not only requires judging its width information, but also involves the transformation of the geometric type of the feature, that is, the surface becomes a line, and a single line needs to be drawn manually. Secondly, after the surface is converted into a single line, the original ditch surface involves deletion processing, and other terrain elements around the original ditch surface need to be manually adjusted, such as vegetation surface, ridge line, steep slope line, etc., which requires a lot of time and manual operation. The present invention realizes automatic solution to this problem through automatic recognition and processing by computer, and can automatically consider related features according to the set parameters. Summary of the invention

[0003] The embodiments of the present application provide a method and device for processing ditch-type geographic information data, which solves the problem of low efficiency in converting ditch surfaces into ditch lines and processing surrounding land features in the prior art.

[0004] In a first aspect, an embodiment of the present application provides a method for processing ditch geographic information data, comprising the steps of:

[0005] Acquire a data set of a regional topographic map; the data set includes data clusters of objects within the topographic map;

[0006] Acquire a first data cluster and a second data cluster; the first data cluster includes first surface image data representing a ditch; the second data cluster includes first line image data and / or second surface image data representing connected features;

[0007] The first surface primitives constitute a ditch surface; the first line primitives constitute connected line features, and the second surface primitives constitute connected surface features;

[0008] In response to the ditch surface width attribute data being less than a first threshold, changing the first data cluster and the second data cluster so that the connected features are connected to the ditch line;

[0009] When displaying the data cluster graphics, convert the ditch surface into a ditch line; extend the first line entity and / or the second surface entity to connect with the ditch line.

[0010] In one embodiment, the method further comprises the steps of:

[0011] In response to converting the ditch surface into a ditch line, determining a middle line in a length direction of the ditch surface as second line element data according to the first surface element data;

[0012] In one of the embodiments, further, the method further comprises the step of: deleting the first surface element data or changing the first surface element display attribute.

[0013] In one embodiment, the method further comprises the steps of:

[0014] When displaying the data cluster graphic, in response to the connected features being connected line features, the first line primitive is extended to be connected to the ditch line.

[0015] In one embodiment, the method further comprises the steps of:

[0016] When displaying the data cluster graph, in response to the connected feature being a connected surface feature, determining the endpoints on both sides of the portion where the connected surface feature is connected to the ditch surface;

[0017] Extend from both end points to the ditch line.

[0018] In one embodiment, the method further comprises the steps of:

[0019] In response to the ditch surface being converted into the ditch line, the display graphics of other features in the ditch surface and the display graphics of ditch feature elements other than the second line primitive are deleted.

[0020] In one embodiment, the method further comprises the steps of:

[0021] In response to the ditch including a branch and the length of the ditch branch being greater than a second threshold, the ditch branch and the ditch are divided into two land feature element data;

[0022] Treat ditch branches as adjacent features of the ditch.

[0023] In one embodiment, the method further comprises the steps of:

[0024] The ditch line data cluster is changed, and the display graphics of the ditch line that is to be connected to the connected land object are deleted. The display graphics of the ditch line that is connected to the connected land object are deleted.

[0025] In a second aspect, the present application also provides a ditch geographic information data processing device, which is used in the ditch geographic information data processing method described in any one of the embodiments of the first aspect, comprising:

[0026] An acquisition module, used to acquire a data set of a regional topographic map; acquire a first data cluster; acquire a second data cluster;

[0027] A determination module is used to convert ditch surfaces into ditch lines; it is also used to connect connected features to ditch lines.

[0028] Display module, used to read data and draw graphics.

[0029] In a third aspect, an embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in any one of the embodiments of the first aspect.

[0030] In a fourth aspect, an embodiment of the present application further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in any one of the embodiments of the first aspect when executing the computer program.

[0031] At least one of the above technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects:

[0032] The present application realizes the automatic processing of converting ditch surface elements into ditch line elements when reducing the basic geographic information data of 1:500 scale to the basic geographic information data of 1:2000 scale. Its specific technical manifestations include: free parameter condition setting of target data can be realized, width condition setting based on target data that meets the requirements of conversion to a single line can be realized, coding setting after conversion to a single line can be realized, automatic extension of associated ridges and land boundary elements on both sides of the ditch surface after conversion to a single line can be realized, automatic fusion of vegetation surface objects associated with the surrounding area after the ditch surface is converted to a single line can be realized, and automatic deletion of internal objects and objects on the surface edge line after the ditch surface is converted to a single line can be realized. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0034] Figure 1 This is a flow chart of a method for processing ditch geographic information data according to an embodiment of the present application;

[0035] Figure 2 The ditch surface display effect diagram before the execution of this application function;

[0036] Figure 3 This is another flow chart of a method for processing ditch-type geographic information data according to an embodiment of the present application;

[0037] Figure 4 This is a flow chart of the third method for processing ditch geographic information data in the embodiment of the present application;

[0038] Figure 5 This is a flow chart of the fourth method for processing ditch geographic information data according to an embodiment of the present application;

[0039] Figure 6 This is a flow chart of the fifth method for processing ditch geographic information data according to an embodiment of the present application;

[0040] Figure 7 This is a flow chart of the sixth method for processing ditch geographic information data according to an embodiment of the present application;

[0041] Figure 8 This is the rendering of the ditch surface after the application function is executed;

[0042] Fig. 9 This is a structural diagram of a ditch geographic information data processing device according to an embodiment of the present application;

[0043] Fig.10 Schematic diagram of the commercial server system for the application scenario of this application. DETAILED DESCRIPTION

[0044] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0045] It should be noted that the geographic information elements (National Basic Scale Map Schema GB / T 20257.1-2017) of this application are abstractions of real geographical topographic features, and are neither geographic surveying and mapping data itself nor images of original terrain. For example, an element can appear as a type (such as a lake, a building) or an entity (such as Dongting Lake, a building). In a geographic information database, it is a symbolic data representation of a specific geographic feature. An element attribute contains a name, a data type, and a value range associated with it. Elements are divided into point elements, surface elements, line elements, and composite elements according to their geometric features, and are assigned graphic codes respectively.

[0046] The ditch element involved in this application is a composite element containing multiple line elements. It should be noted that the solution of this application is not to process the original geographic image information to identify ditch features and generate ditch elements, but to define a ditch element data cluster and further edit, copy, store and use the symbolized data of the existing ditch elements. By changing the ditch surface into a ditch line and changing the data cluster of the ditch surface, the data structure of the geographic information database is optimized.

[0047] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.

[0048] Figure 1 This is a flow chart of a method for processing ditch geographic information data according to an embodiment of the present application, which specifically includes steps 110 to 140.

[0049] Step 110, obtaining a data set of a regional topographic map; the data set includes data clusters of objects within the topographic map;

[0050] Step 120, obtaining a first data cluster and a second data cluster; the first data cluster includes first surface image data representing a ditch; the second data cluster includes first line image data and / or second surface image data representing connected features;

[0051] The first surface primitives constitute a ditch surface; the first line primitives constitute connected line features, and the second surface primitives constitute connected surface features;

[0052] Acquire a first data cluster; the first data cluster includes data representing a ditch;

[0053] The first data cluster includes the coding and attribute information of the graphic elements constituting the ditch land feature element; specifically includes the first surface graphic element constituting the ditch surface;

[0054] It is determined which data in the data set of the topographic map belongs to the ditch through the category attribute information, and the data belonging to the ditch is obtained as the first data cluster.

[0055] The first data cluster includes various types of data constituting a ditch unit, for example, ditch water volume, ditch flow direction, ditch depth, ditch surface, etc.

[0056] It should be noted that the data changed in this application can be the metadata of the ditch feature element, or the display control code of the ditch feature element on the topographic map, and the result is to change the display graphic of the ditch on the topographic map.

[0057] Acquire a second data cluster; the second data cluster includes data representing connected features;

[0058] The second data cluster includes the coding and attribute information of the graphic elements constituting the connected feature elements connected to the ditch feature elements; specifically includes the first line graphic element constituting the connected line feature and the second surface graphic element constituting the connected surface feature;

[0059] The second data cluster includes various land features connected to the ditch unit, such as ridges, paddy fields, houses, branch ditches, upstream main ditches, trunk ditches, etc.

[0060] Use graphic data to determine whether the land features in the topographic map are connected to the ditch.

[0061] The connected features, that is, the edges of the connected features, include graphics elements whose coordinates coincide with or are less than the minimum discrete distance with the ditch surface contour line graphics element.

[0062] Step 130, when scaling down according to the scale, in response to the ditch surface width attribute data being less than a first threshold, changing the first data cluster and the second data cluster;

[0063] In response to the ditch surface width attribute data being less than a first threshold, the first data cluster is changed to convert the ditch surface into a ditch line.

[0064] Whether the ditch surface is a narrow ditch surface is determined by the width attribute data of the ditch surface, and a first threshold is set. A ditch surface smaller than the first threshold is identified as a narrow ditch surface. The ditch determined to be a narrow ditch surface needs to be converted into a ditch line when the basic geographic information data is reduced.

[0065] The first threshold is a set threshold, for example, the size of the first threshold can change with the change of the map scale. The basic geographic information data is reduced, and the smaller the reduction scale is, the smaller the first threshold is set.

[0066] Change the second data cluster so that the connected features are connected to the ditch line.

[0067] In response to the ditch surface width attribute data being less than a first threshold, the first data cluster is changed, the first surface primitive data is changed to line primitive data, and the first line primitive data and / or the second surface primitive data are changed.

[0068] When changing the first line element data, make the position attribute of the first line element intersect with the position attribute of the ditch line (such as the second line element), at least, make the position attribute value of one endpoint of the first line element the same as the position value of a point on the ditch line.

[0069] When changing the second surface element data, make the position attribute of the second surface element tangent to the position attribute of the ditch line, that is, make at least a part of the position attribute value of the contour of the second surface element the same as the position of at least a part of the line segment on the ditch line.

[0070] Step 140: When displaying the data cluster graphic, convert the ditch surface into a ditch line; extend the first line element and / or the second surface element to connect with the ditch line.

[0071] When displaying data clusters, convert the surface entities of the ditch into line entities; connect the surface entities of the connected features with the converted line entities of the ditch.

[0072] It should be noted that step 130 and step 140 are optional. When step 130 is executed, the connected features are connected to the ditch line by changing the value of the data cluster, and the storage information of the geographic information element is changed. When the graphics of the data cluster are displayed, the first line element and / or the second surface element can be extended to connect with the ditch line. Therefore, when 130 to 140 are executed, step 140 also constitutes a response to the ditch surface width attribute data being less than the first threshold. When step 130 is not executed, the relevant attribute values ​​of the first line element and the second surface element are changed by displaying the control code, and adaptation is achieved in the data cluster graphic display stage, and the storage information of the geographic information element may not be changed. Although the processing stages are different, in the embodiments below, the specific data processing method of step 140 can also be used for step 130.

[0073] Figure 2 This is the rendering of the ditch surface before the application function is executed.

[0074] like Figure 2 As shown, the ditch surface 21 is displayed as a long strip of surface, and the surrounding connected features include line features 22 such as ridges, surface features 23 such as paddy fields, and features 24 such as houses that include line elements and surface elements.

[0075] Figure 3 This is another flow chart of a method for processing ditch geographic information data according to an embodiment of the present application, which specifically includes steps 110 to 140, and a further embodiment also includes at least one of steps 210 to 220.

[0076] Step 110, obtaining a data set of a regional topographic map; the data set includes data clusters of objects within the topographic map;

[0077] Step 120, obtaining a first data cluster and a second data cluster; the first data cluster includes first surface image data representing a ditch; the second data cluster includes first line image data and second surface image data representing connected features;

[0078] Step 130, in response to the ditch surface width attribute data being less than a first threshold, changing the first data cluster and the second data cluster;

[0079] Step 140: When displaying the data cluster graphic, convert the ditch surface into a ditch line; extend the first line element and / or the second surface element to connect with the ditch line.

[0080] In one embodiment, step 140 further comprises the steps of:

[0081] Step 210, in response to converting the ditch surface into a ditch line, determining a middle line in the length direction of the ditch surface as second line element data according to the first surface element data;

[0082] The middle line of the length direction of the ditch surface is determined by the first surface element. Any method can be selected. If the ditch surface is not a regular strip and the width of different parts of the ditch surface is different, it is preferred to calculate the middle line of the length direction of the ditch surface through the Delaunay triangulation algorithm.

[0083] The specific steps are:

[0084] Step 211, dividing the long side of the contour of the first face primitive into a plurality of triangles as vertices and bases;

[0085] Step 212, determine the midpoints of all triangle sides;

[0086] Step 213: Connect all midpoints to obtain the middle line of the long side of the ditch surface.

[0087] Furthermore, it also includes:

[0088] Step 214: Fit the middle line.

[0089] Since the middle line of the long side is formed by connecting several points, the connecting line is made curved by fitting.

[0090] Step 220: Delete or change the first surface metadata.

[0091] Deleting the display graphics of the first surface metadata can be done by deleting the first surface metadata in the data cluster of the ditch feature, or changing its display properties, or changing its display control code. As a result, the topographic map no longer displays the ditch surface at the display level, but only the ditch line.

[0092] For another example, if the ditch surface is a regular strip, the ditch surface can be converted into a ditch line by adjusting the width data of the ditch surface to be less than a set threshold.

[0093] Figure 4 The flowchart of the third method for processing ditch geographic information data in the embodiment of the present application specifically includes steps 110~140 and 310.

[0094] Step 110, obtaining a data set of a regional topographic map; the data set includes data clusters of objects within the topographic map;

[0095] Step 120, obtaining a first data cluster and a second data cluster; the first data cluster includes first surface image data representing a ditch; the second data cluster includes first line image data and second surface image data representing connected features;

[0096] Step 130, in response to the ditch surface width attribute data being less than a first threshold, changing the first data cluster and the second data cluster;

[0097] Step 140: When displaying the data cluster graphic, convert the ditch surface into a ditch line; extend the first line element and / or the second surface element to connect with the ditch line.

[0098] In one embodiment, step 140 further comprises the steps of:

[0099] Step 310: When displaying the data cluster graphic, in response to the connected features being connected line features, extend the first line primitive to connect with the ditch line.

[0100] For example, the connected features are branches of a ridge or a ditch surface;

[0101] In regional topographic maps, the branches of ridges and ditch surfaces are represented by a line.

[0102] Originally, the branches of the ridges and ditch surfaces were connected to the ditch surface. Since the ditch surface was converted from a surface to a ditch line, the branches of the ridges and ditch surfaces were separated from the ditch line. It is necessary to extend the branch lines of the ridges or ditch surfaces until they are connected to the ditch line.

[0103] Figure 5 The fourth flow chart of the method for processing ditch geographic information data in the embodiment of the present application specifically includes steps 110 to 140 and 410 to 420.

[0104] Step 110, obtaining a data set of a regional topographic map; the data set includes data clusters of objects within the topographic map;

[0105] Step 120, obtaining a first data cluster and a second data cluster; the first data cluster includes first surface image data representing a ditch; the second data cluster includes first line image data and second surface image data representing connected features;

[0106] Step 130, in response to the ditch surface width attribute data being less than a first threshold, changing the first data cluster and the second data cluster;

[0107] Step 140: When displaying the data cluster graphic, convert the ditch surface into a ditch line; extend the first line element and / or the second surface element to connect with the ditch line.

[0108] In one embodiment, step 140 further comprises the steps of:

[0109] Step 410, when displaying the data cluster graph, in response to the connected feature being a connected surface feature, determining the endpoints on both sides of the portion where the connected feature is connected to the ditch surface contour line;

[0110] For example, the connected landform is a paddy field, and the ridges distributed divergently around the ditch surface divide the paddy field into multiple blocks. One side of each paddy field is connected to the ditch surface. At this time, the endpoints on both sides of the part where the paddy field and the ditch surface contour line are connected are the points where the ridges and the ditch surface contour line are connected.

[0111] Step 420: Extend the two end points to the ditch line and connect.

[0112] For example, the ridge lines extend and connect to the ditch lines.

[0113] For example, if you delete the contour line of the ditch surface between the paddy field and the ditch line, the range of the paddy field will be extended to connect with the ditch line.

[0114] Figure 6 The fifth flow chart of the method for processing ditch geographic information data in the embodiment of the present application specifically includes steps 110 to 160.

[0115] Step 110, obtaining a data set of a regional topographic map; the data set includes data clusters of objects within the topographic map;

[0116] Step 120, obtaining a first data cluster and a second data cluster; the first data cluster includes first surface image data representing a ditch; the second data cluster includes first line image data and second surface image data representing connected features;

[0117] Step 130, in response to the ditch surface width attribute data being less than a first threshold, changing the first data cluster and the second data cluster;

[0118] Step 140: When displaying the data cluster graphic, convert the ditch surface into a ditch line; extend the first line element and / or the second surface element to connect with the ditch line.

[0119] In one embodiment, the method further comprises the steps of:

[0120] Step 150, in response to the ditch surface being converted into the ditch line, deleting the display graphics of other objects in the ditch surface and the display graphics of the ditch object elements other than the second line primitive;

[0121] There are other features inside the ditch surface. Since the ditch surface has been converted into a ditch line, the presence of other features inside the ditch surface may cause problems in the image display, so these features are deleted.

[0122] It should be noted that when deleting other features, you can choose to delete only the displayed graphics, or you can choose to delete all data to achieve the integration of new data.

[0123] Step 160, delete all ditch surface ground feature display graphics except the ditch surface centerline.

[0124] The features of the ditch surface also include text features such as water flow arrows and ditch names. After the ditch surface is converted to a ditch line, the presence of these features will cause problems in the image display, so the display graphics of these features are deleted. These features are not displayed at the display level.

[0125] It should be noted that in steps 150 to 160, deleting the display graphics of the graphic element may be achieved by deleting the graphic element data, or by changing the display properties of the graphic element data, or by using a display control code dedicated to the graphic element.

[0126] Figure 7 This is a flow chart of the sixth method for processing ditch geographic information data according to an embodiment of the present application, which specifically includes steps 110 , 115 , 120 - 140 , and 145 .

[0127] Step 110, obtaining a data set of a regional topographic map; the data set includes data clusters of objects within the topographic map;

[0128] In one embodiment, the method further comprises the steps of:

[0129] Step 115, in response to the ditch including a branch and the length of the ditch branch being greater than a second threshold, the ditch branch and the ditch are divided into two land feature element data;

[0130] The length of the ditch surface branch is determined. If it is less than a set threshold, it is considered that the branch can be ignored. If it is greater than the set threshold, the ditch surface branch needs to be segmented out.

[0131] Step 120, obtaining a first data cluster and a second data cluster; the first data cluster includes first surface image data representing a ditch; the second data cluster includes first line image data and second surface image data representing connected features;

[0132] Step 130, in response to the ditch surface width attribute data being less than a first threshold, changing the first data cluster and the second data cluster;

[0133] Step 140: When displaying the data cluster graphic, convert the ditch surface into a ditch line; extend the first line element and / or the second surface element to connect with the ditch line.

[0134] Step 145: Treat the ditch branch as an adjacent ground feature of the ditch.

[0135] The segmented ditch surface branches are treated as adjacent land features of the ditch surface and processed using the method of step 150.

[0136] In one embodiment, the method further comprises the steps of: changing the ditch line data cluster and deleting a portion of the ditch line display graphics to be connected to the connected features.

[0137] In order to meet the output effect of topographic map, different features in a map sheet are preset in priority, that is, priority. The priority of ditch line is higher than that of connected features, so the ditch line data cluster is displayed. If the priority of connected features is higher than that of ditch line, in order to reflect the original range of connected features, it is chosen not to extend the connected features to the ditch line, and the display graphics of the ditch line connected to the connected features are deleted.

[0138] Figure 8 This is a diagram showing the ditch surface effect after the functions of the embodiment of the present application are executed.

[0139] In one embodiment, the method further comprises the steps of:

[0140] The ditch line data cluster is changed, and the display graphics of the ditch line connected to the connected land object are deleted. The display graphics of the ditch line to be connected to the connected land object are deleted.

[0141] For example, Figure 8 As shown, the ditch surface is converted into a ditch line 81, the line features such as the ridge are extended and connected to the ditch line, the surface features such as the paddy field are divided by the line features, the line features are extended and connected to the ditch line, the original contour line of the ditch surface is deleted, and then the part of the displayed graphics between the contour line and the ditch line is merged with the adjacent surface features to complete the extension of the surface features to the ditch line. The white squares in the figure are houses, and the priority of the house features is higher than the ditch line. Therefore, by deleting or hiding the part of the ditch line 82 connected to it (indicated by the dotted line in the figure), the scope of the house is ensured to be clear.

[0142] Fig. 9 This is a structural diagram of a ditch surface data changing device according to an embodiment of the present application.

[0143] The application embodiment further provides a ditch surface data changing device, which is used in the ditch geographic information data processing method described in any embodiment of the first aspect, comprising:

[0144] The acquisition module 91 is used to acquire a data set of a regional topographic map; acquire a first data cluster; acquire a second data cluster;

[0145] The determination module 92 is used to convert the ditch surface into a ditch line; and is also used to connect the connected features with the ditch line.

[0146] The display module 93 is used to read data and draw graphics.

[0147] In one of the embodiments, the determination module further includes a calculation unit for determining a middle line in the length direction of the ditch surface as a second line element data according to the first surface element data.

[0148] In one of the embodiments, the determination module further comprises a first determination (line feature processing) unit for extending the first line primitive to connect with the ditch line.

[0149] In one embodiment, the determination module further comprises a second determination (surface feature processing) unit for extending the endpoints on both sides of the connected surface feature and the ditch surface so as to extend and connect the two side endpoints to the ditch line.

[0150] In one of the embodiments, the display module further includes a first display unit for deleting the display graphics of other landforms in the ditch surface and the display graphics of ditch landform elements other than the second line primitive.

[0151] In one embodiment, the determination module further comprises a third determination (branch processing) unit, which is used to separate the ditch branch and the ditch into two land feature element data and process the ditch branch as an adjacent land feature element of the ditch.

[0152] In one embodiment, the determination module further includes a fourth determination unit, which is used to determine the display properties of the changed primitive data, or to determine the deleted primitive data, so as to avoid displaying the display graphics of the primitive within the ditch surface.

[0153] In one embodiment, the display module further comprises a second display unit for changing the ditch line data cluster and deleting the partial ditch line display graphics to be connected to the connected landform.

[0154] Fig.10 Schematic diagram of the commercial server system for the application scenario of this application.

[0155] An embodiment of the present application also proposes a geographic information data processing system for implementing the method described in any embodiment of the present application, including: an original geographic information database 101, a data processor 102, a GUI operation interface 103, an application terminal 104, and at least one result map data set 105.

[0156] The original geographic information database is used to store geographic information entity data.

[0157] The GUI operation interface and / or application terminal are used to input setting conditions. The acquisition module, determination module and display module are triggered. It is also used to access the achievement data set and acquire data according to the set application scope (spatial scope and attribute scope). The data processor, in response to the instructions of the GUI, acquires the data set of the regional topographic map; acquires the data set of the regional topographic map; acquires the first data cluster and the second data cluster; constructs the ditch surface, the connected line features and the connected surface features; in response to the ditch surface width attribute data being less than the first threshold, changes the first data cluster and the second data cluster; when displaying the data cluster graphics, converts the ditch surface into a ditch line; extends the first line primitive and / or the second surface primitive to connect with the ditch line.

[0158] It should be understood that the above-mentioned specific related contents are only used for illustrative purposes and should not impose any limitation on the present application.

[0159] The specific method for implementing the functions of the above-mentioned modules is as described in the various method embodiments of the first aspect of the present application, and will not be repeated here.

[0160] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented 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.

[0161] Therefore, the present application also proposes a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method described in any embodiment of the present application is implemented.

[0162] Furthermore, the present application also proposes an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in any embodiment of the present application when executing the computer program.

[0163] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

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

[0165] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0166] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory. The memory may include non-permanent storage in a computer-readable medium, in the form of random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

[0167] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0168] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A method for processing ditch geographic information data, characterized in that: Contains steps: Acquire a data set of a regional topographic map; the data set includes data clusters of objects within the topographic map; Acquire a first data cluster and a second data cluster; the first data cluster includes first surface image data representing a ditch; the second data cluster includes first line image data and / or second surface image data representing connected features; The first surface element constitutes the ditch surface; the first line element constitutes the connected line features, and the second surface element constitutes the connected surface features; In response to the ditch surface width attribute data being less than a first threshold, Changing the first data cluster, changing the first surface image element data to line image element data; and changing the first line image element and / or the second surface image element data; When changing the first line element data, the position attribute of the first line element and the position attribute of the ditch line are made to intersect; when changing the second surface element data, the position attribute of the second surface element and the position attribute of the ditch line are made to be tangent; and / or, When displaying data cluster graphics, the ditch surface is converted into a ditch line, and the middle line in the length direction of the ditch surface is determined as the second line element data based on the first surface element data; the first line element and / or the second surface element are extended to connect with the ditch line; the display graphics of other features in the ditch surface and the display graphics of ditch features other than the second line element are deleted.

2. The method for processing ditch geographic information data according to claim 1, characterized in that: Also includes the steps: When displaying the data cluster graphic, in response to the connected features being connected line features, the first line primitive is extended to be connected to the ditch line.

3. The method for processing ditch geographic information data according to claim 1, characterized in that: Also includes the steps: When displaying the data cluster graph, in response to the connected feature being a connected surface feature, determining the endpoints on both sides of the portion where the connected surface feature is connected to the ditch surface; Extend from both end points to the ditch line.

4. The method for processing ditch geographic information data according to claim 1, characterized in that: Also includes the steps: In response to the ditch surface being converted into the ditch line, the display graphics of other features in the ditch surface and the display graphics of ditch feature elements other than the second line primitive are deleted.

5. The method for processing ditch geographic information data according to claim 1, characterized in that: Also includes the steps: In response to the ditch including a branch and the length of the ditch branch being greater than a second threshold, the ditch branch and the ditch are divided into two land feature element data; Treat ditch branches as adjacent features of the ditch.

6. The method for processing ditch geographic information data according to claim 1, characterized in that: Also includes the steps: The ditch line data cluster is changed, and part of the ditch line display graphics connected to the connected features are deleted.

7. A device for processing ditch geographic information data, characterized in that: The method for processing ditch geographic information data according to any one of claims 1 to 6 comprises: An acquisition module, used to acquire a data set of a regional topographic map; acquire a first data cluster; acquire a second data cluster; A determination module is used to convert the ditch surface into the ditch line; and is also used to connect the connected features to the ditch line; Display module, used to read data and draw graphics.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.

9. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Method, apparatus and navigator for converting narrow and long water system surface element into line element

    CN103017749A

  • A farmland ditch network automatic extraction method

    CN109447028A

  • Plain irrigation district pump gate point position and type identification method based on GF-2 and Lidar data

    CN110096969A

  • Bridge type geographic information data processing method and device

    CN118012967A

  • Tiled graphic data read / write method and apparatus, and device, and storage medium

    WO2022007207A1