Chicago 'L' Station Report Cards
A two-page report card for each of the 144 CTA 'L' stations, built in QGIS 4.2.2. One page shows how much ridership has come back since 2019. The other grades the half mile around each Chicago station on its readiness for transit-oriented development, using the rules in the city's 2022 Connected Communities Ordinance.

- Role
- Solo, working with Claude Code, which drove QGIS through the QGIS MCP plugin
- Timeframe
- September 2026
- Location
- Chicago, Illinois
- Updated
- Tools
- QGIS, used in 3 projects
- PyQGIS
- Python, used in 7 projects
- GeoPandas, used in 3 projects
- GTFS-GO
- Valhalla
- QuickOSM
- Claude Code, used in 9 projects
The question
I asked two things about every ‘L’ station. How much of its 2019 ridership has come back? And is the half mile around it set up for transit-oriented development?
Chicago’s 2022 Connected Communities Ordinance gives the second question a legal footing. It defines a transit-served location, or TSL: land within 2,640 feet of a CTA or Metra entrance, or within 1,320 feet of a bus corridor listed in Table 17-17-0400-B, measured to the lot’s nearest boundary.
I also built this to push QGIS 4.2.2 and its plugins as far as they would go, so the break log is a deliverable too.
The main results:
- Ridership: from January to June 2026, the ‘L’ carried 63% of its 2019 weekday entries and 88% of its weekend entries, comparing the same months of each year.
- Zone size: the TSL zone covers 71.2% of Chicago. That figure is my own calculation. The City doesn’t publish one.
- Grades: of the 124 stations in the city, 123 received a letter: 39 A, 44 B, 30 C, 7 D, and 3 F. Cumberland, Midway, and Harlem on the O’Hare branch are at the bottom.
What’s on a card
Each station has two letter-size atlas pages, 288 pages in all.
The ridership page has a half-mile map clipped to its circle, weekday recovery against 2019, a monthly line chart from 2019 to 2026, and a weekday and weekend bar chart.
The TOD page shows zoning clipped to the half mile, 5 and 10 minute walksheds, station entrances, bus corridors by measured weekday service, and the letter grade.
TOD pages for four stations. Select one to enlarge it.
The PDFs linked at the top of this page are the ridership pages as single-page Geospatial PDFs, so the grades above aren’t printed on them. I picked those four stations because they span the grades and they’re the TOD pages I spot-checked. The full atlas is about 220 MB, so it isn’t hosted here.
Ridership
Recovery compares January to June of 2019 with the same months of 2026, so seasonality cancels out. The median station is at 63.2% of its 2019 weekday entries.
Cermak-Chinatown is the top station at 113%. The five lowest are all on the Blue Line’s Forest Park branch, with Harlem lowest at 31%. Weekend riding has come back much further than commuting.
The animation runs through all 90 months from January 2019 to June 2026, using the QGIS Temporal Controller.
How the grade works
The score runs from 0 to 100. It’s the average of three parts, weighted equally:
- Walk access. The area of the 10-minute walkshed as a share of the half-mile circle. 40% or less scores 0 and 85% or more scores full marks. This marks down stations in expressway medians, where a half mile on the map is a much shorter walk.
- Zoning. One minus the share of residential-capable parcel land zoned RS or RT, the districts for detached houses, two-flats, and townhouses. Planned developments count as transit-supportive.
- Frequent bus. The share of the half-mile circle within 1,320 feet of an ordinance corridor that runs every 10 minutes or better at the AM peak, midday, and evening.
These are the inputs behind those parts:
- TSL zone: I buffered 361 CTA entrances from OpenStreetMap and 84 Metra stops, plus the bus corridors. The zone is 105,421 of the city’s 148,078 acres. Rail alone reaches 40.3% of the city, and bus corridors alone reach 62.0%.
- Bus corridors: I parsed Table 17-17-0400-B from the ordinance PDF and traced its 225 segments on City street centerlines, locating 222. By miles, 62% of the corridors run frequently all day, 23% only at peak, 12% moderately, and 3% infrequently.
- Parcels: 166,897 parcels from Cook County, each assigned the zoning district at its representative point. Near stations, 25% of parcel land is RS and 14% is RT.
- Walksheds: 288 Valhalla isochrones, two for each of the 144 stations.
The grades
| Grade | Score | Stations |
|---|---|---|
| A | 75 and up | 39 |
| B | 60 to 74 | 44 |
| C | 45 to 59 | 30 |
| D | 30 to 44 | 7 |
| F | Below 30 | 3 |
| No grade | 21 |
The median graded station scores 68. Chicago on the Red Line is the highest at 96. Cumberland is the lowest at 23, followed by Midway at 24 and Harlem on the O’Hare branch at 28.
| Station | Grade | Walk reach | RS and RT share | Frequent bus | Weekday recovery |
|---|---|---|---|---|---|
| Chicago (Red) | A, 96 | 80% | 0% | 100% | 57% |
| Logan Square (Blue) | B, 69 | 83% | 76% | 87% | 64% |
| Irving Park (Brown) | D, 44 | 74% | 83% | 38% | 54% |
| Cumberland (Blue) | F, 23 | 31% | 30% | 0% | 54% |
These four stations are 73 points apart on the grade and about 10 points apart on recovery. The two pages of a card measure different things: the grade describes the land and streets around a station, and it says nothing about who is riding.
What broke in QGIS
This section is for anyone working in QGIS 4.2. The setup was QGIS 4.2.2 on macOS with Qt 6.11.1 and the QGIS MCP plugin 0.15.0. The log has 21 entries, and I rated two of them high severity. These are the ones most likely to cost you time.
Silent failures
- Atlas limits dropped on export. “Limit coverage layer render to current feature”
works in the designer, but PyQGIS exports still drew every neighboring ring. The
exporter replaces the layout’s render flags, so set
settings.flags = layout.renderContext().flags()before exporting. - Geospatial PDF skipped. A multi-page atlas with
writeGeoPdf=Truecomes out as a plain PDF with no error. Geospatial PDF is single-page only, so I usedexportToPdfsto write one file per station. - Headless exports lost the basemap.
setPrefixPathsent QGIS looking for providers in the wrong folder inside the app bundle, so the XYZ layer came up invalid. SettingsetPluginPathandsetPkgDataPathfixed it. Named color ramps also failed, so I used an inlinecreate_ramp. - Valhalla intervals are seconds. Intervals of
10gave tiny polygons, and empty results were dropped without a warning. I used300,600and checked that the feature count matched inputs times contours: 288 = 144 × 2.
Crashes and freezes
- Calling
setPlottwice crashed QGIS. This one was self-inflicted.setPlottakes ownership and deletes the previous plot, so passing the same Python object twice left a dangling pointer. Configure the plot fully, then call it once. - Point Sampling Tool froze the interface. It fails when the output GeoPackage doesn’t exist yet, then reports through a modal dialog. I created the GeoPackage first and swapped the dialog for a non-blocking stand-in. After that, 166,897 points against 14,986 zoning polygons took 22 seconds, with 99.997% agreement with GeoPandas.
Limits and likely bugs
- Layout charts don’t auto-range. The y axis stays at 0 to 10 unless you set it, so I precomputed a maximum and step for each station and drove the axis from those fields.
- Pie charts lose their labels. With categories and colors taken from the layer renderer, no slice labels draw. It looks like a 4.2 bug, so a legend stands in.
- The two Geospatial PDF modes pull in opposite directions. Layer-tree mode needs a map that follows the project tree, so every visible layer draws on the ridership page. TOD layers stay hidden by default and the TOD map uses a locked layer set.
The data had its own problems. The ordinance’s table has typos, including “McCormack Blvd”, “Commerical Ave”, and “Byrn Mawr Ave”, and some street names have changed since. I handled those with aliases and one reviewed override, and flagged each repair.
Limits
- 21 stations have no grade. The 20 stations outside the city get no grade because the ordinance doesn’t apply there. O’Hare is inside the city, but no parcels touch its half mile in my data, so it has no zoning part and no score. The project’s notes say 124 graded stations, but that count includes O’Hare.
- The 71.2% is my own number. The City publishes no TSL zone figure, so there’s nothing to check it against. It depends on OpenStreetMap entrances and on the 222 of 225 corridor segments I could locate. It isn’t an official measure.
- 11 stations use the station point. They have no mapped entrance in OpenStreetMap. Ten are outside the city. The other is Racine on the Blue Line.
- The grade is a judgment call. The equal weights and the letter cut-offs are my choices, and different ones would move stations between grades.
- Bus service is scheduled service. “Frequent” comes from the CTA’s weekday schedule for September 29, 2026, not from delivered service. I averaged the two directions, or took the stronger direction on one-way streets.
- Entries undercount riders. They’re turnstile taps, so transfers inside fare control aren’t counted. Ridership data runs through June 30, 2026.
- Two stations have no recovery figure. State/Lake has been closed for reconstruction since January 2026, and Damen on the Green Line opened after 2019. Both still get a grade, since it describes the surroundings: State/Lake has an A at 95, and Damen an A at 78.
- Metra is only partly here. Metra stops count toward the TSL zone, but the cards cover CTA only, because the data portal has no daily Metra station counts.
- The PDFs have no text layer. QGIS exported text as outlines, so it can’t be selected or read by a screen reader. The main numbers are all on this page.
This is my own analysis from public data. The CTA and the City of Chicago haven’t reviewed it, and it doesn’t determine whether a specific lot qualifies under the ordinance.