Skip to content
Frank Purcell edited this page Jul 19, 2011 · 12 revisions

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)

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

  4. bin\build-graph.bat (will take about 7 minutes, especially to download OSM data...and expect a bunch of 'not near any streets' before finishing)

  5. bin\start-server.bat

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

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

Clone this wiki locally