Category: Transportation

The U.S. DOT should collaborate with existing “National Transit Maps” makers

The U.S. DOT demonstrated one idea for how a National Transit Map might look and work at a conference in February.

The Washington Post reported this month that the United States Department of Transportation is going to develop a “National Transit Map” because, frankly, one doesn’t exist. The U.S. DOT said such a map could reveal “transit deserts” (the screen capture above shows one example from Salt Lake City, discussed below).

Secretary Anthony Foxx wrote in an open letter to say that the department and the nation’s transit agencies “have yet to recognize the full potential” of a data standard called the General Transit Feed Specification that Google promoted in order to integrate transit routing on its maps. Foxx described two problems that arose out of not using “GTFS”.

  1. Transit vehicles have significantly greater capacity than passenger cars, but are often considered just vehicles because we are unable to show where and when the transit vehicles are scheduled to operate. The realistic treatment of transit for planning, performance measures, and resiliency requires real data on transit system operations.
  2. One of the most important social values of transit is that it makes transportation available to people who do not have access to private automobiles, and provides transportation options for those who do. Yet, we cannot describe this value at a national level and in many regions because we do not have a national map of fixed transit routes.

“The solution is straightforward”, Foxx continued, “[is] a national repository of voluntarily provided, public domain GTFS feed data that is compiled into a common format with data from fixed route systems.”

The letter went on to explain exactly how the DOT would compile the GTFS files, and said the first “collection day” will be March 31, this week. As of this writing, the website to which transit agencies must submit their GTFS files is unavailable.

What Foxx is asking for has already been done to some degree. Two national transit maps and one data warehouse already exist and the DOT should engage those producers, and others who would use the map, to determine the best way to build a useful but inexpensive map and database. Each of the two existing maps and databases was created by volunteers and are already-funded projects so it would make sense to maximize the use of existing projects and data.

“Transitland” is a project to host transit maps and timetables for transit systems around the world. It was created by Mapzen, a company funded by Samsung to build open source mapping and geodata tools. Transitland is also built upon GTFS data from agencies all over the world. Its data APIs and public map can help answer the question: How many transit operators serve Bay Area residents, and what areas does each service?

For the United States, Transitland hosts and queries data from transit agencies in 31 states and the District of Columbia. In Washington, D.C., Transitland is aware of four transit agencies. It’s a great tool in that respect: Not all of the four transit agencies are headquartered in D.C. or primarily serve that city. The app is capable of understanding spatial overlaps between municipal and regional geographies and transit agencies.

Transitland has a “GUI” to show you how much transit data it has around the world.

“Transit Explorer” is an interactive map of all rail transit and bus rapid transit lines in the United States, Mexico, and Canada. Yonah Freemark, author of The Transport Politic, created the map using data culled from OpenStreetMap, the National Transit Atlas Database (administered by the DOT and which shows fixed-guideway transit), and his own research. I wrote the custom JavaScript code for the Leaflet-powered map.

No other agency or project has collected this much data about fixed-guideway transit lines in any of the three countries, since the map includes detailed information about line lengths, ridership, and other characteristics that are not included in GTFS data. Transit Explorer, though, does not include local bus service or service frequencies, which the DOT’s map may if it incorporates the full breadth of GTFS data.

Transit Explorer also goes a step further by providing data about under construction and proposed fixed-guideway transit lines, which is information that is very relevant to understanding future neighborhood accessibility to transit, but which is not available through GTFS sources.

Finally, “GTFS Data Exchange” is a website that has been storing snapshots of GTFS feeds from agencies around the world for almost a decade, or about as long as GTFS has been used in Google Maps. The snapshots allow for service comparisons of a single agency across time. For example, there are over 100 versions of the GTFS data for the Chicago Transit Authority, stretching back to November 2009; new versions are added – by “cta-archiver” – twice a month.

Josh Cohen, writing in Next City, highlighted the significance of Google’s invention of GTFS, saying, “Prior to the adoption of GTFS, creating such a map would’ve been unwieldy and likely produced an out-of-date product by the time it was completed.” The DOT’s own National Transit Atlas Database includes only fixed-guideway (a.k.a. trains) routes, and hasn’t been updated since 2004.

