Skip to main content

Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

Advertisement

Humanities and Social Sciences Communications
  • View all journals
  • Search
  • My Account Login
  • Content Explore content
  • About the journal
  • Publish with us
  • Sign up for alerts
  • RSS feed
  1. nature
  2. humanities and social sciences communications
  3. articles
  4. article
Residential segregation assessment based on multi-source data and random forest method: a case study of Nanjing
Download PDF
Download PDF
  • Article
  • Open access
  • Published: 05 March 2026

Residential segregation assessment based on multi-source data and random forest method: a case study of Nanjing

  • Yunpeng Zhang1,
  • Yan Sun2,
  • A-Xing Zhu3 &
  • …
  • Tong Gao1 

Humanities and Social Sciences Communications , Article number:  (2026) Cite this article

  • 925 Accesses

  • Metrics details

We are providing an unedited version of this manuscript to give early access to its findings. Before final publication, the manuscript will undergo further editing. Please note there may be errors present which affect the content, and all legal disclaimers apply.

Subjects

  • Geography
  • Sociology

Abstract

The assessment of urban residential segregation plays a crucial role in guiding equitable governance and fostering healthy urban development. Existing research evaluating residential segregation from the perspective of wealth disparity often struggles to obtain accurate population distribution data across different socio-economic strata, leading to potential biases in the assessment outcomes. However, residential compounds, as the living spaces for various social groups, can serve as a surrogate for the data representing different socio-economic levels in the evaluation of residential segregation. This paper explores a method that classifies residential compounds based on multi-source data to replace socio-economic strata and assess residential segregation. The experimental results demonstrate that this method can effectively and conveniently evaluate residential segregation, providing a new approach for research in this area.

Similar content being viewed by others

Human mobility networks reveal increased segregation in large cities

Article Open access 29 November 2023

Segregated by whom? Examining triple neighbourhood disadvantages and activity spaces in Seoul, South Korea

Article Open access 16 September 2024

Exploring nonlinear and interactive associations between built environment features and subjective streetscape perceptions

Article Open access 27 November 2025

Data availability

The data and code that support the findings of this study are publicly available via Zenodo at https://zenodo.org/records/18321286.

