Method, medium and equipment for analyzing landslide impact based on landslide boundary vector diagram

By obtaining and processing the vector diagram information of landslide boundary and disaster area in GeoJSON format, automatically marking the landslide disaster area and identifying the outline of the disaster-bearing body, the problems of low efficiency and insufficient accuracy of landslide impact assessment are solved, and efficient and accurate landslide impact assessment and implementation of emergency prevention and control strategies are achieved.

CN120279427BActive Publication Date: 2025-08-12中国地质环境监测院(自然资源部地质灾害技术指导中心)
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510764082.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-10
Publication Date
2025-08-12
Estimated Expiration
2045-06-10

AI Technical Summary

Technical Problem

In the prior art, the landslide impact assessment analysis efficiency is low and the accuracy is affected by human factors, so it is difficult to quickly and accurately evaluate the impact range of disaster-bearing bodies such as buildings and roads, which affects the effective implementation of landslide emergency prevention and control strategies.

Method used

By obtaining vector image information of landslide boundaries and disaster areas based on GeoJSON format, the map engine is used to automatically mark the boundaries of landslide disaster areas, and the outline of the disaster-bearing body is identified and mapped through image processing technology to generate disaster-bearing body vector image information based on GeoJSON format, realizing automated and accurate landslide impact assessment.

Benefits of technology

The landslide impact assessment has been automated and standardized, the accuracy of assessment and analysis has been improved, and the effective implementation of landslide emergency prevention and control strategies has been ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120279427B_ABST
    Figure CN120279427B_ABST
Patent Text Reader

Abstract

Disclosed are a method, medium, and device for analyzing landslide impacts based on a landslide boundary vector map. The method includes: obtaining vector map information of the landslide boundary in GeoJSON format; obtaining vector map information of the landslide hazard area boundary in GeoJSON format based on the vector map information of the landslide boundary; intercepting a map page loaded by a map engine based on the vector map information of the landslide hazard area boundary to obtain image blocks of the landslide hazard area, thereby intercepting and obtaining panoramic area image blocks; performing image processing on the landslide hazard area image blocks to obtain the contours of each hazard-bearing body; and mapping the hazard-bearing body contours into the panoramic area image blocks to obtain vector map information of the hazard-bearing body contours in GeoJSON format. The present disclosure is beneficial for improving the degree of automation in landslide impact assessment and analysis, making the assessment and analysis more planned, and improving the accuracy of the assessment and analysis, thereby ensuring the effective implementation of landslide emergency prevention and control strategies.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to landslide disaster prevention and control technology, and in particular to a method for analyzing landslide impact based on a landslide boundary vector diagram, a device for analyzing landslide impact based on a landslide boundary vector diagram, a storage medium, and an electronic device. Background Art

[0002] Landslides are a natural disaster. Predicting landslides and assessing their impacts are crucial issues in geological disaster prevention and control. Landslide impact assessments typically include evaluating and analyzing buildings, roads, and other facilities within the affected area.

[0003] The current method for assessing and analyzing the impact of landslides is usually to use remote sensing technology to obtain high-resolution remote sensing images. Then, the landslide boundary and the landslide hazard area formed by the landslide boundary are marked in the remote sensing image through manual annotation. In addition, the hazard-bearing objects (such as roads and buildings) in the landslide hazard area can also be marked through manual annotation. The marked remote sensing images are then displayed to relevant personnel to achieve assessment and analysis of the landslide impact.

[0004] Manual labeling is not only inefficient and has accuracy that is affected by human factors, but it is also very difficult to label large areas of complex terrain. How to quickly and accurately evaluate and analyze disaster-prone objects such as buildings and roads within the landslide impact area to ensure the effective implementation of landslide emergency prevention and control strategies is a technical issue worthy of attention. Summary of the Invention

[0005] In order to solve the above technical problems, the present disclosure is proposed. Embodiments of the present disclosure provide a method, apparatus, storage medium, and electronic device for analyzing landslide impact based on a landslide boundary vector diagram.

[0006] According to one aspect of an embodiment of the present disclosure, a method for analyzing landslide impact based on a landslide boundary vector diagram is provided, comprising: obtaining vector diagram information of a landslide boundary in GeoJSON format; determining the shape of a landslide disaster area boundary based on the vector diagram information of the landslide boundary, and obtaining vector diagram information of the shape in GeoJSON format, thereby obtaining vector diagram information of a landslide disaster area boundary based on GeoJSON format; based on the vector diagram information of the landslide disaster area boundary, intercepting the shape of the landslide disaster area boundary on a map page containing the location of the landslide loaded by a map engine to obtain a landslide disaster area image block; intercepting a panoramic area image block containing the landslide disaster area boundary from the map page; wherein the area of the panoramic area image block is the area of the landslide at least twice the area of the disaster area image block; performing image processing on the landslide disaster area image block to obtain the contours of each disaster-affected body in the landslide disaster area image block; mapping the contours of each disaster-affected body to the panoramic area image block; obtaining vector graphics information of each disaster-affected body contour in the panoramic area image block based on the GeoJSON format according to the pixel resolution of the panoramic area image block and the geographical location range covered by the panoramic area image block, thereby obtaining vector graphics information of each disaster-affected body contour based on the GeoJSON format; wherein the vector graphics information of the landslide boundary based on the GeoJSON format, the vector graphics information of the landslide disaster area boundary based on the GeoJSON format, and the vector graphics information of each disaster-affected body contour based on the GeoJSON format are used to analyze the impact of the landslide.

[0007] According to another aspect of an embodiment of the present disclosure, a device for analyzing landslide impacts based on a landslide boundary vector map is provided, the device comprising: a first acquisition module for acquiring vector map information of the landslide boundary in GeoJSON format; a second acquisition module for determining a landslide hazard area boundary based on the vector map information of the landslide boundary acquired by the first acquisition module, and acquiring vector map information of the landslide hazard area boundary in GeoJSON format; a first interception module for intercepting the shape of the landslide hazard area boundary on a map page containing the location of the landslide loaded by a map engine based on the vector map information of the landslide hazard area boundary acquired by the second acquisition module, thereby obtaining a landslide hazard area image block; a second interception module for intercepting a panoramic area image block containing the landslide hazard area boundary from the map page; wherein the area of the panoramic area image block is at least twice the area of the landslide hazard area image block; An image processing module is used to perform image processing on the landslide disaster area image block obtained by the first interception module to obtain the contours of each disaster-affected body in the landslide disaster area image block; a mapping module is used to map the contours of each disaster-affected body obtained by the image processing module to the panoramic area image block obtained by the second interception module; a third acquisition module is used to obtain the vector map information based on the GeoJSON format of the contours of each disaster-affected body mapped to the panoramic area image block by the mapping module according to the pixel resolution of the panoramic area image block and the geographical location range covered by the panoramic area image block, thereby obtaining the vector map information of the contours of each disaster-affected body based on the GeoJSON format; wherein the vector map information of the landslide boundary based on the GeoJSON format, the vector map information of the landslide disaster area boundary based on the GeoJSON format, and the vector map information of the contours of each disaster-affected body based on the GeoJSON format are used to analyze the impact of the landslide.

