Please wait a minute...
Journal of ZheJiang University (Engineering Science)  2027, Vol. 61 Issue (1): 21-31    DOI: 10.3785/j.issn.1008-973X.2027.01.003
Traffic Engineering, Civil Engineering     
Spatial nonlinear impacts of built environment on taxi travel demand
Qingchang Lu(),Jingjing Hou,Xinyu Zuo,Rundong Wang
School of Electronics and Control Engineering, Chang’an University, Xi’an 710064, China
Download: HTML     PDF(1245KB) HTML
Export: BibTeX | EndNote (RIS)      

Abstract  

Aiming at the limitation that traditional machine learning models cannot capture the spatial heterogeneity of nonlinear effects of built environment on taxi travel demand, a geographically weighted extreme gradient boosting model (GW-XGBoost) was constructed with Xi’an as a case study. Partial dependence functions were applied to reveal the spatial nonlinear mechanisms of key factors affecting taxi travel demand. The results indicated that the fitting performance of GW-XGBoost surpassed that of gradient boosting decision tree (GBDT), XGBoost, and GW-GBDT, with the coefficient of determination R2 showing an average improvement of 14.6%. Residential density, financial insurance density, catering density, and population density were identified as the main factors affecting taxi travel demand. Residential density and population density had higher relative importance in peripheral areas, while catering density showed higher relative importance in the city center. The relationship between residential density and taxi travel demand presented an inverted U-shape nonlinear relationship, and a similar threshold effect was observed across the whole study area. Financial insurance density, catering density, and population density showed localized nonlinear positive effects, and their effective ranges varied siginificantly across space. Built environment factors showed synergistic effects that jointly influenced the intensity of taxi demand. The findings provide a theoretical basis for spatially differentiated management of urban land use optimization and transport regulation.



Key words: taxi      built environment      spatial heterogeneity      nonlinear      extreme gradient boosting (XGBoost)     
Received: 13 September 2025      Published: 25 November 2026
CLC:  U 491  
Cite this article:

Qingchang Lu,Jingjing Hou,Xinyu Zuo,Rundong Wang. Spatial nonlinear impacts of built environment on taxi travel demand. Journal of ZheJiang University (Engineering Science), 2027, 61(1): 21-31.

URL:

https://www.zjujournals.com/eng/10.3785/j.issn.1008-973X.2027.01.003     OR     https://www.zjujournals.com/eng/Y2027/V61/I1/21


建成环境对出租车需求的空间非线性影响

针对传统机器学习模型难以刻画建成环境对出租车出行需求非线性影响的空间异质性问题,以西安市为案例,构建考虑地理加权方法的极端梯度提升树(GW-XGBoost)模型,并基于部分依赖函数揭示关键因素对出租车出行需求的空间非线性作用机制. 结果表明,GW-XGBoost的拟合优度优于梯度提升决策树(GBDT)、XGBoost和GW-GBDT,决定系数R2平均提升了14.6%. 住宅密度、金融保险密度、餐饮密度和人口密度是影响出租车出行需求的主要因素. 住宅密度和人口密度在城市外围地区的相对重要性较高,餐饮密度在城市中心区域具有较高的相对重要性. 住宅密度与出租车需求之间呈现倒“U”型非线性关系,且在全区域表现出相似的阈值效应;金融保险密度、餐饮密度与人口密度表现出局部性的非线性正向影响,且各自的有效作用区间在空间上存在明显分异. 建成环境要素间存在协同作用,共同影响出租车需求的强度. 研究结论为城市土地利用优化和交通调控的空间差异化管理提供了理论依据.


