A greenway line selection method based on graph neural network
By combining the traditional resistance factors and pedestrian interest points through the graph neural network model, the problem of subjective factors and insufficient consideration of multiple factors in the existing greenway line selection technology is solved, and high-precision and efficient greenway line selection is achieved, embodying the green concept of greenway line selection. ecological and recreational functions of the road.
Patent Information
- Application Number
- CN202410883187.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-08-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing greenway line selection technology lacks systematic data support and is easily affected by subjective factors. Moreover, traditional methods are difficult to fully consider multiple factors such as terrain and land use, resulting in line selection results that are not scientific and accurate enough and ignore pedestrians' impact on the natural landscape and land use. Recreation preferences.
Using a method based on graph neural networks, by constructing a graph convolutional neural network model, combined with traditional resistance factors and pedestrian interest points, we can learn complex geographical features and environmental conditions to achieve high-precision greenway route selection predictions.
It improves the accuracy and scientificity of greenway line selection, takes into account the integrated analysis of multiple factors, reduces manual intervention, improves the efficiency of line selection, and reflects the ecological and recreational functions of greenways.
Smart Images

Figure CN118427287B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of greenway line selection and relates to a greenway line selection method based on a graph neural network. Background Art
[0002] Due to the rapid development of human beings, the natural landscape has been widely changed on a global scale, resulting in habitat fragmentation. Habitat fragmentation refers to the division of continuous habitats into smaller, isolated patches, usually separated by obstacles such as roads, farmlands or urban areas. Fragmentation will change the spatial configuration of the landscape and affect the distribution and connectivity of habitats. Urban green space is an important part of the urban ecosystem, which can alleviate the damage to the ecological environment caused by the urbanization process and improve the quality of life of urban residents. Greenways, as linear spaces of urban green spaces, can not only provide leisure and entertainment places for urban residents, but also strengthen the connection of urban green spaces, improve the urban ecological environment, reduce urban traffic congestion, reduce pollution and promote sustainable urban development. With the continuous development of society, people have gradually realized that the construction of green infrastructure can not only reduce the damage to the urban ecology, but also provide various ecosystem services. Moreover, by promoting the movement of species in the landscape and increasing the connectivity of habitat patches, the isolation effect caused by habitat loss and fragmentation can be slowed down.
[0003] In the current social development, there is a lack of organic coordination between the various special plans of urban space planning, and professional attributes have not been comprehensively considered. Therefore, this patent adopts an interdisciplinary approach to achieve the selection of greenways, realize the integration of disciplines, and ensure that the selection of greenways can meet their diverse functions. In the construction of the greenway system, optimizing the construction of the greenway system and creating slow-moving spaces, promoting the integration of urban transportation space and ecological space, and stimulating urban vitality have become important issues in the planning of urban greenway systems.
[0004] Since the technology and methods of greenway line selection will affect the final results, greenway line selection technology must be perfect and the line selection steps must be rigorous to make the greenway planning more scientific. However, in the process of greenway line selection, people often adopt a "heavy to light" selection method, using existing GIS, MSPA morphological pattern analysis and other methods to achieve the selection of greenways by weighting objective influencing factors. This method results in the greenway planning process only connecting pedestrians between nodes, and the effects of recreational functions and ecological protection are not obvious, which cannot reflect the advantages of slow traffic and violates the original intention of the city to promote greenway planning and construction. Moreover, traditional line selection methods usually rely on the experience and rules of experts and lack systematic data support. This easily leads to the line selection results being greatly affected by subjective factors, and some potential high-quality paths may be ignored; the data acquisition and processing of the above-mentioned line selection methods are relatively difficult, requiring a lot of time and resources, and because of the need for manual processing, traditional methods may only consider some factors, such as terrain factors or land use factors, and ignore the influence of other important factors on greenway line selection, resulting in incomplete and scientific line selection results. In this social context, the development of greenways with recreational and ecological protection functions has become the dominant direction of urban renewal. With the development of information technology, new technologies such as big data and machine learning have provided new data sources and analysis methods for greenway research, and the precise quantification of residents' slow-moving activity data has also been widely used in greenway research.
[0005] This new greenway line selection method fully considers the requirements of pedestrians for quality of life, meets the pedestrians' interest in different landscapes, focuses on pedestrians to achieve real slow traffic, and analyzes pedestrian behavior activities. The deep learning method is used to realize the selection of greenways. After fully utilizing the deep learning model for training on a large-scale data set, it can learn complex geographical features, terrain and environmental conditions, and provide high-precision greenway line selection predictions. Patent CN113421010A relates to a greenway line selection planning and design method based on big data. This method selects lines based on existing construction conditions, and uses the AHP hierarchical analysis method to superimpose various types of information to obtain the final line selection. GIS technology is then used to further analyze the corridor to obtain the habitat conditions of wild animals. This method is currently widely used, but due to environmental changes, it has the problem of low accuracy and is prone to large errors. The reported patent applications such as CN115577825A, CN115063276A and CN115577835A all construct resistance surfaces based on existing methods, and most of them focus on ecological factors, such as objective influencing factors such as NDVI and land use type, but do not take into account pedestrians' subjective factors such as their preferences for natural landscapes and recreation. Patent CN115481699A first proposed the use of machine learning methods to identify greenway networks, but the model is relatively manual and prone to human errors, and the greenways selected by the simple model are not very robust. Summary of the invention
[0006] In view of the above problems, the purpose of the present invention is to provide a greenway selection method based on graph neural network, which uses a variety of data of traditional resistance factors, combines pedestrians' subjective factors such as their preferences for natural landscapes and recreation, and uses graph neural network models to achieve greenway selection. After fully utilizing the model for training on large-scale data sets, it can learn complex geographical features, terrain and environmental conditions, as well as pedestrian activities and landscape density, and provide high-precision greenway selection predictions. Accurate selection of greenways is achieved.
[0007] To achieve the above object, the present invention adopts the following technical solution:
[0008] A greenway line selection method based on graph neural network specifically includes the following steps:
[0009] Step 1: Point selection and extraction,
[0010] Construct a traditional resistance surface, use the connection analysis toolkit to obtain the evaluation results of the current density and then determine the ecological pinch point area. Use ArcGIS software to determine the ecological nodes and overlay the ecological pinch point area to obtain the ecological pinch point area. Use the Linkage Mapper toolbox to detect important barriers that affect the quality of the channel and select the obstacle points. Through the collection of motion software data and field surveys, select areas where the population has a long recreation time and appreciates certain natural landscapes for a long time as points of interest;
[0011] Step 2: Based on the selection of points, construct the node matrix required for the graph neural network.
[0012] Construct a graph convolutional neural network based on the ecological nodes and existing edge links generated in step 1, and construct an adjacency matrix. Use the spectral domain method to construct the convolution operation of the graph neural network.
[0013] Step 3: Build a two-layer GCN network to achieve accurate solution for the greenway;
[0014] C1: Perform 2 layers of convolution operations on the node information. Each layer of operation is expressed as: ;
[0015] in for , is the identity matrix; for The degree matrix of is the output matrix; is the feature matrix of each layer, and for the input layer it is ; are the parameters of the graph neural network, is the adjacency matrix, is the node feature;
[0016] C2: Pass Get the output of the two-layer GCN network, ; is the first layer parameter; is the second layer parameter; is the output of a two-layer GCN network;
[0017] C3: Exploitation Calculate the cross entropy loss function of all labeled nodes. The cross entropy loss function is used to back-propagate and update the parameters of the graph neural network. is the cross entropy loss function of the node, where For all tags, subscript is the number of layers; To take the logarithm of the output;
[0018] C4: Perform link prediction tasks based on the existing graph structure and build an encoder, i.e., parameters , with the adjacency matrix and node features is the input and output edge Representation vector ,make = Encoder( , );
[0019] C5: Build another decoder, i.e. parameters ,by As input, the output is output with sigmoid as activation function , = decoder( ), The closer to 0 between 0 and 1, the lower the probability of the predicted value, and vice versa;
[0020] C6: Use the known edges in the training set data to calculate the corresponding likelihood function, which is expressed as , using the maximum likelihood function to update , , to achieve accurate prediction of edges, is the likelihood function.
[0021] As a preferred embodiment of the present invention, in step one, the following steps are also included:
[0022] A1; Construct a traditional resistance surface, including vegetation cover index data, MSPA landscape type data, land use type data, road grade data, railway buffer data, elevation data and slope data, ecological, transportation and environmental data;
[0023] A2: Use the current density grading tool in the connection analysis toolkit toolbox to obtain the evaluation results of the current density, which is divided into five levels: high density, relatively high density, medium density, relatively low density, and low density;
[0024] A3: Select areas with higher current density levels as ecological pinch points;
[0025] A4: Use the Cost Distance model in the spatial analysis module of ArcGIS tools to generate a cumulative cost distance surface;
[0026] A5: Further use the Hydrology module in ArcGIS software to extract valley lines and ridge lines on the cumulative cost distance surface. The intersection of the valley line and the ridge line is the ecological node;
[0027] A6: Superimpose the ecological pinch point in step A3 and the ecological node in step A5 to obtain the final ecological pinch point area;
[0028] A7: Use the obstacle point detection in the Linkage Mapper toolbox to detect important barriers that affect channel quality;
[0029] A8: When the Improvement Score Relative to LCD Percentage option is selected, when the relative percentage of the Improvement Score is larger, it indicates a barrier point;
[0030] A9: Through the collection of sports software data and field surveys, areas where the population spends a long time in recreation and appreciates certain natural landscapes for a long time are selected as points of interest.
[0031] As a preferred embodiment of the present invention, in step 2, the following steps are also included:
[0032] B1: Construct a graph convolutional neural network based on the ecological nodes generated in step 1 and the existing edge links, which includes the following information: Construct a node matrix: , ∈1,2,3...n, where Contains node information, including information about pedestrian flow, road conditions, and road width that meets the requirements for greenway construction, and then constructs labels ,in Represented as node labels, i.e. existing ecological nodes, obstacle points, and interest points, which are used for subsequent training. is the number of rows and columns, and also the number of node types. is the number of columns of the matrix, is the node information;
[0033] B2: Construct the adjacency matrix: ,in , ∈1,2,3...n, It is used to describe whether there is a link relationship between nodes in the node matrix. If there is a link relationship, =1, otherwise = 0, so Should be a symmetric matrix, where is the number of rows times the number of columns, middle Represents the matrix Line List;
[0034] B3: Based on the matrix constructed in step B2, the convolution operation of the graph neural network is constructed using the spectral domain method. In the graph neural network, it is often specified that is the degree matrix, i.e. a diagonal matrix, where , that is, The number of edges connecting the nodes, where is a node, is the degree; node The degree of , refers to the number of edges connected to the node; the subscript For the Node information; For the The node degree matrix.
[0035] The advantages and positive effects of the present invention are:
[0036] 1. Compared with the traditional greenway line selection, the present invention considers the judgment of "ecological pinch points" and "obstacle points" after line selection, so as to achieve further accurate selection of greenways after line selection. Not only does it increase the "interest points" composed of pedestrians' subjective factors such as their preferences for natural landscapes, recreation, and interest in tourist attractions, but it also uses the above three types of "points" in advance to "point" to line, abandoning the traditional line selection method of "points" after line selection, reflecting the connotation of greenway ecology and recreation, realizing the extraction of greenways from another angle, and realizing the lean extraction of ecological sources.
[0037] 2. The present invention is different from the traditional greenway line selection method. Currently, the commonly used methods are AHP hierarchical analysis method and suitability evaluation method. At the same time, the introduction of GIS spatial analysis technology for larger-scale areas can improve efficiency. In addition, there is a greenway line selection method through the minimum resistance model (MCR). This patent proposes that the greenway line selection based on graph neural network is a line selection method that has never been used before. The graph neural network can propagate information between nodes and retain the topological structure of the graph in the process. This enables it to better capture the relationship between nodes, thereby better understanding the patterns and laws in the graph structure data, and then realizing the selection of greenways, providing high-precision greenway line selection predictions.
[0038] 3. The present invention needs to consider multiple factors for greenway selection. Traditional greenway selection considers NDVI, road grade, environmental protection and other data and requires multiple processing. Graph neural network can integrate these different types of data into a unified graph structure, and learn and reason on this graph structure at a much higher speed than traditional methods. It can also be automatically applied to greenway selection tasks without excessive manual intervention, thereby improving the efficiency of the selection process. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 It is a flow chart of the present invention. DETAILED DESCRIPTION
[0040] This embodiment provides a greenway line selection method based on a graph neural network, which specifically includes the following steps:
[0041] Step 1: Selection and extraction of "points",
[0042] A1; Construct a traditional resistance surface, including vegetation coverage index (NDVI) data, MSPA landscape type data, land use type data, road grade data, railway buffer data, elevation data and slope data, ecological, transportation and environmental data;
[0043] A2: Use the Pinchpoint Mapper tool in the Linkage Mapper toolbox to obtain the evaluation results of current density, which is divided into five levels: high density, relatively high density, medium density, relatively low density, and low density;
[0044] A3: Select areas with higher current density levels as ecological pinch points;
[0045] A4: Use the Cost Distance model in the spatial analysis module of ArcGIS tools to generate a cumulative cost distance surface;
[0046] A5: Further use the Hydrology module in ArcGIS software to extract valley lines and ridge lines on the cumulative consumption distance surface. The intersection of the valley line and the ridge line is the ecological node;
[0047] A6: Superimpose the ecological pinch point in step A3 and the ecological node in step A5 to obtain the final "ecological pinch point" area;
[0048] A7: Use the Barrier Mapper in the Linkage Mapper toolbox to detect important barriers that affect channel quality;
[0049] A8: When selecting the option of Calculate percent improvementscores relative to corridor LCD, the larger the relative percentage of the improvement score, the smaller the resistance value of the corridor, which means the original regional connectivity is better, so the one with a high relative percentage is selected as the "obstacle point";
[0050] A9: Through the collection of sports software data and field surveys, we select areas where the population spends a long time in recreation and appreciates certain natural landscapes for a long time as "points of interest". The more points of interest a pedestrian passes through, the higher the recreation satisfaction of the pedestrians; the better the connectivity between the landscapes.
[0051] Step 2: Based on the selection of points, construct the node matrix required for the graph neural network.
[0052] B1: Construct a graph convolutional neural network based on the ecological nodes generated in step 1 and the existing edge links, which includes the following information: Construct a node matrix: , ∈1,2,3...n, where Contains node information, including information about pedestrian flow, road conditions, and road width that meets the requirements for greenway construction, and then constructs labels ,in Represented as node labels, i.e. existing ecological nodes, obstacle points, and interest points, which are used for subsequent training. is the number of rows and columns, and also the number of node types. is the number of columns of the matrix, is the node information;
[0053] B2: Construct the adjacency matrix: ,in , ∈1,2,3...n, It is used to describe whether there is a link relationship between nodes in the node matrix. If there is a link relationship, =1, otherwise = 0, so Should be a symmetric matrix, where is the number of rows times the number of columns, middle Represents the matrix Line List;
[0054] B3: Based on the matrix constructed in step B2, the convolution operation of the graph neural network is constructed using the spectral domain method. In the graph neural network, it is often specified that is the degree matrix, i.e. a diagonal matrix, where , that is, The number of edges connecting the nodes, where is a node, is the degree; node The degree of , refers to the number of edges connected to the node; the subscript For the Node information; For the The node degree matrix.
[0055] Step 3: Build a two-layer GCN network to achieve accurate solution for the greenway;
[0056] C1: Perform 2 layers of convolution operations on the node information. Each layer of operation is expressed as: ;
[0057] in for , is the identity matrix; for The degree matrix of is the output matrix; is the feature matrix of each layer, and for the input layer it is ; are the parameters of the graph neural network, is the adjacency matrix, is the node feature;
[0058] C2: Pass Get the output of the two-layer GCN network, ; is the first layer parameter; is the second layer parameter; is the output of a two-layer GCN network;
[0059] C3: Exploitation Calculate the cross entropy loss function of all labeled nodes. The cross entropy loss function is used to back-propagate and update the parameters of the graph neural network. is the cross entropy loss function of the node, where For all tags, subscript is the number of layers; To take the logarithm of the output;
[0060] C4: Perform link prediction tasks based on the existing graph structure and build an encoder, i.e., parameters , with the adjacency matrix and node features is the input and output edge Representation vector ,make = Encoder( , );
[0061] C5: Build another decoder, i.e. parameters ,by As input, the output is output with sigmoid as activation function , = decoder( ), The closer to 0 between 0 and 1, the lower the probability of the predicted value, and vice versa;
[0062] C6: Use the known edges in the training set data to calculate the corresponding likelihood function, which is expressed as , using the maximum likelihood function to update , , to achieve accurate prediction of edges, is the likelihood function.
[0063] The above description is only a preferred example of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various changes and variations. Any modification, equivalent substitution, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A greenway line selection method based on graph neural network, characterized in that: The following steps are involved: Step 1: Point selection and extraction, Construct a traditional resistance surface, use the connection analysis toolkit to obtain the evaluation results of the current density and then determine the ecological pinch point area. Use ArcGIS software to determine the ecological nodes and overlay the ecological pinch point area to obtain the ecological pinch point area. Use the Linkage Mapper toolbox to detect important barriers that affect the quality of the channel and select the obstacle points. Through the collection of motion software data and field surveys, select areas where the population has a long recreation time and appreciates certain natural landscapes for a long time as points of interest; Step 2: Based on the selection of points, construct the node matrix required for the graph neural network. Construct a graph convolutional neural network based on the ecological nodes and existing edge links generated in step 1, and construct an adjacency matrix. Use the spectral domain method to construct the convolution operation of the graph neural network. Step 3: Build a two-layer GCN network to achieve accurate solution for the greenway; C1: Perform 2 layers of convolution operations on the node information. Each layer of operation is expressed as: ; in for , is the identity matrix; for The degree matrix of is the output matrix; is the feature matrix of each layer, and for the input layer it is ; are the parameters of the graph neural network, is the adjacency matrix, is the node feature; C2: Pass Get the output of the two-layer GCN network, ; is the first layer parameter; is the second layer parameter; is the output of a two-layer GCN network; C3: Exploitation Calculate the cross entropy loss function of all labeled nodes. The cross entropy loss function is used to back-propagate and update the parameters of the graph neural network. is the cross entropy loss function of the node, where For all tags, subscript is the number of layers; To take the logarithm of the output; C4: Perform link prediction tasks based on the existing graph structure and build an encoder, i.e., parameters , with the adjacency matrix and node features is the input and output edge Representation vector ,make = Encoder( , ); C5: Build another decoder, i.e. parameters ,by As input, the output is output with sigmoid as activation function , = decoder( ), The closer to 0 between 0 and 1, the lower the probability of the predicted value, and vice versa; C6: Use the known edges in the training set data to calculate the corresponding likelihood function, which is expressed as , using the maximum likelihood function to update , , to achieve accurate prediction of edges, is the likelihood function.
2. A greenway line selection method based on graph neural network according to claim 1, characterized in that: In step one, the following steps are also included: A1; Construct a traditional resistance surface, including vegetation cover index data, MSPA landscape type data, land use type data, road grade data, railway buffer data, elevation data and slope data, ecological, transportation and environmental data; A2: Use the current density grading tool in the connection analysis toolkit toolbox to obtain the evaluation results of the current density, which is divided into five levels: high density, relatively high density, medium density, relatively low density, and low density; A3: Select areas with higher current density levels as ecological pinch points; A4: Use the Cost Distance model in the spatial analysis module of ArcGIS tools to generate a cumulative cost distance surface; A5: Further use the Hydrology module in ArcGIS software to extract valley lines and ridge lines on the cumulative cost distance surface. The intersection of the valley line and the ridge line is the ecological node; A6: Superimpose the ecological pinch point in step A3 and the ecological node in step A5 to obtain the final ecological pinch point area; A7: Use the obstacle point detection in the Linkage Mapper toolbox to detect important barriers that affect channel quality; A8: When the Improvement Score Relative to LCD Percentage option is selected, when the relative percentage of the Improvement Score is larger, it indicates a barrier point; A9: Through the collection of sports software data and field surveys, areas where the population spends a long time in recreation and appreciates certain natural landscapes for a long time are selected as points of interest.
3. The greenway line selection method based on graph neural network according to claim 1 is characterized in that: In step 2, the following steps are also included: B1: Construct a graph convolutional neural network based on the ecological nodes generated in step 1 and the existing edge links, which includes the following information: Construct a node matrix: , ∈1,2,3...n, where Contains node information, including information about pedestrian flow, road conditions, and road width that meets the requirements for greenway construction, and then constructs labels ,in Represented as node labels, i.e. existing ecological nodes, obstacle points, and interest points, which are used for subsequent training. is the number of rows and columns, and also the number of node types. is the number of columns of the matrix, is the node information; B2: Construct the adjacency matrix: ,in , ∈1,2,3...n, It is used to describe whether there is a link relationship between nodes in the node matrix. If there is a link relationship, =1, otherwise = 0, so Should be a symmetric matrix, where is the number of rows times the number of columns, middle Represents the matrix Line List; B3: Based on the matrix constructed in step B2, the convolution operation of the graph neural network is constructed using the spectral domain method. In the graph neural network, it is often specified that is the degree matrix, i.e. a diagonal matrix, where , that is, The number of edges connecting the nodes, where is a node, is the degree; node The degree of , refers to the number of edges connected to the node; the subscript For the Node information; For the The node degree matrix.