[0008] According to another aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, wherein the storage medium stores a computer program, and the computer program is used to implement the above method.

[0009] According to another aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: a processor; a memory for storing instructions executable by the processor; the processor for reading the executable instructions from the memory and executing the instructions to implement the above method.

[0010] Based on the method, device, medium and electronic device for analyzing landslide impact based on landslide boundary vector diagram provided by the above embodiment of the present disclosure, by obtaining vector diagram information of landslide boundary based on GeoJSON format, it is possible to obtain vector diagram information of landslide disaster area boundary based on GeoJSON format without manual annotation by virtue of the correlation between landslide boundary and landslide disaster area in shape, so that the landslide disaster area boundary can be conveniently set on the map page loaded by the map engine by using tools, making it possible to automatically intercept landslide disaster area image blocks from the map page loaded by the map engine; by performing image processing on the intercepted landslide disaster area image blocks (such as using an image processing model based on a neural network to implement image processing), it is possible to obtain landslide disaster area image blocks without manual annotation. Under the condition of identification and labeling, the contours of each disaster-prone body in the landslide disaster area map are obtained. Since the contours of each disaster-prone body can be mapped in the panoramic area image block, and the pixel coordinate information of the contours of each disaster-prone body in the panoramic area image block is correlated with the geographical location range covered by the panoramic area image block and its pixel resolution, the vector diagram information of the contours of each disaster-prone body based on the GeoJSON format can be obtained by calculation; thus, the present disclosure can utilize the vector diagram information based on the GeoJSON format to enable the landslide boundary, the contours of the disaster-prone body and the surrounding environment of the landslide disaster area to be displayed conveniently and intuitively at any time, avoiding the problems of low efficiency caused by manual processing of different landslides one by one, the influence of human factors on the labeling accuracy, and differences in operating specifications. It can be seen from this that the technical solution provided by the present disclosure, by combining GIS (Geographic Information System) technology with image processing technology and map engine technology, is not only conducive to the realization of batch automatic processing of landslide impact assessment and analysis, but also conducive to standardizing landslide impact assessment and analysis, thereby helping to improve the degree of automation of landslide impact assessment and analysis while improving the accuracy of assessment and analysis, and thus helping to ensure the effective implementation of landslide emergency prevention and control strategies.

[0011] The technical solution of the present disclosure is further described in detail below through the accompanying drawings and examples. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] The above and other purposes, features, and advantages of the present disclosure will become more apparent through a more detailed description of the embodiments of the present disclosure in conjunction with the accompanying drawings. The accompanying drawings are intended to provide a further understanding of the embodiments of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the present disclosure and do not constitute a limitation of the present disclosure. In the drawings, the same reference numerals generally represent the same components or steps.

[0013] Figure 1It is a flow chart of an embodiment of a method for analyzing landslide impact based on landslide boundary vector diagram disclosed in the present invention;

[0014] Figure 2 A schematic diagram of an embodiment of a landslide boundary with an open curved shape according to the present disclosure;

[0015] Figure 3 is a schematic diagram of an embodiment of a process of forming a first rectangle disclosed herein;

[0016] Figure 4 Based on the present disclosure Figure 3 A schematic diagram of an embodiment of a landslide hazard area boundary formed;

[0017] Figure 5 is a schematic diagram of an embodiment of a process of forming a second rectangle disclosed herein;

[0018] Figure 6 Based on the present disclosure Figure 5 A schematic diagram of an embodiment of a landslide hazard area boundary formed;

[0019] Figure 7 Schematic diagram of the structure of an embodiment of a device for analyzing landslide impact based on a landslide boundary vector diagram disclosed herein;

[0020] Figure 8 is a structural diagram of an electronic device provided by an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0021] The exemplary embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all the embodiments of the present disclosure, and it should be understood that the present disclosure is not limited to the exemplary embodiments described herein.

[0022] It should be noted that the relative arrangement of components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.

[0023] Those skilled in the art will understand that the terms "first" and "second" in the embodiments of the present disclosure are only used to distinguish different steps, devices or modules, and do not represent any specific technical meanings, nor do they indicate a necessary logical order between them.

[0024] It should also be understood that in the embodiments of the present disclosure, “a plurality of” may refer to two or more than two, and “at least one” may refer to one, two, or more than two.

[0025] It should also be understood that any component, data or structure mentioned in the embodiments of the present disclosure can generally be understood as one or more, unless explicitly limited or otherwise indicated in the context.

[0026] In addition, the term "and / or" in this disclosure merely describes an association between related objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A exists alone, A and B exist simultaneously, and B exists alone. Furthermore, the character " / " in this disclosure generally indicates that the related objects are in an "or" relationship.

[0027] It should also be understood that the description of the various embodiments in this disclosure focuses on the differences between the various embodiments, and the same or similar aspects thereof can be referenced with each other. For the sake of brevity, they will not be described one by one.

[0028] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.

[0029] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.

[0030] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered part of the specification.

[0031] It should be noted that like reference numerals and letters refer to like items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0032] Embodiments of the present disclosure may be applied to electronic devices such as terminal devices, computer systems, and servers, and may operate in conjunction with numerous other general-purpose or specialized computing system environments or configurations. Examples of well-known terminal devices, computing systems, environments, and / or configurations suitable for use with electronic devices such as terminal devices, computer systems, or servers include, but are not limited to, personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network personal computers, minicomputer systems, mainframe computer systems, and distributed cloud computing technology environments including any of the above systems.

[0033] Electronic devices such as terminal devices, computer systems, and servers can be described in the general context of computer system-executable instructions (such as program modules) executed by a computer system. Generally, program modules can include routines, programs, object programs, components, logic, data structures, and the like that perform specific tasks or implement specific abstract data types. Computer systems / servers can be implemented in a distributed cloud computing environment. In a distributed cloud computing environment, tasks can be performed by remote processing devices linked via a communications network. In a distributed cloud computing environment, program modules can be located on local or remote computing system storage media, including storage devices.

[0034] Exemplary Methods

[0035] Figure 1 FIG. 1 is a flow chart of an embodiment of the method for analyzing landslide impact based on landslide boundary vector diagram disclosed in the present invention. Figure 1 The method shown mainly includes: S100, S101, S102, S103, S104, S105 and S106. Each step is described below.

[0036] S100. Obtain vector map information of the landslide boundary based on the GeoJSON format.

[0037] The GeoJSON (Geographic JavaScript Object Notation) format disclosed herein is a format for encoding various geographic data structures. GeoJSON supports the following geometric types: point, line, surface, multipoint, multiline, multisurface, and geometric collections.

