-
Notifications
You must be signed in to change notification settings - Fork 1
FrequentlyAskedQuestions
A trip planner helps you figure out how best to get where you want to go. A multi-modal trip planner lets you plan routes using multiple "modes," for example, on foot, bike, train, bus, or some combination thereof. A good multi-modal trip planner allows you to easily tailor your trip to your preferences, for example by eliminating transfers, walking a more scenic path, or only riding buses with bike storage.
OpenTripPlanner is an open source multi-modal trip planner. It brings together work from a number of existing open source projects, including Graphserver, OneBusAway, and FivePoints, and aims to be easy-to-use, flexible, reliable, and fast.
OpenTripPlanner is an open source project and is a collaborative effort among many individuals, transit agencies, and non-profit organizations. Developers working on OpenTripPlanner hail from TriMet, OpenPlans, Graphserver, FivePoints, byCycle, and OneBusAway, among others. The working group page has a more complete listing of people who have contributed to the project. The official kickoff for the project was a transit workshop in Portland hosted by TriMet, the regional transportation authority.
At its core, the project is driven by transit enthusiasts.
We want to make transit easy, convenient, and enjoyable, and we think a high-quality trip planner is an important part of achieving that goal (see ticket #1).
There are lots of ways to help out. As the project is in very early stages of development, the best thing to do is join the developer mailing list and help shape things from the ground up. You can also contribute to the wiki or stop by our IRC channel (#opentripplanner
on Freenode or chat through the web)
On the back-end, the primary language is Java, with some additional tools written in Python. Front-end work is done in JavaScript.
OpenTripPlanner is released under version 3 of the LGPL.
I (Frank Purcell) grabbed a GA key for http://opentripplanner.org, UA-11476476
Reserve the following keys:
- UA-11476476-1 == project documentation uses.
- UA-11476476-2 == trip planner demo code (demo.opentripplanner.org).
We throw around a lot of transit and technical terms. Find out what they mean:
Jargon and Acronyms
Please see GraphBuilder#Performance and JVMPerformance
java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:.../Tomcat_6.0.20/lib/jaxb-impl-2.1.12.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
Try upgrading to Java 6, Update 4. A user also reported that he solved this problem replacing the JAXB Jar files in Tomcat's lib directory with
- jaxb-api-2.1.jar
- jaxb-impl-2.1.12.jar
- jaxws-2.1.7.jar
Check that your GTFS has a shapes.txt file, and that it is correct.
Set defaultBikesAllowed=true on your GtfsBundle.
OTP comes with VizGui, a developer-focused tool for graph visualization. There is also a plugin for gvsig (unmaintained), and one for OpenJump
http://projectlombok.org/ generates boilerplate leaving us with cleaner, simpler code, but requires a plugin for IDEs. It works automatically in command line Maven builds. See the section "Install Project Lombok" under Install. This problem often manifests as java.lang.Error: Unresolved compilation problem: The type GraphServiceImpl must implement the inherited abstract method ResourceLoaderAware.setResourceLoader(ResourceLoader)
.