Category: Information

How to ascertain the area of Chicago beach parking lots to find the largest one

This tutorial is a direct response to a question about which Chicago beach has the largest parking lot. Matt Nardella of Moss Design, in a response to a Twitter-based conversation about Alderman Cappleman’s suggestion that perhaps Montrose beach has too much parking, researched on Wikipedia to find the answer. This is where it said that Montrose beach has the largest parking lot of any of Chicago’s 27 beaches.

Now we’re going to try and prove which beach has the largest associated parking lot.

This tutorial will teach how you to (1) display Chicago beaches, (2) download data held in OpenStreetMap, (3) find the parking lots within the OpenStreetMap data, (4) find the parking lots near the beaches, and (5) calculate each parking lot’s area (in square feet). You can use this tutorial to accomplish any one of these three tasks, or the same tasks but on a different part of OpenStreetMap data (like the area of indoor shopping malls).

You’ll need the QGIS software before starting. You’ll also need at least 500 MB of free space. Start a project folder called “Biggest Parking Lots in Chicago” and make two more folders, within this folder, called “origdata” and “data”.

First, let’s get some data about beaches

Since we only want to know about the parking lots near Chicago beaches we need to get a dataset that locates them. This data is presumably within the same OpenStreetMap extract we’re waiting for, but it’s best to go to the most reliable source.

  1. Download the Parks – Facilities & Features shapefile from the City of Chicago open data portal. I’ve already verified that it has all the beaches (as points).
  2. Open the parks shapefile in a new document in QGIS (call it “map01a.qgs”). You might not see the data so right-click the parks layer and select “Zoom to layer extent”.
  3. Filter out all the points that aren’t beaches by using the query builder. Right-click the layer and select “Filter…” and input this filter expression: “FACILITY_N” = ‘BEACH’
  4. Your map will now show 26 points along an invisible lakefront and then the beach at Humboldt Park.
  5. For the rest of this tutorial we’ll reference the beaches layer as ParkFacilities.

Second, let’s get some data from OpenStreetMap

The easiest way to grab data from OpenStreetMap is by using QGIS, a free, open source desktop GIS application that has myriad plugins that match the capabilities of the heavyweight ESRI ArcGIS line of software. We can download OpenStreetMap data straight into QGIS.

  1. Click on the Vector menu and select OpenStreetMap>Download data.
  2. We want as much data as will cover the beaches information so in the Extent section of the dialog box choose “From layer” and select the beaches layer (called ParkFacilities).
  3. Browse to the “origdata” folder you created in the first task and choose the filename “chicago.osm”.
  4. Click OK and watch the progress meter tell you how much data you’ve downloaded from OpenStreetMap.
  5. Once it’s completed downloading, click “Close”. Now we want to add this data to our map.
  6. Drag the chicago.osm file from your file system into the QGIS Layers list. A dialog box will appear asking which layers you want to add.
  7. Select the layer that has the type “MultiPolygon”. This represents areas like buildings and parking lots.

Third, display the OpenStreetMap data and eliminate everything but the parking lots

We only want to compare parking lots in this dataset with beaches in the previous dataset so we need to eliminate everything from the OpenStreetMap data that’s not a parking lot. Since OSM data depends on tags we can easily select and show all the objects where “amenity” = “parking”.

  1. Filter out all the polygons that aren’t parking lots by using the query builder. Right-click the layer and select “Filter…” and input this filter expression: “amenity” = ‘parking’. Hopefully all the parking lots have been drawn so we can analyze a complete dataset!
  2. Your map will now show little squares, rectangles, and myriad odd shapes that represent parking lots around Chicagoland. (Most of these have been drawn by hand.) It should look like Image XXX.
  3. Since this data is stored in a projection with the codename of EPSG:3435 and the OpenStreetMap data is stored with codename of EPSG:4326 we need to convert the beaches to match the beaches (because we’re going to be using feet as a  measuring distance instead of degrees).
  4. Right-click the layer and select “Save As…” and choose the format “ESRI Shapefile”. Then click the top Browse button and select a location on your hard drive for the converted file.
  5. For “CRS” choose “Selected CRS”. Then click the bottom Browse button and search for the EPSG with the codename 3435. Select the checkbox named “Add saved file to map” so the new layer will be immediately added to our map.

Fourth, select all the parking lots near a beach

This task will select all the parking lots near the beaches. I chose 2,000 feet but you could easily choose a different distance. You might want to measure on Google Earth some minimum and maximum distances between beaches and their respective, associated parking lots.

(This task is easier using PostGIS which has a ST_DWithin function to find objects within a certain distance because we can avoid having to create the buffer in QGIS.)

  1. Create a 2,000 feet buffer. Select Vector>Geoprocessing tools>Buffer.
  2. In the Buffer(s) dialog box, select ParkFacilities (which has your beaches) as the “Input vector layer”. Choose a distance of 2000 (the units are pre-chosen by the projection and since we’re using a projection that’s in feet, the distance unit will be feet).
  3. Browse to your project folder’s “data” folder and save the “Output shapefile” as “beaches buffer 2000ft.shp”.
  4. Click “Add results to canvas” and then click OK.
  5. Double check that 2,000 feet was enough to select the parking lots. In my case, I see that the point representing Montrose beach was further than 2,000 feet away from a parking lot.
  6. Let’s do it again but with 3,000 feet this time, and saving the “Output shapefile” as “beaches buffer 3000ft.shp”.
  7. This time it worked and the nearest parking lots are now in the 3,000 feet radius buffer. You can see in Image XXX how the two concentric circles stretch out from the beach point towards the parking lots.

We’re not done. We’re next going to use our newly created 3,000 feet buffers to tell us which parking lots are in them. These will be presumed to be our beach parking lots.

  1. Use the “Select by location” tool to find the beaches that intersect our 3,000 feet buffers. Select Vector>Research Tools>Select by location.
  2. Follow me: we want to select features in parking 3435 [our parking lots] that intersect features in beaches buffer 3000ft [our beaches]. We’ll modify the current selection by creating a new selection so that we don’t accidentally include any features previously selected.
  3. You’ll now see a bunch of parking lots turn yellow meaning they are actively selected.
  4. Let’s save our selected parking lots as a new file so it will be easier to analyze just them. Right-click “parking 3435” and select “Save Selection As…” (it’s important to choose “Save Selection As” instead of “Save As” because the former will save just the parking lots we’ve selected).
  5. Save it as “selected parking 3435.shp” in your “data” folder. The CRS should be EPSG:3435 (NAD83 Illinois StatePlane East Feet). Check off “Add saved file to map” and click OK.
  6. Turn off all other layers except ParkFacilities to see what we’re left with and you’ll see what I show in Image XXX.

Fifth, let’s calculate

Calculating the area is probably the easiest part of this tutorial.

  1. Close all attribute tables you may have opened.
  2. Select Vector>Geometry Tools>Export/Add geometry columns and choose “selected parking 3435” as your input vector layer.
  3. Leave all other options as-is and press OK. When told about how QGIS can’t access something simultaneously, choose “Yes”.
  4. QGIS should have told you that “selected parking 3435” has been updated. Right-click the layer and choose “Open Attribute Table”.
  5. Scroll to the far right and you’ll see a new column called AREA. This represents the parking lot’s area in square feet.
  6. Click on the AREA column heading to sort it from smallest to largest. Scroll to the bottom of the list and you’ll find the parking lot with the largest area. Double check – is it near a beach?

Conclusion

With my analysis, and with the data available from OpenStreetMap when I created this tutorial, there are three abnormally large parking lots:

  1. A linear lot near the Lincoln Park Zoo and North Avenue beach (6.8 acres)
  2. A curving lot near Montrose Beach (4.75 acres)
  3. An irregularly shaped lot near Montrose Beach (4.5 acres)