[0038] The landslide boundary in this disclosure refers to the boundary line between the landslide body and the surrounding immovable body on the plane. The landslide boundary can clearly indicate the scope of the landslide. In a landslide area composed of multiple landslides, the landslide boundary can sometimes be used as the boundary between different landslides (i.e., the boundary between different sliding blocks). The landslide boundary is usually represented by a line. In one example, the landslide boundary is usually a curve with an opening, and the curve is usually a curve with a regular shape. For example, the landslide boundary can be as follows: Figure 2 The opening curve is shown.

[0039] The vector map information of the landslide boundary in the present disclosure includes: the geographical location coordinate information of each point on the landslide boundary, where the geographical location coordinate information refers to the coordinate information based on the geographical coordinate system (such as the coordinate system with the earth's axis as the y-axis), and the geographical location coordinate information can usually be represented by longitude and latitude information.

[0040] In one example, the present disclosure can obtain vector map information of a landslide boundary in GeoJSON format through file format conversion, that is, obtain geographic location coordinate information of a landslide boundary in GeoJSON format. For example, a binary file based on a geospatial vector data format is known, and the file stores vector map information of a landslide boundary in binary form. This file can be considered a vector map file of the landslide boundary. The present disclosure can convert the binary vector map information into vector map information of a landslide boundary in GeoJSON format through file format conversion. For example, the binary file can be a file in SHP (Shapefile) format, etc., that is, the present disclosure can convert the vector map information of a landslide boundary in SHP format into vector map information of a landslide boundary in GeoJSON format. The present disclosure can use existing conversion tools and combine them with corresponding libraries to achieve conversion between vector map information in SHP format and vector map information in GeoJSON format. The present disclosure does not limit the specific implementation method of the format conversion.

[0041] By converting the binary vector map information of the landslide boundary into the vector map information of the landslide boundary based on the GeoJSON format, it is not only beneficial to make the vector map information of the landslide boundary lightweight and easy to read, but also beneficial to automatically mark the landslide boundary on the map page loaded by the map engine, so that the landslide boundary and the landslide disaster area are automatically marked on the map page, and it becomes possible to cut out the image block of the landslide disaster area from the map page.

[0042] S101. Determine the boundary of a landslide hazard area based on the vector map information of the landslide boundary, and obtain the vector map information of the boundary of the landslide hazard area based on the GeoJSON format.

[0043] The landslide disaster area in the present disclosure may refer to the scope involved in the landslide disaster when the landslide disaster occurs. For example, the landslide disaster area may specifically be: an area with a high probability of being affected by the landslide disaster when the landslide disaster occurs.

[0044] In one example, when the shape of the landslide boundary is a curve with an opening, the landslide hazard area is usually formed by the area contained in the curve and the area corresponding to the opening of the curve, wherein the area contained in the curve may refer to the area formed after connecting the two end points of the curve opening with a straight line, and the area corresponding to the opening of the curve usually has no intersection with the area contained in the curve, and is usually connected to the area contained in the curve.

[0045] In one example, the area corresponding to the curve opening is usually an area with a regular shape, such as a rectangular area, that is, the landslide hazard area can be specifically: an area composed of a curve and a rectangle, and the two end points of the curve opening are usually located on the same side of the rectangle. The boundary of the landslide hazard area is the contour line of the area formed by the combination of the curve and the rectangle.

[0046] Since a landslide boundary in the form of an open curve usually has a certain correlation with the area corresponding to the curve opening, for example, this correlation may include: the correlation between the two in shape and relative position, and the vector diagram information of the landslide boundary (such as longitude and latitude information) can clearly indicate the shape of the landslide boundary (such as a curve with an opening, etc.), the present disclosure can utilize the correlation between the two to determine the shape of the area corresponding to the curve opening and the positional relationship between the shape and the curve based on the shape of the landslide boundary, thereby obtaining the shape of the landslide disaster area, and further determining the vector diagram information of the landslide disaster area boundary (such as longitude and latitude information, etc.) based on the vector diagram information of the landslide boundary. The following two examples are used to illustrate this with reference to the accompanying drawings:

[0047] The present disclosure discloses an example of determining the boundary of a landslide hazard area based on vector map information of the landslide boundary, including the following steps:

[0048] First, using the vector diagram information of the landslide boundary, the distance from the midpoint of the line connecting the two end points of the curve (ie, the contour line of the landslide) presented by the vector diagram information to the curve is determined.

[0049] Specifically, the vector diagram information of the landslide boundary in the present disclosure can depict a curve with an opening, so that the present disclosure can obtain the positions of the two endpoints of the opening of the curve, and use the positions of the two endpoints to calculate the position of the midpoint of the line connecting the two endpoints. A perpendicular line is drawn through the midpoint to connect the two endpoints to obtain the intersection of the perpendicular line and the curve. The present disclosure can use the length of the line between the intersection and the midpoint as the distance from the midpoint of the line to the curve.

[0050] Secondly, a rectangle is formed by connecting the two endpoints of the curve and the distance from the midpoint of the connecting line to the curve.

[0051] Specifically, the present disclosure can use the line connecting the two endpoints of the curved opening to determine the location of the length of the rectangle, and use the distance from the midpoint of the line connecting the two endpoints of the curved opening to the curve to determine the length of the width of the rectangle, thereby forming a rectangle. The two endpoints of the curved opening should be on one side of the rectangle, and the two vertices on one side of the rectangle are both located on the extension line of the line connecting the two endpoints of the curved opening. That is, the length of one side of the rectangle is greater than the length of the line connecting the two endpoints of the curved opening, and the line connecting the two endpoints of the curved opening is part of one side of the rectangle. The positions of the two vertices on the extension point can be set according to actual needs.

[0052] The process of forming the rectangle disclosed in the present invention can be implemented in a pixel coordinate system, and the pixel coordinate system can be considered as a coordinate system with the origin at the upper left corner of the image. Figure 3 Taking the above example as an example, the process of forming a rectangle in the above example of the present disclosure is described.

[0053] Figure 3 In [1], the uov-based coordinate system is a pixel coordinate system. Points c1 and c2 are the two endpoints of the curve opening, point a is the midpoint of the line connecting points c1 and c2, ab is the perpendicular line passing through the midpoint of the line, and point b is the point where the perpendicular line intersects the curve. The length of ab is h, which is taken as the width of the rectangle. The extended line of the line connecting points c1 and c2 intersects the v-axis (i.e., the vertical axis) and the u-axis (i.e., the horizontal axis) at points d1 and d2, respectively. Points d1 and d2 can be taken as the two vertices of the rectangle, i.e., the line connecting points d1 and d2 is taken as a side of the rectangle. The other two vertices of the rectangle, i.e., points d3 and d4, can be obtained through points d1, d2, and h. It should be noted that this example uses the intersection of the extended line of the line connecting points c1 and c2 with the v-axis and the u-axis as the two vertices of the rectangle. It is also feasible for the two vertices of the rectangle to be on the extended line and near the above two intersections. The present invention discloses an example of the shape of the landslide hazard area boundary formed by combining the landslide boundary and the above-mentioned rectangle, such as Figure 4 shown.

[0054] When the shape of the landslide boundary is a curve with an opening, the area corresponding to the opening of the curve will usually become the area affected by the landslide disaster due to factors such as gravity and scouring force, and the depth of the area affected by the landslide disaster will usually be related to the height of the curve. The width of the area affected by the landslide disaster will usually exceed the line connecting the two end points of the opening of the curve. Therefore, the present disclosure forms a rectangle by using the extension line of the line connecting the two end points of the curve opening and the distance from the midpoint of the line to the curve, and uses the shape formed by the curve and the rectangle as the boundary of the landslide disaster area, which can more accurately describe the landslide disaster area; in particular, the two vertices of the rectangle are set at the intersection of the extension line of the line connecting the two end points of the curve opening and the two coordinate axes, which can conveniently determine the position and size of the rectangle for landslide boundaries of various shapes, and is conducive to avoiding the phenomenon of setting the landslide disaster area too large or too small, thereby facilitating the standardized construction of the landslide disaster area boundary, and making the constructed landslide disaster area more consistent with the impact area generated by the landslide, thereby improving the accuracy of the construction of the landslide disaster area boundary.

[0055] Another example of determining the landslide hazard area boundary based on the vector map information of the landslide boundary in the present disclosure includes the following steps:

[0056] First, using the vector diagram information of the landslide boundary, the length or width of the circumscribed rectangle of the curve (ie, the contour line of the landslide) presented by the vector diagram information is determined.

[0057] Specifically, the vector diagram information of the landslide boundary in the present disclosure can depict a curve with an opening, and the curve can have multiple circumscribed rectangles. The present disclosure can use the length or width of any circumscribed rectangle as the width of the rectangle to be formed, or the length of the longest side in each circumscribed rectangle as the width of the rectangle to be formed, or the length of the maximum width in each circumscribed rectangle as the width of the rectangle to be formed. In one example, the present disclosure can use the difference between the minimum and maximum values of a point on the curve on the horizontal coordinate axis as the width of the rectangle to be formed, or the difference between the minimum and maximum values of a point on the curve on the vertical coordinate axis as the width of the rectangle to be formed.

[0058] Next, a rectangle is formed using the line connecting the two endpoints of the curved opening and the length or width of the circumscribed rectangle.

[0059] Specifically, the present disclosure can use the line connecting the two endpoints of the curved opening to determine the location of the length of the rectangle, and use the length or width of the circumscribed rectangle obtained above to determine the length of the width of the rectangle, so that a rectangle can be formed. The two endpoints of the curved opening should be on one side of the rectangle, and the two vertices on one side of the rectangle are both located on the extension line of the line connecting the two endpoints of the curved opening. That is, the length of one side of the rectangle is greater than the length of the line connecting the two endpoints of the curved opening, and the line connecting the two endpoints of the curved opening is part of one side of the rectangle. The positions of the two vertices on the extension point can be set according to actual needs.

[0060] The process of forming the rectangle disclosed in the present invention can be implemented in a pixel coordinate system, and the pixel coordinate system can be considered as a coordinate system with the origin at the upper left corner of the image. Figure 5 Taking the above example as an example, the process of forming a rectangle in the above example of the present disclosure is described.

[0061] Figure 5 In the figure, the coordinate system based on uov is a pixel coordinate system. Points c1 and c2 are the two endpoints of the curve opening, and points o, e1, e2, and e3 form a circumscribed rectangle of the curve, where point e1 is the point on the curve projected onto the v-axis with the maximum v value, and point e2 is the point on the curve projected onto the u-axis with the maximum u value. The coordinates of the four vertices of the circumscribed rectangle can be expressed as 0 (0, 0), e1 (0, v1), e2 (u1, 0), and e3 (u1, v1), respectively. The present disclosure can directly use v1 as the length of the width of the rectangle, or compare the sizes of v1 and u1, and use the larger value in the comparison result as the length of the width of the rectangle. In one example, assuming Figure 5 If v1 is greater than u1, v1 can be used as the length of the width of the rectangle. The extension line of the line connecting points c1 and c2 intersects the v-axis (i.e., the axis in the vertical direction) and the u-axis (i.e., the axis in the horizontal direction) at points d1 and d2 respectively. Points d1 and d2 can be used as two vertices of the rectangle, i.e., the line connecting points d1 and d2 is used as a side of the rectangle. The other two vertices of the rectangle, i.e., points d3 and d4, can be obtained through points d1, d2, and v1. It should also be noted that this example is explained using the intersection of the extension line of the line connecting points c1 and c2 with the v-axis and the u-axis as the two vertices of the rectangle. It is also feasible that the two vertices of the rectangle are on the extension line and near the above two intersections. The present disclosure provides an example of the shape of the landslide disaster area boundary formed by the combination of the landslide boundary and the above-mentioned rectangle, such as Figure 6 shown.

[0062] When the shape of the landslide boundary is a curve with an opening, the area corresponding to the opening of the curve will usually become the area affected by the landslide disaster due to factors such as gravity and scouring force, and the depth of the area affected by the landslide disaster will usually be related to the height of the curve, and the width of the area affected by the landslide disaster will usually exceed the line connecting the two end points of the opening of the curve. Therefore, the present disclosure forms a rectangle using the extension line of the line connecting the two end points of the curve opening and the length / width of the circumscribed rectangle of the curve, and uses the shape formed by the curve and the rectangle as the boundary of the landslide disaster area, which can more accurately describe the landslide disaster area; in particular, the two vertices of the rectangle are set at the intersection of the extension line of the line connecting the two end points of the curve opening and the two coordinate axes, which can conveniently determine the position and size of the rectangle for landslide boundaries of various shapes, and is conducive to avoiding the phenomenon of setting the landslide disaster area too large or too small, thereby facilitating the standardized construction of the landslide disaster area boundary, and making the constructed landslide disaster area more consistent with the impact area generated by the landslide, thereby improving the accuracy of the construction of the landslide disaster area boundary.

[0063] After determining the boundary of the landslide disaster area, the present disclosure can use the vector map information of the landslide boundary based on the GeoJSON format to obtain the vector map information of the landslide disaster area boundary based on the GeoJSON format. Specifically, for latitude: the latitude difference of two points with different latitudes on the landslide boundary can be calculated first, and the y difference in the pixel coordinates of the two points can be calculated based on the pixel coordinates of the two points in the pixel coordinate system, so that the latitude change represented by each pixel point can be calculated by using the latitude difference and the y difference. Furthermore, a point on the landslide boundary can be used as a reference point to calculate the y difference in the pixel coordinates of each point on the rectangle in the landslide disaster area (for example, the points on the line connecting points c1 and c2 may not be included) and the reference point, and the latitude of each point on the rectangle can be calculated by using the y difference and the latitude change obtained by the above calculation. For longitude: the longitude difference between two points with different longitudes on the landslide boundary can be calculated first, and the x difference in the pixel coordinates of the two points can be calculated based on the pixel coordinates of the two points in the pixel coordinate system. In this way, the longitude difference and the x difference can be used to calculate and obtain the longitude change represented by each pixel point. Furthermore, a point on the landslide boundary can be used as a reference point to calculate the x difference in the pixel coordinates of each point on the rectangle in the landslide hazard area (for example, the points on the line connecting points c1 and c2 may not be included) and the reference point. The longitude of each point on the rectangle can be calculated by using the x difference and the longitude change obtained by the above calculation.

[0064] Using the longitude and latitude of each point on the rectangle (e.g., excluding points on the line connecting points c1 and c2) obtained above, and the longitude and latitude of each point on the landslide boundary, vector diagram information for the landslide hazard area boundary can be generated. It should be noted that the above description only describes an example of obtaining vector diagram information for the landslide hazard area boundary. Other calculation methods can also be used to obtain vector diagram information for the landslide hazard area boundary, and this disclosure is not limited to this method.

[0065] S102 , based on the vector map information of the landslide disaster area boundary, on a map page loaded by a map engine and containing the location of the landslide, intercept the shape of the landslide disaster area boundary to obtain an image block of the landslide disaster area.

[0066] The map engine in this disclosure is a tool specifically used to process and manage geospatial data (such as geographic location coordinate information). For example, the map engine can be a browser V6-based engine, the Google Maps API (Google Maps Application Programming Interface), or OpenStreetMap (Open Street Map).

[0067] The map page loaded by the map engine of the present disclosure includes the area where the landslide is located, and the scale of the loaded map page can be pre-set. Since the latitude and longitude of each point on the map page loaded by the map engine are known, the present disclosure can mark each point on the map page based on the vector map information of the landslide disaster area obtained above (for example, all the points marked on the map page are represented by red points, etc.), so that multiple marked points can be quickly obtained. All the marked points can be used to draw the shape of the landslide disaster area boundary on the map page (for example, Figure 4 or Figure 6 The shape shown in the figure) is conducive to the fast and accurate execution of screenshot processing.

[0068] The present disclosure can utilize a corresponding screenshot tool to capture a map page according to all the marked points on the map page, thereby obtaining an image block shaped like the boundary of the landslide disaster area. This image block is the landslide disaster area image block. Since subsequent image processing typically requires processing rectangular images (e.g., with a resolution of 1000*1000), the background of the landslide disaster area image block in the present disclosure can be a solid color image with a corresponding resolution (e.g., 1000*1000). The present disclosure does not limit the specific implementation process of capturing the map page to obtain the landslide disaster area image block.

[0069] S103: intercepting a panoramic area image block including a landslide disaster area boundary from the map page.

[0070] The area of the panoramic region image block in the present disclosure is generally larger than the area of the landslide hazard region image block. For example, the area of the panoramic region image block is at least twice that of the landslide hazard region map.

[0071] In one example, the center point of the panoramic area image block coincides with the center point of the map page, and the center point of the map page may coincide with the midpoint of a line connecting two end points of a curved opening presented by the landslide boundary.

[0072] In one example, the size of the panoramic area image block in the present disclosure is related to the width of the rectangle in the boundary of the landslide disaster area. For example, the panoramic area image block can be a rectangle with equal length and width, and the side length of the panoramic area image block can be N times the width of the rectangle where the landslide is still in the area boundary, where N can be an integer greater than 2. Normally, the value of N can be 6, which is beneficial for providing a better panoramic area field of view for the landslide impact assessment and analysis party, avoiding the phenomenon that the surrounding environment of the landslide disaster area is not understood and is not conducive to the formulation of prevention and control strategies, and thus helping to improve the accuracy of landslide emergency prevention and control strategies based on the landslide impact assessment and analysis party.

[0073] In one example, the present disclosure can determine the shape of the panoramic area and its positional relationship with the boundary of the landslide disaster area in the pixel coordinate system, and then use the conversion relationship between longitude and latitude and pixel coordinates to calculate the longitude and latitude of each point on the shape of the panoramic area, and mark the longitude and latitude of each point on the shape of the panoramic area point by point on the map page loaded by the map engine, so as to obtain multiple marking points, and all the marking points can draw the shape of the panoramic area on the map page. The present disclosure can also use the corresponding screenshot tool to screenshot the map page according to all the marking points on the map page, so as to obtain the panoramic area image block. The present disclosure does not limit the specific implementation process of intercepting the map page to obtain the panoramic area image block.

[0074] S104: Perform image processing on the landslide disaster area image block to obtain the contours of each disaster-bearing body in the landslide disaster area image block.

[0075] The present disclosure can obtain image blocks of each disaster-prone object in the image block of the landslide disaster area by performing image recognition processing on the image block of the landslide disaster area (such as using an image recognition model based on a neural network to perform image recognition processing), and obtain the outline of each disaster-prone object (i.e., the border of each disaster-prone object) by further performing image segmentation processing on the image block of the disaster-prone object (such as using an image segmentation model based on a neural network to perform image segmentation processing).

[0076] The types of hazard-affected objects in this disclosure may include one or more types. For example, the types of hazard-affected objects may include buildings and roads, where road types may include highways, bridges, and tracks. When there are multiple types of hazard-affected objects, this disclosure performs image recognition processing on landslide hazard area image blocks based on the hazard-affected object type.

[0077] In one example, the present disclosure can set up an image recognition model for each type of hazard-prone object, that is, one image recognition model is used to identify one type of hazard-prone object. For example, if a landslide impact assessment analysis is required for two types of hazard-prone objects, namely, buildings and roads, the present disclosure can set up an image recognition model for buildings (i.e., an image recognition model successfully trained using building samples) and another image recognition model for roads (i.e., an image recognition model successfully trained using road samples). The landslide area image blocks obtained above are provided to each of the two image recognition models, and one or more hazard-prone object image blocks are obtained based on the information output by each of the two image recognition models. The present disclosure can adopt existing image recognition models, and the present disclosure does not limit the specific representation form of the image recognition model or the image recognition model training process.

[0078] In one example, the present disclosure sequentially provides all disaster-affected object image blocks to an image segmentation model, which then performs image segmentation processing on each disaster-affected object image block. Based on the output of the image segmentation model, the disaster-affected object contours in each disaster-affected object image block can be obtained. The present disclosure can utilize existing image segmentation models, and the specific representation of the image segmentation model is not limited by the present disclosure.

[0079] In one example, the image recognition and image segmentation processes of the present disclosure may be implemented using a single model, such as a Mask R-CNN (Mask Region-based Convolutional Neural Network) or a YOLO (You Only Look Once) model. This disclosure is not limited to this.

[0080] By using image recognition models and image segmentation models to obtain the contours of disaster-prone objects, not only can the contours of disaster-prone objects be obtained automatically and in batches, but it is also beneficial to improve the accuracy of the contours of disaster-prone objects; by using different image recognition models for different types of disaster-prone objects for image recognition, it is beneficial to improve the accuracy of the obtained disaster-prone object image blocks. In addition, as the accuracy of the model improves, the accuracy of the contours of the disaster-prone objects will also improve accordingly.

[0081] S105: Mapping the contours of each disaster-affected object into a panoramic area image block.

[0082] There is a position mapping relationship between the pixel points in the disaster-affected body image block and the pixel points in the panoramic area image block in the present disclosure. Therefore, the present disclosure can use this mapping relationship to map all points on the contour of each disaster-affected body to the panoramic area image block. For example, the disaster-affected body image block usually corresponds to an area in the panoramic area image block, and the resolution of this area is usually different from the resolution of the disaster-affected body image block. Therefore, based on the difference in resolution between the two, all points on the contour of each carrier in the disaster-affected body image block can be mapped point by point to the panoramic area image block. The present disclosure can use tools such as OpenCV (Open Source Computer Vision Library) to draw the contour of each disaster-affected body in the panoramic area image block. The present disclosure does not limit the specific implementation method of the drawing process.

[0083] S106. According to the pixel resolution of the panoramic area image block and the geographical location range covered by the panoramic area image block, obtain the vector map information of the contours of each disaster-prone object in the panoramic area image block based on the GeoJSON format, thereby obtaining the vector map information of the contours of each disaster-prone object based on the GeoJSON format.

[0084] In one example, the present disclosure can use the pixel resolution of a panoramic region image block and the geographic location range covered by the panoramic region image block to calculate the actual distance represented by each pixel in the horizontal and vertical directions, respectively. With respect to latitude, since the distance spanned by each degree of latitude on Earth is known, such as approximately 111,000 meters, the actual distance represented by a pixel in the vertical direction and the distance spanned by each degree of latitude can be used to calculate the change in latitude represented by a pixel. Since the longitude and latitude information of the center point (i.e., the center pixel) in the panoramic region image is known (e.g., available from a map page loaded by a map engine), for any point on the contour of a hazard-prone object, the difference between the pixel's y-coordinate at that point and the pixel's y-coordinate at the center point can be calculated, and the product of this difference and the change in latitude represented by the pixel can be calculated. If the center point is used as the reference point, the latitude of that point can be obtained by adding or subtracting this product from the center point's latitude information. With respect to longitude, since the distance spanned by each degree of longitude at a certain latitude on the earth is known, such as at a latitude of 30.51 degrees, the distance spanned by each degree of longitude is approximately 95,775 meters. Therefore, the present disclosure can calculate the longitude change represented by one pixel for a certain latitude (such as the latitude of a point on the landslide boundary) by using the actual distance represented by one pixel in the horizontal direction and the distance spanned by each degree of longitude. Since the longitude and latitude information of the central pixel point in the panoramic area map can be obtained from the map page loaded by the map engine, for any point on the contour of any disaster-prone body, the difference between the pixel x-coordinate of the point and the pixel x-coordinate of the center point can be calculated, and the product of the difference and the longitude change represented by the above-mentioned one pixel can be calculated. If the center point is used as the reference point, the longitude of the point can be obtained by adding / subtracting the above-mentioned product based on the longitude information of the center point. In addition, the present disclosure can also use the longitude and latitude of the center point to calculate the longitude and latitude of the origin of the pixel coordinate system of the panoramic area image block, so that the longitude and latitude of each point on the hazard-prone body contour can be calculated based on the longitude and latitude of the origin, taking the origin as the reference point.

[0085] For example, assume that the pixel resolution of the panoramic image block is 1000*1000, the pixel coordinates of the center point of the panoramic image block are (500, 500), and the longitude and latitude of the center point are (30.51 。 N, 100.81 。 E), and the geographical location range covered by the panoramic area image block is 500m*500m (meters). Under the above conditions, the actual distance represented by each pixel is 500m / 1000=0.5m; if the distance spanned by each degree of latitude is 111000 meters, the change per meter of latitude is 1 / 111000≈9*10 -6 meters, so the latitude change corresponding to each pixel is 0.5*9*10-6 =4.5*10 -6 If the distance covered by each degree of longitude is 95775m, then the change in longitude per meter is 1 / 95775≈1.04*10 -5 meters, so the longitude change corresponding to each pixel is 0.5*1.04*10 -5 = 5.2*10 -6 Meters; the latitude of the origin of the pixel coordinate system is: 30.51+500*4.5*10 -6 =30.51225 degrees, the longitude of the origin of the pixel coordinate system is: 100.81-500*5.2*10 -6 =100.8074 degrees; the latitude and longitude of any pixel point (x, y) on the contour of the disaster-prone body can be calculated as follows:

[0086] Latitude: 30.51225+(y-500)*4.5*10 -6

[0087] Longitude: 100.8074 + (x-500) * 5.2 * 10 -6

[0088] The above is only an example. Other calculation methods can also be used to obtain the longitude and latitude of each point on the contour of the disaster-prone body, and this disclosure is not limited to this.

[0089] After obtaining the longitude and latitude of each point on the contour of each hazard-bearing body, the present disclosure can obtain the vector diagram information of the contour of each hazard-bearing body based on the GeoJSON format. The present disclosure can store the vector diagram information of the landslide boundary based on the GeoJSON format, the vector diagram information of the landslide disaster area boundary based on the GeoJSON format, and the vector diagram information of the contour of each hazard-bearing body based on the GeoJSON format in one file. The vector diagram information in the file can be used in the landslide impact assessment and analysis process, such as loading a panoramic area image containing the location of the landslide through a map engine, and using tools such as OpenCV to draw the vector diagram information in the file into the panoramic area image, so that the landslide boundary, landslide disaster area, various hazard-bearing body contours in the landslide disaster area, and the surrounding environment of the landslide disaster area with high visualization characteristics can be displayed to the assessment and analysis personnel.

[0090] Exemplary devices

[0091] Figure 7 FIG. 1 is a schematic diagram of a structure of an embodiment of a device for analyzing landslide impact based on a landslide boundary vector diagram of the present disclosure. The device of this embodiment can be used to implement the corresponding method embodiment of the present disclosure. Figure 7The device shown includes: a first acquisition module 700, a second acquisition module 701, a first interception module 702, a second interception module 703, an image processing module 704, a mapping module 705, and a third acquisition module 706. Each module will be described below.

[0092] The first acquisition module 700 is primarily used to acquire vector map information of the landslide boundary in GeoJSON format. For example, the first acquisition module 700 may convert binary vector map information of the landslide boundary into GeoJSON format, where the binary vector map information of the landslide boundary includes: vector map information of the landslide boundary in shape file (SHP) format.

[0093] The second acquisition module 701 is primarily used to determine the landslide hazard zone boundary based on the vector map information of the landslide boundary obtained by the first acquisition module 700, and to obtain the vector map information of the landslide hazard zone boundary in GeoJSON format. If the landslide boundary is a curve with an opening, the second acquisition module 701 can determine the distance from the midpoint of the line connecting the two end points of the curve opening to the curve based on the vector map information of the landslide boundary. A rectangle is formed using the line connecting the two end points of the curve opening and the distance from the midpoint of the line connecting the two end points of the curve opening. The contour line formed by combining the curve and the rectangle is used as the landslide hazard zone boundary. Alternatively, the second acquisition module 701 can determine the length / width of the circumscribed rectangle of the curve based on the vector map information of the landslide boundary. A rectangle is formed using the line connecting the two end points of the curve opening and the length / width of the circumscribed rectangle. The contour line formed by combining the curve and the rectangle is used as the landslide hazard zone boundary. The landslide hazard zone boundary formed by the second acquisition module 701 is such that both end points of the curve opening are on the same side of the rectangle, and both vertices of one side of the rectangle are on the extension line of the line connecting the two end points of the curve opening. For example, the second acquisition module 701 may use the two intersection points where the extension line of the line connecting the two end points of the curve opening intersects with the horizontal axis and the vertical axis of the pixel coordinate system as the two vertices of a side of the rectangle.

[0094] The first interception module 702 is primarily configured to intercept the shape of the landslide hazard area boundary on a map page loaded by a map engine and containing the location of the landslide, based on the vector map information of the landslide hazard area boundary obtained by the second acquisition module 701, to obtain an image block of the landslide hazard area. For example, the first interception module 702 may mark the map page loaded by the map engine and containing the location of the landslide, based on the vector map information of the landslide hazard area boundary, thereby obtaining multiple marking points. The first interception module 702 may then perform a screenshot of the map page based on all the marking points to obtain an image block of the landslide hazard area.

[0095] The second interception module 703 is primarily used to intercept a panoramic region image block from the map page that includes the landslide disaster area boundary. The area of the panoramic region image block is at least twice the area of the landslide disaster area image block. For example, the second interception module 703 may intercept the map page with the midpoint of the line connecting the two endpoints of the curve opening as the center and a side length that is N times the width of the rectangle, thereby obtaining the panoramic region image block. The N times may include 6 times.

[0096] Image processing module 704 is primarily used to perform image processing on the landslide disaster area image blocks obtained by first interception module 702 to obtain the contours of each hazard-affected object in the landslide disaster area image blocks. Image processing module 704 can utilize image recognition models and image segmentation models to process the landslide disaster area image blocks. For example, image processing module 704 can provide the landslide disaster area image blocks to image recognition models corresponding to different categories of hazard-affected objects, and obtain image blocks of each hazard-affected object in the landslide disaster area map based on the outputs of each image recognition model. Image processing module 704 can also provide each hazard-affected object image block to an image segmentation model, and obtain the contours of each hazard-affected object based on the outputs of the image segmentation model.

[0097] The mapping module 705 is mainly used to map the contours of each disaster-affected object obtained by the image processing module 704 to the panoramic area image block obtained by the second interception module 703 .

[0098] The third acquisition module 706 is used to obtain the vector diagram information based on the GeoJSON format of the contours of each disaster-prone body in the panoramic area image block mapped to the panoramic area image block by the mapping module 705 according to the pixel resolution of the panoramic area image block and the geographical location range covered by the panoramic area image block, thereby obtaining the vector diagram information based on the GeoJSON format of the contours of each disaster-prone body.

[0099] The device of the present invention ultimately obtains vector map information of landslide boundaries in GeoJSON format, vector map information of landslide hazard area boundaries in GeoJSON format, and vector map information of the contours of each hazard-bearing body in GeoJSON format for analyzing landslide impacts.

[0100] Exemplary electronic devices

[0101] Reference below Figure 8 An electronic device according to an embodiment of the present disclosure is described. Figure 8 FIG. 1 shows a block diagram of an electronic device according to an embodiment of the present disclosure. Figure 8 As shown, the electronic device 81 includes one or more processors 811 and a memory 812 .

[0102] The processor 811 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 81 to perform desired functions.

[0103] Memory 812 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory. Non-volatile memory may include, for example, read-only memory (ROM), a hard disk, and flash memory. One or more computer program instructions may be stored on the computer-readable storage media, and processor 811 may execute these program instructions to implement the methods for analyzing landslide impacts based on a landslide boundary vector diagram according to various embodiments of the present disclosure described above, as well as / or other desired functions.

[0104] In one example, the electronic device 81 may further include an input device 813 and an output device 814, etc. These components are interconnected via a bus system and / or other forms of connection mechanisms (not shown). Furthermore, the input device 813 may include, for example, a keyboard, a mouse, etc. The output device 814 may output various information to the outside. The output device 814 may include, for example, a display, a speaker, a printer, a communication network, and remote output devices connected thereto.

[0105] Of course, to simplify, Figure 8 Only some of the components related to the present disclosure in the electronic device 81 are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, the electronic device 81 may further include any other appropriate components according to specific application scenarios.

[0106] Exemplary computer program products and computer-readable storage media

[0107] In addition to the above-mentioned methods and devices, an embodiment of the present disclosure may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps in the method of analyzing landslide impacts based on a landslide boundary vector diagram according to various embodiments of the present disclosure described in the above "Exemplary Method" section of this specification.

[0108] The computer program product may be written in any combination of one or more programming languages to implement the operations of the disclosed embodiments, including object-oriented programming languages such as Java, C++, and conventional procedural programming languages such as C or similar programming languages. The program code may be executed entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0109] In addition, an embodiment of the present disclosure may also be a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, causes the processor to execute the steps of the method for analyzing landslide impacts based on a landslide boundary vector diagram according to various embodiments of the present disclosure described in the above “Exemplary Method” section of this specification.

