A fast mapping method for flood frequency analysis

By quickly merging and annotating the rivers within the intended analysis basin, the problem of being unable to quickly produce maps after flood analysis was solved, and efficient results display was achieved.

CN115375795BActive Publication Date: 2025-10-03ANHUI & HUAI RIVER WATER RESOURCES RES INST
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210989321.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-17
Publication Date
2025-10-03
Estimated Expiration
2042-08-17

AI Technical Summary

Technical Problem

Existing technologies are unable to quickly produce maps after flood analysis, making it difficult to display the results.

Method used

By quickly merging the rivers within the intended watershed analysis range, using DEM maps to divide small watersheds, highlighting the watershed range, quickly splitting and arranging river annotation fonts so that the letter heads face the north side of the map, and automatically matching styles when exporting multiple files.

Benefits of technology

It improves the efficiency of flood frequency analysis and mapping, reduces repetitive workload, reduces manual work, and achieves fast and standard results display.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115375795B_ABST
    Figure CN115375795B_ABST
Patent Text Reader

Abstract

The present invention discloses a rapid mapping method for flood frequency analysis, comprising the following steps: rapidly merging rivers within a planned analysis basin, using small basins divided by a DEM map as the original data of the rivers within the analysis range, and merging the small basins into the planned analysis basin; highlighting the basin range, highlighting the graphics within the basin range selection surface, and slightly darkening the part of the basin range to form a contrast, thereby highlighting the content within the basin range; rapidly splitting and arranging the annotation fonts of the rivers within the basin range, localizing the annotation fonts of the rivers within the basin range, setting all the character heads toward the north of the map direction, and displaying the annotation fonts distributed along the direction of the river; rapidly matching styles when mapping multiple files, wherein each river is in a separate folder during mapping, and during the mapping process, when modifying the line shape and text style, after modifying the first river format, the mapping formats of other images can be automatically matched.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of flood frequency analysis in the water conservancy industry, and in particular to a method for quickly generating a map of flood frequency analysis. Background Art

[0002] Carrying out a comprehensive risk survey of water and drought disasters is a major investigation of the national conditions and national strength. This work is the basis for improving the prevention and control of natural disasters. The content of the comprehensive risk survey of natural disasters on water and drought disasters mainly includes: analysis of flood frequency in hilly areas, drawing of flood frequency maps; and compilation of flood inundation maps of small and medium-sized rivers in hilly areas. In small and medium-sized rivers with a basin area of ​​200 to 3000 km2 (focus on river sections with a basin area of ​​more than 200 km2 and with residential areas, farmland and other protected objects along the river), small basins are used as units. According to the regional distribution pattern of rainstorms and floods and the underlying surface conditions, hydrological divisions are reasonably divided and adjusted, the runoff parameters of each hydrological division are determined, and flood frequency analysis is carried out (when there is a lack of flow data, the design flood of the small basin is deduced from the rainstorm data in combination with the results of the rainstorm frequency analysis). Appropriate flood results are selected, and flood frequency maps (flood frequency maps with a return period of 5 years, 10 years, 20 years, 30 years, 50 years, 100 years, 200 years, and 500 years) are drawn. The drawing of flood frequency maps and flood inundation maps is carried out based on GIS software (ARCGIS, MAPGIS, etc.). The workload is huge and it is impossible to quickly generate maps after flood analysis to display the results. In response to the above problems, the inventors propose a fast mapping method for flood frequency analysis to solve the above problems. Summary of the Invention

[0003] In order to solve the problem of being unable to quickly generate maps and display results after flood analysis, the purpose of the present invention is to provide a method for quickly generating maps for flood frequency analysis.

[0004] To solve the above technical problems, the present invention adopts the following technical solution: a method for quickly generating a flood frequency analysis map, comprising the following steps:

[0005] S1. Rapidly merge the rivers within the intended analysis basin. The original river data within the analysis range adopts the small basins divided by the DEM map, and the small basins are merged into the intended analysis basin.

[0006] S2. Highlight the watershed range. The graphics within the watershed range selection area are highlighted. The part within the watershed range is slightly darker to form a contrast and highlight the content within the watershed range.

