Releases - mattwigway/OpenTripPlanner GitHub Wiki

Stand-alone Releases

There is a stand-alone release of OTP, including example config files (set to downtown Portland, Oregon ... but with a few edits to graph-builder.xml, things can point anywhere), available here:

https://svn.opentripplanner.org/releases/current

Easiest way to build a graph and get the web ui up and running is the following:

  1. Download https://svn.opentripplanner.org/releases/current.zip (large 90M file)

    extract current.zip to c:\

    -- ALTERNATIVELY, for those with a Tortise SVN or some other Subversion code repository client --

    svn co https://svn.opentripplanner.org/releases/current otp

  2. Open a Command Prompt window (On Windows: Start Menu-->Programs-->Accessories-->Command Prompt)

2b. Make sure you have a modern version of java (1.5 or greater) installed on your PC. On the command-line, type 'java -version', and you should see something like java version "1.6.0_11" or java version "1.5.1", etc... If your java version number begins with something lower than 1.5, then you will need to upgrade java. Go to http://www.java.com/en/download/manual.jsp, and install the recommended (top of page) java jre for your OS.

  1. type this into the Command Prompt: cd c:\otp

  2. bin\build-graph.bat -- let this run to completion (until the C:\otp> prompt appears again. NOTE: this will take about 7 minutes (with a lot of time spent downloading OSM data for the first time; also and expect a bunch of 'not near any streets' warnings, which can be ignored, to scroll by before finishing).

  3. bin\start-server.bat

  4. open http://localhost:8080/opentripplanner-webapp/index.html?fromPlace=45.525232023431,-122.67736035431&toPlace=45.508359727335,-122.64882966437&time=1:00%20pm&submit

  5. Step 4 built c:\otp\Graph.obj, which is just an example graph centered on downtown Portland, Oregon. Try editing c:\otp\graph-builder.xml by replacing TriMet and SMART with your local transit agency's GTFS data (and don't forget to also edit the OSM 'region source' ... read the comments starting around line 60 in graph-builder.xml for instructions on what to edit). Best of luck.