[0110] The computer-readable storage medium may be any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may include, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination thereof. More specific examples (non-exhaustive) of readable storage media may include: an electrical connection with one or more wires, a portable 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 thereof.

[0111] The basic principles of the present disclosure have been described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, and effects mentioned in this disclosure are merely illustrative and not restrictive, and it should not be assumed that these advantages, strengths, and effects are required of each embodiment of the present disclosure. In addition, the specific details disclosed above are merely illustrative and comprehensible, and are not restrictive. The above details do not limit the present disclosure to necessarily being implemented using the above specific details.

[0112] Each embodiment in this specification is described in a progressive manner, with each embodiment focusing on its differences from the other embodiments. References to the same or similar parts between the various embodiments are sufficient. For system embodiments, since they largely correspond to method embodiments, their description is relatively simple. For relevant parts, references to the description of the method embodiments are sufficient.

[0113] The block diagrams of the devices, devices, equipment, and systems involved in this disclosure are intended to be illustrative examples only and are not intended to require or imply that they must be connected, arranged, or configured in the manner shown in the block diagrams. As will be appreciated by those skilled in the art, these devices, devices, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including," "comprising," "having," and the like are open words that mean "including but not limited to," and can be used interchangeably therewith. The words "or" and "and" used herein mean the words "and / or," and can be used interchangeably therewith, unless the context clearly indicates otherwise. The word "such as" used herein means the phrase "such as but not limited to," and can be used interchangeably therewith.

