A method and device for processing water system geographic information data

By automatically identifying and processing topographic map data through computers, the problem of cumbersome manual operations in scale conversion of water system name characters is solved, automatic processing and automatic adjustment of water system name characters are realized, and processing efficiency and accuracy are improved.

CN118279442BActive Publication Date: 2024-08-27BEIJING SUNWAY TECH CORP LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410676149.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-08-27
Estimated Expiration
2044-05-29

AI Technical Summary

Technical Problem

When converting large-scale topographic maps to small-scale, the decoration of water system name text requires manual repeated judgment and operations, which takes up a lot of workload and is difficult to automate.

Method used

Through computer automatic recognition and processing, the regional topographic map data set is obtained, the map sheets are divided, the water system surface is determined, and the water system name annotations are displayed according to the preset rules, and the direction and spacing of the annotations are adjusted to ensure that they are divided into multiple map frames. Automatic adaptation.

Benefits of technology

It realizes automatic processing of water system name text and automatic adjustment of direction and spacing, solves the display problem of oversized water system surface name text after being divided into multiple images, and improves efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118279442B
    Figure CN118279442B
Patent Text Reader

Abstract

The present application discloses a method and device for processing water system geographic information data, which solves the problem of manually setting water system annotations when making maps in the prior art. A method for processing water system geographic information data, comprising the steps of: obtaining a data set of a regional topographic map; the data set comprises a data cluster of water system features in the topographic map and inner map contour data; obtaining water system surface data from the data cluster; dividing the map sheets according to the inner map contour, and determining the map sheets containing the water system surfaces; displaying annotations on water system surfaces whose areas on all map sheets are greater than a first area threshold; the annotations comprise water system name data. The present application realizes the automatic processing of water system annotations when cross-scale 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 water system geographic information data. Background Art

[0002] When converting a large-scale topographic map to a small-scale topographic map, the decoration of the water system name text occupies a large workload. It is necessary to rearrange the annotations according to the division standard of the target scale, which generally involves the movement of text, the selection of text, the addition of text, the direction adjustment of text, the size adjustment of text, the selection of position, etc., and manual de-duplication of judgment and repeated operation are required. The present invention realizes automatic solution to this problem through automatic recognition and processing by computer, and realizes the position placement and direction processing of water system name annotations. Summary of the invention

[0003] The embodiment of the present application provides a method and device for processing water system geographic information data, which solves the problem of manually setting water system annotations when making maps in the prior art, and is particularly suitable for processing regional topographic map data containing super-large water system geographic information.

[0004] In a first aspect, the present application also provides a method for processing water system geographic information data, comprising the steps of:

[0005] Acquire a data set of a regional topographic map; the data set includes data clusters of water features in the topographic map and inner map contour data;

[0006] Dividing the topographic map into sheets according to the inner map contour lines to determine the sheets containing the water system surface;

[0007] Annotations are displayed on water system surfaces whose area is greater than a first area threshold on any map sheet; the annotations include water system name data.

[0008] In one embodiment, the direction of the letter column of the annotation is parallel to the tangent of the center line of the water system.

[0009] In one embodiment, the annotation further includes a water system flow arrow, which is parallel to a tangent line of the water system centerline.

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

[0011] Determine the direction of the annotation text;

[0012] Determine the display length of the water system surface in the map along the direction of the letter column;

[0013] In response to the preset minimum spacing and maximum spacing of the annotation text, it is determined that the length of the annotation text does not exceed the display length of the water system surface along the direction of the character column.

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

[0015] In response to the minimum length of the annotation being greater than the display length of the water system surface in the map sheet along the text column direction, the annotation text is reduced.

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

[0017] In response to the area of ​​the water system surface on the map being greater than a second area threshold, multiple annotations are displayed on the water system surface according to a preset annotation spacing;

[0018] The preset annotation spacing includes the distance along the tangent direction of the water system centerline and the distance along the normal direction of the water system centerline.

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

[0020] Set a width threshold; the distance between the annotation and the inner outline must not be less than the width threshold.

