Skip to content
/ cta-otp Public
forked from dssg/cta-otp

OpenTripPlanner tool and transit mobility maps for Chicago

Notifications You must be signed in to change notification settings

rasata/cta-otp

 
 

Repository files navigation

Open Trip Planner: CTA Edition

The OTP CTA project is a version of the OpenTripPlanner (OTP) software tailored for use in the city of Chicago by the Chicago Transit Authority (CTA). It also adds features to the core OTP software.

Chicago Transit Authority Chicago Transit Authority

This project is part of the 2013 Data Science for Social Good fellowship, in partnership with the CTA. We implemented OTP for Chicago because the CTA wanted to use OTP Analyst to visualize how public transit affects residents' mobility.

What Is OpenTripPlanner?

OTP is an open source trip planning software package, originally developed by OpenPlans.

The core of OTP is a transportation routing engine - graph algorithms that find the shortest/fastest path between location a and b through transit, biking, and other transportation modes. This routing engine powers several user-facing apps, some for transit riders and others for planners:

  • OpenTripPlanner app (opentripplanner-webapp): Basic trip planning tool, similar to getting trip directions through Google Maps. The intended user is anyone figuring out how to get from here to there. The app finds a route from a single origin to a single destination at a time, and display the route to the user.

OpenTripPlanner Webapp

  • OTP Analyst app (opentripplanner-analyst-client): travel-time maps for transportation planners. From a single origin point, this app calculates routes to a grid of destination points, then generates a map overlay color-coded by travel time. There are several modes which allow for addition of a second set of routing parameters for comparison. The intended users are transportation planners trying to visualize and understand mobility in a given city. For an introduction to OTP Analyst, click here.

OpenTripPlanner Analyst

  • Batch analyst app: there's also an offline "batch analyst" application, which allows for a wider range of routing use cases. You can route from a set of origin points to a set of destination points, outputting travel times (and possibly other information), either in CSV form or as a TIFF raster that other applications can use (i.e. desktop GIS software such as QGIS, which was used to generate the sample images below).

OpenTripPlanner Batch Analyst

OpenTripPlanner Basics

This project assumes you're already familiar with OTP. To get started, check out the project's very informative wiki and the main OTP repo.

The core OpenTripPlanner package is now being developed by Conveyal.

Conveyal

What Is This Project?

This is a version of OpenTripPlanner customized for use by the CTA. This repository was cloned from the OTP repository, then four changes were made:

  1. OTP and OTP Analyst for Chicago: optimized the JavaScript in the trip planner and analyst client webapps for use in the city of Chicago - auto-centered camera on Chicago, removed references to the D.C. Purple Line.

  2. Aesthetic changes to OTP Analyst: made minor fixes and aesthetic changes to the webapps (fixed broken map options, added new options, changed color legend for trip times)

  3. New OTP app for general accessibility: created a new webapp opentripplanner-ga-client. Instead of visualizing trip times from one point on the map to every other point, this tool visualizes how "accessible" or "connected" each point on the map is to every other. The app works by calclating routes from a specified set of points (the user can upload a file of lat-long coordinates) to a grid of points. The map colors change based on the mode selected - currently, it can be colored by the average travel time to the origin points, or by the travel time to the closest origin point. In addition to the webapp, this required modifying several java files to allow for the extension of analyst features required for the opentripplanner-ga-client and related future functionality. NOTE: The GA client does NOT use Batch Analyst. It merely expands upon the Analyst Client.

OpenTripPlanner GAnalyst

For a more thorough list of changes, click here.

Hosted App Demos

We've deployed the OTP trip planning, analyst, and general accessbility apps for the Chicago Transit Athority to use.

NOTE: These demos are hosted on the CTA development EC2 instance, and as such may be taken down from time to time.

How Do I Install OpenTripPlanner?

Well, that depends on what exactly you want to do with the software.

Contributing

  • Please check our to-do list to see what's on our roadmap. Pull requests welcome!

Getting in touch

Open Source License

As found at the beginning of every source file:

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

About

OpenTripPlanner tool and transit mobility maps for Chicago

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published