By Matt Stiles and Ryan Menezes
Los Angeles Times
This repository contains the datasets and code used to examine the effects of a proposed restriction on where the homeless can sleep. The proposal was put forward by Councilmember Mitch O’Farrell at L.A. City Hall in August.
To perform the spatial analysis, the Times used the Python programming language and a popular open-source spatial library, GeoPandas, to plot parks, schools, day care centers and some special venues — and then to draw 500-foot buffers around them. The results were then clipped by neighborhood, and the percentage of buffered area for each neighborhood was calculated. We also took steps to estimate the population of homeless people that would be affected by the proposal: Those who, quite literally, are forced to sleep on the street at night (as opposed to those who take shelter in cars or other vehicles). The relevant Python code is detailed in three Jupyter notebooks here.
The analysis shows that at least 26% of the city -- or about 127 of the city's 476 square miles -- would be excluded for sleeping under the proposed rules. The policy would affect 15,000 homeless Angelenos who sleep on the sidewalks at night.
- Maps: Could homeless people sleep in your neighborhood if new rules pass?
- Many of L.A.’s sidewalks would be off-limits for homeless people to sleep if plan passes
- L.A. is again considering limits on where homeless people can sleep — this time by schools and parks
The proposal isn't yet specific, so we made some assumptions about the types of locations to include. The data for these locations come from city, county and state GIS portals, and they've been clipped to the city's boundaries before the analysis.
We drew 500-foot buffers around these places:
- All public schools (polygons from the city)
- Private schools (polygons extracted from the countywide parcel file)
- Children’s day care centers (points from the state's list and related to county parcel records)
- City, county, regional state parks (only those polygons from the county's parks spatial database that are within the city limits, excluding those categorized as transportation 'parkways', such Metro rail lines)
- Special venues (polygons extracted manually from the county's parcel file)
- Staples Center (AIN# 5138016913)
- Los Angeles Veterans Memorial Coliseum (5037027937)
- Hollywood Bowl (5549009903)
- Dodger Stadium (5415018016/5415018015)
- Universal Studios (2424043034/2424043021)
- El Pueblo de Los Angeles Historical Monument (5408008900)
- Hollywood Walk of Fame (Hollywood Blvd from La Brea to Gower)
Some of these data sets — schools, for example — represent complete lists of properties. Others, such as those collected by Los Angeles County GIS officials for homeless shelters and child care centers, are compiled from official sources for private and government-related facilities, but they are not complete lists.