[0007] S3. Quickly split and arrange the annotation fonts of rivers within the basin. Localize the annotation fonts of rivers within the basin, set all the font heads to the north of the map direction, and distribute the annotation fonts along the direction of the river.

[0008] S4. Quickly match styles when exporting multiple files. When exporting, each river is in a separate folder. During the export process, when modifying the line shape or text style, after modifying the first river format, the export formats of other drawings can be automatically matched.

[0009] In a preferred implementation case, in step S1, before the small watersheds are merged into the watershed to be analyzed, a list of the merged small watersheds is input to determine the faces corresponding to the rivers to be merged. All the names in the list can be searched in the river name attribute name.

[0010] In a preferred implementation case, in step S1, the analyzed watershed is divided into multi-level rivers, including the main river channel, secondary river channel, tertiary river channel...n-level river channel. The layers that need to be processed are the watershed range surface layer and the water system axis line layer. The two are one-to-one corresponding. In the layer attribute data, the next level river attribute is included in the attribute table of the line layer, but not in the surface layer.

[0011] In a preferred implementation case, when merging, river basins with the same level of attributes within the same analysis basin are merged. The input river list is the river basins that need to be merged, which are found one by one in the "ennm" attribute and are unique; the "next level river" attribute is the river basin to be merged. There are multiple river basins, and they need to be searched one by one in the "ennm" attribute to see if they exist. If they exist, the merge needs to be repeated.

[0012] A preferred implementation case uses spatial search to find all faces that intersect with the line, and then searches for faces with the same name as the line to merge. Each river can be displayed globally, and the operator identifies and confirms the merged results, and the merging step is completed after confirmation.

[0013] In a preferred implementation case, in step S2, the highlighting method is: select a face element, then obtain the circumscribed rectangle, then copy a new layer, use this circumscribed rectangle to cut, and use the obtained face selection set as a buffer. The buffer expands the selected face, the circumscribed rectangle, and then uses this circumscribed rectangle to cut with the current selected face, and the cut face polarity is highlighted.

[0014] In a preferred implementation case, in step S3, the annotation layer to be processed is selected, and then each annotation on this layer is traversed to obtain the text content of the annotation, and the characters are separated one by one in turn. The position coordinates of each character are obtained through this annotation, and a new annotation object is created for each character. The separated characters and coordinates are assigned to this object, and then the previously connected annotations are deleted to realize the modification of the annotation font.

[0015] In a preferred implementation case, when creating a new annotation object, the font rotation property is set, and the text is rotated during the splitting process so that the head of the text faces north. This realizes that the head of the text faces north, and the text content is connected. There are two control points in the annotation object, one on the left and one on the right. When the annotation is distributed according to the direction of the river, the text is not connected in the plane. At this time, each character corresponds to two control points. After the annotation is converted, each annotation is a whole, and it is impossible to edit or move each character.

[0016] In a preferred implementation case, in step S4, each river is in a separate folder and has a separate mxd file. The format of the output style is saved in the mxd template. During the output process, when modifying the style of line, text, etc., after modifying the first river, that is, the first mxd file format, the output formats of other drawings are automatically matched;

[0017] All data are stored in one folder. The layers in the "Basic Data" folder are shared, while the others are separate data for each river. The layers in each river are exactly the same, with the same format, but with different display ranges. In the template map, set the format of each layer, including line color and thickness, surface color parameters, text size and color, and annotation range.

[0018] Each feature layer has a rendering class, including color and symbol. First, open the template file, traverse all layer rendering classes, identify and record them, traverse the files that need to be modified, and assign values ​​according to the layer rendering class. According to the template style, automatically match the line type and color parameters of each layer, and automatically match other drawing formats.

[0019] In a preferred implementation case, when drawing the map, the parameters of each graded river in the diagram of the analysis basin are generated into a rainfall bar chart and a water level process line chart according to the predicted rainfall and water level process data, and then the river channels of the diagram of the analysis basin displayed by the analysis merger can meet the needs of river basin merging and meet the flood frequency analysis.

