CN115759641A - Dynamic adjustment method and system for water flow network - Google Patents
Dynamic adjustment method and system for water flow network Download PDFInfo
- Publication number
- CN115759641A CN115759641A CN202211456714.4A CN202211456714A CN115759641A CN 115759641 A CN115759641 A CN 115759641A CN 202211456714 A CN202211456714 A CN 202211456714A CN 115759641 A CN115759641 A CN 115759641A
- Authority
- CN
- China
- Prior art keywords
- data
- water flow
- flow network
- control point
- river
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02A—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
- Y02A10/00—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE at coastal zones; at river basins
- Y02A10/40—Controlling or monitoring, e.g. of flood or hurricane; Forecasting, e.g. risk assessment or mapping
Landscapes
- Alarm Systems (AREA)
Abstract
The invention relates to a method and a system for dynamically adjusting a water flow network, wherein the method comprises the following steps: adding a control point button, triggering a corresponding recalculation function based on the control point button, processing data, completing adjustment of a water flow network, and updating and warehousing a data processing result in real time; processing the control point button and the river basin surface where the control point button is located as input data to obtain new river line and sub-river basin surface data; and performing intersection and difference calculation on the sub-watershed surface data and the watershed surface where the control point button is located, and performing data updating to obtain the latest water flow network data. And the user adjusts the water flow data through the browser, uploads the water flow data to the server, further triggers recalculation service and realizes dynamic update of the space data.
Description
Technical Field
The invention relates to the technical field of dynamic adjustment of a water flow network, in particular to a method and a system for dynamically adjusting the water flow network.
Background
At present, flood forecasting systems are established in most watershed institutions and hydrological departments in provinces (regions and cities) in China, flood forecasting with different forecasting periods and accuracy can be carried out, and bases are provided for flood control decisions. Except for a few large-scale reservoirs of backbone, most large and medium-scale flood control reservoirs do not incorporate flood forecasting nodes, and the problem of forecasting errors is often caused by insufficient consideration of water flow condition changes caused by the dispatching operation of hydraulic engineering, so that the further improvement of the flood forecasting level is restricted, and the timely and accurate flood forecasting and monitoring work is always the focus of the work of all levels of water conservancy departments. Therefore, a method for dynamically adjusting a water flow network is needed.
In addition, the national water flow network has wide data coverage and large data volume, the dynamic adjustment of the water flow network relates to a plurality of data processing functions, the problems can be effectively solved by adopting a B/S (browser/server) framework, the development efficiency is high, the expansibility is strong, and the use requirements under different environments can be met.
Disclosure of Invention
The invention aims to overcome the problems in the prior art and provides a method and a system for dynamically adjusting a water flow network.
In order to achieve the purpose, the invention provides the following scheme:
a method for dynamically adjusting a water flow network comprises the following steps:
establishing a water flow network model, adding a control point button based on the water flow network model, triggering a corresponding recalculation function based on the control point button, processing data, completing adjustment of the water flow network, and updating and warehousing a data processing result in real time;
processing the control point button and the river basin surface where the control point button is located as input data to obtain new river line and sub-river basin surface data;
and performing intersection and difference calculation on the sub-watershed surface data and the watershed surface where the control point button is located, and performing data updating to obtain the latest water flow network data.
Preferably, adding the control point button comprises:
clicking a control point adding button on a display interface, selecting a river line needing to be edited, inputting related information, and clicking a finishing button to finish the addition of the control point button; wherein the editing adjustment operation of the browser end is recorded in the editing history.
Preferably, the data processing is performed, including: and treating the river streamline and treating the river basin surface corresponding to the river streamline.
Preferably, obtaining the new river course comprises:
and breaking the original river line based on a spatial data processing module according to the control point button to obtain the new river line.
Preferably, obtaining the sub-watershed surface data comprises:
and processing the sub-basin surface data by using an R.WATER.OUTLET module based on GRASS according to the control point and the basin where the control point is located as input data.
Preferably, the updating of the data is performed, including:
converting the longitude and latitude coordinates of the control points into pixel coordinates, reading corresponding DEM data according to the pixel coordinates, acquiring the elevation value of the control points, updating the initial elevation and the average slope of the river line associated with the control points, and finishing data updating.
Preferably, the method for converting the longitude and latitude coordinates of the control point into the pixel coordinates comprises the following steps:
pixel coordinate X = (longitude-left frame longitude)/X direction resolution;
pixel coordinate Y = (latitude-upper box latitude)/Y-direction resolution.
Preferably, the method of calculating the average gradient is:
average slope = (start point elevation-end point elevation)/1000/line length.
In order to achieve the above object, the present invention further provides a water flow network dynamic adjustment system, including:
a data slice publishing module: the system is used for carrying out real-time slicing and issuing map service meeting OGC standard by using a Senan super-engine vector slicing and issuing tool;
the water flow network display and editing module: the browser is positioned in the browser section and used for finishing data display and water flow data editing operations based on MapBox and leaf;
the water flow network recalculation module: the method is used for completing the generation of sub-watersheds based on GRASS, and realizing the spatial calculation of control points, river lines and watershed surfaces based on the space data processing capacity of a PostGIS database and GDAL.
Preferably, the data display includes displaying of water flow data and layer switching operation; and the water flow data editing comprises adding and deleting mobile stations, point attribute editing, adding and deleting mobile bus lines, basin surface merging, history record editing and recalculation triggering.
The beneficial effects of the invention are as follows:
most of flood control large and medium-sized reservoirs do not incorporate flood forecasting nodes, the problem of forecasting errors is often caused by insufficient consideration of water flow condition changes caused by water conservancy project dispatching operation, and further improvement of flood forecasting level is restricted.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
FIG. 1 is a flow chart of a method for dynamically adjusting a water flow network according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a method for obtaining a new river in an embodiment of the present invention;
FIG. 3 is a schematic diagram of a method for obtaining a new watershed surface according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a dynamic adjustment system of a water flow network according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
In order to make the aforementioned objects, features and advantages of the present invention more comprehensible, the present invention is described in detail with reference to the accompanying drawings and the detailed description thereof.
The embodiment provides a method for dynamically adjusting a water flow network, as shown in fig. 1, which specifically includes:
step 1) clicking an adding control point button on a display interface, selecting a river line to be edited, inputting related information, and clicking a finishing button to finish control point adding. The editing adjustment operation of the browser end is recorded in the editing history without influencing the water flow network in real time (taking the example of adding a control point on a river line as an example).
And 2) finishing adjustment of the water flow network by triggering a corresponding recalculation function, and updating and storing the data processing result in a warehouse in real time. The data processing mainly comprises river streamline processing and river basin surface processing corresponding to the river streamline.
Step 3) breaking the original river line based on a spatial data processing module (ST _ SPLIT function of Post GIS) according to the control point to obtain two new river lines, as shown in FIG. 2;
and 4) processing the control point and the watershed (tif and the like) where the control point is located by using the R.WATER.OUTLET module based on the GRASS to obtain sub-watershed surface data.
Step 5) obtaining the INTERSECTION of the two surfaces, namely the sub-watershed surface A2, by the INTERSECTION function (ST _ INTERSECTION) of the PostGIS, with the sub-watershed surface G obtained in the step 4 and the watershed surface A where the river line is located; the watershed planes a and A2 are subjected to a DIFFERENCE function (ST _ DIFFERENCE) of PostGIS to obtain a sub watershed plane A1. The drainage surface a is divided into two sub-drainage surfaces A1 and A2 based on the control point P, as shown in fig. 3.
Step 6) converting the longitude and latitude coordinates of the control point into pixel coordinates, reading corresponding DEM (tif and the like) data according to the pixel coordinates, obtaining an elevation value of the point, and further updating information such as initial elevation of a river line, average gradient and the like associated with the point, wherein the average gradient uses a thousandth gradient, and the calculation formula is as follows:
pixel coordinate X = (longitude-left frame longitude)/X direction resolution;
pixel coordinate Y = (latitude-upper box latitude)/Y-direction resolution;
average slope = (starting point height-end point height)/1000/line length;
and 7) calculating to obtain point-line-surface data, and finishing data updating through quality checking (ST _ ISVALID and ST _ MAKEWALID functions of Post GIS).
And 8) refreshing the browser, and displaying the latest water flow network data based on the slice issuing system.
The embodiment further provides a system for dynamically adjusting a water flow network, as shown in fig. 4, including:
a data slice publishing module: and (4) carrying out real-time slicing by using a Senan super-engine vector slicing and publishing tool, and publishing the sliced map to serve as a map meeting the OGC standard.
The water flow network display and editing module: the method comprises the steps that the method is located at a browser end, and data display functions including water flow data display and layer switching operations are completed based on MapBox and leaf; the editing operation of the water flow data mainly comprises operation interfaces of adding and deleting mobile stations, editing point attributes, adding and deleting mobile bus lines, merging drainage basin surfaces, editing history records, triggering recalculation and the like.
The water flow network recalculation module: the generation of sub-watersheds is completed based on GRASS, and the space calculation function of control points, river lines and watershed surfaces is realized based on the space data processing capacity of a PostGIS database and GDAL.
The data slice issuing module is used for slicing the water flow network data which are put into a warehouse and issuing the sliced water flow network data as a map service meeting the OGC standard for a browser end to display and edit; the water flow network can be dynamically adjusted at the browser end, the adjustment content is edited and stored in the database, the updating recalculation of the water flow network is carried out through the back-end recalculation service module, the calculation result is updated in real time and stored in the database, and finally the updating display is carried out at the browser end in real time.
According to the invention, the dynamic adjustment method of the water flow network based on the BS framework completes manual interaction service operation such as adding and deleting mobile stations, editing point attributes, adding and deleting mobile bus lines and the like through the B terminal, completes the actual adjustment of the water flow network through the S terminal, updates the processing result to a spatial database through data checking, and finally completes the display at the front end by slicing and publishing the data.
The above-described embodiments are only intended to describe the preferred embodiments of the present invention, and not to limit the scope of the present invention, and various modifications and improvements made to the technical solution of the present invention by those skilled in the art without departing from the spirit of the present invention should fall within the protection scope defined by the claims of the present invention.
Claims (10)
1. A method for dynamically adjusting a water flow network is characterized by comprising the following steps:
establishing a water flow network model, adding a control point button based on the water flow network model, triggering a corresponding recalculation function based on the control point button, processing data, completing adjustment of the water flow network, and updating and warehousing a data processing result in real time;
processing the control point button and the river basin surface where the control point button is located as input data to obtain new river line and sub-river basin surface data;
and performing intersection and difference calculation on the sub-watershed surface data and the watershed surface where the control point button is located, and performing data updating to obtain the latest water flow network data.
2. The method for dynamically adjusting a water flow network according to claim 1, wherein adding the control point button comprises:
clicking a control point adding button on a display interface, selecting a river line to be edited, inputting related information, and clicking a finishing button to finish the addition of the control point button; wherein the editing adjustment operation of the browser end is recorded in the editing history.
3. The method for dynamically adjusting a water flow network according to claim 2, wherein the performing the data processing comprises: and treating the river streamline and treating the river basin surface corresponding to the river streamline.
4. The method for dynamically adjusting a water flow network according to claim 1, wherein obtaining the new river course comprises:
and breaking the original river line based on a spatial data processing module according to the control point button to obtain the new river line.
5. The method for dynamically adjusting a water flow network according to claim 1, wherein obtaining the sub-watershed data comprises:
and processing the sub-basin surface data by using an R.WATER.OUTLET module based on GRASS according to the control point and the basin where the control point is located as input data.
6. The method for dynamically adjusting a water flow network according to claim 1, wherein the updating the data comprises:
converting the longitude and latitude coordinates of the control points into pixel coordinates, reading corresponding DEM data according to the pixel coordinates, acquiring the elevation value of the control points, updating the initial elevation and the average slope of the river line associated with the control points, and finishing data updating.
7. The method for dynamically adjusting a water flow network according to claim 6, wherein the method for converting the longitude and latitude coordinates of the control point into pixel coordinates comprises the following steps:
pixel coordinate X = (longitude-left frame longitude)/X direction resolution;
pixel coordinate Y = (latitude-upper box latitude)/Y-direction resolution.
8. The method for dynamically adjusting a water flow network according to claim 6, wherein the method for calculating the average gradient is as follows:
average slope = (start point height-end point height)/1000/line length.
9. A system for dynamically adjusting a water flow network, comprising:
a data slice publishing module: the system is used for carrying out real-time slicing and issuing map service meeting OGC standard by using a Senan super-engine vector slicing and issuing tool;
the water flow network display and editing module: the browser is positioned in the browser section and used for finishing data display and water flow data editing operations based on MapBox and leaf;
the water flow network recalculation module: the method is used for completing the generation of the sub-watersheds based on the GRASS, and realizing the space calculation of control points, river lines and watershed surfaces based on the space data processing capacity of a PostGIS database and a GDAL.
10. The system for dynamically adjusting a water flow network according to claim 9, wherein the data display includes display of water flow data and switching operation of layers; and the water flow data editing comprises adding and deleting mobile stations, point attribute editing, adding and deleting mobile bus lines, basin surface merging, history record editing and triggering recalculation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211456714.4A CN115759641A (en) | 2022-11-21 | 2022-11-21 | Dynamic adjustment method and system for water flow network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211456714.4A CN115759641A (en) | 2022-11-21 | 2022-11-21 | Dynamic adjustment method and system for water flow network |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115759641A true CN115759641A (en) | 2023-03-07 |
Family
ID=85333631
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211456714.4A Pending CN115759641A (en) | 2022-11-21 | 2022-11-21 | Dynamic adjustment method and system for water flow network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115759641A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103677826A (en) * | 2013-12-09 | 2014-03-26 | 河海大学 | Sub-basin dividing and information extracting method based on IDL and Mapinfo |
CN105631168A (en) * | 2016-03-25 | 2016-06-01 | 中国水利水电科学研究院 | Real-time and efficient drainage basin flood routing visual simulation method |
CN113297663A (en) * | 2021-06-11 | 2021-08-24 | 中国五冶集团有限公司 | BIM technology-based park water flow visualization analysis method |
CN114492233A (en) * | 2022-01-11 | 2022-05-13 | 中国长江三峡集团有限公司 | Basin water simulation method based on webGIS platform and considering comprehensive utilization requirements |
-
2022
- 2022-11-21 CN CN202211456714.4A patent/CN115759641A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103677826A (en) * | 2013-12-09 | 2014-03-26 | 河海大学 | Sub-basin dividing and information extracting method based on IDL and Mapinfo |
CN105631168A (en) * | 2016-03-25 | 2016-06-01 | 中国水利水电科学研究院 | Real-time and efficient drainage basin flood routing visual simulation method |
CN113297663A (en) * | 2021-06-11 | 2021-08-24 | 中国五冶集团有限公司 | BIM technology-based park water flow visualization analysis method |
CN114492233A (en) * | 2022-01-11 | 2022-05-13 | 中国长江三峡集团有限公司 | Basin water simulation method based on webGIS platform and considering comprehensive utilization requirements |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107193911B (en) | BIM model-based three-dimensional visualization engine and WEB application program calling method | |
CN107193918B (en) | Distributed GIS state monitoring system based on open source map | |
CN106779417A (en) | The collection of engineering investigation information digitalization, management and integrated application method | |
CN112233240B (en) | Three-dimensional vector data slicing method and device of three-dimensional vector map and electronic equipment | |
CN109726259A (en) | A kind of waste pipe-network design optimization system and method based on GIS technology | |
CN104408564A (en) | Digital water resource system | |
CN110838153B (en) | Method for making modern inland river electronic channel chart based on ArcGIS system and application | |
CN110197035B (en) | Channel underwater terrain change analysis system and method | |
CN113570275A (en) | Water resource real-time monitoring system based on BIM and digital elevation model | |
CN109658510A (en) | The method, apparatus and server of substation site selection | |
CN109933637A (en) | A kind of flood risk Dynamic Display and analysis system | |
CN108595613A (en) | GIS local maps edit methods and device | |
CN109711680A (en) | River System Hydropower planing method based on GIS digitizing technique | |
CN114661744B (en) | Terrain database updating method and system based on deep learning | |
CN113312736B (en) | River network hydrodynamic simulation implementation method and system based on cloud platform | |
CN116303638A (en) | Bridge engineering quantity estimation method based on GIS system | |
CN109636908B (en) | Method for drawing and publishing basin map of hydraulic power plant | |
CN109376209B (en) | Contaminated site database 3D model display system | |
CN111125291A (en) | WebGIS engine design method and system for watershed water resource management decision support system | |
CN110502595A (en) | A method of picking up longitude and latitude information from planning map | |
CN111241228B (en) | Comprehensive drawing method based on vector data and graphic processing technology | |
CN115759641A (en) | Dynamic adjustment method and system for water flow network | |
CN115795768B (en) | Pipe network three-dimensional modeling and data updating method and system taking entity form into consideration | |
CN111382165A (en) | Mobile homeland management system | |
CN115618584A (en) | Urban rainstorm waterlogging simulation data processing method based on distributed computation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |