Tag: CTA

Converting shapefiles to GeoJSON, and other format conversions

To develop the Chicago Bike Map app, I had a problem I thought would be simple to solve: load train lines into a Leaflet-powered map. I had the train lines stored as a polyline shapefile but Leaflet can only read the GeoJSON format or a string of geographic coordinates representing lines.

I eventually found a solution (I can’t remember how) and I need to share it with you. The converter can do more than ESRI shapefiles to GeoJSON. It can reproject the data in the conversion. It can convert from several formats to several other formats.

The site is called MyGeodata Converter. You upload a ZIP file of geographic files – .shp and its companion files (.prj, .dbf, .shx), .kml, and .gpx. Let’s take the Chicago Transit Authority train lines shapefile straight from the City of Chicago’s open data portal. It downloads as a zipped collection of a shapefile and its buddies and we can take this file straight to the Converter and upload it. The Converter will unzip it and read the data; it will even identify the projection system (for Chicago-based geographic data, its common to use NAD83 Illinois StatePlane East FIPS 1201 Feet (SRID 102671, the same as SRID 3435).

The Converter will convert to one of the following formats, with same or new projection; accepts SQL statements to extract a subset of data:

  • ESRI shapefile
  • GML
  • KML, KMZ
  • GeoJSON
  • Microstation DGN
  • MapInfo File
  • GPX
  • CSV

WorkCycles Fr8 fits on the CTA’s bus-bike rack!

If you ride a bike more than you use other transportation modes, and you visit online forums, then you probably know that the correct number of bikes is n+1. I got a new bike this year, but it was partly to replace the cargo carrying capabilities I lacked after selling my Yuba Mundo in the spring.

Two weekends ago I passed by the Chicago Transit Authority headquarters to test if my WorkCycles Fr8 could fit in the Sportworks VeloPorter 2 bus-bike rack the CTA uses on most buses (it’ll eventually replace the red ones). I don’t know if Pace buses have the same model.

It fits! (I feel like saying “It blends!”)

I already knew that the WorkCycles Transportfiets would fit, having made a video of it last year. But they seemed to be of different dimensions (they probably aren’t) and I wanted to check ahead of time lest I embarrass myself and delay a bus if I tested it in the field.

Actually, I wasn’t worried that the Fr8 wouldn’t fit, I was worried that it wouldn’t fit securely under the spring-tensioned arm with the yellow grip. I have a burly front rack and metal fenders that wouldn’t be able to budge. See how that worked out for me in the photo below. Additionally, my bike weighs 50 pounds unloaded (and without the red basket) – the Sportworks specifications note that each bike tray holds 55 pounds. Phew!

Last weekend I took the Fr8 on its first ever train journey, from the Clinton Pink/Green Line station to the California Pink Line station. The Pink Line uses the 5000-series cars, which are brand new from Bombardier’s factory in New York. They have the distinction of providing two wheelchair-accessible spaces in every car instead of one. This means there are two fewer “modesty panels” in the vestibule. It offers more room to position and park your bike – it works out great; see photo below. It still doesn’t provide enough room for a passenger to bring a bike aboard, stay put, and let other passengers in and out of the door. Passengers with bikes will still need to pay attention to the announcements to know which door will open at the next station and move their bike accordingly.

Looking for a WorkCycles of your own? You can contact them directly in Amsterdam. Shipping is €200, which is a really good deal now. You can also contact J.C. Lind Bike Co. who will become a dealer soon.

Some reasons why the CTA doesn’t make its own mobile apps

Where’s the train?

“Twitter updated their app and now it sucks”. (Here’s some evidence.)

Have you heard that before? Thankfully there are tens – perhaps hundreds – more options to post to and read Twitter on your appy device.

The Chicago Transit Authority provides 1.7 million rides per day. A lot of passengers like to know where the trains and buses are. And it’s possible to know with many tools like Bus Tracker and Train Tracker, both of which are available through APIs, SMS, and websites.

Some people (eh, I can’t exactly point out who right now) have noted (complained?) that the CTA doesn’t make its own app for smartphones and tablets. I’m glad they don’t!

Here are more reasons why the CTA doesn’t make its own mobile apps:

  1. It would be racist of the CTA. (Pretty much everything the CTA does is racist according to someone but making an app would only be useful to those with compatible devices, so it’s probably more accurate to say income discrimination.)
  2. Bus service is getting cut but they’re spending money on making apps.
  3. There are 4 platforms to write apps for (at least 4 – not sure if any CTA passengers would demand Symbian or webOS).

The best reason?

Developers can do it better. So the CTA gives them the tools.

Stolen Bike Registry data: Which train stations have the most bike theft?

If you can help it, don’t park your bike on the sidewalk under the tracks at the Clybourn Metra Station. Too many opportunities for theft here. 

The Stolen Bike Registry is a website created by Chicagoans for people to notify the community that their bike has been stolen. I make no claims to the accuracy or completeness (or anything) about this list or the dataset from which it was created. Because of less than optimal data collection practices, and a diversity of website users, the location information is difficult to comb through and present. I’ve used Google Refine to clean up some of the location data so that I can pick out the theft locations that represent CTA or Metra stations.

This is a list of the most reported bike theft locations that are CTA or Metra stations, from about June 13, 2006, to April 2, 2011, representing 1,740 bike theft reports*. It’s not known how many bike thefts were reported to the police because they don’t know.

CTA (13 stations)

Logan Square Blue Line CTA 8
Rockwell Brown Line CTA 5
Addison Brown Line CTA 2
Fullerton Red/Brown Line CTA 2
Paulina Brown Line CTA 2
Western & Milwaukee (Blue Line) CTA 2
Western Brown Line CTA 2
Addison Blue Line CTA 1
Chicago Brown Line CTA 1
Damen Blue Line CTA 1
Ashland Orange Line CTA  1
Cumberland Blue Line CTA 1
Wellington Brown Line CTA 1

The new bike racks at Clybourn Metra station are in a more visible spot. Maybe there’s even a security camera pointed at them some of the time. 

Metra (24 stations)

Clybourn Metra 19
Ravenswood Metra 18
Edgebrook Metra 4
Evanston Main Street Metra 2
Forest Glen Metra 2
Healy Metra 2
Lake Cook Metra 2
Ogilvie Metra 2
57th Street Metra 1
College Avenue Metra Train Station 1
Corner of Maple & Church in downtown Evanston, near Metra 1
Glenview Metra Station 1
Harlem Metra Station Berwyn, IL 1
Irving Park Metra Stop 1
Jefferson Park Metra 1
LaSalle Street Metra 1
Mayfair Metra 1
Metra Station at Davis Street, Evanston 1
Morton Grove Metra Station 1
Prairie Crossing Metra Station 1
Rogers Park Metra 1
Union Station Metra 1
Western Metra Station 1
Wilmette Metra 1

* Reports come from around the world. 10 dates have been excluded because their dates were anomalous, empty, or not possible.

Updated September 30 to correct a Metra station and combine it with another.

Pride Parade 2012: Easier on transportation system over last year

Bodhi Spiritual Center says, “You are fabulous”. 

After last year’s near-meltown of transportation surrounding post-parade trips, parade organizers, aldermen, and the city redesigns the parade route, to make it longer and eliminate the hard to access “internal triangle” between Halsted and Broadway (with a vertex at Grace/Halsted/Broadway). The meltdown was that thousands of people tried to board at the CTA Belmont Station. The station stopped allowing new passengers 5 times to ease overcrowding. I can’t recall if trains had to skip the station because they were full.

The new design allowed for better access from more CTA train stations, more bus routes, and allowed for more even spectator dispersal along the route (with 6 pedestrian crossings operated by many police officers). The CTA, which is usually very good at communicating service changes, made a webpage dedicated to the Pride Parade and even designed their own map. That and their social media communication stressed the other stations paradeogers should use: Wilson, Sheridan, Addison, and Fullerton. That was in addition to the other bus routes that now had closer access to the changed route.

I wrote about the 2011 transportation experience on Grid Chicago in which I suggested shutting down private vehicle traffic on more streets and further away from the parade route, allowing only buses and bicyclists. I couldn’t tell if that happened this year. Last year I entered the parade “shed” on Belmont and then Addison. All east-west streets it seemed were closed to traffic from Clark Street to Halsted Street (which is a good thing). Clark Street was closed this year for a couple of blocks south of Diversey Avenue (also a good thing).

Chicago Fire Department miniature trucks. 

I didn’t notice these last year, but the fire department utilized ATV-like trucks to transport sick spectators. I didn’t see any Chicago police officers riding ATVs, but I may have read the department abandoned those because of their increased danger on crowds and the officer driving it.

I think the route changes were effective in making for a better (and safer) parade experience. Organizers and the City’s OEMC estimated attendance at 850,000, just 50,000 over last year. Because of the changes and the great weather (it was very breezy), I expected a higher increase. Some people who attended last year may have been turned off by the unease of the crowded viewing experience.