[0114] The methods and apparatus of the present disclosure may be implemented in many ways. For example, the methods and apparatus of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above order of steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above unless otherwise specified. In addition, in some embodiments, the present disclosure may also be implemented as programs recorded in a recording medium, which include machine-readable instructions for implementing the methods according to the present disclosure. Thus, the present disclosure also covers recording media that store programs for executing the methods according to the present disclosure.

[0115] It should also be noted that in the apparatus, device, and method of the present disclosure, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present disclosure.

[0116] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the aspects shown herein, but rather to be accorded the widest scope consistent with the principles and novel features disclosed herein.

[0117] The above description has been provided for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present disclosure to the forms disclosed herein. Although a number of example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, alterations, additions, and sub-combinations thereof.

Claims

1. A method for analyzing landslide impact based on landslide boundary vector diagram, characterized in that: include: Get the vector map information of the landslide boundary based on GeoJSON format; Determine the landslide hazard area boundary according to the vector map information of the landslide boundary, and obtain the vector map information of the landslide hazard area boundary based on the GeoJSON format; According to the vector map information of the landslide disaster area boundary, on a map page loaded by a map engine and containing the location of the landslide, the shape of the landslide disaster area boundary is intercepted to obtain an image block of the landslide disaster area; intercepting a panoramic region image block including a boundary of the landslide disaster region from the map page; wherein the area of the panoramic region image block is at least twice the area of the landslide disaster region image block; performing image processing on the landslide disaster area image block to obtain the contours of each disaster-bearing body in the landslide disaster area image block; Mapping the outlines of each disaster-affected object into the panoramic area image block; Obtaining, based on the pixel resolution of the panoramic area image block and the geographical location range covered by the panoramic area image block, vector graphics information of the contours of each hazard-prone object in the panoramic area image block in GeoJSON format, thereby obtaining vector graphics information of the contours of each hazard-prone object in GeoJSON format; Among them, the vector map information of the landslide boundary based on the GeoJSON format, the vector map information of the landslide hazard area boundary based on the GeoJSON format, and the vector map information of the contours of each hazard-bearing body based on the GeoJSON format are used to analyze the impact of the landslide.