There’s one major caveat in this analysis and that’s the missing parking lots on beaches south of Navy Pier. This means that no one has drawn them into OpenStreetMap so it’s time to start editing!

Morgan CTA station is fueling new West Loop development

First day of CTA Morgan Station serving the Green and Pink Lines

The Morgan Station was designed by Ross Barney Architects.

DNA Info Chicago discusses an informal study the Chicago Transit Authority conducted that showed, “since the [Morgan Green/Pink Line] station opened in May 2012, residential and business development in the surrounding neighborhood has continued at a faster pace than nearly all other markets within the city during the post-recession period.”

Morgan connects two major restaurant rows, one on Randolph Street that stretches much further east at Jefferson all the way west to Racine, and another on Fulton Market that starts at Carnavale (next to the Kennedy Expressway) and stretches to Morgan. Google’s huge new headquarters (under construction) and Coyne College – an HVAC institute – are within walking distance.

Using ridership information and commercial rents data, as well as information from the Chicago open data portal, CTA spokesperson Catherine Hosinski listed the following findings in the study:

  1. “A more than 20 percent increase in new business licenses.”
  2. “New construction and demolition permits spiked from one to 15. (The new construction/demolition permits issued after the opening of the station were compared to a 21-month period during the construction from August 2010 through May 2012)”
  3. “Average weekday ridership increased 30 percent between May 2013 and May 2014, according to information reflecting a 12-month rolling average over a 36-month period.”
  4. “Average weekend ridership increased more than 20 percent.”

Item #2 is data that we can see on Licensed Chicago Contractors. To help CTA planners and residents see this information more readily I’ve added all 145 CTA stations as places you can explore from the Places page.

How can you use this new place in connection with CTA’s study? With it you’ll be able to easily see building permits issued within half a mile from the CTA station and download this data for the last 9 years. You can also sort by projects’ estimated costs to find the biggest investments near the station.

Hosinski admits an important part of the study when she told DNA Info, “the West Loop was showing signs of becoming a booming neighborhood before the station was built…its presence has contributed to the migration of commuters and residents to the area.” Hosinski also said that you’ll find CTA stations at the heart of “most” Chicago neighborhoods and now CTA stations are part of the heart of tracking building permits.

Here’s how to track building permits (including demolitions and new construction) around any CTA station:

  1. Open the Places page on Chicago Cityscape
  2. Search for a station name (like Morgan), route name, or click “CTA Rail Station” in the right sidebar.
  3. Done! The list is sorted by the permit’s issue date, but click on any of the table headers to sort differently.
Morgan station on Licensed Chicago Contractors

We’re tracking over 1,700 building permits within a half mile of the Morgan station since July 2005.

Chicago wards with the most landmarked places

Montgomery Ward Complex

People float by the Montgomery Ward Complex on Kayaks. Photo by Michelle Anderson.

Last week I met with the passionate staff at Landmarks Illinois to talk about Licensed Chicago Contractors. I wanted to understand the legality for historic preservation and determine ways to highlight landmarked structures on the website and track any modifications or demolitions to them.

I incorporated two new geographies over the weekend: Chicago landmark districts, and properties and areas on the National Register of Historic Places (both available on the City of Chicago open data portal).

I used pgShapeLoader to import them to my DigitalOcean-hosted PostgreSQL database and modified some existing code to start looking at these two new datasets. Voila, you can now track what’s going on in the Montgomery Ward Company Complex – currently occupied by “600 W” (at 600 W Chicago Avenue) hosting Groupon among other businesses and restaurants.

Today I was messing around with some queries after I saw that the ward containing this place on the National Register – the 27th – also had a bunch of other listed spots.

I wrote a query to see which wards have the most places on the National Register. The table below lists the top three wards, with links to their page on Licensed Chicago Contractors. You’ll find that many have no building permits associated with them. This is because of two reasons: the listing’s small geography to look within for permits may not include the geography of issued permits (they’re a few feet off); we don’t have a copy of all permits yet.

[table id=15 /]