Not all GTFS feeds are created equal, though. Some transit agencies don’t include all of the data, some of which is optional for Google Map’s purpose, that would make the National Transit Map useful for the spatial analysis the DOT intends. Many agencies don’t include the “route shapes”, or the geographic lines between train stations and bus stops. Researchers are able to see where the vehicles stop, but not which streets or routes they take. Foxx’s letter doesn’t acknowledge this. It does, however, mention that transit agencies can use some federal funds to create the GTFS data.

David Levinson, professor at the University of Minnesota, believes the map will bias coverage (geographic reach of transit service) over frequency (how many buses are run each day that someone could ride).

The U.S. DOT’s chief data officer, Dan Morgan, whom I met at Transportation Camp 2015 in Washington, D.C., presented at the FedGIS Conference this year one idea to demonstrate coverage and frequency in Salt Lake City, using the GTFS data from the Utah Transit Authority.

Levinson also tweeted that it will be difficult for a national map to show service because of the struggles individual transit providers have symbolizing their own service patterns.

Foxx’s letter doesn’t describe how planners will be able to download the data in the collection, but whichever app they build or modify will cost money. Before going much further, and before spending any significant funds, Foxx should consult potential users and researchers to avoid duplicating existing projects that may ultimately be superior resources.

Foxx can also take advantage of “18F” a new agency within the General Services Administration to overcome government’s reputation for creating costly and difficult to use apps. The GSA procures all kinds of things the federal government needs, and 18F may be able to help the DOT create the National Transit Map (and database) in a modern, tech and user-friendly way – or write a good RFP for someone else to make it.

Look for the National Transit Map this summer.

The rate of change on city streets: USA versus the Netherlands

ThinkBike 2013

One of the people in this photo is Dutch. We’re on the Dearborn bike route installed downtown in 2012. The next downtown protected bike route was installed in 2015 serving a different area. However, the Dearborn bike route has become so popular that it’s size and design (t’s a narrow, two-way lane) are insufficient for the demand (who knew that bicycling in a city center would be so high in demand, especially on a protected course?) and there are no plans to build a complementary facility to improve the conditions.

My friend Mark wrote the following paragraph on his blog, BICYCLE DUTCH, relating the need to change a city and its streets to the way families change the contents of essential parts of their homes. In other words, cities and streets are like our living rooms and they must also change as we change.

Think about your living room, chances are you change it completely every 15 to 20 years. Because you need a wider sofa for the expanding family, or because you rightfully think that table has had its best years. Maybe the extra big seat for granddad is sadly not needed anymore. Of course, things can’t always be perfect: you have a budget to consider and it is not so easy to change the walls. Replacing things does give you the opportunity to correct earlier mistakes and to get the things which are more useful now. While you are at it, you can also match the colours and materials better again. Our cities are not so different from our living rooms. Just as families grow and later decrease in size again when the children leave the house, the modal share of the different types of traffic users changes over the years. These shifting modal shares warrant changes to the street design. So you may need some extra space where it was not necessary before, but if you see less and less of a certain type of traffic, its space can be reallocated to other road users.

What I really want to talk about is the rate of change in the Netherlands. I’ve visited Mark’s home in s’Hertogenbosh (Den Bosch), and we’ve walked around Utrecht.

One thing he told me, which is widely evident, is that the Netherlands is always renewing its streets. Or it has been for decades (maybe since World War II). They update street design standards regularly and streets that no longer meet these designs (or a few generations back) are updated to meet them.

Now, the two changes – updating the standards and updating the streets – don’t happen so gloriously hand in hand. Just like in the United States it takes a couple of years to come up with the right design.

The difference between our two countries is the regularity in updating the designs, and the regularity in updating streets.

I’ll lead with one example in Chicago and ask that you tell me about projects in your city that repair what’s long been a pain in the ass.

An intersection in the Wicker Park neighborhood got modern traffic signals, added crosswalk signals (there had never been any), and a stupid, sometimes dangerous little island removed. One of the four legs didn’t have a marked crosswalk. The state of Illinois chipped in most of the cost of the update – this was known at least four years before the construction actually happened.

When I wrote a blog post about the project for Grid Chicago in 2012, I found a photo from 1959 that showed the intersection in the same configuration. I also wrote in that post that the construction was delayed from 2012 to 2013. Well, it got built in 2014.