2. The method according to claim 1, characterized in that The acquisition of the landslide boundary vector map information based on the GeoJSON format includes: Convert the binary landslide boundary vector map information into the landslide boundary vector map information based on GeoJSON format; The binary-format vector map information of the landslide boundary includes: vector map information of the landslide boundary based on the shape file SHP format.

3. The method according to claim 1 or 2, characterized in that The shape of the landslide boundary includes: a curve with an opening; Determining the landslide disaster area boundary based on the vector map information of the landslide boundary includes: Determine the distance from the midpoint of the line connecting the two end points of the curve opening to the curve based on the vector diagram information of the landslide boundary, and use the line connecting the two end points of the curve opening and the distance from the midpoint of the line connecting the curve to form a rectangle, and the contour line formed by the combination of the curve and the rectangle is used as the boundary of the landslide hazard area; or Determine the length / width of the circumscribed rectangle of the curve according to the vector diagram information of the landslide boundary, and form a rectangle using the line connecting the two end points of the curve opening and the length / width of the circumscribed rectangle, and the contour line formed by the combination of the curve and the rectangle is used as the boundary of the landslide hazard area; The two endpoints of the curved opening are on the same side of the rectangle, and the two vertices of one side of the rectangle are on the extension line of the line connecting the two endpoints of the curved opening.

