Plotlay

Showcase · Data layers · DataSF and California open data

How far has the soft-story program got?

San Francisco requires wood-frame apartment buildings built before 1978, with five or more homes and two or more storeys over a weak ground floor of garages or shops, to be strengthened against earthquakes.

How far has San Francisco’s soft-story retrofit program got, and are the buildings on liquefiable ground done? Every building on the program’s list, by the year its retrofit was finished, against the state’s mapped liquefaction zones.

A soft-story building has a weak ground floor, garages or shopfronts under flats, that can fold in an earthquake. In 2013 San Francisco required the owners of about 5,000 wood-frame buildings of three or more storeys and five or more units to strengthen them, in four tiers with deadlines from 2017 to 2020. On the program’s list as of 7 October 2026, 4,662 of 4,901 parcels (95.1%) are listed complete. In the mapped liquefaction zones, where shaking is worst, it is 657 of 698 (94.1%), and 37 are still listed non-compliant.

Map picture of the Marina in 2026: soft-story parcels coloured by their retrofit state, nearly all retrofitted.
The Marina, mostly a mapped liquefaction zone, in 2026. A map picture made in Plotlay’s Analysis workspace from the data layer.
Open in PlotlayEvery parcel on the list, the year slider and the liquefaction zones. No account needed.Data, notebook and Power BI files on GitHubThe plotlay-sf-soft-story repository

The list says what, not when or where

The city publishes the program’s list weekly: each building’s block and lot, tier and status, today. It does not say when each building was finished, so progress over the years cannot be read from it, and it does not say which buildings stand on ground that can liquefy. The dates are in another dataset, the city’s building permits: 9,403 permits name the soft story work. The ground is in a third, from the state: the California Geological Survey’s mapped liquefaction zones. Here the three meet on each parcel.

95.1%of 4,901 parcels listed complete
94.1%of the 698 in liquefaction zones
227listed non-compliant, 37 in the zones
2018the busiest year: 857 finished

The map

Each parcel on the list, coloured by its state in the year on the slider, over the liquefaction zones in blue. Press Play to watch the city fill in. Hover over a parcel, or tap it on a phone, for its tier, status and year.

2026

The zones lagged, by design

The ordinance put buildings in mapped liquefaction zones in Tier IV, the last deadline (15 September 2020), unless they belonged in Tier I. 405 of the 698 zone parcels are Tier IV. So at the end of 2018 the zones were 8.1 percentage points behind the rest of the city (41.5% against 49.6% with a completed permit). By 2026 they have all but caught up: 85.5% against 86.2%.

Line chart of the share of soft-story parcels with a completed retrofit permit by year, 2014 to 2026, in and out of liquefaction zones; the zones trail until about 2021 and end at 85.5%.
Share done by year. A chart made in Plotlay from the linked parcels by year.
Map picture of the Marina in 2018: many soft-story parcels not yet retrofitted.
The Marina, 2018.
Map picture of the Mission and South of Market in 2018.
The Mission and South of Market, 2018.

Against the deadlines

By its deadline, 62.6% of Tier II had a completed permit (15 September 2018), 62.6% of Tier III (2019) and 57.8% of Tier IV (2020). Most of the rest followed within two years. Today Tier IV, the zones’ tier, is 92.3% complete, with 76 parcels non-compliant.

Line chart of the share of each tier with a completed retrofit permit by year, with each tier’s deadline marked.
Each tier against its deadline. A chart made in Plotlay.

How it was made in Plotlay

  1. A map project on the USGS National Map topo base map (public domain), and two data layers.
  2. Soft-story parcels: Take all. The city’s parcel file as a layer to pick from, with its licence: 4,899 parcels in one step, keyed by their own block and lot.
  3. Link by key the program’s list, then one row per parcel and year from 2014 to 2026 as a time axis.
  4. Colour by the state that year: retrofitted, not yet, complete with no known year, and in 2026 still not done or under review. Play steps the years.
  5. Liquefaction zones: Take all from the state’s file, drawn over the parcels.
  6. Charts and map pictures in the Analysis workspace: the lines above and the neighbourhood maps, each exported as PNG.
  7. Export GeoJSON, TopoJSON for the Power BI Shape Map, CSV with WKT and the linked data.
Plotlay: the soft-story parcels coloured by their state in 2026, with the legend and the year slider.
Parcels by state, 2026.
Plotlay: the liquefaction zones drawn over the parcels.
The liquefaction zones over the parcels.
Plotlay: the Take all dialog for the parcels file, keyed by blklot.
Take all: every parcel at once, keyed by block and lot.
Plotlay: the parcels in 2016, most not yet retrofitted.
The slider at 2016.

More about Data layers · Make a data layer of your own

Power BI

Report screenshots coming soonThe program today, year by year, parcel by parcel.

The same tables as a Power BI Project (.pbip): a Shape Map of the parcels keyed by block and lot, a liquefaction zone slicer, the year-by-year lines and the parcel table, with the Plotlay theme. It reads the data from the GitHub repository, so it refreshes with no gateway. It is in the plotlay-sf-soft-story repository on GitHub, with the steps to open it.

Python

A narrated Jupyter notebook reads the tables and shapes, recomputes every number on this page, shows why the zones lagged, and maps the parcels over the zones.

Download the notebook (with its outputs) and the data. Both are also in the repository on GitHub.

Read it carefully

The other United States showcase

Sources and licences

Soft-Story Properties (Mandatory Soft Story Program, data as of 7 October 2026), Building Permits and Parcels: DataSF, City and County of San Francisco. DataSF’s Terms of Use: “Data is made available under the Public Domain Dedication and License v1.0, unless a file or page says otherwise.” Liquefaction Zones (Seismic Hazard Zones): California Department of Conservation, California Geological Survey, listed on data.ca.gov under Creative Commons Attribution. Changes: one row per parcel, completion dates from the permits, parcels and zones keyed in Plotlay.

Base map in the app and on this page’s map: USGS The National Map, US Topo (public domain). Map: Leaflet.

Our tables and shapes are CC BY 4.0 and the code is MIT. This is independent work using open data, not endorsed by the City and County of San Francisco or the California Geological Survey.

Map your own buildings

Plotlay is free to start: every tool, three cloud projects.

Create free accountThen open Data layers in any map project