Milwaukee & Wood ca. 1959

Intersections like this – with difficult-to-see traffic signals that motorist routinely blow past, missing crosswalks, and curb ramps that aren’t accessible – persist across Chicago in the state they’ve been in for 55 or more years.

The “reconstructed bicycle route” that Mark discusses and illustrates in his blog post is known to have been updated at least once a decade. He wrote, “pictures from 1980, 1998 and 2015 show how one such T-junction was changed several times. The protected intersection went through some stages, but having learned by trial and error, the design we see now is one that fits the present ‘family’ best.”

Three books by well-known city transportation planners have all been published within months of each other. I read and reviewed Sam Schwartz’s “Street Smart”, and I’m reading Janette Sadik-Khan’s “Street Fight“. Gabe Klein’s “Startup City” is the third. All of them advocate for new designs to match the changing attitudes and needs cities have. Actually, the needs of the cities haven’t really changed, but our attitudes and policies – and the politics – around how to update cities has evolved.

I don’t know what can spur all of these seemingly minor (they’re no Belmont Flyover) infrastructural updates. I don’t think a lack of money is to blame. I think a lack of coordination, staffing, and planning ensures that outdated and unsafe designs remain on city streets.

P.S. The Netherlands “renewal” attitude isn’t limited to streets. The Dutch national railway infrastructure company “ProRail” (which is “private” but owned by the government) has been completely replacing all of the primary train stations. The Dutch have been rebuilding dikes and building flood control projects for decades, many under the common name “Delta Works”.

Here’s a photo in Nijmegen where the government was building a new, bypass canal that would ease a shipping route, create a controlled flood area, a new recreation area, but that would also displace homes.

Swiss transit journey planners can guide you to the top of any mountain

Steven’s note: I originally wrote this in January 2017 for Transitland, my contract employer at the time. Links may be broken.

Looking west from Mount Rigi-Kulm and you can see the cloud layer that prevents you from seeing Lake Lucerne. The two cog railways are parked in the middle.

Looking west from Mount Rigi-Kulm and you can see the cloud layer that prevents you from seeing Lake Lucerne. The two cog railways are parked in the middle.

A month ago I hopped over to Germany to start a holiday trip over Christmas and the New Year. I flew into Frankfurt but I would be returning to Chicago from Zurich, Switzerland, almost three weeks later. I had spent two hours in Zurich in 2016 on a layover, and I was struck by the city’s beauty and their amazing public transport system. I made it a priority to revisit Zurich, to have a proper stay.

Before I left, I was already working to import the single GTFS transit feed for the whole country into Transitland, so I was aware of some of the transit systems. That work continues because the feed is massive; it has more than 400 operators and I need to add metadata about each of them.

I arrived the night before my mountain trip to a hotel – a 3 minute walk to the nearest entrance to Zurich’s hauptbahnhof (main station) – and I spent that whole evening planning an epic transit and mountain adventure the next day. (I stayed in because it’s also pretty expensive to go out in Zurich, so I was also saving my money for what turned out to be an _expensive _ epic trip.)

When in Switzerland, I figured, you should spend time outside on a mountain. And there’s no exception in the winter.

a view of Lake Lucerne from inside the cog railway train that's going up the mountain

It’s a cog railway up a Swiss mountain, of course it’s going to look steep like this.

I googled “nearest mountain to Zurich” and found Mount Rigi. I never validated if Mount Rigi is the nearest mountain, but after reviewing details on how to get to the base and how to get to the top (the mountain has its own website), I could tell it would be possible to go there and return in the same day.

Mount Rigi has multiple peaks, the tallest of which is Rigi Kulm at 1,798 meters, and you can plan a trip directly there with a single app.

You can use the Swiss Federal Railways (SBB) smartphone app or website to plan a trip from anywhere in Switzerland to the cog railway station below the restaurant atop Rigi Kulm. Seriously.