4. The method according to claim 3, characterized in that The two vertices of one side of the rectangle are on the extension line of the line connecting the two end points of the curved opening, including: The two intersection points where the extension line of the line connecting the two end points of the curve opening intersects with the horizontal axis and the vertical axis of the pixel coordinate system are used as the two vertices of a side of the rectangle.

5. The method according to claim 1 or 2, characterized in that The method of intercepting the shape of the boundary of the landslide disaster area on a map page loaded by a map engine and containing the location of the landslide based on the vector map information of the boundary of the landslide disaster area to obtain an image block of the landslide disaster area includes: Marking the location of the landslide on a map page loaded by a map engine and including the location of the landslide according to the vector map information of the landslide disaster area boundary to obtain a plurality of marking points; According to the marking points, the map page is screenshoted to obtain an image block of the landslide disaster area.

6. The method according to claim 3, characterized in that The step of intercepting a panoramic area image block containing a boundary of the landslide disaster area from the map page includes: Taking the midpoint of the line connecting the two end points of the curve opening on the map page as the center and taking N times the width of the rectangle as the side length, the map page is intercepted to obtain the panoramic area image block; The N times includes 6 times.

7. The method according to claim 1 or 2, characterized in that The performing image processing on the landslide disaster area image block to obtain the contours of each disaster-bearing body in the landslide disaster area image block includes: providing the landslide disaster area image blocks to image recognition models corresponding to different categories of disaster-affected objects respectively, and obtaining image blocks of each disaster-affected object in the landslide disaster area map according to the output of each image recognition model; The image blocks of each disaster-affected body are respectively provided to an image segmentation model, and the contours of each disaster-affected body are obtained according to the output of the image segmentation model.