[0021] In the second aspect, the embodiment of the present application further provides a water system geographic information data processing device, which is used to implement the water system geographic information data processing method described in any one of the embodiments of the first aspect, and includes: an acquisition module, which is used to acquire a data set of a regional topographic map; acquire a data cluster of water system features. A determination module, which is used to determine water system surface data and water system name data; and also used to determine annotation display conditions. A display module, which is used to read data and draw graphics.

[0022] 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.

[0023] 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.

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

[0025] The present application realizes the automatic processing of the name texts of super-large water system surfaces (such as the Yangtze River, Huangpu River, Jialing River, etc.) when the basic geographic information data of 1:500 scale is reduced to basic geographic information data of multiple scales such as 1:1000, 1:2000, 1:5000, 1:10000, etc. The specific technical embodiments include: it can realize the automatic generation and display of water system name texts of water system surface name attributes, it can realize the generation of water system name texts of different categories and sizes according to different water system categories, it can realize the automatic adjustment of the direction and spacing of the generated water system name texts, it can realize the automatic consideration of the problem of water system name texts of super-large water system surfaces being divided into multiple maps, and it can automatically realize the placement processing of the matching tidal flow direction symbols and other problems. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] 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:

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

[0028] Figure 2 This is a data display effect diagram before the function of the embodiment of this application is executed

[0029] Figure 3 This is another flow chart of a method for processing water system geographic information data according to an embodiment of the present application;

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

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

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

[0033] Figure 7 This is a data display effect diagram after the function of the embodiment of this application is executed;

[0034] Figure 8 This is a structural diagram of a water system geographic information data processing device according to an embodiment of the present application;

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

[0036] 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.

[0037] 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, line elements, surface elements, and composite elements according to their geometric features, and are assigned graphic codes respectively.

[0038] The water system elements involved in this application are composite elements containing multiple elements. It should be noted that the solution of this application is not to process the original geographic image information to identify water system features and generate water system elements, but to define the data cluster of the water system and further edit, copy, store and use the symbolic data of the existing water system elements. By setting the annotation display rules and modifying the data cluster of the water system, the data structure of the geographic information database is optimized.

[0039] The super-large water system in this application refers to a water system that spans across multiple maps and involves a large number of maps, generally including large lakes or rivers, for example, the width of a river may span multiple maps, such as the Yangtze River, the Yellow River, the Jialing River, the Huangpu River, etc.

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

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

[0042] Step 110, obtaining a data set of a regional topographic map; the data set includes data clusters of water features in the topographic map and inner map contour data;

[0043] Through the category attribute information, it is determined which data in the data set of the topographic map belongs to the water system, and the data set belonging to the water system is obtained as a data cluster.

[0044] It should be noted that different water systems have their own data clusters.

[0045] The data cluster of the water system includes various data constituting the water system features, for example, the width of the water system, the length of the water system, the starting point of the water system, the end point of the water system, the depth of the water system, the flow direction of the water system, etc.

[0046] It should be noted that the data modified in this application are all the display data of the water system on the topographic map.

[0047] Step 120, obtaining water system surface data from the data cluster;

[0048] For example, the water system surface data is the display data of the water system on the topographic map, including data such as the width of the water system, the length of the water system, the direction of the water system, the center line of the water system, and the name of the water system.

[0049] In steps 110 to 120, the specified super-large water system surface can be obtained through the GUI. The parameters set by the scheme are generated or obtained and stored in the cache. For example, the water system surface data includes the name attribute of the surface, the symbol description of the tidal flow direction within the surface, and the relationship between the surface and multiple map sheets to support the automatic processing of the corresponding scheme.

[0050] Step 130, dividing the map sheets according to the inner map outlines, and determining the map sheets containing the water system surface;

[0051] The topographic map is divided into map sheets by inner map contour lines. When the basic geographic information data of 1:500 scale is reduced to basic geographic information data of multiple scales such as 1:1000, 1:2000, 1:5000, 1:10000, etc., the inner map contour lines of the original scale remain unchanged, but the range of the topographic map represented by one map sheet becomes larger.