I wanted to use as many modes as possible, and I don’t like going on the same route more than once, so I adjusted SBB’s recommended route to travel from Zurich to Rigi Kulm via Lucerne and Vitznau. This was my outgoing itinerary:

  • Depart Zurich HB at 10:04 on InterRegio 2637 to Lucerne, arriving at 10:49
  • Depart Luzern Bahnhofquai (train station dock) on a boat across Lake Lucerne at 11:12 to Vitznau at the base of the mountain, arriving at 12:09
  • Depart Vitznau on Rigi-Bahnen 1127 at 12:15, arriving to the peak at 12:47

After spending about five hours on the mountain – I took a small cable car to a second peak – I heaaded down the mountain on a different cog railway to Arth-Goldau, a valley town with InterCity train service direct to Zurich.

screenshot of the SBB journey planner showing the trip from Zurich to the top of Mount Rigi-Kulm, changing from an intercity train to a boat to a cog railway.

The SBB website shows my actual itinerary. This isn’t the first recommended itinerary because there are more direct and faster ways to get to Rigi Kulm from Switzerland, but I wanted to ride in a boat so I added the “via” stop in Lucerne.

What was more fascinating than the legendary on-time performance and convenient and short connection times of the Swiss public transport network was that I bought trips for the boat, two cog railways, and the return train on a single ticket.

I could have bought a single ticket for the entire trip back in Zurich before I departed but I was in a hurry to catch that 10:04 train and it takes a bit longer to buy a multi-stop journey from the ticket vending machines. (You can also buy the ticket on the website and app, which quoted 98 Swiss Francs, or $96, without the return from Arth-Goldau.)

The second cog railway I took on this trip, to Arth-Goldau, opened in 1875, four years after the first cog railway of the day from Vitznau. That one opened in 1871, the first cog railway in Europe.

If I had missed the 10:04 train, there would have been another train leaving for Lucerne less than 30 minutes later, but I would arrive about 30 minutes early for the next boat and cog railway because they run less frequently.

On the day I traveled, Friday, January 6, the journey took 2 hours and 43 minutes. I checked SBB’s website for this blog post and they recommend a differently, slightly longer journey on weekends, at 3 hours and 1 minute. And they really mean that 1 minute.

The Swiss railway clock’s second hand waits at the 58.5 second mark and proceeds when it receives a “minute impulse” signal from the SBB’s master clock. Train operators then depart.

Get to know the Swiss timetable

The single feed includes the Swiss Federal Railways (SBB), city transit systems, intercity buses like PostAuto, funiculars, cable cars, cog railways, and even chair lifts.

You can take a sesselbahn (chair/ski lift) from Feldis/Veulden to avoid an uphill hike to Mutta; it’s operated by Sesselbahn und Skilifte Feldis AG. You can find its two stops and straight route up the mountain in Transitland’s Feed Registry.

We’re working to import all of them into the Transitland datastore, and we’ll get there eventually (it takes a lot of time to add metadata like an operator’s metropolitan coverage area and canton). For now, though, we’ve added the stops and routes for 11 operators, including all of the ones that covered my trip to Mount Rigi.

Steven’s note: there used to be an embedded map hosted at the following URL:

https://tangrams.github.io/tangram-frame/?noscroll&maxbounds=46.891,7.667,47.501,9.198&url=https://transit.land/images/switzerland-transit/scene.yaml#10.6461/47.1304/8.4492

Edit this map yourself in Tangram Play. These routes were extracted via Mobility Explorer and its direct connection to the Transitland API and I edited some of them because many of routes in the Swiss feed are very simplified.

#Space4Cycling: Chicago needs intuitive bike lanes and other street markings

Two bicyclists take different routes around this driver blocking the bike lane with their car

In this case at Milwaukee and Green, space was made and well-marked for cycling but no space was outlined for driving. The driver of the black car must pull up this far to see beyond the parked silver car. In the Netherlands they’ve come up with a solution that would work here: shift the green bike lane toward the crosswalk so that the motorist crosses the crosswalk and bike lane at the same time and has space to wait to turn left between the bike lane and the travel lane.

What does an intuitive bike lane or other street marking mean?

It means that the street user can reasonably (yeah) guess, and guess right, what they’re supposed to do.

For bicyclists in Chicago, the lack of bike lane markings that continue to the edge of an intersection (often demarcated at the stop bar) creates an unintuitive bike lane design.

