Spatial evolution analysis method, device, equipment and storage medium for village and town settlements
Through time-divided sampling and cluster analysis of land use data in villages and town units, a spatial evolution sequence is constructed, which solves the problem that the existing technology cannot reflect the similarity and differences of villages and towns, and realizes the optimal allocation of villages and towns and improves resource utilization efficiency. .
Patent Information
- Application Number
- CN202010834570.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-17
- Publication Date
- 2024-12-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing technology is difficult to reflect the similarity and difference characteristics between village and town individuals from the law of spatial evolution, resulting in the inability to effectively optimize the land use allocation of village and town settlements.
By obtaining the land use data of village and town units within the preset geographical range for time-division sampling, clustering to determine the spatial type within each time period, constructing the spatial evolution sequence of village and town units, and then comparing and analyzing the spatial evolution model to reflect village and towns Similarity and difference characteristics between individuals.
It has realized the similarity and difference characteristics between villages and towns from the law of spatial evolution, providing a reference for optimizing the land use allocation of villages and towns, and improving the efficiency of rural space resource utilization.
Smart Images

Figure CN111984702B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of environmental science and urban and rural planning technology, and in particular to a method, device, equipment and storage medium for analyzing the spatial evolution of village and town settlements. Background Art
[0002] Land use is the transformation of land resources by humans according to their own needs. It is a spatial reflection of the development history of a region and is related to the sustainable development of human activities, urban and rural construction, social economy, etc. It has always been a research focus in the fields of geography, natural resources, and urban and rural planning, and land use change is a hot topic. Whether it is to solve the global ecological and sustainable development problems in the process of land use change, or to explore the evolution of urban and rural land use to optimize its spatial layout, one of the key issues and difficulties is the pattern mining of land use change and the analysis of its driving factors.
[0003] At present, related studies mostly use remote sensing image data and GIS (Geographic Information System) spatial analysis technology, combined with land use dynamics models, transfer matrices and other models, to quantitatively analyze the quantitative morphological changes, structural changes, spatial distribution characteristics and change trends of land use. However, current studies rarely explore the land use evolution patterns and spatial distribution characteristics of multiple villages and towns based on individual villages and towns. Related studies mostly focus on case analysis or regional analysis rather than individual village and town analysis, and even less on the sequential trajectory of individual village and town spatial evolution as the analysis unit.
[0004] However, the existing technology is unable to reflect the similarities and differences between individual villages and towns in terms of spatial evolution laws, resulting in the inability to provide a reference for the land use configuration of village and town settlements. Summary of the invention
[0005] The purpose of the present invention is to provide a spatial evolution analysis method, device, equipment and storage medium for village and town settlements in order to address the deficiencies in the above-mentioned prior art, so as to reflect the similarities and differences between individual villages and towns from the perspective of spatial evolution laws, so as to provide a reference for optimizing the land use configuration of village and town settlements.
[0006] To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:
[0007] In a first aspect, an embodiment of the present application provides a method for analyzing the spatial evolution of village settlements, the method comprising:
[0008] Obtain land use data in multiple village and town units within a preset geographical range and perform sampling in different time periods to obtain land use data for each village and town unit in multiple time periods;
[0009] Clustering the land use data of each village and town unit in each time period to determine the spatial type of each village and town unit in each time period, wherein the spatial type is used to characterize the land use structure in each village and town unit;
[0010] According to the spatial types of the multiple village and town units in the multiple time periods, a spatial evolution sequence of each village and town unit is constructed; the spatial evolution sequence includes: an evolution trajectory of the spatial type of each village and town unit in the multiple time periods.
[0011] Optionally, clustering the land use data of each village and town unit in each time period to determine the spatial type of each village and town unit in each time period includes:
[0012] According to the preset multiple land use types, the land use data belonging to the same land use type in the land use data of each village and town unit in each time period are merged to obtain the land use data corresponding to the multiple land use types of each village and town unit in each time period;
[0013] Standardizing the land use data corresponding to the multiple land use types of each village and town unit;
[0014] The land use data corresponding to the multiple land use types of each village and town unit after standardization are clustered to determine the spatial type of each village and town unit in each time period.
[0015] Optionally, clustering the land use data corresponding to the multiple land use types of each village and town unit after standardization to determine the spatial type of each village and town unit in each time period includes:
[0016] Importing the standardized land use data corresponding to the multiple land use types of each village and town unit in the form of table data;
[0017] Read the table data, and convert the read table data into array data;
[0018] The array data is clustered to determine the spatial type of each village and town unit in each time period.
[0019] Optionally, constructing the spatial evolution sequence of each village and town unit according to the spatial types of the multiple village and town units in the multiple time periods includes:
[0020] According to the spatial types of the plurality of town units in the plurality of time periods, converting into a spatial type matrix, each matrix vector in the spatial type matrix corresponds to the spatial type of a town unit in the plurality of time periods;
[0021] Symbolically representing the spatial types of the plurality of village and town units;
[0022] Convert each matrix vector into a character string corresponding to the village unit;
[0023] The numbers in the converted character string are replaced with preset symbols to obtain the spatial evolution sequence of each village and town unit.
[0024] Optionally, the method further comprises: comparing the spatial evolution sequences of the plurality of village and town units to obtain the type of spatial evolution pattern included in the preset geographical scope.
[0025] Optionally, comparing the spatial evolution sequences of the plurality of village and town units to obtain the type of the spatial evolution pattern of the preset geographical range includes:
[0026] According to multiple spatial evolution sequences, the distance between every two spatial evolution sequences is calculated; each spatial evolution sequence corresponds to a village unit;
[0027] Constructing a distance matrix of the plurality of spatial evolution sequences according to the distance between each two spatial evolution sequences;
[0028] constructing a phylogenetic tree based on the distance matrix;
[0029] According to the phylogenetic tree, the alignment is started from the two most similar spatial evolution sequences, and after all spatial evolution sequences are aligned, a sequence alignment result is obtained;
[0030] According to the sequence comparison result, the type of spatial evolution pattern included in the preset geographical range is obtained.
[0031] Optionally, the method further comprises: according to each type of spatial evolution pattern, graphing the spatial evolution sequence of the village and town units corresponding to each type of spatial evolution pattern.
[0032] In a second aspect, the embodiment of the present application further provides a spatial evolution analysis device for village and town settlements, the device comprising: an acquisition module, a clustering module and a construction module;
[0033] The acquisition module is used to acquire the land use data of multiple village and town units within a preset geographical range and perform sampling in different time periods to obtain the land use data of each village and town unit in multiple time periods;
[0034] The clustering module is used to cluster the land use data of each village and town unit in each time period, and determine the spatial type of each village and town unit in each time period, wherein the spatial type is used to characterize the land use structure in each village and town unit;
[0035] The construction module is used to construct a spatial evolution sequence of each village and town unit according to the spatial types of the multiple village and town units in the multiple time periods; the spatial evolution sequence includes: the evolution trajectory of the spatial type of each village and town unit in the multiple time periods.
[0036] Optionally, the clustering module is specifically used to:
[0037] According to the preset multiple land use types, the land use data belonging to the same land use type in the land use data of each village and town unit in each time period are merged to obtain the land use data corresponding to the multiple land use types of each village and town unit in each time period;
[0038] Standardizing the land use data corresponding to the multiple land use types of each village and town unit;
[0039] The land use data corresponding to the multiple land use types of each village and town unit after standardization are clustered to determine the spatial type of each village and town unit in each time period.
[0040] Optionally, the clustering module is further used to: import the land use data corresponding to the multiple land use types of each village and town unit after standardization in the form of table data;
[0041] Read the table data, and convert the read table data into array data;
[0042] The array data is clustered to determine the spatial type of each village and town unit in each time period.
[0043] Optionally, the construction module is specifically used to: convert the spatial types of the multiple village and town units in the multiple time periods into a spatial type matrix, wherein each matrix vector in the spatial type matrix corresponds to the spatial type of a village and town unit in the multiple time periods;
[0044] Symbolically representing the spatial types of the plurality of village and town units;
[0045] Convert each matrix vector into a character string corresponding to the village unit;
[0046] The numbers in the converted character string are replaced with preset symbols to obtain the spatial evolution sequence of each village and town unit.
[0047] Optionally, the device further comprises: a comparison module;
[0048] The comparison module is used to compare the spatial evolution sequences of the multiple village and town units to obtain the type of spatial evolution pattern included in the preset geographical scope.
[0049] Optionally, the comparison module is further used to: calculate the distance between every two spatial evolution sequences according to the multiple spatial evolution sequences; each spatial evolution sequence corresponds to a village unit;
[0050] Constructing a distance matrix of the plurality of spatial evolution sequences according to the distance between each two spatial evolution sequences;
[0051] constructing a phylogenetic tree based on the distance matrix;
[0052] According to the phylogenetic tree, the alignment is started from the two most similar spatial evolution sequences, and after all spatial evolution sequences are aligned, a sequence alignment result is obtained;
[0053] According to the sequence comparison result, the type of spatial evolution pattern included in the preset geographical range is obtained.
[0054] Optionally, the device further comprises: a drawing module;
[0055] The drawing module is used to draw a graph of the spatial evolution sequence of the village and town units corresponding to each type of spatial evolution pattern according to each type of spatial evolution pattern.
[0056] In the third aspect, an embodiment of the present application also provides a spatial evolution analysis device for village and town settlements, including a processor, a storage medium and a bus, wherein the storage medium stores program instructions executable by the processor. When the spatial evolution analysis device for village and town settlements is running, the processor communicates with the storage medium through the bus, and the processor executes the program instructions to perform the steps of the spatial evolution analysis method for village and town settlements provided in the embodiment of the first aspect.
[0057] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the spatial evolution analysis method of village and town settlements provided in the embodiment of the first aspect are executed.
[0058] The beneficial effects of this application are:
[0059] The present application provides a method, device, equipment and storage medium for analyzing the spatial evolution of village and town settlements. The method includes: acquiring land use data in multiple village and town units within a preset geographical range and sampling them in different time periods to obtain land use data of each village and town unit in multiple time periods; clustering the land use data of each village and town unit in each time period to determine the spatial type of each village and town unit in each time period, and the spatial type is used to characterize the land use structure in each village and town unit; constructing a spatial evolution sequence of each village and town unit according to the spatial types of multiple village and town units in multiple time periods; the spatial evolution sequence includes: the evolution trajectory of the spatial type of each village and town unit in multiple time periods. In this method, firstly, the land use data of multiple village and town units within a preset geographical scope are sampled in different time periods to obtain the land use data of each village and town unit in multiple time periods, and then the land use data of each village and town unit in each time period are clustered to determine the spatial type of each village and town unit in each time period. Finally, the spatial evolution sequence of each village and town unit can be constructed according to the spatial types of multiple village and town units in multiple time periods, and then the spatial evolution law of each village and town unit within the preset geographical scope can be determined according to the spatial evolution sequence, so as to reflect the similarities and differences between each village and town individual from the perspective of spatial evolution law, so as to provide a reference for optimizing the land use configuration of village and town settlements and improve the utilization efficiency of rural spatial resources.
[0060] Secondly, by comparing the spatial evolution sequences of multiple village and town units and calculating the similarities and evolution trends between the spatial evolution sequences, the types of spatial evolution patterns included in the preset geographical scope can be obtained, providing a reference for optimizing the land use configuration of village and town settlements.
[0061] Finally, according to each type of spatial evolution pattern, the spatial evolution sequence of the village and town units corresponding to each type of spatial evolution pattern can be charted, and the evolution trajectory of each individual village and town can be more intuitively obtained through the drawn spatial evolution pattern chart, and the trajectories can be compared according to the similarity of the trajectories, so as to classify the spatial evolution trajectories with the same characteristics, so as to explore the pattern of the spatial evolution trajectory of village and town settlements and provide a reference for optimizing the land use configuration of village and town settlements. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0063] Figure 1A schematic diagram of the structure of a spatial evolution analysis device for village and town settlements provided in an embodiment of the present application;
[0064] Figure 2 A schematic diagram of a flow chart of a spatial evolution analysis method for village and town settlements provided in an embodiment of the present application;
[0065] Figure 3 A schematic diagram of a flow chart of another spatial evolution analysis method for village and town settlements provided in an embodiment of the present application;
[0066] Figure 4 A schematic diagram of land use data corresponding to five land use types in each village unit in seven different time periods provided in an embodiment of the present application;
[0067] Figure 5 A result diagram of cluster analysis in a spatial evolution analysis method for village and town settlements provided in an embodiment of the present application;
[0068] Figure 6 A schematic diagram of a flow chart of another spatial evolution analysis method of village and town settlements provided in an embodiment of the present application;
[0069] Figure 7 A schematic diagram of a flow chart of another spatial evolution analysis method for village and town settlements provided in an embodiment of the present application;
[0070] Figure 8 A schematic diagram of a flow chart of another spatial evolution analysis method of village and town settlements provided in an embodiment of the present application;
[0071] Fig. 9 A schematic diagram of the first spatial evolution mode provided in an embodiment of the present application;
[0072] Fig.10 A schematic diagram of a second spatial evolution mode provided in an embodiment of the present application;
[0073] Fig.11 A schematic diagram of a third spatial evolution mode provided in an embodiment of the present application;
[0074] Fig.12 A schematic diagram of a fourth spatial evolution mode provided in an embodiment of the present application;
[0075] Fig.13 A schematic diagram of a fifth spatial evolution mode provided in an embodiment of the present application;
[0076] Fig.14 A schematic diagram of the sixth spatial evolution mode provided in an embodiment of the present application;
[0077] Fig.15 A schematic diagram of the seventh spatial evolution mode provided in an embodiment of the present application;
[0078] Fig.16 A schematic diagram of the eighth spatial evolution mode provided in the embodiment of the present application;
[0079] Fig.17 A schematic diagram of the ninth spatial evolution mode provided in an embodiment of the present application;
[0080] Fig.18 A schematic diagram of the tenth spatial evolution mode provided in an embodiment of the present application;
[0081] Fig.19 A schematic diagram of the structure of a spatial evolution analysis device for village and town settlements provided in an embodiment of the present application.
[0082] Icon: 100 - equipment for analyzing spatial evolution of village and town settlements; 101 - processor; 102 - memory. DETAILED DESCRIPTION
[0083] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions 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.
[0084] This application provides the following multiple embodiments to reflect the similarities and differences between each village and town from the perspective of spatial evolution, deeply explore the sequence relationship such as the connection between land use changes, and focus on the analysis of spatial evolution process, so as to provide reference for optimizing the land use configuration of village and town settlements. The following is explained through multiple embodiments.
[0085] Figure 1 A schematic diagram of the structure of a spatial evolution analysis device 100 for villages and towns provided in an embodiment of the present application; Figure 1 As shown, the spatial evolution analysis device 100 for villages and towns includes: a processor 101 and a memory 102. The memory 102 is used to store programs, and the processor 101 calls the program stored in the memory 102 to execute the spatial evolution analysis method for villages and towns provided in the following embodiments. The specific implementation methods and technical effects are similar. The spatial evolution analysis method for villages and towns provided in this application will be described in detail through multiple specific embodiments.
[0086] Figure 2 The following is a flow chart of a method for analyzing the spatial evolution of a town or village settlement provided in an embodiment of the present application; the method can be implemented by a processor in the device for analyzing the spatial evolution of a town or village settlement provided in the above embodiment. Figure 2 As shown, the method includes:
[0087] S201. Acquire land use data in a plurality of village and town units within a preset geographical range and perform sampling in different time periods to obtain land use data for each village and town unit in a plurality of time periods.
[0088] Among them, the above-mentioned village and town unit can be a town unit or a village unit, and there is no specific limitation here.
[0089] In some embodiments, the land use status remote sensing monitoring data of the resource and environment data center can be used with a resolution of 30m to obtain land use data in multiple village and town units within a preset geographical scope and perform time period sampling, so that the land use data of each village and town unit in multiple time periods can be further obtained. For example, the land use data of the town unit or village unit of each village and town within the preset geographical scope for a total of seven time periods including 1980, 1990, 1995, 2000, 2005, 2010 and 2015 can be obtained.
[0090] For example, the land use data obtained include multiple types such as cultivated land, forest land, grassland, water area, unused land, urban and rural, industrial and mining, and residential land. Optionally, this application focuses on the transformation of agricultural land and construction land in different village and town units, so forest land, grassland, water area and unused land can be merged into other land, and urban and rural, industrial and mining, and residential land can be represented by three secondary types, namely urban land, rural settlements and other construction land. For example, within a preset geographical range, after excluding the street administrative units belonging to urban areas, there are 1,158 village and town units.
[0091] S202: Cluster the land use data of each village and town unit in each time period to determine the spatial type of each village and town unit in each time period.
[0092] Among them, spatial type is used to characterize the land use structure within each village and town unit.
[0093] In some embodiments, after obtaining the land use data of each village and town unit in multiple time periods, the existing clustering algorithm can be used to cluster the land use data of each village and town unit in each time period. For example, K-means clustering algorithm or Mean-Shift clustering (algorithm based on sliding window) can be used to perform cluster analysis on the land use data obtained above, so as to determine the spatial type of each village and town unit in each time period, wherein the spatial type characterizes the land use structure within each village and town unit.
[0094] For example, after cluster analysis, the spatial types obtained include: ecological agricultural land type, typical agricultural land type, rural construction land type, mixed construction land type and urban construction land type, so as to further determine the land use structure within each village and town unit in different periods.
[0095] S203. Construct a spatial evolution sequence of each village and town unit according to the spatial types of multiple village and town units in multiple time periods.
[0096] Among them, the spatial evolution sequence includes: the evolution trajectory of the spatial type of each village and town unit in multiple time periods.
[0097] In some embodiments, for example, after determining the spatial type of each village and town unit in each time period, and based on the spatial types of multiple village and town units in the above-mentioned multiple time periods, a spatial evolution sequence of each village and town unit is constructed, and then the spatial evolution law of each village and town unit within a preset geographical scope can be determined according to the spatial evolution sequence, so as to reflect the similarities and differences between each village and town individual, as well as the evolution trajectory trend from the perspective of spatial evolution laws, so as to provide a reference for optimizing the land use configuration of village and town settlements and improve the utilization efficiency of rural spatial resources.
[0098] In summary, the present application provides a method for analyzing the spatial evolution of village and town settlements, the method comprising: acquiring land use data within multiple village and town units within a preset geographical range and sampling them in different time periods to obtain land use data for each village and town unit within multiple time periods; clustering the land use data for each village and town unit within each time period to determine the spatial type of each village and town unit within each time period, the spatial type being used to characterize the land use structure within each village and town unit; constructing a spatial evolution sequence for each village and town unit based on the spatial types of multiple village and town units within multiple time periods; the spatial evolution sequence comprising: the evolution trajectory of the spatial type of each village and town unit in multiple time periods. In this method, land use data of multiple village and town units within a preset geographical scope are obtained and sampled in different time periods. After obtaining the land use data of each village and town unit in multiple time periods, the land use data of each village and town unit in each time period are clustered to determine the spatial type of each village and town unit in each time period. Finally, the spatial evolution sequence of each village and town unit can be constructed according to the spatial types of multiple village and town units in multiple time periods, so that the spatial evolution law of each village and town unit within the preset geographical scope can be determined according to the spatial evolution sequence, so that the similarities and differences between each village and town individual and the evolution trajectory trend can be reflected from the spatial evolution law, so as to provide a reference for optimizing the land use configuration of village and town settlements and improve the utilization efficiency of rural spatial resources.
[0099] Figure 3A schematic diagram of a flow chart of another spatial evolution analysis method for village settlements provided in an embodiment of the present application; optionally, Figure 3 As shown, the above step S202: clustering the land use data of each village unit in each time period to determine the spatial type of each village unit in each time period may specifically include:
[0100] S301. According to the preset multiple land use types, the land use data belonging to the same land use type in the land use data of each village and town unit in each time period are merged to obtain the land use data corresponding to the multiple land use types of each village and town unit in each time period.
[0101] In this embodiment, for example, Figure 4 A schematic diagram of land use data corresponding to five land use types in each village unit in seven different time periods provided in the embodiment of the present application, such as Figure 4 As shown, for example, the preset multiple land use types may include five types of land use: cultivated land, urban land, rural residential areas, other construction land and other land. It should be noted that other construction land refers to factories, mines, large industrial areas, oil fields, salt fields, quarries and other lands, as well as transportation roads, airports and special lands; other lands include forests, grasslands, waters and unused land.
[0102] That is, the land use data of each village and town unit in each time period can be merged into five land use types, namely, cultivated land, urban land, rural residential areas, other construction land and other land. In this way, the land use data corresponding to the five land use types of each village and town unit in each time period can be obtained.
[0103] S302: Standardize the land use data corresponding to the various land use types of each village and town unit.
[0104] In some embodiments, for example, in order to compare and analyze the land use data corresponding to all land use types of different sizes, it is necessary to convert the land use data corresponding to all land use types into data of the same magnitude to ensure comparability between the data.
[0105] Specifically, based on the above embodiment, after obtaining the land use data corresponding to the five land use types of each village and town unit in each time period, the land use data corresponding to the five land use types of each village and town unit are standardized. For example, the z-score standardization function in MATLAB can be used to process the data to achieve data standardization.
[0106] First, calculate the mean (μ) of the land use data corresponding to each land use type, which can be calculated using the mean function in Matlab.
[0107] Secondly, the standard deviation (δ) of the land use data corresponding to each land use type is calculated. For example, the std function in Matlab can be used for calculation.
[0108] Finally, the individual quantity value (x) of the land use data corresponding to each land use type is substituted into the z-score formula to obtain: (x-μ) / δ.
[0109] This achieves the standardized processing of land use data corresponding to various land use types in each village and town unit.
[0110] S303: Cluster the land use data corresponding to the various land use types of each village and town unit after standardization to determine the spatial type of each village and town unit in each time period.
[0111] In this embodiment, for example, based on the above embodiment, after the land use data corresponding to the five land use types of each village and town unit are standardized, the land use data corresponding to the five land use types of each village and town unit after standardization can be clustered and analyzed. For example, the k-means function in matlab can be used to write a k-means clustering algorithm code, and the k value can be determined according to the CH value, silhouette coefficient and inertia value, and the spatial type of each village and town unit in each time period can be obtained according to the determined k value.
[0112] Specifically, first, it is necessary to determine the k value based on the CH value, silhouette coefficient and inertia value. Therefore, the CH (Calinski-Harabasz) value, silhouette coefficient and inertia (iteration) value are calculated in the range of k = 2 to k = 10, and the k-means clustering effect at different k values is evaluated. For example, after clustering analysis, it is determined that k = 4, then the spatial type of each village unit in each time period can be obtained as four categories, that is, the spatial type of each village unit in each time period can be specifically determined according to the above k value, which will not be explained in detail here.
[0113] It should be noted that the calculation principles of the three indicators, CH value, silhouette coefficient and inertia value, are as follows:
[0114] (1) CH index
[0115] The CH index measures the compactness within a class by calculating the sum of the squares of the distances between each point in the class and the center of the class, and measures the separation of the data set by calculating the sum of the squares of the distances between the center points of each class and the center point of the data set. The CH index is obtained by the ratio of separation to compactness. Therefore, the larger the CH, the tighter the class itself, the more dispersed the classes are, and the better the clustering results. The formula is as follows:
[0116]
[0117] Where n represents the number of clusters, k represents the current class, trB(k) represents the trace of the between-class dispersion matrix, and trW(k) represents the trace of the within-class dispersion matrix.
[0118] (2) Silhouette coefficient
[0119] Through clustering, k clusters are obtained. The average distance a(i) from sample i to other samples in the same cluster is calculated. The smaller a(i) is, the more likely sample i should be clustered into that cluster. b(i) is the average distance from all points in the nearest cluster. The closer it is to 1, the better the clustering. The formula is as follows:
[0120]
[0121] (3) Inertia value
[0122] The sum of the distances from each cluster to its centroid is called inertia. The smaller the sum of the inertia of each cluster, the more similar the clusters are. Inertia can be considered a measure of intra-class aggregation. Generally speaking, the smaller the inertia value, the better the clustering effect.
[0123] For example, you can choose to use the sklearn library in Python to use metrics.calinski_harabaz_score, metrics.silhouette_score and inertia to calculate the values of the three indicators: CH value, silhouette coefficient and inertia value.
[0124] Figure 5 This is a result diagram of cluster analysis in a spatial evolution analysis method for village settlements provided in an embodiment of the present application, such as Figure 5 As shown, it can be found that the clustering effect is best when k = 5. Therefore, it can be determined that the spatial type of each village unit in each time period is five types (Table 1), and the mean land use area of the five spatial types can be obtained, as shown in Table 1:
[0125] Table 1 Mean land use area of five spatial types
[0126]
[0127]
[0128] Among them, A. Ecological agricultural land use type. The biggest feature of this type of village and town settlement is that the construction land is the least and other land is the most. The forest land, grassland, water area and unused land included in other land are mostly ecological land, and the cultivated land is also at a relatively high level, indicating that the land use of this type of village and town is mainly ecological land and agricultural land, and the construction land of residents is relatively small. It belongs to the land use structure type of rural areas dominated by ecological land.
[0129] B. Typical agricultural land type. Compared with the ecological agricultural land type, the ecological land of the typical agricultural land type villages and towns has decreased, and the proportion of cultivated land in the village and town unit has increased. From the perspective of the area of villages and towns, this type of village and town has a smaller area, and the agricultural land accounts for the largest proportion. Therefore, this type is characterized by agricultural land as the main area, and the area of construction land is relatively small. It is a typical agricultural land type village and town settlement.
[0130] C. Rural construction land type. The rural residential area of villages and towns with rural construction land type is the highest among all types of villages and towns, while the areas of urban land and other construction land are in the middle position. The cultivated land area is also relatively high, but other types of ecological land are reduced.
[0131] D. Mixed construction land type. The other construction land of this type of village and town settlement is much higher than that of other types of villages and towns. The urban land area and rural residential area are both in the second place, indicating that the proportion of various types of construction land is high, but other construction land is prominent among the construction land, so this type of village and town settlement is classified as a mixed construction land type.
[0132] E. Urban construction land type. The urban construction land type contains the largest urban land area, which is much higher than the urban land of other types of villages and towns. The proportion of urban land area is higher than one-third of the total area of villages and towns, so the spatial characteristics of this type of villages and towns are close to those of towns.
[0133] Figure 6 A schematic diagram of a flow chart of another spatial evolution analysis method for village settlements provided in an embodiment of the present application; optionally, Figure 6 As shown, in the above step S303: clustering the land use data corresponding to the multiple land use types of each village and town unit after the standardization process to determine the spatial type of each village and town unit in each time period may specifically include:
[0134] S601. Import the standardized land use data corresponding to multiple land use types of each village and town unit in the form of table data.
[0135] In some embodiments, for example, the land use data corresponding to the multiple land use types of each village and town unit after standardization can be imported into MATLAB as tabular data to perform cluster analysis.
[0136] S602, reading table data, and converting the read table data into array data.
[0137] Specifically, after the above land use data is imported as table data, the readtable function in matlab can be used to read the table data, and the table2array function can be used to convert the table data into array data.
[0138] S603: Cluster the array data to determine the spatial type of each village or town unit in each time period.
[0139] Optionally, after converting the read table data into array data, finally, the kmeans function in MATLAB can be used to perform cluster analysis on the array data to further determine the spatial type of each village unit in each time period.
[0140] Figure 7 A schematic diagram of a flow chart of another spatial evolution analysis method for village settlements provided in an embodiment of the present application; optionally, Figure 7 As shown, the above step 203: constructing a spatial evolution sequence of each village and town unit according to the spatial types of multiple village and town units in multiple time periods may specifically include:
[0141] S701. Convert the spatial types of multiple village and town units in multiple time periods into a spatial type matrix.
[0142] Among them, each matrix vector in the spatial type matrix corresponds to the spatial type of a village unit in multiple time periods.
[0143] Specifically, based on the above embodiment, after performing cluster analysis and determining that the spatial types of multiple village and town units in multiple time periods are five types, they are converted into a spatial type matrix based on the above five spatial types, so as to obtain the spatial type matrix of multiple village and town units in multiple time periods.
[0144] In this embodiment, for example, seven different time periods, namely 1980, 1990, 1995, 2000, 2005, 2010 and 2015, are selected, and according to the spatial types of multiple village and town units in the seven different time periods, the spatial types of each village and town in the seven years are arranged. For example, the reshape function in Matlab can be used to convert the single-column spatial type data of each village and town in the seven years into a matrix of multiple rows and seven columns, so that each matrix vector in the obtained spatial type matrix corresponds to the spatial type of a village and town unit in multiple time periods, so as to achieve the effect that each row represents the type evolution trajectory of each village and town from 1980 to 2015.
[0145] S702. Symbolize the spatial types of multiple village and town units.
[0146] It should be noted that, because after clustering analysis of the land use data corresponding to various land use types of each village and town unit, the spatial type obtained is digital, the numbers can be converted into English symbols so that the spatial type of each village and town unit can be represented symbolically.
[0147] S703, converting each matrix vector into a character string corresponding to a village or town unit.
[0148] For example, after symbolizing the spatial types of multiple town and village units, the string function in Matlab can be used to convert each matrix vector into a town and village unit as a string.
[0149] S704: Replace the numbers in the converted character string with preset symbols to obtain the spatial evolution sequence of each village and town unit.
[0150] In this embodiment, for example, after converting each matrix vector into a string corresponding to a village unit, the find function in MATLAB is used to replace the numbers in the converted string with preset symbols, for example, English symbols, to complete the "DNA" (deoxyribonucleic acid DNA) sequence construction of the spatial evolution trajectory of each village unit.
[0151] Optionally, the spatial evolution analysis method of village and town settlements provided in the embodiment of the present application may further include: comparing the spatial evolution sequences of multiple village and town units to obtain the type of spatial evolution pattern included in the preset geographical range.
[0152] In some embodiments, for example, a sequence comparison algorithm can be used to compare the spatial evolution sequence of each village and town unit, and calculate the similarity and evolution trend between the spatial evolution sequences to obtain the type of spatial evolution pattern included in each village and town unit within a preset geographical scope, thereby providing a reference for optimizing the land use configuration of village and town settlements.
[0153] For example, by comparing the spatial evolution sequences of multiple village and town units within a preset geographical scope in seven different periods from 1980 to 2015, we can find that there are ten types of spatial evolution patterns included in the preset geographical scope, as shown below:
[0154] (1) Spatial evolution pattern 1: long-term ecological agricultural land use type
[0155] From 1980 to 2015, the villages and towns that have been in the ecological agricultural land use type for a long time are classified as the first spatial evolution mode. The spatial evolution trajectory sequence of this type of villages and towns has hardly changed, showing the characteristics of villages and towns in the ecological agricultural land use type.
[0156] (2) Spatial evolution pattern 2: long-term typical agricultural land use type
[0157] In the sequence of spatial evolution trajectories of village and town units, village and town settlements that have been typical agricultural land use types for a long time are classified into the second spatial evolution mode, that is, villages and towns that have been typical agricultural land use types for a long time. Similar to the first type of village and town settlements, the space of this type of village and town settlements is relatively stable, and there are few changes in the spatial layout or structure of land use.
[0158] (3) Spatial evolution model 3: Long-term rural construction land type
[0159] The third spatial evolution pattern is the long-term rural construction land type. The sequence of the spatial evolution trajectory of this type of village and town settlements is also less changed. They belong to the rural construction land type village and town from 1980 to 2015. They have their own unique rural industries, so the land area of the rural settlements they contain is the largest, reflecting the spatial structure of high rural construction land.
[0160] (4) Spatial evolution pattern 4: long-term mixed construction land use
[0161] The spatial evolution trajectory sequence of this type of village and town settlements also does not change much over a long period of time. In addition, it shows the characteristics of high other construction land, belonging to the mixed construction land type unit. The number of this type of unit is not large, mainly because other construction land includes management and service facilities of border ports, so the area of other construction land in the border area unit is relatively prominent.
[0162] (5) Spatial evolution model 5: Transformation from ecological agricultural land use to mixed construction land use
[0163] Different from the first four spatial evolution patterns, the trajectory sequence of the fifth type of village and town settlement spatial evolution pattern is changing, which is manifested as an evolution from ecological agricultural land use to mixed construction land use. The reason is that the spatial structure of land use within the village and town settlement has changed, with agricultural land declining and construction land increasing. This type of village and town has gradually achieved rapid expansion of construction land from traditional agricultural towns through means such as optimizing the agricultural industrial structure and attracting investment.
[0164] (6) Spatial evolution model 6: transformation from typical agricultural land use to rural construction land use
[0165] The spatial evolution sequence of land use of this type of village and town units has changed. They have all evolved from typical agricultural land-type villages and towns to rural construction land-type villages and towns. The rural residential land in these villages and towns has increased significantly, and thus they have been transformed into rural construction land-type villages and towns.
[0166] (7) Spatial evolution pattern 7: transformation from typical agricultural land use to mixed construction land use
[0167] The transformation from typical agricultural land-based villages and towns to mixed construction land-based villages and towns has achieved a transformation in land use space, and their spatial evolution sequence is also in a state of change. The construction of industrial parks attracts enterprises to settle in, causing agricultural land to gradually turn into construction land, causing changes in the spatial structure of land use in village settlements.
[0168] (8) Spatial evolution model 8: transformation from typical agricultural land use to urban construction land use
[0169] Compared with the villages and towns in the first seven spatial evolution patterns, the villages and towns in the eighth pattern have undergone great changes in land use, from mainly agricultural land in 1980 to mainly construction land in 2015. They have all realized rural industrialization in the process of reform and opening up, gradually developed into towns, and their land use has also become mainly construction land.
[0170] Figure 8 A schematic diagram of a flow chart of another spatial evolution analysis method for village settlements provided in an embodiment of the present application; optionally, Figure 8 As shown, based on the above embodiment, the spatial evolution sequences of multiple village and town units are compared to obtain the type of spatial evolution pattern of a preset geographical range, which may specifically include:
[0171] S801. Calculate the distance between every two spatial evolution sequences according to a plurality of spatial evolution sequences.
[0172] Among them, each spatial evolution sequence corresponds to a village or town unit.
[0173] It should be noted that, since the above embodiment obtains multiple spatial evolution sequence character string tables, the character strings need to be converted into fasta files before sequence alignment can be performed. In this embodiment, for example, the following steps can be used to convert the character strings into fasta files.
[0174] The first step is to create a new row of data in MATLAB. The data starts from 1 and the maximum value is equal to the number of village units.
[0175] The first step is to use the sort function to sort the data in ascending order.
[0176] The third step is to use the string function to convert the matrix into a string.
[0177] The fourth step is to import multiple spatial evolution sequence strings and the above strings according to the requirements of the fastawrite function and convert them into fasta files.
[0178] After converting to a fasta file, you can use the fastaread function to read the fasta file, and then use the seqpdist function to calculate the distance between every two spatially evolved sequences.
[0179] Among them, the seqpdist function uses alignment-score (sequence score) to calculate the distance between every two spatial evolution sequences. The formula is as follows:
[0180] d=(1-score12 / score11)*(1-score12 / score22)
[0181] The distance (d) between two spatially evolving sequences (1, 2) is calculated by the pairwise alignment scores (score12) between the two spatially evolving sequences and the pairwise alignment scores (score11, score22) between each spatially evolving sequence and itself.
[0182] S802: construct a distance matrix of multiple spatial evolution sequences according to the distance between every two spatial evolution sequences.
[0183] Specifically, a distance matrix of multiple spatial evolution sequences can be constructed according to the distance between every two spatial evolution sequences obtained by the above calculation.
[0184] S803. Construct a phylogenetic tree based on the distance matrix.
[0185] Specifically, after constructing the distance matrix of multiple spatial evolution sequences, a phylogenetic tree is further established for the multiple spatial evolution sequences based on the distance matrix.
[0186] For example, the seqlinkage function can be used to construct a phylogenetic tree, and the method set in the parameter is the Unweighted Pair Group Method with Arithmetic Mean (UPGMA), that is, UPGMA is used to construct a phylogenetic tree to achieve a clustering effect.
[0187] S804. According to the phylogenetic tree, start alignment from the two most similar spatially evolved sequences, and after all spatially evolved sequences are aligned, obtain a sequence alignment result.
[0188] It can be understood that in terms of mining spatial evolution patterns, sequence alignment algorithms have significant advantages over commonly used clustering analysis methods. Sequence alignment algorithms can analyze the spatial evolution process of long time series and mine spatial evolution patterns in long time series, while ordinary clustering methods generally only cluster the spatial structure at one time point. At the same time, sequence alignment algorithms use the spatial evolution sequence of individual villages and settlements as analysis units, which is difficult to measure with traditional clustering analysis methods.
[0189] In this embodiment, for example, in view of the complexity and diversity of spatially evolving sequences, a progressive method algorithm for multiple sequence alignment may be used. The sequence alignment scoring method of the algorithm is SP-score (sum-of-pairs score), which is defined as follows:
[0190]
[0191] Among them, a i For each subsequence, S * (a i, a j ) is the optimal subproblem score for pairwise spatial evolution sequence alignment.
[0192] Specifically, after constructing a phylogenetic tree based on the distance matrix, it is possible to start the comparison from the two most similar spatially evolved sequences according to the above phylogenetic tree, and gradually add similar spatially evolved sequences in sequence, so that after all spatially evolved sequences are added for comparison, the result of the spatially evolved sequence comparison can be obtained.
[0193] S805. Obtain the type of spatial evolution pattern included in the preset geographical range according to the sequence comparison result.
[0194] Specifically, after obtaining the sequence alignment results, the classification results can be analyzed according to the leaf nodes of the phylogenetic tree to obtain the types of spatial evolution patterns included in the preset geographical scope. For example, it can be obtained that the types of spatial evolution patterns included in a preset geographical scope are ten categories. Finally, the classification results of the spatial evolution trajectory sequences of multiple village and town units within the preset geographical scope can be determined.
[0195] Optionally, the spatial evolution analysis method of village and town settlements provided in the embodiment of the present application may further include: according to each type of spatial evolution pattern, graphing the spatial evolution sequence of village and town units corresponding to each type of spatial evolution pattern.
[0196] For example, based on the above embodiment, within a certain preset geographical area, after removing the street administrative units belonging to urban areas, there are 1158 village and town units, and through Figures 9 to 18The spatial evolution sequence diagram of the village and town units corresponding to each type of spatial evolution pattern in the ten types of spatial evolution patterns within the preset geographical scope is drawn. It should be noted that in each type of spatial evolution sequence diagram, each row represents a village and town evolution trajectory sequence, and only 10 villages and towns are randomly displayed.
[0197] in, Figures 9 to 18 Different numbers represent different types of village and town units. For example, the numbers 1, 2, 3, 4, and 5 represent five spatial types, namely, ecological agricultural land type, typical agricultural land type, rural construction land type, mixed construction land type, and urban construction land type. Each spatial evolution pattern diagram shows examples of individual spatial evolution trajectories of various types of village and town units. The same spatial evolution pattern contains a sequence of similar spatialized trajectories, indicating that the spatial evolution processes of these village and town units from 1980 to 2015 are similar.
[0198] As follows Figures 9 to 18 A detailed analysis is conducted on the spatial evolution sequence diagrams of village and town units corresponding to each type of spatial evolution pattern in the ten types of spatial evolution patterns.
[0199] Fig. 9 The first spatial evolution mode schematic diagram provided in the embodiment of the present application is as follows: Fig. 9 As shown in the figure, the first spatial evolution pattern is the long-term ecological agricultural land use type. It can be found that within the preset geographical scope, from 1980 to 2015, there were 222 villages and towns whose spatial evolution pattern was the long-term ecological agricultural land use type, accounting for 19% of all villages and towns, and the spatial evolution trajectory sequence of this type of village and town settlements has hardly changed.
[0200] Fig.10 A schematic diagram of a second spatial evolution mode provided in an embodiment of the present application is shown in FIG. Fig.10 As shown in the figure, the second spatial evolution pattern is a long-term typical agricultural land type. It can be found that within the preset geographical scope, from 1980 to 2015, a total of 704 villages and towns had a long-term spatial evolution pattern of typical agricultural land use, accounting for 61% of all villages and towns. Similar to the first spatial evolution pattern, the space of this type of village and town settlements is relatively stable, and there are few changes in the spatial layout or structure of land use.
[0201] Fig.11 A schematic diagram of a third spatial evolution mode provided in an embodiment of the present application is shown in FIG. Fig.11 As shown in the figure, the third spatial evolution pattern is the long-term rural construction land type. From 1980 to 2015, there were 82 villages and towns whose spatial evolution pattern was the long-term typical agricultural land type, accounting for 7% of all villages and towns. The sequence of the spatial evolution trajectory of this type of village and town settlements also changed less, and they belonged to the rural construction land type villages and towns from 1980 to 2015.
[0202] Fig.12 A schematic diagram of a fourth spatial evolution mode provided in an embodiment of the present application is shown in FIG. Fig.12 As shown in the figure, the fourth type is a long-term mixed construction land type. From 1980 to 2015, there were 15 villages and towns whose spatial evolution patterns were long-term typical agricultural land types, accounting for 1% of all villages and towns. The spatial evolution trajectory sequence of this type of village and town settlements also did not change much over a long period of time. In addition, it showed the characteristics of high other construction land, belonging to the village and town settlements of mixed construction land type. The main reason is that other construction land includes the management and service facilities of border ports, so the area of other construction land in the village and town settlements in border areas is more prominent.
[0203] Fig.13 A fifth spatial evolution mode schematic diagram provided in the embodiment of the present application is shown in FIG. Fig.13 As shown in the figure, the fifth type is the transformation from ecological agricultural land use to mixed construction land use. From 1980 to 2015, there were 14 villages and towns whose spatial evolution pattern was long-term typical agricultural land use, accounting for 1% of all villages and towns. Different from the first four spatial evolution patterns, the trajectory sequence of the fifth spatial evolution pattern is changing, which is manifested as an evolution from ecological agricultural land use to mixed construction land use. The reason is that the spatial structure of land use within the village and town settlements has changed, among which agricultural land has declined and construction land has increased. From traditional agricultural towns, the rapid expansion of construction land has been gradually achieved through the optimization of agricultural industrial structure and investment attraction.
[0204] Fig.14 A sixth spatial evolution mode schematic diagram provided in the embodiment of the present application is shown in FIG. Fig.14 As shown in the figure, the sixth type is the transformation from typical agricultural land use to rural construction land use. From 1980 to 2015, there were 26 villages and towns whose spatial evolution pattern was long-term typical agricultural land use, accounting for 2% of all villages and towns. The spatial evolution sequence of land use of this type of village and town settlements has changed, and all of them have evolved from typical agricultural land use villages and towns to rural construction land use villages and towns. The rural residential land use of these villages and towns has increased significantly, so they have been transformed into rural construction land use villages and towns.
[0205] Fig.15 A seventh spatial evolution mode schematic diagram provided in the embodiment of the present application is shown in FIG. Fig.15As shown in the figure, the seventh type is the transformation from typical agricultural land use to mixed construction land use. From 1980 to 2015, there were 47 villages and towns whose spatial evolution pattern was long-term typical agricultural land use, accounting for 4% of all villages and towns. The transformation from typical agricultural land use to mixed construction land use has realized the transformation of land use space, and their spatial evolution sequence is also in a state of change. Most of these villages and towns attract enterprises to settle in by building industrial parks, which causes the gradual transformation of agricultural land to construction land, causing changes in the spatial structure of land use in villages and towns.
[0206] Fig.16 The eighth spatial evolution mode schematic diagram provided in the embodiment of the present application is as follows: Fig.16 As shown in the figure, the eighth type is the transformation from typical agricultural land use to urban construction land use. From 1980 to 2015, there were 17 villages and towns whose spatial evolution pattern was long-term typical agricultural land use, accounting for 1% of all villages and towns. Compared with the villages and towns in the first seven types of spatial evolution patterns, the villages and towns in the eighth type have undergone great changes in land use, from mainly agricultural land in 1980 to mainly construction land in 2015. They have all realized rural industrialization in the process of reform and opening up, and gradually developed into towns, and their land use has also become mainly construction land.
[0207] Fig.17 A ninth spatial evolution mode schematic diagram provided in the embodiment of the present application is shown in FIG. Fig.17 As shown in the figure, the ninth type is the transformation of rural construction land use to mixed construction land use. From 1980 to 2015, there were 15 villages and towns whose spatial evolution patterns were long-term typical agricultural land use patterns, accounting for 1% of all villages and towns. The spatial evolution sequence of the ninth spatial evolution pattern also changed, from rural construction land use villages and towns to mixed construction land use villages and towns. The speed of development and change of this type of villages and towns is relatively slow, and only part of the rural and agricultural land has been converted into construction land, which does not meet the land use standards for being called towns.
[0208] Fig.18 A schematic diagram of the tenth spatial evolution mode provided in the embodiment of the present application is shown in FIG. Fig.18 As shown in the figure, the tenth type is the transformation of rural construction land use to urban construction land use. From 1980 to 2015, there were 19 villages and towns whose spatial evolution patterns were long-term typical agricultural land use, accounting for 2% of all villages and towns. Similar to the eighth spatial evolution pattern, the tenth spatial evolution pattern is also the transformation of other types of villages and towns to urban construction land use villages and towns. They have good location conditions and are all transformed from traditional village settlements to towns. This feature can also be clearly reflected in the spatial structure of land use. The difference is that the construction land of this type of village settlement itself is relatively prominent, and it is characterized by a high proportion of rural residential areas in the early days.
[0209] You can also Figure 9-Figure 18 It can be seen from the sequence diagrams corresponding to each type of spatial evolution pattern that, in general, the ten spatial evolution patterns can be divided into two categories: stable and variable. The stable village and town unit evolution sequence does not have the same land use spatial form in all time periods. These village and town units will also experience changes in land use space, but because the change range is not large and they belong to the same category for a long time, the sequence comparison algorithm classifies them as long-term stable types. The village and town units with changes in land use space are not always in the process of agricultural land conversion to construction land. There will also be some periods of no change or regression, but overall they still reflect the evolution process of agricultural land conversion to construction land.
[0210] Optionally, you can also Figure 9-Figure 18 The ten types of spatial evolution patterns drawn separately show the spatial evolution trends of multiple village and town units within the preset geographical scope in seven different periods. For example, it can be found that: (1) from 1980 to 2000, the land use of rural settlements increased to a certain extent, while the area of urban land and other construction land increased slowly, and the area of cultivated land decreased relatively slowly, indicating that during these twenty years, the main land use types of these villages and towns were still agricultural and rural types; (2) since 2000, the expansion of urban land and other construction land has entered an accelerated period, while cultivated land has rapidly declined, and even the area of rural settlement land has begun to decrease. This is manifested in the fact that some rural and agricultural related land was converted into construction land between 2000 and 2015, which also led to the transformation of these village and town settlements from agricultural land villages and towns to construction land villages and towns.
[0211] It can be seen that each village unit may undergo a change in village type due to changes in land use data in the long-term spatial evolution, thus forming the evolution trajectory of each village unit. It can be understood that the spatial evolution patterns of multiple village units have similar characteristics, and they can be compared according to the similarity of the trajectories, so as to classify the spatial evolution trajectories with the same characteristics, so as to explore the pattern of the spatial evolution trajectory of village settlements and provide a reference for optimizing the land use configuration of village settlements.
[0212] Alternatively, the research on the spatial evolution pattern of village settlements is based on the land use pattern of villages and towns. Future work can consider other spatial factors, such as road network structure, village spatial form, settlement organization structure, etc. At the same time, the multiple dynamic factors behind spatial evolution and spatial differentiation are worthy of in-depth study. Future sequence comparison research can simultaneously consider dynamic factors and multiple spatial evolution sequences, explore the mapping mode of multiple transformation dynamics and village settlement spatial evolution, and thus realize the coupling analysis of multiple transformation dynamics and village settlement spatial patterns.
[0213] The following is a description of the spatial evolution analysis device for executing the village and town settlements provided in this application. The specific implementation process and technical effects are mentioned above and will not be repeated below.
[0214] Fig.19 A schematic diagram of the structure of a spatial evolution analysis device for village settlements provided in an embodiment of the present application is shown in FIG. Fig.19 As shown, the spatial evolution analysis device 1900 for village and town settlements includes: an acquisition module 1901, a clustering module 1902 and a construction module 1903.
[0215] The acquisition module 1901 is used to acquire the land use data of multiple village and town units within a preset geographical range and perform time-division sampling to obtain the land use data of each village and town unit within multiple time periods;
[0216] The clustering module 1902 is used to cluster the land use data of each village unit in each time period, and determine the spatial type of each village unit in each time period, and the spatial type is used to characterize the land use structure in each village unit;
[0217] Construction module 1903 is used to construct a spatial evolution sequence of each village and town unit according to the spatial types of multiple village and town units in multiple time periods; the spatial evolution sequence includes: the evolution trajectory of the spatial type of each village and town unit in multiple time periods.
[0218] Optionally, the clustering module 1902 is specifically configured to:
[0219] According to the preset multiple land use types, the land use data belonging to the same land use type in the land use data of each village and town unit in each time period are merged to obtain the land use data corresponding to the multiple land use types of each village and town unit in each time period;
[0220] Standardize the land use data corresponding to various land use types in each village and town unit;
[0221] The land use data corresponding to various land use types of each village and town unit after standardization are clustered to determine the spatial type of each village and town unit in each time period.
[0222] Optionally, the clustering module 1902 is further configured to:
[0223] Import the standardized land use data corresponding to multiple land use types of each village and town unit in the form of table data;
[0224] Read table data and convert the read table data into array data;
[0225] The array data are clustered to determine the spatial type of each village and town unit in each time period.
[0226] Optionally, the construction module 1903 is specifically configured to:
[0227] According to the spatial types of multiple town units in multiple time periods, they are converted into a spatial type matrix, in which each matrix vector corresponds to the spatial type of a town unit in multiple time periods;
[0228] Symbolize the spatial types of multiple village and town units;
[0229] Convert each matrix vector into a string corresponding to a village unit;
[0230] The numbers in the converted string are replaced with preset symbols to obtain the spatial evolution sequence of each village and town unit.
[0231] Optionally, the spatial evolution analysis device for village and town settlements also includes: a comparison module.
[0232] Among them, the comparison module is used to compare the spatial evolution sequences of multiple village and town units to obtain the type of spatial evolution pattern included in the preset geographical scope.
[0233] Optionally, the comparison module is further used for:
[0234] According to multiple spatial evolution sequences, the distance between every two spatial evolution sequences is calculated; each spatial evolution sequence corresponds to a village unit;
[0235] According to the distance between every two spatial evolution sequences, a distance matrix of multiple spatial evolution sequences is constructed;
[0236] Construct a phylogenetic tree based on the distance matrix;
[0237] According to the phylogenetic tree, the alignment starts from the two most similar spatially evolved sequences, and after all spatially evolved sequences are aligned, the sequence alignment result is obtained;
[0238] According to the sequence comparison results, the type of spatial evolution pattern included in the preset geographical range is obtained.
[0239] Optionally, the spatial evolution analysis device for village and town settlements also includes: a drawing module.
[0240] Among them, the drawing module is used to draw a chart of the spatial evolution sequence of the village and town units corresponding to each type of spatial evolution pattern according to each type of spatial evolution pattern.
[0241] The above-mentioned device is used to execute the method provided by the aforementioned embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0242] The above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASIC), or one or more digital singnal processors (DSP), or one or more field programmable gate arrays (FPGA). For another example, when a module is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0243] Optionally, the present invention also provides a program product, such as a computer-readable storage medium, comprising a program, which is used to execute the above method embodiment when executed by a processor.
[0244] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0245] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0246] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0247] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to perform some steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (English: Read-Only Memory, abbreviated: ROM), random access memory (English: Random Access Memory, abbreviated: RAM), disk or optical disk and other media that can store program codes.
Claims
1. A spatial evolution analysis method for village and town settlements, characterized in that: The method comprises: Obtain land use data in multiple village and town units within a preset geographical range and perform sampling in different time periods to obtain land use data for each village and town unit in multiple time periods; Clustering the land use data of each village and town unit in each time period to determine the spatial type of each village and town unit in each time period, wherein the spatial type is used to characterize the land use structure in each village and town unit; According to the spatial types of the plurality of village and town units in the plurality of time periods, a spatial evolution sequence of each village and town unit is constructed; the spatial evolution sequence comprises: an evolution trajectory of the spatial type of each village and town unit in the plurality of time periods; Wherein, the method further comprises: Comparing the spatial evolution sequences of the plurality of village and town units, obtaining the type of spatial evolution pattern included in the preset geographical scope; The comparing the spatial evolution sequences of the plurality of village and town units to obtain the type of spatial evolution pattern of the preset geographical range includes: According to multiple spatial evolution sequences, the distance between every two spatial evolution sequences is calculated; each spatial evolution sequence corresponds to a village unit; Constructing a distance matrix of the plurality of spatial evolution sequences according to the distance between each two spatial evolution sequences; constructing a phylogenetic tree based on the distance matrix; According to the phylogenetic tree, the alignment is started from the two most similar spatial evolution sequences, and after all spatial evolution sequences are aligned, a sequence alignment result is obtained; According to the sequence comparison result, the type of spatial evolution pattern included in the preset geographical range is obtained.
2. The method according to claim 1, characterized in that The clustering of the land use data of each village and town unit in each time period to determine the spatial type of each village and town unit in each time period includes: According to the preset multiple land use types, the land use data belonging to the same land use type in the land use data of each village and town unit in each time period are merged to obtain the land use data corresponding to the multiple land use types of each village and town unit in each time period; Standardizing the land use data corresponding to the multiple land use types of each village and town unit; The land use data corresponding to the multiple land use types of each village and town unit after standardization are clustered to determine the spatial type of each village and town unit in each time period.
3. The method according to claim 2, characterized in that The clustering of the land use data corresponding to the multiple land use types of each village and town unit after the standardization process to determine the spatial type of each village and town unit in each time period includes: Importing the standardized land use data corresponding to the multiple land use types of each village and town unit in the form of table data; Read the table data, and convert the read table data into array data; The array data is clustered to determine the spatial type of each village and town unit in each time period.
4. The method according to claim 1, characterized in that: The step of constructing the spatial evolution sequence of each village and town unit according to the spatial types of the plurality of village and town units in the plurality of time periods includes: According to the spatial types of the plurality of town units in the plurality of time periods, converting into a spatial type matrix, each matrix vector in the spatial type matrix corresponds to the spatial type of a town unit in the plurality of time periods; Symbolically representing the spatial types of the plurality of village and town units; Convert each matrix vector into a character string corresponding to the village unit; The numbers in the converted character string are replaced with preset symbols to obtain the spatial evolution sequence of each village and town unit.
5. The method according to claim 1, characterized in that The method further comprises: According to each type of spatial evolution pattern, a graph is drawn for the spatial evolution sequence of the village and town units corresponding to each type of spatial evolution pattern.
6. A spatial evolution analysis device for village and town settlements, characterized in that: The device comprises: an acquisition module, a clustering module and a construction module; The acquisition module is used to acquire the land use data of multiple village and town units within a preset geographical range and perform sampling in different time periods to obtain the land use data of each village and town unit in multiple time periods; The clustering module is used to cluster the land use data of each village and town unit in each time period, and determine the spatial type of each village and town unit in each time period, wherein the spatial type is used to characterize the land use structure in each village and town unit; The construction module is used to construct a spatial evolution sequence of each village and town unit according to the spatial types of the multiple village and town units in the multiple time periods; the spatial evolution sequence includes: the evolution trajectory of the spatial type of each village and town unit in the multiple time periods; The device also includes: a comparison module; The comparison module is used to compare the spatial evolution sequences of the plurality of village and town units to obtain the type of spatial evolution pattern included in the preset geographical range; The comparison module is further used to: calculate the distance between every two spatial evolution sequences according to the multiple spatial evolution sequences; each spatial evolution sequence corresponds to a village unit; Constructing a distance matrix of the plurality of spatial evolution sequences according to the distance between each two spatial evolution sequences; constructing a phylogenetic tree based on the distance matrix; According to the phylogenetic tree, the alignment is started from the two most similar spatial evolution sequences, and after all spatial evolution sequences are aligned, a sequence alignment result is obtained; According to the sequence comparison result, the type of spatial evolution pattern included in the preset geographical range is obtained.
7. A spatial evolution analysis device for village and town settlements, characterized in that: It includes a processor, a storage medium and a bus, the storage medium stores program instructions executable by the processor, when the spatial evolution analysis device of village and town settlements is running, the processor and the storage medium communicate through the bus, and the processor executes the program instructions to execute the steps of the spatial evolution analysis method of village and town settlements as described in any one of claims 1-5.
8. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the spatial evolution analysis method of village and town settlements as described in any one of claims 1 to 5 are executed.
Citation Information
Patent Citations
Land utilization / covering information space-time monitoring method based on priori knowledge
CN110263111A
