Page 133 of 172

Keeping score: Portland, one million and Chicago, zero

UPDATE 10-15-10: There’s good news. The Chicago situation is nearly resolved.

Up the score for Portland and bicycling by another gazillion points and keep Chicago at zero.

New Seasons Market grocery store (think Whole Foods lite) opened a new store Wednesday in Portland. On a bike boulevard. With 50 bike parking spaces (almost used up on the first day). Grocery delivery by bike. Free air and patch kit. You can even borrow a cart to tow stuff home. (By the way, the store provides only 36 auto parking spaces, on its roof – where it belongs.)

What do we have in Chicago?

A Dominick’s (part of Safeway companies) grocery store that refuses to install a single bike parking space, even after major renovation in 2008-2009. Don’t worry though – I’m on the case! I just mailed my letter to Safeway CEO Steve Burd in Pleasanton, California, yesterday. (Read about my recent struggle getting bike parking installed here.)

And Dominick’s, when you do get around to installing it, please don’t pick this piece of garbage.

Abysmal bike rack selection at Dominick’s near Roosevelt and Canal in Chicago, Illinois – notice how the bike can’t be properly locked here. Don’t repeat this mistake. Learn what’s best when it comes to bike parking.

Thanks to BikePortland and Tucson Velo for the story.

What’s doing for bikes in cities around the United States

A Steven can plan reader asked in the open thread for more information about the results of bike-friendly infrastructure changes and treatments happening in Portland, San Francisco, and New York City, among other places. While I work to get that information for this blog, I thought I would point out the Miami Herald’s summary of those bicycle as transportation changes in cities across the United States.

From the EarthTalk column:

In September, central Tennessee (Nashville and environs) adopted an ambitious plan to add upwards of 1,000 miles of bike paths (also 750 miles of sidewalks) across seven counties, a scheme that won the “best project” award from the Institute of Transportation Engineers. Nashville itself will increase alternative transportation spending from 0.5 percent to 15 percent of its transportation budget, and hopes to reduce traffic congestion and obesity – Tennessee has the nation’s second highest rate of obesity – in the process.

A new two-way neighborhood cycle track that allows for two-way bike traffic on a one-way street. I’m not yet sure of how it works but it looks neat. Photo by Jonathan Maus. Read more about this innovative bike boulevard and green street treatment at BikePortland.org.

Obtaining Chicago Transit Authority geodata

A reader asked where they could get Chicago Transit Authority (CTA) data I didn’t already have on the “Find GIS data” page. I only had shapefiles for train lines and stations. Now I’ve got bus routes and stops.

You can download General Transit Feed Specification (GTFS) data from the CTA’s Developer Center. It’s updated regularly when service changes.

Screenshot from ESRI ArcMap showing the unedited shapes.txt file loaded via Tools>Add XY Data. Shapes.txt is an 18 MB comma-delimited text file with thousands of points that can be grouped together with their shape_id.

The GTFS has major benefits over providing shapefiles to the public.

  1. It can be easily converted to the common shapefile format, or KML format.
  2. Google, the inventor of GTFS, has defined and documented it well; it is unencoded and plaintext. These attributes make it easy for programmers and hackers to manipulate it in many ways. (see also item 4)
  3. Google provides a service to the public on its website, an easy to use and robust transit planning service.
  4. The data is stored as plaintext CSV files.
  5. While an agency like CTA may have a geodata server on its intranet, it is less likely it has the addons that provide mapping and geodata services for the internet. A server like Web Mapping Service, or ArcIMS. These systems can be expensive to purchase and license. And we all know how the CTA seems to always be in a money crunch. While the CTA updates its GTFS data for publishing to Google Maps, the public can download it simultaneously to always have up-to-date information, providing the same geodata that ArcIMS or WMS would offer but for no additional cost.

I couldn’t have pulled off this conversion in 24 hours without the help of Steven Romalewski’s blog, Spatiality. He pointed me to the right ArcMap plugin in this post about converting the Metropolitan Transportation Authority’s GTFS data into shapefiles. I hope Steven doesn’t move to Chicago less my authority on GIS and transit be placed in check!

Make your own map of the CTA train routes and perform some kind of analysis – then share it with the rest of us!

Read more about my exercise in geodata conversion in the full post.
Continue reading

How to convert GTFS to GIS shapefiles and KML

This tutorial will teach how you to convert any transit agency’s General Transit Feed Specification (GTFS) data into ESRI ArcGIS-compatible shapefiles (.shp), KML, or XML. This is simple to do because GTFS data is essentially a collection of CSV (comma separated values) text files (really, really large text files).

Note: I don’t know how to do the reverse, converting shapefiles or other geodata into GTFS data. I’m not sure if this is possible and I’m still investigating it. If you have tips, let me know.

Converting GTFS to GIS shapefiles

Instructions require the use of ArcGIS (Windows only) and a free plugin called ET GeoWizards GIS for any version of ArcGIS. I do not have instructions for Mac users at this time.