At intersections, an intuitive bike lane design would mean that the bicyclist and the motorist know where and how to position their vehicles in respect to the other, even if there isn’t a car there yet, or there’s not a bike there yet. Many intersections in Chicago that have protected bike lanes do this; especially the ones with separate signal phases. And these intersections work really well for bicyclists: they stand safely away from motorists, and motorists don’t attempt to occupy these spaces.

Inverted sharrow

The “sharrow before and after the intersection because the city dropped the bike lane” is the most common “didn’t make space for cycling” problem. There was plenty of space to make for cycling here, and nearly every other “sharrow…” situation: it’s along the curb and it’s subsidized, curbside parking for drivers.

But currently at dozens, if not hundreds, of Chicago intersections where the bike lane drops before the intersection, you’ll see bicyclists behave and maneuver in several ways, none of which are accommodated by the street’s design.

Some people will bike between two lanes of cars to the front of the line, and when they get there, lacking a bike box or advanced stop line, they’ll stand with their bike in the area between the crosswalk and the stop bar. If the first car is over the stop bar, then people will usually stand with their bike on the crosswalk.

Riding north on Damen towards Fullerton-Elston

The sharrow painted on the pavement, and an accompanying sign saying, “shared lane – yield to bikes” are unintuitive because no one can occupy the same space at the same time, and the symbols don’t communicate who gets first right to a specific part of the road space. In the end, though, in a situation like this, I’ve never seen someone wait back this far on their bike, and many will consider riding on the sidewalk to get to the front. When they get there, though, they won’t find any #space4cycling.

Others will bike between a lane of cars and the curb to get to the front of the line.

New buffered bike lane on Halsted just ends

This is another version of the “sharrow before and after the intersection because the city dropped the bike lane”. Why’d they drop it in this instance? To make space for Halsted Street drivers turning right, and to push more drivers northward through its intersection with Clybourn Avenue.

Others will wait to the side of drivers, and other still will wait behind a line of cars, putting themselves at a major time disadvantage as the people who biked up to the front. Not to mention they’ll choke on more fumes.

Then, when the light turns green, motorists behave differently. Some will follow behind the first bicyclist, while others will try to pass but closely because they’re essentially sharing a lane side-by-side – this exerts a lot of mental stress on the bicyclist.

Where the city has built space that’s absolutely not to be shared (meaning it’s for the exclusive use by people bicycling), then the designs are substandard because they still allow or seem open to driving. Otherwise, though, space for cycling that’s “part time” is only usable space for those holding the most power and not for the people riding bikes who need it.

frankling at washington bike lane (composite image)

In this new design that built a “protected intersection” for bicyclists going north on Franklin and east on Washington Street, the bike space is still a drivable area. (Top photo by Kevin Zolkiewicz; bottom photo by Skip Montanaro)

These deficiencies in Chicago’s bike lane network are often the result of failing to make, or make well, space for cycling from space used for parking or turn lanes.

Bicycling on the Dearborn Street bike lane

Three years after the City of Chicago built the novel and well-used two-way cycle track on one-way Dearborn, this situation north of the track still exists. And somehow they expect drivers on a 4-lane road to travel at 20 MPH.

This is 2015 and we continue to “not make space for cycling” despite every policy that calls for making bicycling in Chicago safe and convenient so that more people will do it. It’s just that in the unwritten policies it says that you can implement that policy if it doesn’t impede driving*.

* The City of Chicago has built many road diets (a reduction in the number of travel lanes) in the last four years, and some before that. A few of these have worked well for bicyclists, like on 55th and Vincennes where they built protected and buffered bike lanes, respectively (and Dearborn through the Loop).

I put road diets in a note after “impede driving” because they’re only done where they also won’t make local traffic more congested on that street or an intersecting streets.

On the face of it, that’s exactly what many people believe they’ll do because a road diet removes or converts lanes and that’s seen as the same as reducing car capacity which will shift that car traffic to other streets. That pretty much doesn’t happen and the city only implements road diets on streets that have MORE capacity than is used.

How to extract highways and subway lines from OpenStreetMap as a shapefile

It’s possible to use Overpass Turbo to extract any object from the OpenStreetMap “planet” and convert it from a GeoJSON or KML file to a shapefile for manipulation and analysis in GIS.