[0052] It should be noted that the following steps may be a response to the scale change, which is to close the original name annotation and switch to the display effect under the result scale. Further, the following steps are also included:

[0053] Step 130 - 1 : Determine the display position and display direction of the annotation information according to the relationship between the water system surface and the multiple map sheets.

[0054] The annotation is derived from the name attribute data of the water system surface. In one embodiment, the character column direction of the annotation is parallel to the tangent line of the water system center line with the smallest distance from the annotation position.

[0055] It should be noted that not all maps intersect with the center line of the water system, that is, directly generating the water system name through the center line cannot support the processing of super-large water system surfaces. Therefore, through the solution of this embodiment, it is possible to judge according to the relationship between the surface and each intersecting map, to process how to place the name text of each water system surface, and to take the angle into consideration.

[0056] The relationship data between the water system surface and each map sheet that intersects with it in area may include, for example, identification information indicating whether there is an intersection, the position of the water system centerline, and information on the tangent direction. For example, when a map sheet intersects with a water system surface, the portion of the inner contour data that constitutes the outline of the map sheet intersects with the water system surface, then the identification information of the map sheet is included in the water system surface data, or the map sheet data structure includes the identification of the water system data cluster, and the water system surface data or the map sheet data structure includes data for determining the scope of the water system surface in the map sheet, and further includes the area value of the water system surface in the map sheet.

[0057] Furthermore, the position of the water system centerline that is closest to the map sheet is determined, and the tangent direction of the water system centerline corresponding to the map sheet is determined based on the position information.

[0058] When processing the map sheets separately, the data set of the topographic map of the map sheet includes at least a part of the water system surface data. For example, it may include data for determining the range of the water system surface in the map sheet, and further determine the area of ​​the water system surface in the map sheet; it may also include the position information of the water system centerline closest to the map sheet, and determine the tangent direction of the water system centerline corresponding to the map sheet based on this position information.

[0059] Preferably, the characters of the annotation adopt a goose-shaped character sequence, in which the connecting line of the centers of the characters obliquely intersects the southern outline (referring to the lower edge of the outline), is parallel to the direction of the annotated features, but the characters are perpendicular to the southern outline. For example, when the extension direction of the local features such as mountain names and river names is inclined at 45° or less to the southern outline, they are annotated from left to right. When the extension direction is inclined at more than 45°, they are annotated from top to bottom.

[0060] In one embodiment, the annotation further includes a water system flow arrow, which is parallel to a tangent line of a water system centerline that is the shortest distance from the annotation position.

[0061] The flow direction of the water system is parallel to the tangent of the water system centerline, so a water system flow direction arrow is attached to the note, and the arrow is parallel to the tangent of the water system centerline that is the smallest distance from the note location.

[0062] It should be noted that the water system center line with the shortest distance from the annotation position refers to the position of the point on the water system center line closest to the midpoint of the line connecting the centers of the annotated characters.

[0063] Step 140: Display annotations on water system surfaces whose areas are greater than a first area threshold on all map sheets.

[0064] It should be noted that when the basic geographic information data is reduced, the annotations originally marked on the water system surface are hidden because they are no longer applicable, and new annotations are regenerated and displayed according to the preset display rules.

[0065] In order to show which water system the water system surface attached to the map sheet belongs to when using a single map sheet, annotations should be displayed on the water system surface. However, if the area of ​​the water system surface attached to the map sheet is smaller than the set first area threshold, the annotation will not be displayed on the water system surface of the map sheet.

[0066] Figure 2 This is a diagram showing the effect of data before the function of the embodiment of the present application is executed.

[0067] Before the solution of the present application is executed, an annotation information is displayed in each preset range according to the original scale (such as the position of the dot matrix distribution in the figure), forming a large array of annotation information.

[0068] like Figure 2 As shown in the figure, when the basic geographic information data is reduced, the annotations on the water system surface in the map sheet 21 before the reduction are hidden. Therefore, it is necessary to re-mark new annotations.