[0020] Compared with the prior art, the present invention has the following beneficial effects:

[0021] By quickly merging the rivers within the intended analysis basin, the original data of the rivers within the analysis range adopts the small basins divided by the DEM map, and the small basins are merged into the intended analysis basin, the basin range is highlighted, and the annotation fonts of the rivers within the basin are quickly split and arranged. The annotation fonts of the rivers within the basin are localized, and all the letter heads are set to the north side of the map direction. The annotation fonts are distributed and displayed along the direction of the river. The styles are quickly matched when multiple files are plotted. When plotting, each river is in a separate folder. During the plotting process, when modifying the line shape and text style, after modifying the first river format, the plot formats of other maps can be automatically matched, so that the analysis result map can be quickly and standardly displayed, thereby improving the work efficiency of flood frequency analysis and plotting, reducing repetitive work, and reducing manual work. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0023] Figure 1 Schematic diagram of the method of the present invention.

[0024] Figure 2 This is a schematic diagram of the merging of multiple river channels within the basin scope of the present invention.

[0025] Figure 3 This is a distribution diagram of the watershed range before merging in the present invention.

[0026] Figure 4 This is a schematic diagram of the distribution of the watershed scope after merging in the present invention.

[0027] Figure 5 The diagram is a schematic diagram of the distribution before highlighting the watershed scope of the present invention.

[0028] Figure 6 The diagram shows the distribution of the watershed area of ​​the present invention after highlighting.

[0029] Figure 7 This is a distribution diagram of the annotation font before splitting and resetting according to the present invention.

[0030] Figure 8 This is a schematic diagram of the distribution of the annotation font after splitting and resetting in the present invention.

[0031] Figure 9 This is a schematic diagram of the distribution before automatic matching of multiple images in the present invention.

[0032] Figure 10This is a schematic diagram of the distribution of multiple images after automatic matching in the present invention. DETAILED DESCRIPTION

[0033] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.

[0034] Example: Figure 1-10 As shown, the present invention provides a method for quickly generating a flood frequency analysis map, comprising the following steps:

[0035] S1. Rapidly merge the rivers within the intended analysis basin. The original river data within the analysis range adopts the small basins divided by the DEM map, and the small basins are merged into the intended analysis basin.

[0036] S2. Highlight the watershed range. The graphics within the watershed range selection area are highlighted. The part within the watershed range is slightly darker to form a contrast and highlight the content within the watershed range.

[0037] S3. Quickly split and arrange the annotation fonts of rivers within the basin. Localize the annotation fonts of rivers within the basin, set all the font heads to the north of the map direction, and distribute the annotation fonts along the direction of the river.

[0038] S4. Quickly match styles when exporting multiple files. When exporting, each river is in a separate folder. During the export process, when modifying the line shape or text style, after modifying the first river format, the export formats of other drawings can be automatically matched.

[0039] Furthermore, in step S1, before merging the small watersheds into the watershed to be analyzed, a list of small watersheds to be merged is input to determine the faces corresponding to the rivers to be merged. All the names in the list can be searched in the river name attribute name.

[0040] Furthermore, in step S1, the analyzed watershed is divided into multiple levels of rivers, including main river channels, secondary river channels, tertiary river channels...n-level river channels. The layers that need to be processed are the watershed range surface layer and the water system axis line layer. The two are one-to-one corresponding. In the layer attribute data, the attribute table of the line layer contains the next level of river attributes, which are not present in the surface layer.

[0041] Furthermore, when merging, the river basins with the same level attributes in the same analysis basin will be merged. The input river list is the river basins that need to be merged, which are found one by one in the "ennm" attribute and are unique; the "next level river" attribute is the river basin to be merged. There are multiple ones, and they need to be searched one by one in the "ennm" attribute to see if they exist. If they exist, the merge needs to be repeated.

[0042] Furthermore, spatial search is used to find all the faces that intersect the line, and then the faces with the same name as the line are searched and merged. Each river can be displayed globally, and the operator identifies and confirms the merged results, and the merging step is completed after confirmation.