I wrote these instructions while converting the Chicago Transit Authority’s GTFS files into shapefiles based on a reader’s request. “Field names” are quoted and layer names are italicized.

  1. Download the GTFS data you want. Find data from agencies around the world (although not many from Europe) on GTFS Data Exchange.
  2. Import into ArcGIS the shapes.txt file using Tools>Add XY Data. Specify Y=lat and X=lon
  3. Using ET GeoWizards GIS tools, in the Convert tab, convert the points shapefile to polyline.
  4. Select the shapes layer in the wizard, then create a destination file. Click Next.
  5. Select the “shape_id” field
  6. Click the checkbox next to Order and select the field “shape_pt_sequence” and click Finish.
  7. Depending on the number of records (the CTA has 466,000 shapes), it may take a while.
  8. The new shapefile will be added to your Table of Contents and appear in your map.
  9. Import the trips.txt and routes.txt files. Inspect them for any NULL values in the “route_id” field. You will be using this field to join the routes and trips table. It may be a case that ArcGIS imported them incorrectly; the text files will show the correct data. If NULL values appear, follow steps 10 and 11 and continue. If not, follow steps 10 and 12 and continue. This happens because ArcGIS inspected some of the data and determined they were integers and ignored text. However, this is not the case.
  10. Export the text files as DBF files so that ArcGIS operates on them better. Then remove the text files from the Table of Contents.
  11. (Only if NULL values appear) Go into editing mode and fix the NULL values you noticed in step 9. You may have to make a new column with a more forgiving data type (string) and then copy the “route_id” column into the new column. Then continue to step 12.
  12. Join routes and trips based on the field “route_id” – export as trips_routes.dbf
  13. Add a new column to shapes.shp called “shape_id2”, with data type double 18, 11. This is so we can perform step 14. Use the field calculator to copy the values from “shape_id” (also known as ET_ID) to “shape_id2”
  14. Join routes_trips with shapes into routes_poly based on the field “shape_id” (and “shape_id2”)
  15. Dissolve routes_poly on “route_id.” Make sure all selections are cleared. Use statistics/summary fields: “route_long,” “route_url.” Save as routes_diss.shp
  16. Inspect the new shapefile to ensure it was created correctly. You may notice that some bus routes don’t have names. Since these routes are well documented on the CTA website, I’m not going to fill in their names.

Click on the screenshot to see various steps in the tutorials.

Converting GTFS to KML

After you have it in shapefile form, converting to KML is easy – follow these instructions for using QGIS. Or if you want to skip the shapefile-creation process (quite involved!), you can use KMLWriter, a Python script. Also, I think the latest version of ArcGIS has built-in KML exporting.

Converting GTFS to XML

If you want to convert the GTFS data (which are essentially comma-separated value – CSV – files) to XML, that’s easier and you can avoid using GIS programs.

  • First try Mr. Data Converter (very user friendly).
  • If that doesn’t work, try this website form on Creativyst. I tested it by converting the CTA’s smallest GTFS table, frequencies.txt, and it worked properly. However, it has a data size limit. (User friendly.)
  • Next try csv2xml, a command line tool. (Not user friendly.)
  • You can also use Microsoft Excel, but read these tips and caveats first. (I haven’t found a Microsoft application I like or think is user friendly.)

Verifying LEED certification and eco-friendly features

Read more commentary on LEED certification.

If a building claims it has environmentally friendly features (is that the same as eco-friendly?) but hasn’t applied for and received LEED certification, should we still call it “green”?

I’m talking specifically about Emerald, a two-tower (mid-height) condominium development on Green Street in Chicago’s Greektown/West Loop neighborhood. I watched its construction from beginning to end because I passed it daily on my commute to work.

The development’s sales website claims that because it sits on Green Street, it’s “naturally eco-friendly.” The website says the building has “bamboo flooring, low-VOC paint and beautiful fabrics made from recycled fiber. Even our marketing materials utilize recycled paper manufactured with windpower and printed with soy inks.”

These scaffold panels are advertising office space in a new tower that has since been built on this site. The one on the right reads “Reflect the social conscience of your organization.” Photo by Payton Chung.

Additionally, it has a 4-pipe HVAC system versus an “inferior” 2-pipe system, and high efficiency windows.

But I looked in the U.S. Green Building Council’s (USGBC) Certified Project Directory and didn’t find a project named “Emerald.” Let’s assume my search and the results are correct and Emerald does NOT have LEED certification. Are the claims on the website accurate? How can we trust that the paint truly has less volatile organic compounds?

If it was LEED certified would we trust it more then?

The building advertised in the photo above, 300 N LaSalle, received two certifications: Silver in Commercial Interior, and Gold in Core & Shell. The advertisement’s claims have some verification, but how trustworthy? My photo.

I’m not a LEED AP (Accredited Professional), but I understand that LEED certification requires thorough documentation. After a review of your application and submittals (essentially an audit), the USGBC makes its determination. I don’t believe anyone representing the USGBC inspects the building.

We then have to question why the Emerald developers didn’t seek LEED certification. Or did they?