With the continuous expansion of urban subways,there are fewer and fewer agricultural and rural resources in many areas,and the deterioration of the urban fringe environment has become more and more serious.The development of leisure agriculture has become one of the important ways to solve such problems.Taking Chengdu as an example,this paper takes urban rail transit travel data and urban-rural combined leisure agriculture data as the research object,statistically analyzes the passenger flow of urban rail transit stations and sections.And then,the paper calculates the correlation between average station passenger flow and leisure agriculture to analyze the relevant influences of urban subway users’ travel conditions on the leisure agricultural sites near the station are obtained.The development route and management decision-making of the urban and rural short-distance tourism economy are provided as a reference and theoretical basis.The main research work of this paper is as follows:Firstly,collecting data,including three types of data: site visitor flow,cross-section visitor flow,and leisure agriculture.At the beginning,by modeling the data of the automatic fare collection system of Chengdu urban rail transit,the passenger flow of stations and sections is obtained.Then,this paper uses the Beautiful Soup crawler framework to capture leisure agricultural data from Baidu Maps.Secondly,using Yen’s shortest path search algorithm and improved Logit model for data modeling complete the information matching of inbound and outbound passenger information,site passenger flow statistics,route search,dynamic and static passenger flow distribution,etc.Then,we need to add up and analysis of the site and section passenger flow,and the secondary pre-processing of the site.These provide data support for the subsequent calculation of the correlation between the site passenger flow and leisure agriculture.Thirdly,it’s necessary to preprocess the collected leisure agriculture data,and use the grey relational analysis method to model,and calculate the correlation between leisure agriculture and average site passenger flow.The results show that there is a significant correlation between the two,and then put forward constructive development strategies and suggestions for the development of regional leisure agriculture. |