References

  • Arfa A, Minaei M (2024) Utilizing multitemporal indices and spectral bands of Sentinel-2 to enhance land use and land cover classification with random forest and support vector machine. Adv Space Res 74(11):5580–5590. https://doi.org/10.1016/j.asr.2024.08.062

    Google Scholar 

  • Bailey N, Gannon M, Kearns A, Livingston M, Leyland AH (2013) Living apart, losing sympathy? How neighbourhood context affects attitudes to redistribution and to welfare recipients. Environ Plan A Econ Space 45(9):2154–2175. https://doi.org/10.1068/a45641

    Google Scholar 

  • Benassi F, Iglesias-Pascual R, Salvati L (2020) Residential segregation and social diversification: exploring spatial settlement patterns of foreign population in Southern European cities. Habitat Int 101: 102200. https://doi.org/10.1016/j.habitatint.2020.102200

    Google Scholar 

  • Buck KD, Summers JK, Smith LM (2021) Investigating the relationship between environmental quality, socio-spatial segregation and the social dimension of sustainability in US urban areas. Sustain Cities Soc 67: 102732. https://doi.org/10.1016/j.scs.2021.102732

    Google Scholar 

  • Caner G, Bolen F (2013) Implications for socio-spatial segregation in urban theories. J Plan 23(3):153–161. https://doi.org/10.5505/planlama.2013.94695

    Google Scholar 

  • Cao K, Harris R, Liu S, Deng Y (2024) How does urban renewal affect residential segregation in Shenzhen, China? A multi-scale study. Sustain Cities Soc 102: 105228. https://doi.org/10.1016/j.scs.2024.105228

    Google Scholar 

  • Du S, Zhang F, Zhang X (2015) Semantic classification of urban buildings combining VHR image and GIS data: an improved random forest approach. ISPRS J Photogramm Remote Sens 105:107–119. https://doi.org/10.1016/j.isprsjprs.2015.03.011

    Google Scholar 

  • Duncan OD, Duncan B (1955) A methodological analysis of segregation indexes. Am Sociol Rev 20(2):210. https://doi.org/10.2307/2088328

    Google Scholar 

  • Grauwin S, Goffette-Nagot F, Jensen P (2012) Dynamic models of residential segregation: an analytical solution. J Public Econ 96(1–2):124–141. https://doi.org/10.1016/j.jpubeco.2011.08.011

    Google Scholar 

  • Hendrikx M, Wissink B (2017) Welcome to the club! An exploratory study of service accessibility in commodity housing estates in Guangzhou, China. Soc Cultural Geogr 18(3):371–394. https://doi.org/10.1080/14649365.2016.1181197

    Google Scholar 

  • Hong S-Y, O’Sullivan D, Sadahiro Y (2014) Implementing spatial segregation measures in R. PLoS One 9(11):e113767. https://doi.org/10.1371/journal.pone.0113767

    Google Scholar 

  • Konishi H (2025) Equilibrium land use with collective housing developments: voting with feet and entrepreneurship. Japanese Econ Rev. https://doi.org/10.1007/s42973-025-00213-9

  • Leal M, Carreiras M, Alves S (2025) Decoding the spatial dynamics of sales and rental prices in a high-pressure Portuguese housing market: a random forest approach for the Lisbon Metropolitan Area. Cities 158: 105631. https://doi.org/10.1016/j.cities.2024.105631

    Google Scholar 

  • Lin RF-Y, Ou C, Tseng K-K, Bowen D, Yung KL, Ip WH (2021) The Spatial neural network model with disruptive technology for property appraisal in real estate industry. Technol Forecast Soc Change 173: 121067. https://doi.org/10.1016/j.techfore.2021.121067

    Google Scholar 

  • Lippert RK, Mackinnon D, Treffers S (2024) The new private urban governance: vestiges, ventures and visibility. Urban Stud 61(14):2673–2685. https://doi.org/10.1177/00420980241286305

    Google Scholar 

  • Luo M, Zhang S, Deng W (2024) Has urban expansion alleviated working-residential spaces segregation across inner-outer cities? A multi-scale study with location-based social bigdata. Habitat Int 153: 103183. https://doi.org/10.1016/j.habitatint.2024.103183

    Google Scholar 

  • Martinez-Sanchez L, See L, Yordanov M, Verhegghen A, Elvekjaer N, Muraro D, d’Andrimont R, Van Der Velde M (2024) Automatic classification of land cover from LUCAS in-situ landscape photos using semantic segmentation and a Random Forest model. Environ Model Softw 172: 105931. https://doi.org/10.1016/j.envsoft.2023.105931

    Google Scholar 

  • Matas MI (2024) Beyond residential segregation: mapping Chilean social housing project residents’ vulnerability. J Urban Manag 13(1):140–156. https://doi.org/10.1016/j.jum.2023.12.003

    Google Scholar 

  • Momeni E, Antipova A (2022) A micro-level analysis of commuting and urban land using the Simpson’s index and socio-demographic factors. Appl Geogr 145: 102755. https://doi.org/10.1016/j.apgeog.2022.102755

    Google Scholar 

  • Moya-Gómez B, StÄ™pniak M, García-Palomares JC, Frías-Martínez E, Gutiérrez J (2021) Exploring night and day socio-spatial segregation based on mobile phone data: the case of Medellin (Colombia). Comput Environ Urban Syst 89: 101675. https://doi.org/10.1016/j.compenvurbsys.2021.101675

    Google Scholar 

  • Niu T, Chen Y, Yuan Y (2020) Measuring urban poverty using multi-source data and a random forest algorithm: a case study in Guangzhou. Sustain Cities Soc 54: 102014. https://doi.org/10.1016/j.scs.2020.102014

    Google Scholar 

  • Omer I, Goldblatt R (2012) Urban spatial configuration and socio-economic residential differentiation: the case of Tel Aviv. Comput Environ Urban Syst 36(2):177–185. https://doi.org/10.1016/j.compenvurbsys.2011.09.003

    Google Scholar 

  • Orr AM, Stewart JL, Jackson C, White JT (2023) Not quite the ‘death of the high street’ in UK city centres: rising vacancy rates and the shift in property use richness and diversity. Cities 133: 104124. https://doi.org/10.1016/j.cities.2022.104124

    Google Scholar 

  • Pan J, Dong L (2021) Spatial identification of housing vacancy in China. Chin Geographical Sci 31(2):359–375. https://doi.org/10.1007/s11769-020-1171-7

    Google Scholar 

  • Poku-Boansi M, Amoako C, Owusu-Ansah JK, Cobbinah PB (2020) The geography of urban poverty in Kumasi, Ghana. Habitat Int 103: 102220. https://doi.org/10.1016/j.habitatint.2020.102220

    Google Scholar 

  • Reardon SF, O’Sullivan D (2004) Measures of spatial segregation. Sociol Methodol 34(1):121–162. https://doi.org/10.1111/j.0081-1750.2004.00150.x

    Google Scholar 

  • Schaeffer Y, Tivadar M (2019) Measuring environmental inequalities: insights from the residential segregation literature. Ecol Econ 164: 106329. https://doi.org/10.1016/j.ecolecon.2019.05.009

    Google Scholar 

  • Shi K, Chang Z, Chen Z, Wu J, Yu B (2020) Identifying and evaluating poverty using multisource remote sensing and point of interest (POI) data: a case study of Chongqing, China. J Clean Prod 255: 120245. https://doi.org/10.1016/j.jclepro.2020.120245

    Google Scholar 

  • Shi L, Wurm M, Huang X, Zhong T, Leichtle T, Taubenböck H (2022) Estimating housing vacancy rates at block level: the example of Guiyang, China. Landsc Urban Plan 224: 104431. https://doi.org/10.1016/j.landurbplan.2022.104431

    Google Scholar 

  • Song W, Huang Q, Gu Y, He G (2021) Unraveling the multi-scalar residential segregation and socio-spatial differentiation in China: a comparative study based on Nanjing and Hangzhou. J Geographical Sci 31(12):1757–1774. https://doi.org/10.1007/s11442-021-1921-1

    Google Scholar 

  • Väisänen T, Järv O, Toivonen T, Hiippala T (2022) Mapping urban linguistic diversity with social media and population register data. Comput Environ Urban Syst 97: 101857. https://doi.org/10.1016/j.compenvurbsys.2022.101857

    Google Scholar 

  • Wong DWS (2008) A local multidimensional approach to evaluate changes in segregation. Urban Geogr 29(5):455–472. https://doi.org/10.2747/0272-3638.29.5.455

    Google Scholar 

  • Wu Q, Cheng J, Chen G, Hammel DJ, Wu X (2014) Socio-spatial differentiation and residential segregation in the Chinese city based on the 2000 community-level census data: a case study of the inner city of Nanjing. Cities 39:109–119. https://doi.org/10.1016/j.cities.2014.02.011

    Google Scholar 

  • Xie Y, Zhou X (2014) Income inequality in today’s China. Proc Natl Acad Sci 111(19):6928–6933. https://doi.org/10.1073/pnas.1403158111

    Google Scholar 

  • Yao J, Wong DWS, Bailey N, Minton J (2019) Spatial segregation measures: a methodological review. Tijdschr Voor Economische En Soc Geografie 110(3):235–250. https://doi.org/10.1111/tesg.12305

    Google Scholar 

  • Yeh I-C, Hsu T-K (2018) Building real estate valuation models with comparative approach through case-based reasoning. Appl Soft Comput 65:260–271. https://doi.org/10.1016/j.asoc.2018.01.029

    Google Scholar 

  • Zandi R, Zanganeh M, Akbari E (2019) Zoning and spatial analysis of poverty in urban areas (Case Study: Sabzevar City-Iran). J Urban Manag 8(3):342–354. https://doi.org/10.1016/j.jum.2019.09.002

    Google Scholar 

  • Zeng Q, Wu H, Zhou L, Gao X, Fei N, Dewancker BJ (2025) Unraveling nonlinear relationship of built environment on pre-sale and second-hand housing prices using multi-source big data and machine learning. Front Architectural Res, S209526352500086X. https://doi.org/10.1016/j.foar.2025.06.006

  • Zhang M, Qiao S, Yeh AG-O (2022) Disamenity effects of displaced villagers’ resettlement community on housing price in China and implication for socio-spatial segregation. Appl Geogr 142: 102681. https://doi.org/10.1016/j.apgeog.2022.102681

    Google Scholar 

  • Zhang T, Duan X, Wong DWS, Lu Y (2021) Discovering income-economic segregation patterns: a residential-mobility embedding approach. Comput Environ Urban Syst 90: 101709. https://doi.org/10.1016/j.compenvurbsys.2021.101709

    Google Scholar 

  • Zhang Y, Song Y, Zhang W, Wang X (2024) Working and residential segregation of migrants in Longgang City, China: a mobile phone data-based analysis. Cities 144: 104625. https://doi.org/10.1016/j.cities.2023.104625

    Google Scholar 

  • Zhu A-X, Lv G, Zhou C, Qin C (2020) Geographic similarity: third law of geography?. J Geo Inf Sci 22(4):4. https://doi.org/10.12082/dqxxkx.2020.200069

    Google Scholar 

  • Zhu A-X, Turner M (2022) How is the third law of geography different?. Ann GIS 28(1):57–67. https://doi.org/10.1080/19475683.2022.2026467

    Google Scholar 