[0069] Figure 3 This is another flow chart of a method for processing water system geographic information data according to an embodiment of the present application, which specifically includes steps 110 to 170.

[0070] Step 110, obtaining a data set of a regional topographic map; the data set includes data clusters of water features in the topographic map and inner map contour data;

[0071] Step 120, obtaining water system surface data from the data cluster;

[0072] Step 130, dividing the map sheets according to the inner map outlines, and determining the map sheets containing the water system surface;

[0073] Step 140: Display annotations on the water system surfaces whose areas are greater than the first area threshold on all map sheets; the annotations include water system name data.

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

[0075] Step 150, determining the character column direction of the annotation text;

[0076] The character column direction of the annotation text can adopt the above-mentioned tangent line to the center line of the water system with the smallest distance from the annotation position, that is, adopt the en-stack character column, or other character column directions can be selected.

[0077] Step 160, determining the display length of the water system surface in the map sheet along the character column direction;

[0078] The water system surfaces in the map are arranged along the direction of the character column. The display length can be obtained based on the number of characters and the spacing between characters.

[0079] Step 170, in response to the preset minimum spacing and maximum spacing of the annotation text, determine that the length of the annotation text does not exceed the display length of the water system surface along the direction of the character column.

[0080] The length of the annotation text can be determined based on the preset spacing. The display length of the water system surface along the direction of the text column on a single map should be greater than the length of the annotation text. If the display length of the water system surface along the direction of the text column on a single map is less than the length of the annotation text, the spacing of the annotation text should be reduced.

[0081] For example, the spacing between characters in annotations is divided into the following three levels:

[0082] Close character spacing: the spacing between characters is 0 mm to 0.5 mm; normal character spacing: the spacing between characters is 1.0 mm to 3.0 mm; isolated character spacing: the spacing between characters is 2 to 5 times the size of the characters.

[0083] Figure 4 This is a flow chart of the third method for processing water system geographic information data according to an embodiment of the present application, which specifically includes steps 110 to 140 and 180.

[0084] Step 110, obtaining a data set of a regional topographic map; the data set includes data clusters of water features in the topographic map and inner map contour data;

[0085] Step 120, obtaining water system surface data from the data cluster;

[0086] Step 130, dividing the map sheets according to the inner map outlines, and determining the map sheets containing the water system surface;

[0087] Step 140: Display annotations on the water system surfaces whose areas are greater than the first area threshold on all map sheets; the annotations include water system name data.

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

[0089] Step 180, in response to the minimum length of the annotation being greater than the display length of the water system surface in the map along the character column direction, reducing the size of the annotation text.

[0090] If the annotation text is arranged according to the minimum spacing, and the length of the annotation text is still greater than the display length of the water system surface along the text column direction on a single map sheet, the size of the annotation text will be reduced.

[0091] Figure 5 This is a flow chart of the fourth method for processing water system geographic information data according to an embodiment of the present application, which specifically includes steps 110 to 140 and 190.

[0092] Step 110, obtaining a data set of a regional topographic map; the data set includes data clusters of water features in the topographic map and inner map contour data;

[0093] Step 120, obtaining water system surface data from the data cluster;

[0094] Step 130, dividing the map sheets according to the inner map outlines, and determining the map sheets containing the water system surface;

[0095] Step 140: Display annotations on the water system surfaces whose areas are greater than the first area threshold on all map sheets; the annotations include water system name data.

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

[0097] Step 190, in response to the area of ​​the water system surface on the map being greater than a second area threshold, displaying a plurality of annotations on the water system surface according to a preset annotation spacing;

[0098] If the water system area on the map is greater than the second area threshold, the water system surface of the map is considered to be a large surface. If the water system surface is a large surface, a single annotation placed on the water system surface of the map cannot clearly display the name of the water system surface. Therefore, multiple annotations can be displayed on the water system surface according to the preset annotation spacing.

[0099] The preset annotation spacing includes the distance along the tangent direction of the water system centerline and the distance along the normal direction of the water system centerline.