4 wards don’t have any listings on the National Register of Historic Places and nine wards have one listing.

Building permits for new and changed things in 2014 is going up

New City 19-story residential tower under construction near Lincoln Park.

The building permits data that powers Licensed Chicago Contractors has 11 permit types and I analyzed five of them to show the “new stuff” activity in Chicago this year through May 26, 2014. “New stuff” is the economic indicator to show that things are getting built. It includes the permits issued for new construction, renovation and alteration, porches, easy permit process (which can include things like kitchen renovation, or a new garage), and electric wiring where the estimated project cost is greater than $1.

You can see there was a small dip between January and February but since then has been climbing. See How’s Business? for more business-based metrics of the Chicago economy.

After publishing this chart I decided I’ll include signs because that is part of the “new stuff” activity I am trying to visualize. The other five permits are for scaffolding (a job indicator but not a “new stuff” indicator), elevator equipment (these aren’t always about new or replacement projects), wrecking and demolition (these permits usually don’t include estimated costs), and permits that represent extensions and reinstatements.

Bike lane mileage is the wrong metric for your city to publicize

Sometimes I tweet things that get pretty popular and then I need to go into more details. Case in point:

Which I followed by tweeting:

Knowing how many miles of bike lanes you have has little importance in determining if I’m going to bike in your city when I visit, or if I’m considering moving there, or if I want to add you to a “bicycle friendly cities” list.

What’s more important is how much the number of people bicycling on those bike lanes has changed. This number will reflect the quality of your bike lanes. Are they still in good shape or have they faded a lot? Do they connect to each other to create a network, or are there gaps that increase the stress of a route? How have you treated the bike lane at intersections, the place where a conflict and crash is most likely to occur?

Chicago Tribune architecture critic Blair Kamin touched on these points in his recent critique, one of the few worthwhile articles the Tribune has published in the last year about bicycling, by interviewing an organization that tries to make it politically palatable to build unconventional – in the United States – bike lanes.

“Chicago has made incredible progress over the last few years,” said Martha Roskowski, vice president at People for Bikes, a Boulder, Colo.-based advocacy group. But, she added, “Chicago also has a ways to go.”

That’s saying it nicely.

Addressing the gaps in the city’s network of protected bike routes, Roskowski said: “People evaluate a potential bike ride on the basis of the weakest link, the scariest part of the trip, which might be a really busy road you have to ride along or across. People have tolerance for a little bit of that. But if it’s sustained or if it feels dangerous, they just won’t do it.”

Enter Close Calls, deteriorating bike lanes, bumpy pavement, and constant obstacles and you get Chicago’s ridiculously low bicycle commute to work numbers.

Since Emanuel took office in 2011, Chicago has installed 52 miles of protected bike lanes [it’s only installed 16 miles of protected bike lanes], which use a variety of means — plastic pylons, striped pavement markings and non-curbside parking spaces — to separate bikes from vehicles. That brings the city’s total bicycle lanes to 207 miles.

That’s cool that we have 207 miles. How many miles of streets without bike lanes do we have? It’s 4,000 and some change minus 207.

Why doesn’t Mayor Rahm Emanuel talk about how many people have taken up bicycling since he took office, or how many more trips Chicagoans made (and where) because of those 52 miles of new buffered and protected bike lanes?

He can’t say how many people are riding their personal bikes because the city doesn’t track this.

Conversely we can track Divvy bike-share use down to the minute and the company announced that Saturday, May 24, they had their most trips ever. Only to be eclipsed by almost 4,000 more trips on Sunday, May 25 (helped in no small part by the Bike The Drive event where people can bicycle on a Lake Shore Drive that’s closed to vehicles).

In another blow to good data for Chicago, Divvy will only be releasing trip data twice a year, while Citibike in New York City will be publishing it monthly, an improvement of Capital Bikeshare’s quarterly data releases.

If you’re not tracking who’s using your infrastructure, will you be able to know if the people you set out to attract have come out?