[0043] Furthermore, in step S2, the highlighting method is: select a face element, then obtain the bounding rectangle, then copy a new layer, use this bounding rectangle to cut, and use the obtained face selection set as a buffer. The buffer expands the selected face, the bounding rectangle, and then uses this bounding rectangle to cut with the current selected face, and the cut face polarity is highlighted.

[0044] Furthermore, in step S3, the annotation layer to be processed is selected, and then each annotation on this layer is traversed to obtain the text content of the annotation, and the characters are separated one by one in turn. The position coordinates of each character are obtained through this annotation, and a new annotation object is created for each character. The separated characters and coordinates are assigned to this object, and then the previously connected annotations are deleted to realize the modification of the annotation font.

[0045] Furthermore, when creating a new annotation object, the font rotation properties are set. During the splitting process, the text is rotated so that the head of the text faces north. This achieves the goal of the text head facing north, and the text content is connected. There are two control points in the annotation object, one on the left and one on the right. When the annotation is distributed according to the direction of the river, the text is not connected in the plane. At this time, each character corresponds to two control points. After the annotation is converted, each annotation is a whole, and it is impossible to edit or move each character.

[0046] Furthermore, in step S4, each river is in a separate folder and has a separate mxd file. The format of the output style is saved in the mxd template. During the output process, when modifying the style of line, text, etc., after modifying the first river, that is, the first mxd file format, the output formats of other drawings are automatically matched;

[0047] All data are stored in one folder. The layers in the "Basic Data" folder are shared, while the others are separate data for each river. The layers in each river are exactly the same, with the same format, but with different display ranges. In the template map, set the format of each layer, including line color and thickness, surface color parameters, text size and color, and annotation range.

[0048] Each feature layer has a rendering class, including color and symbol. First, open the template file, traverse all layer rendering classes, identify and record them, traverse the files that need to be modified, and assign values ​​according to the layer rendering class. According to the template style, automatically match the line type and color parameters of each layer, and automatically match other drawing formats.

[0049] Furthermore, when the map is produced, the parameters of each graded river in the diagram of the analysis basin are used to generate a rainfall bar chart and a water level process line chart according to the predicted rainfall and water level process data, and then the analyzed and merged displayed diagram of the analysis basin can meet the needs of river basin merging and flood frequency analysis.

[0050] Working principle: By quickly merging the rivers within the intended analysis basin, the original data of the rivers within the analysis range adopts the small basins divided by the DEM map, and the small basins are merged into the basin to be analyzed, the basin range is highlighted, and the annotation fonts of the rivers within the basin are quickly split and arranged. The annotation fonts of the rivers within the basin are localized, and all the letter heads are set to the north side of the map direction. The annotation fonts are distributed along the direction of the river. The styles are quickly matched when multiple files are plotted. When plotting, each river is in a separate folder. During the plotting process, when modifying the line shape and text style, after modifying the first river format, the plot formats of other maps can be automatically matched, so that the analysis result map can be quickly and standardly displayed, thereby improving the work efficiency of flood frequency analysis and plotting, reducing repetitive workload, and reducing manual work.

[0051] Obviously, those skilled in the art may make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if such changes and modifications fall within the scope of the claims and their equivalents, the present invention is intended to include such changes and modifications.

Claims