[0100] If only one annotation is displayed on a drainage surface on a map sheet, preferably, the annotation is located in the middle of the drainage surface.

[0101] Figure 6 The flowchart of the fifth water system geographic information data processing method of the embodiment of the present application specifically includes steps 110~140 and 200.

[0102] Step 110, obtaining a data set of a regional topographic map; the data set includes data clusters of water features in the topographic map and inner map contour data;

[0103] Step 120, obtaining water system surface data from the data cluster;

[0104] Step 130, dividing the map sheets according to the inner map outlines, and determining the map sheets containing the water system surface;

[0105] Step 140: Display annotations on the water system surfaces whose areas are greater than the first area threshold on all map sheets; the annotations include water system name data.

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

[0107] Step 200, setting a width threshold; the distance between the annotation and the inner outline is not less than the width threshold.

[0108] By setting the automatic avoidance of map outlines, it is ensured that annotations will not overlap with map outlines.

[0109] Figure 7 This is a diagram showing the data effect after the functions of the embodiment of the present application are executed.

[0110] like Figure 7 As shown, processing Figure 2 After marking the original name in the result, switch to the result scale and display the effect on Sheet 71.

[0111] It should be noted that Figure 2 It shows the effect of the original text after switching to the target scale. Figure 7 This is the effect displayed at the target scale after automatic processing.

[0112] When encountering a very large water system surface, not all sub-maps intersect with the center line of the water system, that is, generating the water system name through the center line cannot solve the problem of the very large water system surface. Therefore, through this technology, it is possible to judge according to the relationship between the surface and each intersecting map sheet, to deal with how to set the name text 72 of each water system surface, and to consider the angle, while considering its matching tidal flow direction arrows.

[0113] It should be noted that if Figure 7 As shown, the name of the water system in the figure is represented by “■·■”, which can represent any water system name and is not further limited here.

[0114] Figure 8 This is a structural diagram of a water system geographic information data processing device according to an embodiment of the present application.

[0115] The application embodiment further provides a water system geographic information data processing device, which is used in the water system geographic information data processing method described in any embodiment of the first aspect, comprising:

[0116] The acquisition module 81 is used to acquire a data set of a regional topographic map; and is also used to acquire a data cluster of water system features.

[0117] The determination module 82 is used to determine the water system surface data and water system name data, and is also used to determine the annotation display conditions. The display conditions include that the area of ​​the water system surface on the map sheet is greater than the first area threshold, and that the display position and display direction of the annotation information are determined according to the relationship between the water system surface and the multiple separated map sheets.

[0118] The display module 83 is used to read data and draw graphics.

[0119] In one embodiment, the determination module further comprises a character column direction unit, which is used to make the character column direction of the annotation parallel to the tangent line of the water system center line with the shortest distance from the annotation position.

[0120] In one of the embodiments, the determination module further comprises an arrow direction determination unit for aligning the water system flow direction arrow parallel to a tangent line of a water system centerline having the shortest distance from the marked position.

[0121] In one embodiment, the determination module further comprises a font spacing determination unit, which is used to implement the steps:

[0122] Determine the direction of the annotation text;

[0123] Get the displayed length of the water system surface in the map along the direction of the character column;

[0124] In response to the preset minimum spacing and maximum spacing of the annotation text, it is determined that the length of the annotation text does not exceed the display length of the water system surface along the direction of the character column.

[0125] In one embodiment, the display module further includes a first annotation display unit, which is used to reduce the size of the annotation text when the minimum length of the annotation is greater than the display length of the water system surface in the map along the character column direction.

[0126] In one of the embodiments, the display module further includes a second annotation display unit, which is used to display multiple annotations on the water system surface according to a preset annotation spacing when the area of ​​the water system surface on the map is greater than a second area threshold.

[0127] In one of the embodiments, the determination module further includes a width determination unit for setting a width threshold.

[0128] In one of the embodiments, a geographic information database / result map database 80 is also included for storing data sets of topographic maps, water system surface data and water wash name data.