8. A device for analyzing landslide impact based on landslide boundary vector diagram, characterized in that: include: The first acquisition module is used to obtain the vector map information of the landslide boundary based on the GeoJSON format; A second acquisition module is configured to determine the boundary of the landslide hazard area based on the vector map information of the landslide boundary obtained by the first acquisition module, and to acquire the vector map information of the boundary of the landslide hazard area in GeoJSON format; a first interception module, configured to intercept the shape of the boundary of the landslide disaster area on a map page loaded by a map engine and containing the location of the landslide, based on the vector map information of the boundary of the landslide disaster area obtained by the second acquisition module, to obtain an image block of the landslide disaster area; a second interception module, configured to intercept a panoramic region image block including a boundary of the landslide disaster region from the map page; wherein the area of the panoramic region image block is at least twice the area of the landslide disaster region image block; An image processing module, configured to perform image processing on the landslide disaster area image block obtained by the first interception module to obtain the contours of each disaster-bearing body in the landslide disaster area image block; a mapping module, configured to map the contours of each disaster-affected body obtained by the image processing module to the panoramic area image block obtained by the second interception module; a third acquisition module, configured to acquire, based on the pixel resolution of the panoramic area image block and the geographical location range covered by the panoramic area image block, vector graphics information in GeoJSON format of the contours of each hazard-prone object mapped to the panoramic area image block by the mapping module, thereby obtaining vector graphics information in GeoJSON format of the contours of each hazard-prone object; Among them, the vector map information of the landslide boundary based on the GeoJSON format, the vector map information of the landslide hazard area boundary based on the GeoJSON format, and the vector map information of the contours of each hazard-bearing body based on the GeoJSON format are used to analyze the impact of the landslide.

9. A computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the method according to any one of claims 1 to 7.

10. An electronic device, comprising: processor; a memory for storing instructions executable by the processor; The processor is configured to read the executable instructions from the memory and execute the instructions to implement the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Landslide disaster point big data acquisition and sample library updating method based on event triggering

    CN114333241A

  • Landslide identification method and device, electronic equipment and storage medium

    CN115439742A