1. A method for rapid mapping of flood frequency analysis, characterized in that: The steps include: S1. Rapidly merge the rivers within the intended analysis basin. The original river data within the analysis range adopts the small basins divided by the DEM map, and the small basins are merged into the intended analysis basin. S2. Highlight the watershed range. The graphics within the watershed range selection area are highlighted. The part within the watershed range is slightly darker to form a contrast and highlight the content within the watershed range. S3. Quickly split and arrange the annotation fonts of rivers within the basin. Localize the annotation fonts of rivers within the basin, set all the font heads to the north of the map direction, and distribute the annotation fonts along the direction of the river. S4. Quickly match styles when exporting multiple files. When exporting, each river is in a separate folder. During the export process, when modifying the line shape or text style, after modifying the first river format, the export formats of other drawings can be automatically matched. In step S4, each river is in a separate folder and has a separate mxd file. The format of the output style is saved in the mxd template. During the output process, when modifying the line shape and text style, after modifying the first river, that is, the first mxd file format, the output formats of other drawings are automatically matched; All data are stored in one folder. The layers in the "Basic Data" folder are shared, while the others are separate data for each river. The layers in each river are exactly the same, with the same format, but with different display ranges. In the template map, set the format of each layer, including line color and thickness, surface color parameters, text size and color, and annotation range. Each feature layer has a rendering class, including color and symbol. First, open the template file, traverse all layer rendering classes, identify and record them, traverse the files that need to be modified, and assign values ​​according to the layer rendering class. According to the template style, automatically match the line type and color parameters of each layer, and automatically match other drawing formats.

2. A method for rapid plotting of flood frequency analysis according to claim 1, characterized in that: In step S1, before merging small watersheds into the watershed to be analyzed, input the merged small watershed list, determine the faces corresponding to the rivers to be merged, and all the names in the list can be searched in the river name attribute name.

3. A method for rapid plotting of flood frequency analysis according to claim 1, characterized in that: In step S1, the analyzed watershed is divided into multiple levels of rivers, including the main river channel, secondary river channel, tertiary river channel...n-level river channel. The layers that need to be processed are the watershed range surface layer and the water system axis line layer. The two are one-to-one corresponding. In the layer attribute data, the attribute table of the line layer contains the next level of river attributes, which are not in the surface layer.

4. A method for rapid plotting of flood frequency analysis according to claim 3, characterized in that: When merging, river basins with the same level of attributes within the same analysis basin will be merged. The input river list is the river basins to be merged, which must be found one by one in the "ennm" attribute and must be unique. The "next level river" attribute is the river basin to be merged. There may be multiple river basins, and you need to check each one in the "ennm" attribute to see if they exist. If they do exist, the merge needs to be repeated.

5. A method for rapid plotting of flood frequency analysis according to claim 4, characterized in that: Using spatial search, find all the faces that intersect with the line, and then search for faces with the same name as the line to merge them. Each river can be displayed globally, and the operator can identify and confirm the merged results. After confirmation, the merging step is completed.

6. A method for rapid plotting of flood frequency analysis according to claim 1, characterized in that: In step S2, the highlighting method is: select a face element, then obtain the bounding rectangle, then copy a new layer, use this bounding rectangle to cut, and use the obtained face selection set as a buffer. The buffer expands the selected face to the bounding rectangle, and then uses this bounding rectangle to cut with the current selected face, and the cut face polarity is highlighted.

7. A method for rapid plotting of flood frequency analysis according to claim 1, characterized in that: In step S3, select the annotation layer to be processed, and then traverse each annotation on this layer to obtain the text content of the annotation, separate the characters one by one, and obtain the position coordinates of each character through this annotation. Create a new annotation object for each character, assign the separated characters and coordinates to this object, and then delete the previously connected annotations to achieve the modification of the annotation font.

8. A method for rapid plotting of flood frequency analysis according to claim 7, characterized in that: When creating a new annotation object, set the font rotation properties. During the splitting process, rotate the text so that the head of the text faces north. This makes the text head face north, and the text content is connected. There are two control points in the annotation object, one on the left and one on the right. When the annotation is distributed according to the direction of the river, the text is not connected in the plane. At this time, each character corresponds to two control points. After the annotation is converted, each annotation is a whole, and each character cannot be edited or moved.

9. A method for rapid plotting of flood frequency analysis according to claim 1, characterized in that: When drawing the map, the parameters of each graded river in the diagram of the analysis basin will be used to generate a rainfall bar chart and a water level process line chart according to the predicted rainfall and water level process data. Then, the combined river channel of the analysis basin will be analyzed to ensure that it can meet the needs of river basin merging and flood frequency analysis.

Citation Information

Patent Citations

  • Small watershed dividing and coding method

    CN113779041A

  • Basin water simulation method based on webGIS platform and considering comprehensive utilization requirements

    CN114492233A