[0129] Through the method and device of the present application, the name of the super-large water system surface is automatically created in each map sheet, the name angle direction is automatically set, and the tidal flow direction symbol is automatically set.

[0130] Fig. 9 Schematic diagram of the commercial server system for the application scenario of this application.

[0131] 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 91, a data processor 92, a GUI operation interface 93, an application terminal 94, and at least one result map data set 95.

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

[0133] The GUI operation interface and / or application terminal is used to input setting conditions. Trigger the acquisition module, determination module or display module. It is also used to access the achievement data set according to the set application scope (spatial scope and attribute scope) to obtain data. The data processor responds to the instructions of the GUI to obtain the data set of the regional topographic map; obtains the water system surface data from the data cluster; divides the map sheets according to the inner map contour lines to determine the map sheets containing the water system surface; displays annotations on the water system surfaces whose areas on all map sheets are greater than the first area threshold; the annotations contain water system name data.

[0134] The achievement map dataset is used to store geographic information related data.

[0135] 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.

[0136] 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.

[0137] 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.

[0138] 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.

[0139] 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.

[0140] 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 1A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0141] 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.

[0142] 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.

[0143] 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.

[0144] 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.

[0145] 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 water system geographic information data, It is characterized in that Contains steps: Acquire a data set of a regional topographic map; the data set includes a data cluster of water system features in the topographic map and inner map contour data; acquire water system surface data from the data cluster, including water system centerline data, and acquire the relationship between the water system surface and multiple map sheets; Dividing the topographic map into sheets according to the inner map contour lines to determine the sheets containing the water system surface; According to the relationship between the water system surface and multiple map sheets, the direction of the annotation is determined, which is parallel to the tangent line of the water system centerline with the smallest distance from the annotation location; Display annotations on the water system surface whose area is greater than the first area threshold on any map sheet; determine the length of the annotation text in the map sheet, which does not exceed the display length of the water system surface along the direction of the text column.

2. According to the method for processing water system geographic information data according to claim 1, It is characterized in that The annotation includes water system name data.

3. According to the method for processing water system geographic information data as claimed in claim 1, It is characterized in that The annotation also includes a water flow arrow; The flow direction arrow of the water system is parallel to the tangent of the center line of the water system.

4. According to the method for processing water system geographic information data as claimed in claim 1, It is characterized in that Also includes the steps: The length of the annotation text is determined in response to the preset minimum and maximum spacing of the annotation text.

5. According to the method for processing water system geographic information data as claimed in claim 1, It is characterized in that Also includes the steps: In response to the minimum length of the annotation being greater than the display length of the water system surface in the map sheet along the text column direction, the annotation text is reduced.

6. According to the method for processing water system geographic information data as claimed in claim 1, It is characterized in that Also includes the steps: In response to the area of ​​the water system surface on the map being greater than a second area threshold, multiple annotations are displayed on the water system surface according to a preset annotation spacing; The preset annotation spacing includes the distance along the tangent direction of the water system centerline and the distance along the normal direction of the water system centerline.

7. According to the method for processing water system geographic information data as claimed in claim 1, It is characterized in that Also includes the steps: Set a width threshold; the distance between the annotation and the inner outline must not be less than the width threshold.

8. A water system geographic information data processing device, It is characterized in that The method for processing water system geographic information data according to any one of claims 1 to 7 comprises: The acquisition module is used to acquire the data set of the regional topographic map and the data cluster of the water system features; The determination module is used to determine the water system surface data and water system name data; it is also used to determine the annotation display conditions; Display module, used to draw graphics.

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

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

Citation Information

Patent Citations

  • Surface element annotation labeling method and device

    CN107977372A

  • Automatic checking method for digital map

    CN113918550A

  • Power transmission line type geographic information data processing method and device

    CN118012968A

  • Hybrid importance maps for content aware digital image resizing

    US20100013827A1

  • Device for generating three dimensional feature data, method for generating three-dimensional feature data, and recording medium on which program for generating three-dimensional feature data is recorded

    US20140133741A1