Download references

Acknowledgements

This research was supported by the National Natural Science Foundation of China (42471453).

Author information

Authors and Affiliations

  1. School of Geomatics Science and Technology, Nanjing Tech University, Nanjing, China

    Yunpeng Zhang & Tong Gao

  2. School of Public Administration, Nanjing University of Finance and Economics, Nanjing, China

    Yan Sun

  3. Department of Geography, University of Wisconsin-Madison, Madison, WI, USA

    A-Xing Zhu

Authors
  1. Yunpeng Zhang
    View author publications

    Search author on:PubMed Google Scholar

  2. Yan Sun
    View author publications

    Search author on:PubMed Google Scholar

  3. A-Xing Zhu
    View author publications

    Search author on:PubMed Google Scholar

  4. Tong Gao
    View author publications

    Search author on:PubMed Google Scholar

Contributions

YPZ was responsible for data curation, project administration, funding acquisition, validation, and writing review & editing; YS was responsible for conceptualization, methodology, validation, writing the original draft, and writing review & editing; AXZ contributed to project administration, conceptualization, and methodology; TG contributed to data curation, investigation, and methodology.

Corresponding author

Correspondence to Yan Sun.

Ethics declarations

Competing interests

The authors declare no competing interests.

Ethical approval

This article does not contain any studies with human participants performed by any of the authors.