关键词: 出租车,  建成环境,  空间异质性,  非线性,  极端梯度提升树(XGBoost) 
Fig.1 Study area of Xi’an
变量名称变量分类符号变量描述最小值最大值平均值标准差
多样性混合度$ {x}_{1} $网格内10类POI土地利用熵指数00.920.460.28
密度人口密度$ {x}_{2} $网格内人口数量/网格面积(人/km2)040 5895 446.768 075.51
餐饮密度$ {x}_{3} $餐饮设施类POI数量/网格面积(个/km2)01 14670.95141.79
风景名胜密度$ {x}_{4} $风景名胜类POI数量/网格面积(个/km2)01541.637.56
教育文化密度$ {x}_{5} $教育设施类POI数量/网格面积(个/km2)033814.0733.16
购物密度$ {x}_{6} $购物设施类POI数量/网格面积(个/km2)01 393113.76219.05
酒店密度$ {x}_{7} $酒店设施类POI数量/网格面积(个/km2)042611.7831.95
体育休闲密度$ {x}_{8} $体育休闲类POI数量/网格面积(个/km2)01246.5313.38
企业密度$ {x}_{9} $公司企业类POI数量/网格面积(个/km2)055726.9952.72
住宅密度$ {x}_{10} $住宅设施类POI数量/网格面积(个/km2)01109.8517.94
金融保险密度$ {x}_{11} $金融保险类POI数量/网格面积(个/km2)01336.1514.20
医疗保健密度$ {x}_{12} $医疗保健类POI数量/网格面积(个/km2)01889.3919.58
道路设计道路密度$ {x}_{13} $网格内道路长度/网格面积(km·km?2)031.465.614.28
公共交通可达性到公交站距离$ {x}_{14} $网格质心到最近公交站距离/km0.0047.920.831.22
到地铁站距离$ {x}_{15} $网格质心到最近地铁站距离/km0.0519.423.883.53
目的地可达性区位条件$ {x}_{16} $网格质心到市中心(钟楼)距离/km0.3530.8112.835.78
Table 1 Statistical summary and description of built environment variables
模型R2MAERMSE
GBDT0.60155.98262.22
XGBoost0.70139.42228.25
GW-GBDT0.62152.08255.64
GW-XGBoost0.73126.03215.17
Table 2 Comparison results of model performance metrics
变量$ \overline{\mathrm{RI}} $/%排序$ \overline{\mathrm{RI}} $均值/%
$ {x}_{1} $2.85152.85
$ {x}_{2} $7.9547.22
$ {x}_{3} $8.103
$ {x}_{4} $3.3213
$ {x}_{5} $4.899
$ {x}_{6} $3.8112
$ {x}_{7} $6.465
$ {x}_{8} $5.598
$ {x}_{9} $4.0011
$ {x}_{10} $17.751
$ {x}_{11} $12.912
$ {x}_{12} $4.6010
$ {x}_{13} $2.72162.72
$ {x}_{14} $3.10144.40
$ {x}_{15} $5.707
$ {x}_{16} $6.2566.25
Table 3 Average relative importance of built environment variables
Fig.2 Spatial distribution of relative importance of key built environment variables
Fig.3 Partial dependence plot of effect of residential density on taxi travel demand
Fig.4 Partial dependence plot of effect of financial and insurance density on taxi travel demand
Fig.5 Partial dependence plot of effect of catering density on taxi travel demand
Fig.6 Partial dependence plot of effect of population density on taxi travel demand
Fig.7 Partial dependence plot of effect of locational conditions on taxi travel demand
Fig.8 Partial dependence plot of effect of distance to subway station on taxi travel demand
Fig.9 Interaction of built environmental factors
[1]   Li B, Cai Z, Jiang L, et al. Exploring urban taxi ridership and local associated factors using GPS data and geographically weighted regression. Cities, 2019, 87, 68- 86.
doi: 10.1016/j.cities.2018.12.033
[2]   Chang X, Chen H, Li J, et al. Travel characteristics of urban residents based on taxi trajectories in China: Beijing, Shanghai, Shenzhen, and Wuhan. Sustainability, 2024, 16 (7): 2694.
doi: 10.3390/su16072694
[3]   Tu W, Cao R, Yue Y, et al. Spatial variations in urban public ridership derived from GPS trajectories and smart card data. Journal of Transport Geography, 2018, 69, 45- 57.
doi: 10.1016/j.jtrangeo.2018.04.013
[4]   王君悦, 董春娇, 王菁, 等. 轨迹数据驱动的出租车出行特征分析与时空分布建模. 吉林大学学报(工学版), 2026, 56 (8): 2106- 2115.
Wang Junyue, Dong Chunjiao, Wang Jing, et al. Trajectory data-driven taxi travel characteristics analysis and spatial-temporal distribution modeling. Journal of Jilin University (Engineering and Technology Edition), 2026, 56 (8): 2106- 2115.
doi: 10.13229/j.cnki.jdxbgxb.20250061
[5]   李琪琳, 鹿应荣, 丁川, 等. 城市建成环境对出租车出行需求影响研究: 基于空间溢出效应的分析. 交通运输系统工程与信息, 2016, 16 (5): 39- 44.
Li Qilin, Lu Yingrong, Ding Chuan, et al. Analysis of the impact of built environment on taxi travel demand considering spatial spillover effect. Journal of Transportation Systems Engineering and Information Technology, 2016, 16 (5): 39- 44.
doi: 10.3969/j.issn.1009-6744.2016.05.006
[6]   程小云, 张学宇, 施澄, 等. 基于多源数据的夜间出行需求空间效应及其异质性分析. 中国公路学报, 2021, 34 (12): 288- 301.
Cheng Xiaoyun, Zhang Xueyu, Shi Cheng, et al. Analysis of spatial effect and its heterogeneity on night-time travel based on multi-source data. China Journal of Highway and Transport, 2021, 34 (12): 288- 301.
doi: 10.3969/j.issn.1001-7372.2021.12.022
[7]   戢晓峰, 黄志文, 关昊天, 等. 建成环境对出租车出行需求的时空异质性影响. 吉林大学学报(工学版), 2026, 56 (6): 1580- 1593.
Ji Xiaofeng, Huang Zhiwen, Guan Haotian, et al. Spatiotemporal heterogeneous effects of built environment on taxi travel demand. Journal of Jilin University (Engineering and Technology Edition), 2026, 56 (6): 1580- 1593.
doi: 10.13229/j.cnki.jdxbgxb.20241155
[8]   Zhu P, Li J, Wang K, et al. Exploring spatial heterogeneity in the impact of built environment on taxi ridership using multiscale geographically weighted regression. Transportation, 2024, 51 (5): 1963- 1997.
doi: 10.1007/s11116-023-10393-1
[9]   Zhang M, Tian D, Liu J, et al. Analysis of taxi demand and traffic influencing factors in urban core area based on data field theory and GWR model: a case study of Beijing. Sustainability, 2024, 16 (17): 7386.
doi: 10.3390/su16177386
[10]   Zhu P, Huang J, Wang J, et al. Understanding taxi ridership with spatial spillover effects and temporal dynamics. Cities, 2022, 125, 103637.
doi: 10.1016/j.cities.2022.103637
[11]   Zhang X, Huang B, Zhu S. Spatiotemporal influence of urban environment on taxi ridership using geographically and temporally weighted regression. ISPRS International Journal of Geo-Information, 2019, 8 (1): 23.
doi: 10.3390/ijgi8010023
[12]   Xie C, Yu D, Lin C, et al. Exploring the spatiotemporal impacts of the built environment on taxi ridership using multisource data. Sustainability, 2022, 14 (10): 6045.
doi: 10.3390/su14106045
[13]   马健霄, 印杰祥, 邵春福, 等. 时空异质性建成环境对出租车出行需求影响. 北京交通大学学报, 2025, 49 (1): 119- 127.
Ma Jianxiao, Yin Jiexiang, Shao Chunfu, et al. Impact of spatiotemporal heterogeneity in built environment on taxi travel demand. Journal of Beijing Jiaotong University, 2025, 49 (1): 119- 127.
doi: 10.11860/j.issn.1673-0291.20240020
[14]   Chen C, Feng T, Ding C, et al. Examining the spatial-temporal relationship between urban built environment and taxi ridership: results of a semi-parametric GWPR model. Journal of Transport Geography, 2021, 96, 103172.
doi: 10.1016/j.jtrangeo.2021.103172
[15]   Lyu T, Wang Y, Ji S, et al. A multiscale spatial analysis of taxi ridership. Journal of Transport Geography, 2023, 113, 103718.
doi: 10.1016/j.jtrangeo.2023.103718
[16]   Gan Z, Yang M, Feng T, et al. Examining the relationship between built environment and metro ridership at station-to-station level. Transportation Research Part D: Transport and Environment, 2020, 82, 102332.
doi: 10.1016/j.trd.2020.102332
[17]   尹超英, 周悦, 徐震宇, 等. 建成环境与主观感知对共享单车地铁换乘出行的非线性影响. 交通运输系统工程与信息, 2025, 25 (5): 169- 178.
Yin Chaoying, Zhou Yue, Xu Zhenyu, et al. Nonlinear effects of built environment and subjective perception on bike-sharing and metro transfer trips. Journal of Transportation Systems Engineering and Information Technology, 2025, 25 (5): 169- 178.
doi: 10.16097/j.cnki.1009-6744.2025.05.015
[18]   Ge Y, Xu Z, Yin C, et al. Revealing nonlinear and spatial interaction effects of built environment on ride-hailing demand in Nanjing, China. Buildings, 2025, 15 (16): 2967.
doi: 10.3390/buildings15162967
[19]   Li Z, Gao F, Xiao C, et al. The effects of the urban built environment on public transport ridership: similarities and differences. Travel Behaviour and Society, 2023, 33, 100630.
doi: 10.1016/j.tbs.2023.100630
[20]   陈启香, 吕斌, 李显林. 站域建成环境对出租车-地铁组合出行的非线性影响. 交通运输工程学报, 2024, 24 (5): 285- 300.
Chen Qixiang, Lyu Bin, Li Xianlin. Nonlinear effect of station-area built environment on taxi-metro combined travel. Journal of Traffic and Transportation Engineering, 2024, 24 (5): 285- 300.
doi: 10.19818/j.cnki.1671-1637.2024.05.019
[21]   Zhou Y, Fu X, Xie Y, et al. Non-linear and temporally dynamic effects of built environment and trip attributes on metro competitiveness. Journal of Transport Geography, 2025, 129, 104443.
doi: 10.1016/j.jtrangeo.2025.104443
[22]   Li Z, Wang X, Gao F, et al. Analysis of mobility patterns for urban taxi ridership: the role of the built environment. Transportation, 2024, 51 (4): 1409- 1431.
doi: 10.1007/s11116-023-10372-6
[23]   Guo C, Jiang Y, Qiao R, et al. The nonlinear relationship between the active travel behavior of older adults and built environments: a comparison between an inner-city area and a suburban area. Sustainable Cities and Society, 2023, 99, 104961.
doi: 10.1016/j.scs.2023.104961
[24]   Wang Y, Zhan Z, Mi Y, et al. Nonlinear effects of factors on dockless bike-sharing usage considering grid-based spatiotemporal heterogeneity. Transportation Research Part D: Transport and Environment, 2022, 104, 103194.
doi: 10.1016/j.trd.2022.103194
[25]   Liu X, Chen X, Potoglou D, et al. Travel impedance, the built environment, and customized-bus ridership: a stop-to-stop level analysis. Transportation Research Part D: Transport and Environment, 2023, 122, 103889.
doi: 10.1016/j.trd.2023.103889
[26]   Wang Z, Li S, Li Y, et al. Investigating the nonlinear effect of built environment factors on metro station-level ridership under optimal pedestrian catchment areas via the machine learning method. Applied Sciences, 2023, 13 (22): 12210.
doi: 10.3390/app132212210
[27]   李培坤, 陈旭梅, 鲁文博, 等. 基于XGBOOST-SHAP的地铁建成环境与站点出行距离的非线性关系研究. 铁道科学与工程学报, 2024, 21 (4): 1624- 1633.
Li Peikun, Chen Xumei, Lu Wenbo, et al. Research on nonlinear relationship between subway built environment and travel distance of stations based on XGBOOST-SHAP. Journal of Railway Science and Engineering, 2024, 21 (4): 1624- 1633.
doi: 10.19713/j.cnki.43-1423/u.T20231070
[28]   Dong S, Wang Y, Wang C, et al. Discovering the nonlinear association between the built environment and metro ridership: global and local perspectives. Cities, 2026, 169, 106561.
doi: 10.1016/j.cities.2025.106561
[1] Mengbin DUAN,Guoxing BAI,Yu MENG,Qing GU,Zhen WANG,Elxat ELHAM,Shaochong LIU. Path planning and tracking control for differential-drive robots based on A* and multi-reference point MPC[J]. Journal of ZheJiang University (Engineering Science), 2026, 60(8): 1627-1637.
[2] Zhengrong CHEN,Ruochen WANG,Renkai DING,Feng WEI. Mode-switching strategy for electro-hydraulic composite braking system of electric vehicle[J]. Journal of ZheJiang University (Engineering Science), 2026, 60(6): 1307-1316.
[3] Haoran WU,Yanming LI,Fujing ZHANG,Fenghe JIANG,Hai LIN. PMSM control with inverter nonlinearity compensation based on adaptive super-twisting sliding mode[J]. Journal of ZheJiang University (Engineering Science), 2026, 60(5): 1128-1138.
[4] Jiahui JIANG,Yun LONG,Chong YAO,Rongjia LIN,Enzhe SONG,Yun KE. Improved Smith sliding mode control for air-fuel ratio of natural gas engine[J]. Journal of ZheJiang University (Engineering Science), 2026, 60(3): 661-669.
[5] Zhuang KANG,Limin JIA. Review of fuzzy modeling and control for multivariable nonlinear complex systems[J]. Journal of ZheJiang University (Engineering Science), 2026, 60(10): 2259-2277.
[6] Hui XIONG,Banglu GE,Jinzhen LIU,Jiaxing WANG. Improved slime mould bee colony algorithm for multi-UAVs cooperative path planning[J]. Journal of ZheJiang University (Engineering Science), 2025, 59(8): 1698-1707.
[7] Qi WEI,Jianfeng TAO,Hao SUN,Yulei ZHANG,Chengliang LIU. Nonlinear model predictive trajectory tracking for valve-controlled cylinder with counterbalance valve[J]. Journal of ZheJiang University (Engineering Science), 2025, 59(8): 1565-1573.
[8] Jinchi JIAO,Jian SUN,Xunyou NI. Dynamic game and carbon emission effects between urban ride-sourcing and cruise taxis[J]. Journal of ZheJiang University (Engineering Science), 2025, 59(7): 1373-1384.
[9] Bilan HU,Yangyang WANG,Yongqiang ZHANG. Time series prediction of horizontal displacement in foundation pits based on Stacking multi-model[J]. Journal of ZheJiang University (Engineering Science), 2025, 59(4): 706-716.
[10] Tingwei JI,Liang WANG,Fangfang XIE,Xinshuai ZHANG,Changdong ZHENG. Modeling of vortex-induced vibration system based on sparse identification of nonlinear dynamics[J]. Journal of ZheJiang University (Engineering Science), 2025, 59(2): 402-412.
[11] Qingchang LU,Kangjie YUAN. Nonlinear effects of bike-sharing demands considering spatial heterogeneity[J]. Journal of ZheJiang University (Engineering Science), 2025, 59(12): 2576-2584.
[12] Jiacheng SONG,Yanan ZHANG. Model-free control of nonlinear train under tracking performance constraint[J]. Journal of ZheJiang University (Engineering Science), 2025, 59(11): 2309-2316.
[13] Qin WANG,Qingchang LU,Jianyu LI,Zhangxin WANG,Tu ZHANG. Profitable taxi route recommendation considering demand[J]. Journal of ZheJiang University (Engineering Science), 2024, 58(6): 1233-1242.
[14] Jie ZHAO,Feng LIU,Ling XIA,Yifeng FAN. Passive shimming optimization method of MRI based on genetic algorithm-sequential quadratic programming[J]. Journal of ZheJiang University (Engineering Science), 2024, 58(6): 1305-1314.
[15] Xi-ze CHEN,Jun-feng JIA,Yu-lei BAI,Tong GUO,Xiu-li DU. Prediction model of axial bearing capacity of concrete-filled steel tube columns based on XGBoost-SHAP[J]. Journal of ZheJiang University (Engineering Science), 2023, 57(6): 1061-1070.