CN114067077A - Method and system for accurately measuring average rainfall of regional government regions in water conservancy industry - Google Patents
Method and system for accurately measuring average rainfall of regional government regions in water conservancy industry Download PDFInfo
- Publication number
- CN114067077A CN114067077A CN202111260026.6A CN202111260026A CN114067077A CN 114067077 A CN114067077 A CN 114067077A CN 202111260026 A CN202111260026 A CN 202111260026A CN 114067077 A CN114067077 A CN 114067077A
- Authority
- CN
- China
- Prior art keywords
- rainfall
- area
- average
- boundary
- acquiring
- 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
- 238000000034 method Methods 0.000 title claims abstract description 44
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 title claims abstract description 29
- 238000005259 measurement Methods 0.000 claims abstract description 17
- 238000012545 processing Methods 0.000 claims abstract description 13
- 238000012544 monitoring process Methods 0.000 claims abstract description 4
- 238000004364 calculation method Methods 0.000 claims description 16
- 238000004590 computer program Methods 0.000 claims description 3
- 238000003672 processing method Methods 0.000 claims description 2
- 230000006870 function Effects 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 4
- 230000009466 transformation Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000009472 formulation Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
- G06T17/20—Finite element generation, e.g. wire-frame surface description, tesselation
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01W—METEOROLOGY
- G01W1/00—Meteorology
- G01W1/14—Rainfall or precipitation gauges
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/29—Geographical information databases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/31—Programming languages or programming paradigms
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Environmental & Geological Engineering (AREA)
- Life Sciences & Earth Sciences (AREA)
- Remote Sensing (AREA)
- Computing Systems (AREA)
- Data Mining & Analysis (AREA)
- Geometry (AREA)
- Hydrology & Water Resources (AREA)
- Computer Graphics (AREA)
- Atmospheric Sciences (AREA)
- Biodiversity & Conservation Biology (AREA)
- Ecology (AREA)
- Environmental Sciences (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a method and a system for accurately measuring average rainfall of regional administrative areas in water conservancy industry, belonging to the technical field of water conservancy industry software, aiming at solving the technical problems of accurately acquiring the average rainfall and simultaneously improving the rainfall data processing efficiency and accuracy, and adopting the technical scheme that: the method comprises the steps of calculating a weight value corresponding to each rainfall measuring station by establishing a regional Thiessen polygon, and acquiring a rainfall average value of the whole region by combining the weight value of each rainfall measuring station with monitoring data of the rainfall measuring station; the method comprises the following specific steps: reading a provincial and municipal administrative district boundary; acquiring a province and city boundary geometric figure; generating a Delaunay triangular mesh: acquiring Delaunay triangular grids according to the boundary information of all the rainfall measurement stations; generating a Thiessen polygon on the basis of the Delaunay triangular mesh; according to the generated triangular meshes, dividing the area generated by each triangle by the total area of the region to obtain the weight corresponding to the current triangle; and calculating the average rainfall of the drainage basin by using a Thiessen polygon method.
Description
Technical Field
The invention relates to the technical field of water conservancy industry software, in particular to a method and a system for accurately measuring the average rainfall of a regional government area in the water conservancy industry.
Background
Currently, digital transformation is becoming important and urgent for more and more industries. How to better utilize data becomes the key of digital transformation, the accuracy of the data often determines the core competitiveness and value of the product, and the rainfall amount seriously affects the formulation of various emergency plans, the calculation of reservoir storage capacity, the river flow and other civil problems based on the water conservancy industry. The arithmetic mean calculation of the average rainfall in the administrative area, which is well known by the public at present, has a large error, and often cannot accurately reflect the actual situation, so that a large error is easily generated.
Therefore, how to accurately obtain the average rainfall and improve the rainfall data processing efficiency and accuracy is a technical problem to be solved urgently at present.
Disclosure of Invention
The technical task of the invention is to provide a method and a system for accurately measuring the average rainfall capacity of a regional government area in the water conservancy industry, so as to solve the problems of accurately acquiring the average rainfall capacity and improving the rainfall capacity data processing efficiency and accuracy.
The technical task of the invention is realized in the following way, the method for accurately measuring the average rainfall of the regional administrative area in the water conservancy industry comprises the steps of establishing a regional Thiessen polygon, calculating a weight value corresponding to each rainfall measuring station, and acquiring the average rainfall of the whole regional area by combining the weight value of each rainfall measuring station with the monitoring data of the rainfall measuring station; the method comprises the following specific steps:
reading a provincial and municipal administrative district boundary;
acquiring a province and city boundary geometric figure;
generating a Delaunay triangular mesh: acquiring Delaunay triangular grids according to the boundary information of all the rainfall measurement stations;
generating a Thiessen polygon on the basis of the Delaunay triangular mesh;
according to the generated triangular meshes, dividing the area generated by each triangle by the total area of the region to obtain the weight corresponding to the current triangle, wherein for example, if the area of a single triangle is 10 and the total area of the political region is 100, the weight corresponding to the triangle is 0.1;
and calculating the average rainfall of the drainage basin by using a Thiessen polygon method.
Preferably, the reading of provincial and municipal administrative district boundaries is specifically as follows:
using gis tool arcgis to obtain detailed longitude and latitude of the province and city administrative division boundary to be obtained;
establishing a FeatureCollection object file by relying on Geotools through file form storage, analyzing GeoJSON data, and loading region boundary longitude and latitude data;
and simplifying the region boundary value obtained according to the region boundary value longitude and latitude region.
Preferably, the provincial and city boundary geometry is obtained as follows:
acquiring a longitude and latitude set after acquiring the longitude and latitude of a boundary of a political area;
traversing the longitude and latitude data by depending on a space processing method Geometry in Geotools, drawing a map curve, and generating a corresponding picture (the function of the part mainly depends on the content of a Geotools kit, and belongs to an open-source technology stack).
Preferably, the boundary information of the rainfall measuring station includes a provincial and local and municipal boundary set point set, and the point set includes Longitude (LGTD), Latitude (LTTD), rainfall (DRP), administrative area name (ADDVNM), and administrative area code (ADDVCD).
Preferably, the average rainfall capacity of the watershed is calculated by using the Thiessen polygon method as follows:
dividing the watershed into a plurality of polygons by using a vertical bisector of a connecting line between the rainfall measuring stations;
taking the area of each polygon as a weight, wherein the weight is taken as the weight of the corresponding rainfall station, for example, the weight of the administrative district corresponding to station a is 0.030140009952;
calculating average rainfall for all rainfall measuring stations in the administrative area; the method comprises the following specific steps:
acquiring real-time rainfall value n of each rainfall measuring station in the area1、n2...nk;
According to the corresponding relation between the rainfall measuring stations and the weight, obtaining the weight value m corresponding to each rainfall measuring station1、 m2...mk;
The formula of the weighted average x of the rainfall of each rainfall station is as follows:
x=n1*m1+n2*m2+...+nk*mk;
and taking the weighted average of the rainfall of each rainfall station as the average rainfall of the drainage basin.
A system for accurately measuring the average rainfall of regional government areas in the water conservancy industry comprises,
the reading unit is used for reading the provincial and municipal administrative district boundary;
the acquisition unit is used for acquiring provincial and city boundary geometric figures;
a first generating unit, configured to generate a Delaunay triangular mesh: acquiring Delaunay triangular grids according to the boundary information of all the rainfall measurement stations;
the generation unit II is used for generating a Thiessen polygon on the basis of the Delaunay triangular mesh;
a third generating unit, configured to divide a generated area of each triangle by a total area of the region according to the generated triangular mesh to obtain a weight corresponding to the current triangle, where for example, if an area of a single triangle is 10 and a total area of the political region is 100, a weight value corresponding to the triangle is 0.1;
preferably, the reading unit includes a reading unit including,
the acquisition module is used for acquiring detailed city administrative division boundary longitude and latitude to be acquired by using an gis tool arcgis;
the loading module is used for storing in a file form, establishing a FeatureCollection object file by depending on Geotools, analyzing GeoJSON data and loading the longitude and latitude data of the region boundary;
the simplification module is used for simplifying the area boundary value obtained by the area simplification processing according to the latitude and longitude of the area boundary value;
the acquisition unit comprises a first acquisition unit and a second acquisition unit,
the acquiring module is used for acquiring a longitude and latitude set after acquiring the longitude and latitude of a boundary of a political area;
and the generating module is used for traversing the longitude and latitude data by depending on a space processing mode Geometry in the Geotools, drawing a map curve and generating a corresponding picture (the part of functions mainly depend on the contents of the Geotools kit and belong to an open-source technology stack).
Preferably, the third generating unit includes a third generating unit,
the dividing module is used for dividing the drainage basin into a plurality of polygons by using a vertical bisector of a connecting line between the rainfall measuring stations;
a weighting module, configured to take the area of each polygon as a weight, where the weight is taken as a weight of a corresponding rainfall measuring station, for example, the weight of a district corresponding to the measuring station a is 0.030140009952;
the calculation module is used for calculating the average rainfall of all the rainfall measurement stations in the administrative area; the method comprises the following specific steps:
an acquisition submodule I for acquiring the real-time rainfall value n of each rainfall measuring station in the area1、n2...nk;
The obtaining submodule II obtains a weight value m corresponding to each rainfall measuring station according to the corresponding relation between the rainfall measuring stations and the weight1、m2...mk;
The calculation submodule is used for calculating the weighted average value x of the rainfall of each rainfall station, and the formula is as follows:
x=n1*m1+n2*m2+...+nk*mk;
and taking the weighted average of the rainfall of each rainfall station as the average rainfall of the drainage basin. Wherein the point location of the rain gauging station needs to be within its corresponding administrative boundary.
Preferably, the system further comprises a surface rainfall calculation module, wherein the surface rainfall calculation module is used for calculating surface rainfall; the method comprises the following specific steps:
calculating the average rainfall in each Thiessen polygon, namely multiplying the rainfall of a rainfall station in the polygon by a weight, namely dividing the area value of the polygon by the area of the drainage basin;
the average rainfall in all polygons is added and then divided by the number of polygons to obtain the result.
A computer-readable storage medium having stored thereon a computer program executable by a processor to implement a method for accurately metering average rainfall in a district and a government area of a water conservancy industry as described above.
The Thiessen polygons are triangulated by reasonably connecting discrete data points, namely, the Delaunay triangulation is constructed. Numbering the discrete points and the formed triangles, recording which three discrete points each triangle is formed by, then calculating the circle center of the circumscribed circle of each triangle, and recording the circle center. And connecting the centers of the circumscribed circles of the adjacent triangles according to the adjacent triangles of each discrete point to obtain the Thiessen polygon. For the Thiessen polygon at the edge of the triangular net, a vertical bisector can be made to intersect with the figure outline to form the Thiessen polygon together with the figure outline.
Geotools is a Java class library conforming to the OGC standard (also called the OpenGIS standard), and a tool kit for processing spatial data, where the tool kit includes all tool classes required for constructing a complete geographic information system, and there are corresponding solutions to common problems such as conversion of projection, setting of reference plane, rendering and style of spatial data object, support of various data sources, support of various GIS file formats, spatial data filtering and searching, and these solutions are packaged into one class for user to call. It provides a number of standard classes for processing spatial data. The OpenGIS standard is an international standard for spatial data processing. Most of the current open source GIS software based on Java, such as udig, geoserver, etc., call GeoTools library to process spatial data.
The Delaunay triangulation network is a collection of connected but non-overlapping triangles, and the triangles cannot contain the vertices of other triangles.
The method and the system for accurately measuring the average rainfall of the regional government areas in the water conservancy industry have the following advantages that:
according to the method, a plurality of Thiessen polygons are generated in the administrative area range based on the discrete points of the rainfall measurement stations, the area of each polygon is divided by the area of the whole range to obtain the weight of each measurement station, and when the average rainfall value is calculated, the average rainfall of the whole area is obtained according to the weight of each measurement station and the rainfall amount, so that the obtained area rainfall is more accurate;
secondly, calculating the average rainfall of the administrative area based on the Thiessen polygon, wherein the calculation result is more accurate;
the method used by the invention can be popularized to the precise calculation in other fields;
the intelligent precision of the data in the water conservancy industry is effectively improved, and the data more accurately reflects the fact data for the reference of a using unit;
the method is applied to an app, a picture and other systems of the intelligent water conservancy project of the Hainan water affair hall, and the app enters a trial run stage, so that the data accuracy is approved by a user.
Drawings
The invention is further described below with reference to the accompanying drawings.
Fig. 1 is a flow chart of a method for accurately measuring average rainfall of regional government districts in the water conservancy industry.
Detailed Description
The method and the system for accurately measuring the average rainfall capacity of the regional administrative areas in the water conservancy industry are described in detail below with reference to the attached drawings and specific embodiments of the specification.
Example 1:
as shown in the attached drawing 1, the method for accurately measuring the average rainfall of the regional administrative area in the water conservancy industry calculates the weight value corresponding to each rainfall measuring station by establishing a regional Thiessen polygon, and obtains the average rainfall of the whole regional area by combining the weight values of the rainfall measuring stations with the monitoring data of the rainfall measuring stations; the method comprises the following specific steps:
s1, reading provincial and municipal administrative district boundaries;
s2, acquiring province and city boundary geometric figures;
s3, generating a Delaunay triangular mesh: acquiring Delaunay triangular grids according to the boundary information of all the rainfall measurement stations;
s4, generating a Thiessen polygon on the basis of the Delaunay triangular mesh;
s5, according to the generated triangular meshes, dividing the area generated by each triangle by the total area of the region to obtain the weight corresponding to the current triangle, where, for example, the area of a single triangle is 10, and the total area of the political region is 100, the weight corresponding to the triangle is 0.1;
and S6, calculating the average rainfall of the watershed by using a Thiessen polygon method.
The reading of the provincial and municipal administrative district boundary in step S1 in this embodiment is specifically as follows:
s101, using gis tool arcgis to obtain detailed province administrative division boundary longitude and latitude to be obtained;
s102, establishing a FeatureCollection object file by depending on Geotools through file form storage, analyzing GeoJSON data, and loading longitude and latitude data of a region boundary;
and S103, simplifying the area according to the longitude and latitude of the area boundary value to obtain the political area boundary value.
In this embodiment, the geometry of the provincial boundary obtained in step S2 is specifically as follows:
s201, acquiring a longitude and latitude set after acquiring the longitude and latitude of a boundary of a political area;
s202, traversing the longitude and latitude data by depending on a space processing mode Geometry in Geotools, drawing a map curve, and generating a corresponding picture (the function of the part mainly depends on the content of a Geotools toolkit, and belongs to an open-source technology stack). Code examples are as follows:
in this embodiment, the boundary information of the rainfall measurement station in step S3 includes a provincial boundary and a local city boundary set point set, and the set point is a Longitude (LGTD), a Latitude (LTTD), a rainfall (DRP), an administrative area name (ADDVNM), and an administrative area code (ADDVCD).
In this embodiment, the average rainfall capacity of the watershed calculated by the thiessen polygon method in step S6 is specifically as follows:
s601, dividing the drainage basin into a plurality of polygons by using a vertical bisector of a connecting line between the rainfall measuring stations;
s602, taking the area of each polygon as a weight, wherein the weight is taken as the weight of the corresponding rainfall measuring station, for example, the weight of the administrative district corresponding to the measuring station a is 0.030140009952;
s603, calculating average rainfall for all rainfall measuring stations in the administrative area; the method comprises the following specific steps:
s604, acquiring real-time rainfall value n of each rainfall measuring station in the area1、n2...nk;
S605, obtaining a weight value m corresponding to each rainfall measuring station according to the corresponding relation between the rainfall measuring stations and the weight1、m2...mk;
S606, the formula of the weighted average value x of the rainfall of each rainfall station is as follows:
x=n1*m1+n2*m2+...+nk*mk;
and taking the weighted average of the rainfall of each rainfall station as the average rainfall of the drainage basin.
Example 2:
the invention discloses a system for accurately measuring the average rainfall of regional government regions in the water conservancy industry, which comprises,
the reading unit is used for reading the provincial and municipal administrative district boundary;
the acquisition unit is used for acquiring provincial and city boundary geometric figures;
a first generating unit, configured to generate a Delaunay triangular mesh: acquiring Delaunay triangular grids according to the boundary information of all the rainfall measurement stations;
the generation unit II is used for generating a Thiessen polygon on the basis of the Delaunay triangular mesh;
a third generating unit, configured to divide a generated area of each triangle by a total area of the region according to the generated triangular mesh to obtain a weight corresponding to the current triangle, where for example, if an area of a single triangle is 10 and a total area of the political region is 100, a weight value corresponding to the triangle is 0.1;
the reading unit in the present embodiment includes,
the acquisition module is used for acquiring detailed city administrative division boundary longitude and latitude to be acquired by using an gis tool arcgis;
the loading module is used for storing in a file form, establishing a FeatureCollection object file by depending on Geotools, analyzing GeoJSON data and loading the longitude and latitude data of the region boundary;
the simplification module is used for simplifying the area boundary value obtained by the area simplification processing according to the latitude and longitude of the area boundary value;
the acquisition unit in the present embodiment includes,
the acquiring module is used for acquiring a longitude and latitude set after acquiring the longitude and latitude of a boundary of a political area;
and the generating module is used for traversing the longitude and latitude data by depending on a space processing mode Geometry in the Geotools, drawing a map curve and generating a corresponding picture (the part of functions mainly depend on the contents of the Geotools kit and belong to an open-source technology stack).
The third generation unit in the present embodiment includes,
the dividing module is used for dividing the drainage basin into a plurality of polygons by using a vertical bisector of a connecting line between the rainfall measuring stations;
a weighting module, configured to take the area of each polygon as a weight, where the weight is taken as a weight of a corresponding rainfall measuring station, for example, the weight of a district corresponding to the measuring station a is 0.030140009952;
the calculation module is used for calculating the average rainfall of all the rainfall measurement stations in the administrative area; the method comprises the following specific steps:
an acquisition submodule I for acquiring each rainfall measuring station in the areaReal-time rainfall value n1、n2...nk;
The obtaining submodule II obtains a weight value m corresponding to each rainfall measuring station according to the corresponding relation between the rainfall measuring stations and the weight1、m2...mk;
The calculation submodule is used for calculating the weighted average value x of the rainfall of each rainfall station, and the formula is as follows:
x=n1*m1+n2*m2+...+nk*mk;
and taking the weighted average of the rainfall of each rainfall station as the average rainfall of the drainage basin. Wherein the point location of the rain gauging station needs to be within its corresponding administrative boundary.
The system also comprises a surface rainfall calculation module, wherein the surface rainfall calculation module is used for calculating surface rainfall; the method comprises the following specific steps:
calculating the average rainfall in each Thiessen polygon, namely multiplying the rainfall of a rainfall station in the polygon by a weight, namely dividing the area value of the polygon by the area of the drainage basin;
the average rainfall in all polygons is added and then divided by the number of polygons to obtain the result.
Example 3:
the embodiment of the invention also provides a computer-readable storage medium, wherein a plurality of instructions are stored, and the instructions are loaded by a processor, so that the processor executes the method for accurately measuring the average rainfall capacity of the regional government area in any embodiment of the invention. Specifically, a system or an apparatus equipped with a storage medium on which software program codes that realize the functions of any of the above-described embodiments are stored may be provided, and a computer (or a CPU or MPU) of the system or the apparatus is caused to read out and execute the program codes stored in the storage medium.
In this case, the program code itself read from the storage medium can realize the functions of any of the above-described embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.
Examples of the storage medium for supplying the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (e.g., CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RYM, DVD-RW, DVD + RW), a magnetic tape, a nonvolatile memory card, and a ROM. Alternatively, the program code may be downloaded from a server computer via a communications network.
Further, it should be clear that the functions of any one of the above-described embodiments may be implemented not only by executing the program code read out by the computer, but also by causing an operating system or the like operating on the computer to perform a part or all of the actual operations based on instructions of the program code.
Further, it is to be understood that the program code read out from the storage medium is written to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion unit connected to the computer, and then causes a CPU or the like mounted on the expansion board or the expansion unit to perform part or all of the actual operations based on instructions of the program code, thereby realizing the functions of any of the above-described embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Claims (10)
1. A method for accurately measuring average rainfall of a regional government area in the water conservancy industry is characterized in that a regional Thiessen polygon is established, a weight value corresponding to each rainfall measuring station is calculated, and the average rainfall value of the whole region is obtained by combining the weight value of each rainfall measuring station with monitoring data of the rainfall measuring station; the method comprises the following specific steps:
reading a provincial and municipal administrative district boundary;
acquiring a province and city boundary geometric figure;
generating a Delaunay triangular mesh: acquiring Delaunay triangular grids according to the boundary information of all the rainfall measurement stations;
generating a Thiessen polygon on the basis of the Delaunay triangular mesh;
according to the generated triangular meshes, dividing the area generated by each triangle by the total area of the region to obtain the weight corresponding to the current triangle;
and calculating the average rainfall of the drainage basin by using a Thiessen polygon method.
2. The method for accurately measuring average rainfall capacity of regional and administrative districts in the water conservancy industry according to claim 1, wherein the specific reading of provincial and municipal administrative district boundaries is as follows:
using gis tool arcgis to obtain detailed longitude and latitude of the province and city administrative division boundary to be obtained;
establishing a FeatureCollection object file by relying on Geotools through file form storage, analyzing GeoJSON data, and loading region boundary longitude and latitude data;
and simplifying the region boundary value obtained according to the region boundary value longitude and latitude region.
3. The method for accurately measuring average rainfall capacity of regional and administrative districts in the water conservancy industry according to claim 1, wherein the geometrical figures of province and city boundaries are obtained as follows:
acquiring a longitude and latitude set after acquiring the longitude and latitude of a boundary of a political area;
traversing the longitude and latitude data by depending on a space processing method Geometry in Geotools, drawing a map curve and generating a corresponding picture.
4. The method for accurately measuring the average rainfall capacity of the regional and administrative districts in the water conservancy industry according to claim 1, wherein the boundary information of the rainfall measurement station comprises provincial and city boundary collection point sets, and the collection points are longitude, latitude, rainfall, administrative district names and administrative district codes.
5. The method for accurately measuring the average rainfall capacity of the regional and administrative areas in the water conservancy industry according to any one of claims 1 to 4, wherein the average rainfall capacity of the watershed is calculated by using a Thiessen polygon method as follows:
dividing the watershed into a plurality of polygons by using a vertical bisector of a connecting line between the rainfall measuring stations;
taking the area of each polygon as a weight, and taking the weight as the weight of the corresponding rainfall gauging station;
calculating average rainfall for all rainfall measuring stations in the administrative area; the method comprises the following specific steps:
acquiring real-time rainfall value n of each rainfall measuring station in the area1、n2...nk;
According to the corresponding relation between the rainfall measuring stations and the weight, obtaining the weight value m corresponding to each rainfall measuring station1、m2...mk;
The formula of the weighted average x of the rainfall of each rainfall station is as follows:
x=n1*m1+n2*m2+...+nk*mk;
and taking the weighted average of the rainfall of each rainfall station as the average rainfall of the drainage basin.
6. A system for accurately measuring the average rainfall of regional government areas in the water conservancy industry is characterized by comprising,
the reading unit is used for reading the provincial and municipal administrative district boundary;
the acquisition unit is used for acquiring provincial and city boundary geometric figures;
a first generating unit, configured to generate a Delaunay triangular mesh: acquiring Delaunay triangular grids according to the boundary information of all the rainfall measurement stations;
the generation unit II is used for generating a Thiessen polygon on the basis of the Delaunay triangular mesh;
the generating unit III is used for generating an area based on each triangle according to the generated triangular meshes and dividing the area by the total area of the area to obtain the weight corresponding to the current triangle;
and the calculating unit is used for calculating the average rainfall of the drainage basin by using a Thiessen polygon method.
7. The system for the accurate measurement of the average rainfall in regional and political districts in the water conservancy industry according to claim 6, wherein the reading unit comprises,
the acquisition module is used for acquiring detailed city administrative division boundary longitude and latitude to be acquired by using an gis tool arcgis;
the loading module is used for storing in a file form, establishing a FeatureCollection object file by depending on Geotools, analyzing GeoJSON data and loading the longitude and latitude data of the region boundary;
the simplification module is used for simplifying the area boundary value obtained by the area simplification processing according to the latitude and longitude of the area boundary value;
the acquisition unit comprises a first acquisition unit and a second acquisition unit,
the acquiring module is used for acquiring a longitude and latitude set after acquiring the longitude and latitude of a boundary of a political area;
and the generating module is used for traversing the longitude and latitude data by depending on a space processing mode Geometry in Geotools, drawing a map curve and generating a corresponding picture.
8. The system for accurately measuring average rainfall in regional and administrative areas of the water conservancy industry according to claim 6, wherein the third generation unit comprises,
the dividing module is used for dividing the drainage basin into a plurality of polygons by using a vertical bisector of a connecting line between the rainfall measuring stations;
the weighting module is used for taking the area of each polygon as a weight, and the weight is taken as the weight of the corresponding rainfall measuring station;
the calculation module is used for calculating the average rainfall of all the rainfall measurement stations in the administrative area; the method comprises the following specific steps:
an acquisition submodule I for acquiring the real-time rainfall value n of each rainfall measuring station in the area1、n2...nk;
Obtaining a second submodule according to the corresponding relation between the rainfall station and the weightObtaining the weight value m corresponding to each rainfall station1、m2...mk;
The calculation submodule is used for calculating the weighted average value x of the rainfall of each rainfall station, and the formula is as follows:
x=n1*m1+n2*m2+...+nk*mk;
and taking the weighted average of the rainfall of each rainfall station as the average rainfall of the drainage basin.
9. The system for accurately measuring the average rainfall in the regional and administrative areas in the water conservancy industry according to claim 6, further comprising a surface rainfall calculation module, wherein the surface rainfall calculation module is used for calculating the surface rainfall; the method comprises the following specific steps:
calculating the average rainfall in each Thiessen polygon, namely multiplying the rainfall of a rainfall station in the polygon by a weight, namely dividing the area value of the polygon by the area of the drainage basin;
the average rainfall in all polygons is added and then divided by the number of polygons to obtain the result.
10. A computer-readable storage medium, in which a computer program is stored, the computer program being executable by a processor to implement the method for the accurate measurement of average rainfall in areas of the water conservancy industry according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111260026.6A CN114067077A (en) | 2021-10-28 | 2021-10-28 | Method and system for accurately measuring average rainfall of regional government regions in water conservancy industry |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111260026.6A CN114067077A (en) | 2021-10-28 | 2021-10-28 | Method and system for accurately measuring average rainfall of regional government regions in water conservancy industry |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114067077A true CN114067077A (en) | 2022-02-18 |
Family
ID=80235632
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111260026.6A Pending CN114067077A (en) | 2021-10-28 | 2021-10-28 | Method and system for accurately measuring average rainfall of regional government regions in water conservancy industry |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114067077A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114814995A (en) * | 2022-03-31 | 2022-07-29 | 武汉达梦数据技术有限公司 | Early warning method and device for urban rainfall abnormality |
CN116150570A (en) * | 2022-11-07 | 2023-05-23 | 浙江省水文管理中心 | Storage and superposition analysis calculation method and device for high-precision grid rainfall |
-
2021
- 2021-10-28 CN CN202111260026.6A patent/CN114067077A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114814995A (en) * | 2022-03-31 | 2022-07-29 | 武汉达梦数据技术有限公司 | Early warning method and device for urban rainfall abnormality |
CN114814995B (en) * | 2022-03-31 | 2022-11-22 | 武汉达梦数据技术有限公司 | Urban waterlogging early warning method and device |
CN116150570A (en) * | 2022-11-07 | 2023-05-23 | 浙江省水文管理中心 | Storage and superposition analysis calculation method and device for high-precision grid rainfall |
CN116150570B (en) * | 2022-11-07 | 2024-04-23 | 浙江省水文管理中心 | Storage and superposition analysis calculation method and device for high-precision grid rainfall |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10034141B2 (en) | Systems and methods to identify home addresses of mobile devices | |
CN114067077A (en) | Method and system for accurately measuring average rainfall of regional government regions in water conservancy industry | |
JP6998964B2 (en) | Methods and equipment for determining the geofence index grid | |
CN110134755B (en) | Map updating method, device, equipment, server and medium | |
CN108601031B (en) | Allocation mapping method and device for communication cells and geographic areas | |
CN103278115B (en) | A kind of method and system calculating silt arrester siltation volume based on DEM | |
KR100686287B1 (en) | Distorting Modeling method for Transforming the Presize Position of Partial/Positional information | |
CN108595613A (en) | GIS local maps edit methods and device | |
CN108731649B (en) | 2000 mapping reference frame unifying method, device and computer readable storage medium | |
CN115687675A (en) | Airborne vector map data processing method | |
CN111488414A (en) | Road task matching method, device and equipment | |
CN102982494A (en) | Channel depth information generating method based on electronic navigation chart and water level data | |
CN116957887A (en) | Intelligent meter reading method and meter reading system | |
CN114238384A (en) | Area positioning method, device, equipment and storage medium | |
CN113268793A (en) | Complicated terrain earth volume calculation method and device | |
CN110989886B (en) | Three-dimensional space grid selection method and device based on space map | |
CN113093240A (en) | Positioning correction method, device and equipment and computer readable storage medium | |
CN110070279B (en) | Land use efficiency quantitative evaluation method and system based on multi-source data and storage medium | |
JP5281284B2 (en) | System and method for manufacturing a flexible geographic grid | |
CN111061729A (en) | Granularity-considered vector tile organization method | |
CN113849498B (en) | Index construction and query method | |
CN115657166A (en) | Method and device for determining weather forecast value across multiple climate areas | |
CN115330960A (en) | Live-action three-dimensional modeling method, device, server and storage medium | |
CN114360255A (en) | Flow determination method and device, storage medium and electronic device | |
CN110941669B (en) | Space vector data storage method based on attribute information and coordinate system conversion system |
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 |