Informed consent

This article does not contain any studies with human participants performed by any of the authors.

Additional information

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Zhang, Y., Sun, Y., Zhu, AX. et al. Residential segregation assessment based on multi-source data and random forest method: a case study of Nanjing. Humanit Soc Sci Commun (2026). https://doi.org/10.1057/s41599-026-06840-w

Download citation

  • Received: 31 March 2025

  • Accepted: 20 February 2026

  • Published: 05 March 2026

  • DOI: https://doi.org/10.1057/s41599-026-06840-w

Share this article

Anyone you share the following link with will be able to read this content:

Sorry, a shareable link is not currently available for this article.

Provided by the Springer Nature SharedIt content-sharing initiative

Download PDF

Advertisement

Explore content

  • Research articles
  • Reviews & Analysis
  • News & Comment
  • Collections
  • Follow us on X
  • Sign up for alerts
  • RSS feed

About the journal

  • Journal Information
  • Referee instructions
  • Editor instructions
  • Journal policies
  • Open Access Fees and Funding
  • Calls for Papers
  • Events
  • Contact

Publish with us

  • For authors
  • Language editing services
  • Open access funding
  • Submit manuscript

Search

Advanced search

Quick links

  • Explore articles by subject
  • Find a job
  • Guide to authors
  • Editorial policies

Humanities and Social Sciences Communications (Humanit Soc Sci Commun)

ISSN 2662-9992 (online)

nature.com footer links

About Nature Portfolio

  • About us
  • Press releases
  • Press office
  • Contact us

Discover content

  • Journals A-Z
  • Articles by subject
  • protocols.io
  • Nature Index

Publishing policies

  • Nature portfolio policies
  • Open access

Author & Researcher services

  • Reprints & permissions
  • Research data
  • Language editing
  • Scientific editing
  • Nature Masterclasses
  • Research Solutions

Libraries & institutions

  • Librarian service & tools
  • Librarian portal
  • Open research
  • Recommend to library

Advertising & partnerships

  • Advertising
  • Partnerships & Services
  • Media kits
  • Branded content

Professional development

  • Nature Awards
  • Nature Careers
  • Nature Conferences

Regional websites

  • Nature Africa
  • Nature China
  • Nature India
  • Nature Japan
  • Nature Middle East
  • Privacy Policy
  • Use of cookies
  • Legal notice
  • Accessibility statement
  • Terms & Conditions
  • Your US state privacy rights
Springer Nature

© 2026 Springer Nature Limited