A method, device, equipment and medium for rasterizing disaster-prone volume data
By using multi-layer grids and geographical information systems in the rasterization of disaster-bearing body data, the problem of low efficiency of traditional methods is solved, efficient data transformation and refined risk assessment are achieved, and a strong basis is provided for urban planning and disaster assessment. Strong support.
Patent Information
- Application Number
- CN202410864827.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-06-28
AI Technical Summary
Traditional disaster-bearing body data rasterization methods are inefficient and cannot effectively transform complex data into rasterized data that is easy to analyze and understand, and cannot effectively support urban planning and disaster risk assessment.
Based on the original disaster-bearing body data and multi-layer grids, the target disaster-bearing body parameters corresponding to each layer of grid are determined, converted into geometric elements in the geographic information system, and the area is accumulated according to the grid number to achieve automatic rasterization. , improve efficiency.
It achieves efficient transformation of complex disaster-bearing body data into rasterized data that is easy to analyze and understand, provides strong support for urban planning and disaster risk assessment, and improves the accuracy and refinement of data.
Smart Images

Figure CN118427262B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computers, and in particular to a method, device, equipment and medium for rasterizing disaster-prone volume data. Background Art
[0002] With the acceleration of urbanization, the impact of human activities on the natural environment is increasing, and the risk of earthquake disasters is also increasing. Scientific and reasonable rasterization results of disaster-bearing volume data are the premise and basis for ensuring the scientific and reasonable results of earthquake disaster risk assessment and zoning.
[0003] At present, the traditional rasterization method of disaster-prone body data is mainly based on statistical analysis. It is necessary to complete the rasterization tasks of disaster-prone body data in stages, namely one province and one county, one province and one city, and then the whole country in the roll-out stage. There is a lot of field information involved in the disaster-prone body data, and the rasterization efficiency is low. At the same time, since the rasterization standard has not been established, it is not convenient to effectively convert the complex disaster-prone body data into rasterized data that is easy to analyze and understand, and it cannot provide strong support for urban planning and disaster risk assessment. Summary of the invention
[0004] The present invention provides a method, device, equipment and medium for rasterizing disaster-prone body data, so as to realize automatic rasterization of disaster-prone body data and improve the efficiency of rasterization. It can effectively convert complex disaster-prone body data into rasterized data that is easy to analyze and understand, and provide strong support for urban planning and disaster risk assessment.
[0005] In a first aspect, an embodiment of the present invention provides a method for rasterizing disaster-affected volume data, comprising:
[0006] Based on the original hazard-prone body data and the multi-layer grid, the target hazard-prone body parameters corresponding to each layer of grid are determined, wherein each layer of grid corresponds to a different grid type, each layer of grid includes a plurality of grids with the same size, and each grid corresponds to a different grid number;
[0007] Based on the target disaster-prone body parameters, determining the target disaster-prone body data corresponding to each layer of grid from the original disaster-prone body data;
[0008] Converting the geometric fields corresponding to each disaster-prone body in the target disaster-prone body data into geometric elements in a geographic information system, and determining the grid number corresponding to each disaster-prone body in each layer of grid based on the geometric elements;
[0009] Based on the grid number and the attribute of each disaster-prone body in the target disaster-prone body data, respectively perform area accumulation on the disaster-prone body of each attribute to determine the area distribution of the disaster-prone body of each attribute on each grid in each grid layer;
[0010] Based on the area distribution of the disaster-prone body of each attribute in each grid in each grid layer, the rasterization result corresponding to each grid layer is determined.
[0011] In a second aspect, an embodiment of the present invention further provides a device for rasterizing disaster-affected volume data, comprising:
[0012] A target parameter determination module is used to determine the target hazard-bearing body parameters corresponding to each grid layer based on the original hazard-bearing body data and the multi-layer grid, wherein each grid layer corresponds to a different grid type, each grid layer includes a plurality of grids of the same size, and each grid corresponds to a different grid number;
[0013] A target data determination module, configured to determine target disaster-prone body data corresponding to each grid layer from the original disaster-prone body data based on the target disaster-prone body parameters;
[0014] A grid number determination module, used for converting the geometric fields corresponding to each disaster-prone body in the target disaster-prone body data into geometric elements in a geographic information system, and determining the grid number corresponding to each disaster-prone body in each layer of grid based on the geometric elements;
[0015] An area distribution determination module is used to perform area accumulation on the disaster-prone bodies of each attribute based on the grid number and the attribute of each disaster-prone body in the target disaster-prone body data, and determine the area distribution of the disaster-prone body of each attribute in each grid in each grid layer;
[0016] The rasterization result determination module is used to determine the rasterization result corresponding to each grid layer based on the area distribution of the disaster-prone body of each attribute in each grid in each grid layer.
[0017] In a third aspect, an embodiment of the present invention further provides an electronic device, the electronic device comprising: at least one processor; and
[0018] a memory communicatively connected to the at least one processor; wherein,
[0019] The memory stores a computer program executable by the at least one processor. The computer program is executed by the at least one processor so that the at least one processor can execute the method for rasterizing disaster-affected volume data provided by any embodiment of the present invention.
[0020] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to execute the disaster-prone volume data rasterization method provided by any embodiment of the present invention.
[0021] The technical solution of the embodiment of the present invention determines the target disaster-prone body parameters corresponding to each grid layer based on the original disaster-prone body data and the multi-layer grid, wherein each grid layer corresponds to a different grid type, and each grid layer includes a plurality of grids of the same size, and each grid corresponds to a different grid number. Based on the target disaster-prone body parameters, the target disaster-prone body data corresponding to each grid layer is determined from the original disaster-prone body data, so that the accuracy of the target disaster-prone body data can be ensured. The geometric fields corresponding to each disaster-prone body in the target disaster-prone body data are converted into geometric elements in the geographic information system, so that spatial analysis and query can be conveniently performed, and the grid number corresponding to each disaster-prone body in each grid layer is determined based on the geometric elements, so that which disaster-prone bodies are located in a specific risk area can be quickly determined. Based on the grid number and the attributes of each disaster-prone body in the target disaster-prone body data, the area accumulation of the disaster-prone body of each attribute is performed respectively, and the area distribution of the disaster-prone body of each attribute on each grid in each grid layer is determined, which helps to achieve a more refined risk assessment. Based on the area distribution of the hazard-prone body of each attribute in each grid in each grid layer, the rasterization result corresponding to each grid layer is determined, so as to realize automatic rasterization of the hazard-prone body data and improve the efficiency of rasterization. It can effectively transform the complex hazard-prone body data into rasterized data that is easy to analyze and understand, and provide strong support for urban planning and disaster risk assessment.
[0022] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. 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 creative work.
[0024] Figure 1 is a flow chart of a method for rasterizing disaster-affected volume data provided according to Embodiment 1 of the present invention;
[0025] Figure 2 is a flow chart of a method for rasterizing disaster-affected volume data provided in accordance with Embodiment 2 of the present invention;
[0026] Figure 3 is a schematic structural diagram of a device for rasterizing disaster-affected volume data provided according to a third embodiment of the present invention;
[0027] Figure 4It is a schematic diagram of the structure of an electronic device for implementing the method for rasterizing disaster-affected volume data according to an embodiment of the present invention. DETAILED DESCRIPTION
[0028] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. 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 creative work should fall within the scope of protection of the present invention.
[0029] It should be noted that the terms "target", "current", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0030] Embodiment 1
[0031] Figure 1 A flowchart of a method for rasterizing disaster-affected volume data is provided for the first embodiment of the present invention. This embodiment is applicable to the case where disaster-affected volume data is rasterized. Figure 1 As shown, the method can be performed by a disaster-affected volume data rasterization device, which can be implemented in the form of hardware and / or software, and can be configured in an electronic device. Figure 1 As shown, the method specifically comprises the following steps:
[0032] S110, based on the original disaster-prone body data and the multi-layer grids, determining target disaster-prone body parameters corresponding to each layer of grids, wherein each layer of grids corresponds to a different grid type, each layer of grids includes a plurality of grids of the same size, and each grid corresponds to a different grid number.
[0033] The original hazard-prone body data may refer to the CSV (Comma Separated Values) file corresponding to the target hazard-prone body, which is a file in plain text format for storing tabular data, which is used to describe the basic characteristics and attributes of the hazard-prone body. A grid may refer to a series of regular grids that divide spatial data according to certain rules or formats, each grid unit is represented as a specific data type (such as numbers, text, images, etc.), and a corresponding attribute value is assigned to each unit to represent the entity. The target hazard-prone body parameter may refer to the index parameter of the CSV file configured in the task interface, which is a spatial table and field created according to the CSV file name and header information, and is used for multi-threaded reading of CSV file content. Grid type may refer to different types of grid structures divided according to requirements and characteristics in a specific application or field. These grid types usually have different characteristics and applicable scenarios. Grid number may refer to a unique number or identifier for each grid, which is used to distinguish and identify different grid units.
[0034] Specifically, based on the original disaster-prone body data and multi-layer grids, the index parameters of the CSV file corresponding to each layer of grids are configured in the software task interface, and the index parameters corresponding to each layer of grids are determined as the target disaster-prone body parameters corresponding to each layer of grids, which helps to quickly locate the original disaster-prone body data corresponding to the target disaster-prone body parameters.
[0035] S120 , based on the target disaster-prone body parameters, determine the target disaster-prone body data corresponding to each layer of grid from the original disaster-prone body data.
[0036] The target disaster-prone body data may refer to a data set that is extracted and screened from the original disaster-prone body data based on configured index parameters, is directly related to each layer of grids and is used for further analysis.
[0037] Specifically, based on the target hazard-prone body parameters, the original hazard-prone body data corresponding to the target hazard-prone body parameters of each grid layer are read from the original hazard-prone body data, and the original hazard-prone body data corresponding to the target hazard-prone body parameters of each grid layer are determined as the target hazard-prone body data corresponding to each grid layer, thereby ensuring the consistency and accuracy of the hazard-prone body data and reducing data redundancy.
[0038] S130, converting the geometric fields corresponding to each disaster-prone body in the target disaster-prone body data into geometric elements in a geographic information system, and determining the grid number corresponding to each disaster-prone body in each grid layer based on the geometric elements.
[0039] Among them, the disaster-prone body can refer to the human social entity that is directly affected and damaged by the disaster. For example, the disaster-prone body can refer to a house building. The geometric field can refer to the field used to describe the shape, size and position of the spatial object. The Geographic Information System (GIS) can refer to a specific and very important spatial information system that contains various basic and advanced functions for processing spatial or geographic information. The geometric element can refer to the basic graphic unit used to represent the shape, size and position of the geographic spatial object. The geometric element is the basis for the geographic information system to perform data management and spatial analysis.
[0040] Specifically, the GIS is used to read the geometric fields corresponding to each hazard-prone body in the target hazard-prone body data, and the geometric fields corresponding to each hazard-prone body in the target hazard-prone body data are converted into geometric elements in the GIS. Spatial queries are performed based on geometric elements to determine the grid number corresponding to each hazard-prone body in each grid layer, so as to facilitate the determination of which hazard-prone bodies are located in specific risk areas.
[0041] Exemplarily, S130 may include: determining, based on the target disaster-prone body data, the geometric fields corresponding to each disaster-prone body in the target disaster-prone body data; determining, based on the geometric fields corresponding to each disaster-prone body in the target disaster-prone body data, the geometric elements in the geographic information system of the geometric fields corresponding to each disaster-prone body in the target disaster-prone body data; determining, based on the geometric elements, the coordinates of the center point of each disaster-prone body; and determining, based on the coordinates of the center point, the grid number corresponding to each disaster-prone body in each layer of the grid.
[0042] The center point coordinates may refer to the position coordinates of the center point of the geometric shape of the disaster-prone body.
[0043] Specifically, based on the target disaster-prone body data, the geometric fields corresponding to each disaster-prone body in the target disaster-prone body data are determined. Based on the geographic information system, the geometric fields corresponding to each disaster-prone body in the target disaster-prone body data are read, and the geometric fields corresponding to each disaster-prone body in the target disaster-prone body data are parsed into corresponding geometric elements. Based on the geometric elements, the coordinates of the center point of each disaster-prone body can be determined by calculating the average coordinates of the vertices or feature points of the corresponding geometric elements (such as polygons, lines or point sets) of the disaster-prone body. The geometric elements of the disaster-prone body are spatially connected with each layer of grids, and based on the coordinates of the center point, the grid number corresponding to each disaster-prone body in each layer of grids is obtained.
[0044] Exemplarily, based on the coordinates of the center point, the grid number corresponding to each disaster-prone body in each grid layer is determined, including: performing a spatial query on the target grid based on the coordinates of the center point to determine the grid position of the center point; querying the grid number based on the grid position to determine the grid number corresponding to each disaster-prone body in each grid layer.
[0045] Specifically, the geometric elements of the disaster-prone body are spatially connected with the grid layer, and the target grid is spatially queried based on the center point coordinates to determine the grid position of the center point and the grid information at the grid position, where the grid information may refer to a series of data and attributes corresponding to each layer of the divided grid, which describe the specific characteristics of each grid in the grid. Based on the grid position, the grid number is extracted from the corresponding grid information to determine the grid number corresponding to each disaster-prone body in each layer of the grid.
[0046] S140, based on the grid number and the attribute of each disaster-prone body in the target disaster-prone body data, respectively perform area accumulation on the disaster-prone bodies of each attribute to determine the area distribution of the disaster-prone bodies of each attribute on each grid in each grid layer.
[0047] Among them, the attributes of the disaster-prone body can refer to the basic attributes, vulnerability assessment attributes, functional attributes, value attributes, current state attributes and possible state set attributes of the disaster-prone body. Basic attributes can refer to the basic characteristics and states of the disaster-prone body, such as location, size, type, etc. Vulnerability assessment attributes can refer to the vulnerability or risk level of the disaster-prone body when it is affected by a disaster, which helps to assess the possibility and severity of its damage. Functional attributes can refer to the function or role of the disaster-prone body in normal operation, such as the traffic capacity of a bridge or the use function of a building. Value attributes can refer to the economic, social or cultural value of the disaster-prone body, which helps to assess losses and formulate recovery strategies after a disaster occurs. Current state attributes can refer to the specific state of the disaster-prone body at a certain moment, such as whether it is damaged, the degree of damage, etc. Possible state set attributes can refer to the predicted or simulated states that the disaster-prone body may reach under different disaster scenarios, which can provide a basis for emergency management and disaster prevention.
[0048] Specifically, based on the grid number and the attributes of each disaster-prone body in the target disaster-prone body data, the building area of each disaster-prone body in the grid corresponding to the grid number and the total building area of the disaster-prone bodies in the grid are determined. Each disaster-prone body is classified according to the attributes, and the total area of the disaster-prone bodies of each attribute is determined. Based on the total building area of the disaster-prone bodies in the grid and the total area of the disaster-prone bodies of each attribute, the proportion of the total area of the disaster-prone bodies of each attribute to the total building area of the disaster-prone bodies in the grid is determined, and the proportion of the total area of the disaster-prone bodies of each attribute to the total building area of the disaster-prone bodies in the grid is determined as the area distribution of the disaster-prone bodies of each attribute on each grid in each layer of the grid, so that the disaster risks faced by different regions can be assessed more accurately, which is helpful to identify high-risk areas and formulate targeted disaster prevention and mitigation measures.
[0049] Exemplarily, S140 may include: classifying each hazard-prone body based on the grid number and the attributes of each hazard-prone body, and determining at least one hazard-prone body type corresponding to each grid; determining the area of each hazard-prone body based on the target hazard-prone body data; accumulating the areas of the hazard-prone bodies in the hazard-prone body type based on the hazard-prone body type and the area of each hazard-prone body, and determining the total area of each hazard-prone body type corresponding to each grid; and determining the area distribution of hazard-prone bodies of each attribute in each grid corresponding to each layer of the grid based on the total area of each hazard-prone body type corresponding to the grid.
[0050] Specifically, based on the grid number and the attributes of each hazard-prone body, each hazard-prone body in the grid corresponding to the grid number is classified to determine at least one hazard-prone body type corresponding to the grid. Based on the building area data in the target hazard-prone body data, the building area of each hazard-prone body is determined. Based on the hazard-prone body type and the area of each hazard-prone body, the areas of each hazard-prone body in each hazard-prone body type are accumulated to determine the total area of each hazard-prone body type corresponding to the grid. Based on the total building area of the hazard-prone bodies in the grid and the total area of each hazard-prone body type, the proportion of the total area of each hazard-prone body type to the total building area of the hazard-prone bodies in the grid is determined, and the proportion of the total area of hazard-prone bodies of each attribute to the total building area of hazard-prone bodies in the grid is determined as the area distribution of hazard-prone bodies of each attribute on each grid in each layer of the grid, so that the disaster risks faced by different regions can be assessed more accurately, which helps to identify high-risk areas and formulate targeted disaster prevention and mitigation measures.
[0051] For example, the disaster-bearing body may refer to a house, and the total area of the houses in the grid is calculated according to the area of each house. According to the properties of the houses, the houses in the grid can be divided into residential houses, office houses, commercial houses, houses built in 1980 and before, houses built in 1981-1990, houses built in 1991-2000, houses built in 2000-2010, houses built in 2011-2015, houses built in 2016 and later, 1-story houses, 2-3-story houses, 4-6-story houses, 7-10-story houses , 11-16-storey houses, 17-30-storey houses, houses with 30 floors and above, houses with original fortification intensity of no fortification, houses with original fortification intensity of 6, houses with original fortification intensity of 7, houses with original fortification intensity of 8, houses with original fortification intensity of 9, houses with current fortification intensity of no fortification, houses with current fortification intensity of 6, houses with current fortification intensity of 7, houses with current fortification intensity of 8, houses with current fortification intensity of 9, houses with seismic isolation, renovated houses, reinforced houses, etc. Determine the proportion of the total area of each type of house to the total area of houses in the grid, and determine the area distribution of each type of house on the grid.
[0052] S150, determining a rasterization result corresponding to each grid layer based on the area distribution of the disaster-prone body of each attribute in each grid layer.
[0053] The rasterization result may refer to representing and storing the area distribution information of the hazard-prone objects with different attributes in each grid in each grid layer in the form of raster data. Each raster unit represents a specific geographical area or grid, and the raster data records the attribute information of the hazard-prone objects in the area, such as area distribution.
[0054] Specifically, the area distribution of the hazard-prone body with each attribute in each grid in each grid layer refers to representing and storing the area distribution information of the hazard-prone body with different attributes in each grid in each grid layer in the form of raster data to obtain the rasterization results corresponding to each grid layer. Through rasterization, complex geographic information and hazard-prone body attribute data can be simplified into discrete, easy-to-process raster units. This makes data analysis and visualization more intuitive and convenient, helping decision makers to quickly understand the distribution of hazard-prone bodies in different regions, thereby formulating more scientific and effective disaster management and response strategies.
[0055] The technical solution of the embodiment of the present invention determines the target disaster-prone body parameters corresponding to each grid layer based on the original disaster-prone body data and the multi-layer grid, wherein each grid layer corresponds to a different grid type, and each grid layer includes a plurality of grids of the same size, and each grid corresponds to a different grid number. Based on the target disaster-prone body parameters, the target disaster-prone body data corresponding to each grid layer is determined from the original disaster-prone body data, so that the accuracy of the target disaster-prone body data can be ensured. The geometric fields corresponding to each disaster-prone body in the target disaster-prone body data are converted into geometric elements in the geographic information system, so that spatial analysis and query can be conveniently performed, and the grid number corresponding to each disaster-prone body in each grid layer is determined based on the geometric elements, so that which disaster-prone bodies are located in a specific risk area can be quickly determined. Based on the grid number and the attributes of each disaster-prone body in the target disaster-prone body data, the area accumulation of the disaster-prone body of each attribute is performed respectively, and the area distribution of the disaster-prone body of each attribute on each grid in each grid layer is determined, which helps to achieve a more refined risk assessment. Based on the area distribution of the hazard-prone body of each attribute in each grid in each grid layer, the rasterization result corresponding to each grid layer is determined, so as to realize automatic rasterization of the hazard-prone body data and improve the efficiency of rasterization. It can effectively transform the complex hazard-prone body data into rasterized data that is easy to analyze and understand, and provide strong support for urban planning and disaster risk assessment.
[0056] Embodiment 2
[0057] Figure 2This is a flow chart of a method for rasterizing disaster-affected body data provided in Embodiment 2 of the present invention. Based on the above embodiments, this embodiment adds a new step after the step of "determining the rasterization result corresponding to each grid layer based on the area distribution of the disaster-affected body of each attribute in each grid layer in each grid layer". The explanations of the terms that are the same or corresponding to the above embodiments are not repeated here.
[0058] See also Figure 2 Another method for rasterizing disaster-affected volume data provided in this embodiment specifically includes the following steps:
[0059] S201. Based on the original disaster-prone body data and the multi-layer grids, determine the target disaster-prone body parameters corresponding to each layer of grids.
[0060] S202: Based on the target disaster-prone body parameters, determine the target disaster-prone body data corresponding to each layer of grid from the original disaster-prone body data.
[0061] S203: converting the geometric fields corresponding to each disaster-prone body in the target disaster-prone body data into geometric elements in the geographic information system, and determining the grid number corresponding to each disaster-prone body in each grid layer based on the geometric elements.
[0062] S204, based on the grid number and the attribute of each disaster-prone body in the target disaster-prone body data, respectively accumulate the areas of the disaster-prone bodies with each attribute, and determine the area distribution of the disaster-prone bodies with each attribute on each grid in each grid layer.
[0063] S205 , determining a rasterization result corresponding to each grid layer based on the area distribution of the disaster-prone body of each attribute in each grid layer.
[0064] S206: Determine the reinforcement priority corresponding to the first type of disaster-prone body set based on the rasterization result, the preset first type of disaster-prone body set and the target classification method.
[0065] The preset first-category disaster-prone body set may refer to a set of disaster-prone bodies whose pre-set disaster-prone body type is urban non-residential disaster-prone bodies. The target classification method may refer to a pre-set classification method based on the vulnerability, exposure, recovery capacity or other relevant indicators of the disaster-prone body. The reinforcement priority may refer to the order and importance of reinforcement work on the disaster-prone body.
[0066] Specifically, based on the rasterization results, the area distribution, density and other relevant attribute information of the preset first-category hazard-prone objects in each grid unit are determined. Based on the target classification method, the hazard-prone objects in the preset first-category hazard-prone object set are further analyzed and classified. For example, we can sort the hazard-prone objects from high to low according to vulnerability, or classify them according to the comprehensive assessment results of exposure and recovery capacity. Combining the rasterization results and the output results of the target classification method, the reinforcement priority of the preset first-category hazard-prone object set in each grid unit is determined. By clarifying the reinforcement priority, disaster management departments can more accurately identify which hazard-prone objects are at the highest risk when facing specific disasters, so as to formulate targeted risk reduction strategies.
[0067] Exemplarily, S206 may include: determining the number of first target disaster-prone bodies, second target disaster-prone bodies, third target disaster-prone bodies and fourth target disaster-prone bodies in the first category of disaster-prone bodies based on the rasterization results, a preset first category of disaster-prone bodies set and a target classification method; determining the reinforcement priority corresponding to the first category of disaster-prone bodies set based on the number of first target disaster-prone bodies, second target disaster-prone bodies, third target disaster-prone bodies, fourth target disaster-prone bodies, the first influence coefficient, the second influence coefficient, the third influence coefficient and the fourth influence coefficient corresponding to the preset first category of disaster-prone bodies set.
[0068] Among them, the first target disaster-bearing body may refer to a disaster-bearing body of a housing construction project whose center point coordinates are located in a key earthquake monitoring and defense zone and for which no earthquake-resistant fortification measures have been taken or whose earthquake-resistant fortification measures have not met the earthquake-resistant fortification requirements. The second target disaster-bearing body may refer to a disaster-bearing body whose current fortification intensity is greater than the original fortification intensity. The third target disaster-bearing body may refer to a disaster-bearing body whose current fortification intensity is greater than 5 degrees. The fourth target disaster-bearing body may refer to a disaster-bearing body whose disaster-bearing body type belongs to medical education. The first influence coefficient may refer to a value used to quantify the influence of the first target disaster-bearing body on the priority of reinforcement of the first type of disaster-bearing body set. For example, the first influence coefficient may be 3. The second influence coefficient may refer to a value used to quantify the influence of the second target disaster-bearing body on the priority of reinforcement of the first type of disaster-bearing body set. For example, the second influence coefficient may be 2. The third influence coefficient may refer to a value used to quantify the influence of the third target disaster-bearing body on the priority of reinforcement of the first type of disaster-bearing body set. For example, the third influence coefficient may be 2. The fourth influence coefficient may refer to a value used to quantify the influence of the fourth target disaster-bearing body on the priority of reinforcement of the first type of disaster-bearing body set. For example, the fourth influence coefficient may be 3.
[0069] Specifically, based on the rasterization result, the area distribution, density and other relevant attribute information of the first type of disaster-prone body in each grid unit are determined. According to the area distribution, density and other relevant attribute information of the first type of disaster-prone body in each grid unit and the target classification method, the preset first type of disaster-prone body set is classified to determine the number of first target disaster-prone bodies, the number of second target disaster-prone bodies, the number of third target disaster-prone bodies and the number of fourth target disaster-prone bodies in the first type of disaster-prone body set. Based on the number of first target disaster-prone bodies, the number of second target disaster-prone bodies, the number of third target disaster-prone bodies, the number of fourth target disaster-prone bodies, the first influence coefficient, the second influence coefficient, the third influence coefficient and the fourth influence coefficient corresponding to the preset first type of disaster-prone body set, the number of first target disaster-prone bodies is multiplied by the first influence coefficient, the number of second target disaster-prone bodies is multiplied by the second influence coefficient, the number of third target disaster-prone bodies is multiplied by the third influence coefficient, and the number of fourth target disaster-prone bodies is multiplied by the fourth influence coefficient, and the obtained multiplication results are added to obtain the first result. The first influence coefficient, the second influence coefficient, the third influence coefficient and the fourth influence coefficient are added together, and the sum is multiplied by the total number of disaster-prone bodies in the preset first-category disaster-prone body set to obtain a second result. The first result is divided by the second result, and the division result is determined as the reinforcement priority corresponding to the first-category disaster-prone body set.
[0070] Exemplarily, based on the rasterization results, a preset first-category set of disaster-prone objects and a target classification method, the number of first target disaster-prone objects, the number of second target disaster-prone objects, the number of third target disaster-prone objects and the fourth target disaster-prone objects in the first-category set of disaster-prone objects are determined, including: the number of disaster-prone objects in the first-category set of disaster-prone objects that meet at least one of the following conditions: being located in a key earthquake monitoring and defense area and not taking earthquake-resistant fortification measures, or having earthquake-resistant fortification measures that do not meet earthquake-resistant fortification requirements, is determined as the first target number of disaster-prone objects; the number of disaster-prone objects in the first-category set of disaster-prone objects whose current fortification intensity is greater than the original fortification intensity is determined as the second target number of disaster-prone objects; the number of disaster-prone objects in the first-category set of disaster-prone objects whose current fortification intensity is greater than the preset fortification intensity is determined as the third target number of disaster-prone objects; and the number of disaster-prone objects in the first-category set of disaster-prone objects whose attributes are medical and educational is determined as the fourth target number of disaster-prone objects.
[0071] Specifically, according to the rasterization results, the disaster-prone bodies in the first category of disaster-prone bodies that meet at least one of the following conditions: being located in a key earthquake monitoring and defense area and not taking earthquake-resistant fortification measures, and the earthquake-resistant fortification measures not meeting the earthquake-resistant fortification requirements are determined, and the number of disaster-prone bodies in the first category of disaster-prone bodies that meet at least one of the following conditions: being located in a key earthquake monitoring and defense area and not taking earthquake-resistant fortification measures, and the earthquake-resistant fortification measures not meeting the earthquake-resistant fortification requirements are determined as the first target number of disaster-prone bodies. According to the rasterization results, the number of disaster-prone bodies in the first category of disaster-prone bodies whose current fortification intensity is greater than the original fortification intensity is determined as the second target number of disaster-prone bodies, and the number of disaster-prone bodies in the first category of disaster-prone bodies whose current fortification intensity is greater than the original fortification intensity is determined as the second target number of disaster-prone bodies. According to the rasterization results, the disaster-prone bodies in the first category of disaster-prone bodies whose current fortification intensity is greater than the preset fortification intensity are determined, and the number of disaster-prone bodies in the first category of disaster-prone bodies whose current fortification intensity is greater than the preset fortification intensity is determined as the third target number of disaster-prone bodies. According to the rasterization result, the disaster-prone bodies with the attribute of medical education in the first type of disaster-prone body set are determined, and the number of disaster-prone bodies with the attribute of medical education in the first type of disaster-prone body set is determined as the fourth target number of disaster-prone bodies.
[0072] S207: Determine the reinforcement priority corresponding to the second type of disaster-prone body set based on the rasterization result, the preset second type of disaster-prone body set and the target classification method.
[0073] The preset second type of disaster-prone body set may refer to a set of disaster-prone bodies whose pre-set disaster-prone body types are urban residential and urban non-residential.
[0074] Specifically, based on the rasterization result, the area distribution, density and other relevant attribute information of the preset second-type disaster-prone body in each grid unit are determined. Based on the target classification method and the attribute information corresponding to the second-type disaster-prone body, the disaster-prone bodies in the second-type disaster-prone body set are divided into the first target disaster-prone body, the second target disaster-prone body, the third target disaster-prone body and the fourth target disaster-prone body, and the number of the first target disaster-prone body, the number of the second target disaster-prone body, the number of the third target disaster-prone body and the fourth target disaster-prone body in the second-type disaster-prone body set are determined, so as to further analyze and classify the disaster-prone bodies in the preset first-type disaster-prone body set. Based on the number of the first target disaster-prone body, the number of the second target disaster-prone body, the number of the third target disaster-prone body, the number of the fourth target disaster-prone body, the first influence coefficient, the second influence coefficient, the third influence coefficient and the fourth influence coefficient, the reinforcement priority of the preset second-type disaster-prone body set in each grid unit is determined using a preset priority calculation method (the same as the method for determining the reinforcement priority of the first-type disaster-prone body set). By clarifying reinforcement priorities, disaster management departments can more accurately identify which hazard-prone objects are at the highest risk when facing specific disasters, and thus formulate targeted risk reduction strategies.
[0075] S208: Determine the reinforcement priority corresponding to the third type of disaster-prone body set based on the rasterization result, the preset third type of disaster-prone body set and the target classification method.
[0076] The preset third type of disaster-prone body set may refer to a set of disaster-prone bodies whose pre-set disaster-prone body types are rural residential and rural non-residential.
[0077] Specifically, based on the rasterization result, the area distribution, density and other relevant attribute information of the preset third-type disaster-prone body in each grid unit are determined. Based on the target classification method and the attribute information corresponding to the third-type disaster-prone body, the disaster-prone body in the third-type disaster-prone body set is divided into the first target disaster-prone body, the second target disaster-prone body, the third target disaster-prone body and the fourth target disaster-prone body, and the number of the first target disaster-prone body, the second target disaster-prone body, the third target disaster-prone body and the fourth target disaster-prone body in the third-type disaster-prone body set are determined, so as to further analyze and classify the disaster-prone bodies in the preset third-type disaster-prone body set. Based on the number of the first target disaster-prone body, the number of the second target disaster-prone body, the number of the third target disaster-prone body, the number of the fourth target disaster-prone body, the first influence coefficient, the second influence coefficient, the third influence coefficient and the fourth influence coefficient, the reinforcement priority of the preset third-type disaster-prone body set in each grid unit is determined using a preset priority calculation method. By clarifying the reinforcement priority, the disaster management department can more accurately identify which disaster-prone bodies are at the highest risk when facing a specific disaster, so as to formulate risk reduction strategies in a targeted manner.
[0078] S209: Determine the reinforcement priority corresponding to the fourth type of disaster-prone body set based on the rasterization result, the preset fourth type of disaster-prone body set and the target classification method.
[0079] The preset fourth type of disaster-prone body set may refer to a set of disaster-prone bodies whose pre-set disaster-prone body types are urban residential, urban non-residential, rural residential and rural non-residential.
[0080] Specifically, based on the rasterization result, the area distribution, density and other relevant attribute information of the preset fourth-type disaster-prone body in each grid unit are determined. Based on the target classification method and the attribute information corresponding to the fourth-type disaster-prone body, the disaster-prone body in the fourth-type disaster-prone body set is divided into the first target disaster-prone body, the second target disaster-prone body, the third target disaster-prone body and the fourth target disaster-prone body, and the number of the first target disaster-prone body, the second target disaster-prone body, the third target disaster-prone body and the fourth target disaster-prone body in the fourth-type disaster-prone body set are determined, so as to further analyze and classify the disaster-prone bodies in the preset fourth-type disaster-prone body set. Based on the number of the first target disaster-prone body, the number of the second target disaster-prone body, the number of the third target disaster-prone body, the number of the fourth target disaster-prone body, the first influence coefficient, the second influence coefficient, the third influence coefficient and the fourth influence coefficient, the reinforcement priority of the preset fourth-type disaster-prone body set in each grid unit is determined using a preset priority calculation method. By clarifying the reinforcement priority, the disaster management department can more accurately identify which disaster-prone bodies are at the highest risk when facing a specific disaster, so as to formulate risk reduction strategies in a targeted manner.
[0081] S210. Update the attributes of each disaster-prone body corresponding to each grid layer based on the reinforcement priorities corresponding to the first type of disaster-prone body set, the reinforcement priorities corresponding to the second type of disaster-prone body set, the reinforcement priorities corresponding to the third type of disaster-prone body set, and the reinforcement priorities corresponding to the fourth type of disaster-prone body set.
[0082] Specifically, based on the reinforcement priorities corresponding to the first type of disaster-prone body set, the reinforcement priorities corresponding to the second type of disaster-prone body set, the reinforcement priorities corresponding to the third type of disaster-prone body set and the reinforcement priorities corresponding to the fourth type of disaster-prone body set, the reinforcement priorities of the disaster-prone bodies with different attributes in each grid in each grid layer are taken as an attribute of the disaster-prone body and represented in the form of raster data. The raster data corresponding to the reinforcement priority are stored in the raster data corresponding to the disaster-prone body attributes, and the attributes of each disaster-prone body corresponding to each grid layer are updated, so that the reinforcement priorities in the updated disaster-prone body attributes can provide more comprehensive and accurate information support for decision makers.
[0083] The technical solution of the embodiment of the present invention determines the reinforcement priority corresponding to the first type of hazard-bearing body set based on the rasterization result, the preset first type of hazard-bearing body set and the target classification method; determines the reinforcement priority corresponding to the second type of hazard-bearing body set based on the rasterization result, the preset second type of hazard-bearing body set and the target classification method; determines the reinforcement priority corresponding to the third type of hazard-bearing body set based on the rasterization result, the preset third type of hazard-bearing body set and the target classification method; determines the reinforcement priority corresponding to the fourth type of hazard-bearing body set based on the rasterization result, the preset fourth type of hazard-bearing body set and the target classification method. Based on the reinforcement priority corresponding to the first type of hazard-bearing body set, the reinforcement priority corresponding to the second type of hazard-bearing body set, the reinforcement priority corresponding to the third type of hazard-bearing body set and the reinforcement priority corresponding to the fourth type of hazard-bearing body set, the attributes of each hazard-bearing body corresponding to each layer of grid are updated, so that a dynamic and continuously updated risk management database can be formed. By prioritizing different types of hazard-bearing bodies, it is possible to more quickly and accurately identify which hazard-bearing bodies need to be reinforced first, thereby optimizing resource allocation and improving decision-making efficiency.
[0084] Embodiment 3
[0085] Figure 3 This is a schematic diagram of the structure of a disaster-affected volume data rasterization device provided in Embodiment 3 of the present invention. Figure 3 As shown, the device includes: a target parameter determination module 310, a target data determination module 320, a grid number determination module 330, an area distribution determination module 340 and a rasterization result determination module 350.
[0086] The target parameter determination module 310 is used to determine the target hazard-bearing body parameters corresponding to each grid layer based on the original hazard-bearing body data and the multi-layer grids, wherein each grid layer corresponds to a different grid type, each grid layer includes a plurality of grids of the same size, and each grid corresponds to a different grid number;
[0087] A target data determination module 320 is used to determine the target disaster-prone body data corresponding to each grid layer from the original disaster-prone body data based on the target disaster-prone body parameters;
[0088] A grid number determination module 330 is used to convert the geometric field corresponding to each disaster-prone body in the target disaster-prone body data into a geometric element in a geographic information system, and determine the grid number corresponding to each disaster-prone body in each layer of grid based on the geometric element;
[0089] An area distribution determination module 340 is used to perform area accumulation on the disaster-prone bodies of each attribute based on the grid number and the attribute of each disaster-prone body in the target disaster-prone body data, and determine the area distribution of the disaster-prone body of each attribute in each grid in each grid layer;
[0090] The rasterization result determination module 350 is used to determine the rasterization result corresponding to each grid layer based on the area distribution of the disaster-prone body of each attribute in each grid in each grid layer.
[0091] The technical solution of this embodiment determines the target disaster-prone body parameters corresponding to each grid layer based on the original disaster-prone body data and the multi-layer grid, wherein each grid layer corresponds to a different grid type, and each grid layer includes a plurality of grids of the same size, and each grid corresponds to a different grid number. Based on the target disaster-prone body parameters, the target disaster-prone body data corresponding to each grid layer is determined from the original disaster-prone body data, so that the accuracy of the target disaster-prone body data can be ensured. The geometric fields corresponding to each disaster-prone body in the target disaster-prone body data are converted into geometric elements in the geographic information system, so that spatial analysis and query can be conveniently performed, and the grid number corresponding to each disaster-prone body in each grid layer is determined based on the geometric elements, so that which disaster-prone bodies are located in a specific risk area can be quickly determined. Based on the grid number and the attributes of each disaster-prone body in the target disaster-prone body data, the area accumulation of the disaster-prone body of each attribute is performed respectively, and the area distribution of the disaster-prone body of each attribute on each grid in each grid layer is determined, which helps to achieve a more refined risk assessment. Based on the area distribution of the hazard-prone body of each attribute in each grid in each grid layer, the rasterization result corresponding to each grid layer is determined, so as to realize automatic rasterization of the hazard-prone body data and improve the efficiency of rasterization. It can effectively transform the complex hazard-prone body data into rasterized data that is easy to analyze and understand, and provide strong support for urban planning and disaster risk assessment.
[0092] Optionally, the grid number determination module 330 includes:
[0093] A geometry field determination unit, configured to determine, based on the target disaster-prone body data, a geometry field corresponding to each disaster-prone body in the target disaster-prone body data;
[0094] A geometric element determination unit, configured to determine, based on the geometric field corresponding to each disaster-prone body in the target disaster-prone body data, the geometric element of the geometric field corresponding to each disaster-prone body in the target disaster-prone body data in the geographic information system;
[0095] A center point coordinate determination unit, used to determine the center point coordinates of each disaster-prone body based on the geometric elements;
[0096] The grid number determination unit is used to determine the grid number corresponding to each disaster-prone body in each layer of grid based on the coordinates of the center point.
[0097] Optionally, the grid number determination unit is specifically used to: perform spatial query on the target grid based on the center point coordinates to determine the grid position where the center point is located; query the grid number based on the grid position to determine the grid number corresponding to each disaster-prone body in each layer of the grid.
[0098] Optionally, the area distribution determination module 340 is specifically used to: classify each disaster-prone body based on the grid number and the attributes of each disaster-prone body, and determine at least one disaster-prone body type corresponding to each grid; determine the area of each disaster-prone body based on the target disaster-prone body data; based on the disaster-prone body type and the area of each disaster-prone body, add up the areas of the disaster-prone bodies in the disaster-prone body type, and determine the total area of each disaster-prone body type corresponding to each grid; based on the total area of each disaster-prone body type corresponding to the grid, determine the area distribution of the disaster-prone body of each attribute in each grid corresponding to each layer of the grid.
[0099] Optionally, the above device further includes:
[0100] Property update module, including:
[0101] A first priority determination unit, configured to determine a reinforcement priority corresponding to the first type of disaster-prone body set based on the rasterization result, a preset first type of disaster-prone body set and a target classification method;
[0102] A second priority determination unit, configured to determine the reinforcement priority corresponding to the second type of disaster-prone body set based on the rasterization result, a preset second type of disaster-prone body set and a target classification method;
[0103] A third priority determination unit, configured to determine the reinforcement priority corresponding to the third type of disaster-prone body set based on the rasterization result, a preset third type of disaster-prone body set and a target classification method;
[0104] A fourth priority determination unit, configured to determine the reinforcement priority corresponding to the fourth type of disaster-prone body set based on the rasterization result, a preset fourth type of disaster-prone body set and a target classification method;
[0105] An attribute updating unit is used to update the attribute of each disaster-prone body corresponding to each grid layer based on the reinforcement priority corresponding to the first type of disaster-prone body set, the reinforcement priority corresponding to the second type of disaster-prone body set, the reinforcement priority corresponding to the third type of disaster-prone body set, and the reinforcement priority corresponding to the fourth type of disaster-prone body set.
[0106] Optionally, the first priority determination unit includes:
[0107] A disaster-prone body quantity determination subunit is used to determine the first target disaster-prone body quantity, the second target disaster-prone body quantity, the third target disaster-prone body quantity and the fourth target disaster-prone body quantity in the first type of disaster-prone body set based on the rasterization result, the preset first type of disaster-prone body set and the target classification method;
[0108] The reinforcement priority determination subunit is used to determine the reinforcement priority corresponding to the first type of disaster-susceptible body set based on the first target disaster-susceptible body number, the second target disaster-susceptible body number, the third target disaster-susceptible body number, the fourth target disaster-susceptible body number, the first influence coefficient, the second influence coefficient, the third influence coefficient and the fourth influence coefficient corresponding to the preset first type of disaster-susceptible body set.
[0109] Optionally, the disaster-prone body number determination subunit is specifically used to: determine the number of disaster-prone bodies in the first category of disaster-prone body set that meet at least one of the conditions of being located in the earthquake key monitoring and defense area and not taking earthquake-resistant fortification measures and the earthquake-resistant fortification measures not meeting the earthquake-resistant fortification requirements as the first target number of disaster-prone bodies; determine the number of disaster-prone bodies in the first category of disaster-prone body set whose current fortification intensity is greater than the original fortification intensity as the second target number of disaster-prone bodies; determine the number of disaster-prone bodies in the first category of disaster-prone body set whose current fortification intensity is greater than the preset fortification intensity as the third target number of disaster-prone bodies; determine the number of disaster-prone bodies in the first category of disaster-prone body set whose attributes are medical and educational as the fourth target number of disaster-prone bodies.
[0110] The disaster-affected body data rasterization device provided in the embodiment of the present invention can execute the disaster-affected body data rasterization method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0111] Figure 4 A schematic diagram of an electronic device 12 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as desktop computers, workstations, servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.
[0112] like Figure 4 As shown, the electronic device 12 is in the form of a general purpose computing device. The components of the electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that connects various system components (including the system memory 28 and the processing unit 16).
[0113] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. By way of example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
[0114] The electronic device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device 12, including volatile and non-volatile media, removable and non-removable media.
[0115] The system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The electronic device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 4 not shown, usually called a "hard drive"). Although Figure 4 Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The system memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of various embodiments of the present invention.
[0116] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. Program modules 42 generally perform the functions and / or methods of the embodiments described herein.
[0117] The electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboards, pointing devices, displays 24, etc.), may communicate with one or more devices that enable a user to interact with the electronic device 12, and / or may communicate with any device that enables the electronic device 12 to communicate with one or more other computing devices (e.g., network cards, modems, etc.). This communication may be performed via an input / output (I / O) interface 22. In addition, the electronic device 12 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 via a bus 18. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
[0118] The processing unit 16 executes various functional applications and data processing by running the program stored in the system memory 28, for example, implementing a method for rasterizing disaster-affected volume data provided by an embodiment of the present invention, the method comprising:
[0119] Based on the original hazard-prone body data and the multi-layer grid, the target hazard-prone body parameters corresponding to each layer of grid are determined, wherein each layer of grid corresponds to a different grid type, each layer of grid includes a plurality of grids with the same size, and each grid corresponds to a different grid number;
[0120] Based on the target disaster-prone body parameters, determining the target disaster-prone body data corresponding to each layer of grid from the original disaster-prone body data;
[0121] Converting the geometric fields corresponding to each disaster-prone body in the target disaster-prone body data into geometric elements in a geographic information system, and determining the grid number corresponding to each disaster-prone body in each layer of grid based on the geometric elements;
[0122] Based on the grid number and the attribute of each disaster-prone body in the target disaster-prone body data, respectively perform area accumulation on the disaster-prone body of each attribute to determine the area distribution of the disaster-prone body of each attribute on each grid in each grid layer;
[0123] Based on the area distribution of the disaster-prone body of each attribute in each grid in each grid layer, the rasterization result corresponding to each grid layer is determined.
[0124] Of course, those skilled in the art can understand that the processor can also implement the technical solution of the disaster-affected body data rasterization method provided by any embodiment of the present invention.
[0125] This embodiment provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, the steps of the method for rasterizing disaster-affected volume data provided by any embodiment of the present invention are implemented. The method includes:
[0126] Based on the original hazard-prone body data and the multi-layer grid, the target hazard-prone body parameters corresponding to each layer of grid are determined, wherein each layer of grid corresponds to a different grid type, each layer of grid includes a plurality of grids with the same size, and each grid corresponds to a different grid number;
[0127] Based on the target disaster-prone body parameters, determining the target disaster-prone body data corresponding to each layer of grid from the original disaster-prone body data;
[0128] Converting the geometric fields corresponding to each disaster-prone body in the target disaster-prone body data into geometric elements in a geographic information system, and determining the grid number corresponding to each disaster-prone body in each layer of grid based on the geometric elements;
[0129] Based on the grid number and the attribute of each disaster-prone body in the target disaster-prone body data, respectively perform area accumulation on the disaster-prone body of each attribute to determine the area distribution of the disaster-prone body of each attribute on each grid in each grid layer;
[0130] Based on the area distribution of the disaster-prone body of each attribute in each grid in each grid layer, the rasterization result corresponding to each grid layer is determined.
[0131] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.
[0132] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0133] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0134] Computer program code for performing the operation of the present invention may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0135] It should be understood by those skilled in the art that the modules or steps of the present invention described above can be implemented by a general-purpose computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, optionally, they can be implemented by a program code executable by a computer device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0136] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A method for rasterizing disaster-affected volume data, characterized in that: The method comprises: Based on the original hazard-prone body data and the multi-layer grid, the target hazard-prone body parameters corresponding to each layer of grid are determined, wherein each layer of grid corresponds to a different grid type, each layer of grid includes a plurality of grids with the same size, and each grid corresponds to a different grid number; Based on the target disaster-prone body parameters, determining the target disaster-prone body data corresponding to each layer of grid from the original disaster-prone body data; Converting the geometric fields corresponding to each disaster-prone body in the target disaster-prone body data into geometric elements in a geographic information system, and determining the grid number corresponding to each disaster-prone body in each layer of grid based on the geometric elements; Based on the grid number and the attribute of each disaster-prone body in the target disaster-prone body data, respectively perform area accumulation on the disaster-prone body of each attribute to determine the area distribution of the disaster-prone body of each attribute on each grid in each grid layer; Based on the area distribution of the disaster-prone body of each attribute in each grid in each grid layer, the rasterization result corresponding to each grid layer is determined; The step of converting the geometric fields corresponding to each disaster-prone body in the target disaster-prone body data into geometric elements in a geographic information system, and determining the grid number corresponding to each disaster-prone body in each grid layer based on the geometric elements, comprises: Based on the target disaster-prone body data, determining a geometric field corresponding to each disaster-prone body in the target disaster-prone body data; Based on the geometric fields corresponding to each disaster-prone body in the target disaster-prone body data, determining the geometric elements of the geometric fields corresponding to each disaster-prone body in the target disaster-prone body data in the geographic information system; Based on the geometric elements, determine the coordinates of the center point of each disaster-prone body; Based on the coordinates of the center point, the grid number corresponding to each disaster-prone body in each layer of the grid is determined.
2. The method according to claim 1, characterized in that The step of determining the grid number corresponding to each disaster-prone body in each layer of grid based on the coordinates of the center point includes: Perform spatial query on the target grid based on the coordinates of the center point to determine the grid position where the center point is located; The grid number is queried based on the grid position to determine the grid number corresponding to each disaster-prone body in each layer of the grid.
3. The method according to claim 1, characterized in that The method of performing area accumulation on the disaster-prone bodies of each attribute based on the grid number and the attribute of each disaster-prone body in the target disaster-prone body data, and determining the area distribution of the disaster-prone bodies of each attribute in each grid corresponding to each grid layer, comprises: Based on the grid number and the attribute of each hazard-prone object, classify each hazard-prone object to determine at least one hazard-prone object type corresponding to each grid; Based on the target disaster-prone body data, determine the area of each disaster-prone body; Based on the disaster-prone body type and the area of each disaster-prone body, the areas of the disaster-prone bodies in the disaster-prone body type are accumulated to determine the total area of each disaster-prone body type corresponding to each grid; Based on the total area of each disaster-prone body type corresponding to the grid, the area distribution of the disaster-prone body of each attribute in each grid corresponding to each grid layer is determined.
4. The method according to claim 1, characterized in that After determining the rasterization results corresponding to each layer of grid, it also includes: Determining a reinforcement priority corresponding to the first type of disaster-prone body set based on the rasterization result, a preset first type of disaster-prone body set and a target classification method; Determining the reinforcement priority corresponding to the second type of disaster-prone body set based on the rasterization result, the preset second type of disaster-prone body set and the target classification method; Determine the reinforcement priority corresponding to the third type of disaster-prone body set based on the rasterization result, the preset third type of disaster-prone body set and the target classification method; Determine the reinforcement priority corresponding to the fourth type of disaster-prone body set based on the rasterization result, the preset fourth type of disaster-prone body set and the target classification method; Based on the reinforcement priorities corresponding to the first type of disaster-prone body set, the reinforcement priorities corresponding to the second type of disaster-prone body set, the reinforcement priorities corresponding to the third type of disaster-prone body set, and the reinforcement priorities corresponding to the fourth type of disaster-prone body set, the attributes of each disaster-prone body corresponding to each grid layer are updated.
5. The method according to claim 4, characterized in that Determining the reinforcement priority corresponding to the first type of disaster-prone body set based on the rasterization result, the preset first type of disaster-prone body set and the target classification method, including: Determine the number of first target hazard-prone objects, the number of second target hazard-prone objects, the number of third target hazard-prone objects, and the number of fourth target hazard-prone objects in the first target hazard-prone object set based on the rasterization result, the preset first type hazard-prone object set, and the target classification method; Based on the first target disaster-susceptible body quantity, the second target disaster-susceptible body quantity, the third target disaster-susceptible body quantity, the fourth target disaster-susceptible body quantity, the first influence coefficient, the second influence coefficient, the third influence coefficient and the fourth influence coefficient corresponding to the preset first type of disaster-susceptible body set, the reinforcement priority corresponding to the first type of disaster-susceptible body set is determined.
6. The method according to claim 5, characterized in that The determining, based on the rasterization result, the preset first type of disaster-prone body set and the target classification method, the number of first target disaster-prone bodies, the number of second target disaster-prone bodies, the number of third target disaster-prone bodies and the number of fourth target disaster-prone bodies in the first type of disaster-prone body set comprises: The number of disaster-prone bodies in the first type of disaster-prone body set that meets at least one of the following conditions: being located in a key earthquake monitoring and defense area and not taking earthquake-resistant fortification measures, or having earthquake-resistant fortification measures that do not meet earthquake-resistant fortification requirements, is determined as the first target number of disaster-prone bodies; The number of disaster-bearing bodies whose current fortification intensity is greater than the original fortification intensity in the first type of disaster-bearing body set is determined as the second target number of disaster-bearing bodies; The number of disaster-prone bodies whose current fortification intensity is greater than the preset fortification intensity in the first type of disaster-prone body set is determined as the third target number of disaster-prone bodies; The number of disaster-prone objects with the attribute of medical care and education in the first type of disaster-prone object set is determined as the fourth target number of disaster-prone objects.
7. A device for rasterizing disaster-affected volume data, characterized in that: include: A target parameter determination module is used to determine the target hazard-bearing body parameters corresponding to each grid layer based on the original hazard-bearing body data and the multi-layer grid, wherein each grid layer corresponds to a different grid type, each grid layer includes a plurality of grids of the same size, and each grid corresponds to a different grid number; A target data determination module, configured to determine target disaster-prone body data corresponding to each grid layer from the original disaster-prone body data based on the target disaster-prone body parameters; A grid number determination module, used for converting the geometric fields corresponding to each disaster-prone body in the target disaster-prone body data into geometric elements in a geographic information system, and determining the grid number corresponding to each disaster-prone body in each layer of grid based on the geometric elements; An area distribution determination module is used to perform area accumulation on the disaster-prone bodies of each attribute based on the grid number and the attribute of each disaster-prone body in the target disaster-prone body data, and determine the area distribution of the disaster-prone body of each attribute in each grid in each grid layer; A rasterization result determination module is used to determine the rasterization result corresponding to each grid layer based on the area distribution of the disaster-prone body of each attribute in each grid layer; The grid number determination module comprises: A geometry field determination unit, configured to determine, based on the target disaster-prone body data, a geometry field corresponding to each disaster-prone body in the target disaster-prone body data; A geometric element determination unit, configured to determine, based on the geometric field corresponding to each disaster-prone body in the target disaster-prone body data, the geometric element of the geometric field corresponding to each disaster-prone body in the target disaster-prone body data in the geographic information system; A center point coordinate determination unit, used to determine the center point coordinates of each disaster-prone body based on the geometric elements; The grid number determination unit is used to determine the grid number corresponding to each disaster-prone body in each layer of grid based on the coordinates of the center point.
8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor. The computer program is executed by the at least one processor so that the at least one processor can perform the method for rasterizing disaster-affected volume data according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for rasterizing disaster-affected volume data according to any one of claims 1 to 6 when executed.