Say you want the subway lines for Mexico City, and you can’t find a GTFS file that you could convert to shapefile, and you can’t find the right files on Sistema de Transporte Colectivo’s website (I didn’t look for it).

Here’s how to extract the subway lines that are shown in OpenStreetMap and save them as a GIS shapefile.

This is my second tutorial to describe using Overpass Turbo. The first extracted places of worship in Cook County. I’ve also used Overpass Turbo to extract a map of campgrounds

Extract free and open source data from OpenStreetMap

  1. Open the Overpass Turbo website and, on the map, search for the city from which you want to extract data. (The Overpass query will be generated in such a way that it’ll only search for data in the current map view.)
  2. Click the “Wizard” button in the top toolbar. (Alternatively you can copy the code below and paste it into the text area on the website and click the “Run” button.)
  3. In the Wizard dialog box, type in “railway=subway” in order to find metro, subway, or rapid transit lines. (If you want to download interstate highways, or what they call motorways in the UK, use “highway=motorway“.) Then click the “build and run query” button.
  4. In a few seconds you’ll see lines and dots (representing the metro or subway stations) on the map, and a new query in the text area. Notice that the query has looked for three kinds of objects: node (points/stations), way (the subway tracks), relation (the subway routes).
  5. If you don’t want a particular kind of object, then delete its line from the query and click the “Run” button. (You probably don’t want relation if you’re just needing GIS data for mapping purposes, and because routes are not always well-defined by OpenStreetMap contributors.)
  6. Download the data by clicking the “Export” button. Choose from one of the first three options (GeoJSON, GPX, KML). If you’re going to use a desktop GIS software, or place this data in a web map (like Leaflet), then choose GeoJSON. Now, depending on what browser you’re using, a couple things could happen after you click on GeoJSON. If you’re using Chrome then clicking it will download a file. If you’re using Safari then clicking it will open a new tab and put the GeoJSON text in there. Copy and paste this text into TextEdit and save the file as “mexico_city_subway.geojson”.

Overpass Turbo screenshot 1 of 2

Screenshot 1: After searching for the city for which you want to extract data (Mexico City in this case), click the “Wizard” button and type “railway=subway” and click run.

Overpass Turbo screenshot 2

Screenshot 2: After building and running the query from the Wizard you’ll see subway lines and stations.

Overpass Turbo screenshot 3

Screenshot 3: Click the Export button and click GeoJSON. In Chrome, a file will download. In Safari, a new tab with the GeoJSON text will open (copy and paste this into TextEdit and save it as “mexico_city_subway.geojson”).

Convert the free and open source data into a shapefile

  1. After you’ve downloaded (via Chrome) or re-saved (Safari) a GeoJSON file of subway data from OpenStreetMap, open QGIS, the free and open source GIS desktop application for Linux, Windows, and Mac.
  2. In QGIS, add the GeoJSON file to the table of contents by either dragging the file in from the Finder (Mac) or Explorer (Windows), or by clicking File>Open and browsing and selecting the file.
  3. Convert it to GeoJSON by right-clicking on the layer in the table of contents and clicking “Save As…”
  4. In the “Save As…” dialog box choose “ESRI Shapefile” from the dropdown menu. Then click “Browse” to find a place to save this file, check “Add saved file to map”, and click the “OK” button.
  5. A new layer will appear in your table of contents. In the map this new layer will be layered directly above your GeoJSON data.

Overpass Turbo screenshot 4

Screenshot 4: The GeoJSON file exported from Overpass Turbo has now been loaded into the QGIS table of contents.

Overpass Turbo screenshot 5

Screenshot 5: In QGIS, right-click the layer, select “Save As…” and set the dialog box to have these settings before clicking OK.

Query for finding subways in your current Overpass Turbo map view

/*
This has been generated by the overpass-turbo wizard.
The original search was:
“railway=subway”
*/
[out:json][timeout:25];
// gather results
(
// query part for: “railway=subway”
node["railway"="subway"]({{bbox}});
way["railway"="subway"]({{bbox}});
relation["railway"="subway"]({{bbox}});
/*relation is for "routes", which are not always
well-defined, so I would ignore it*/
);
// print results
out body;
>;
out skel qt;