-
Notifications
You must be signed in to change notification settings - Fork 0
Releases
There is no stand-alone release of OTP being maintained outside of the tutorial release.
-
See the 2 minute introduction for more...
-
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.
-
type this into the Command Prompt: cd c:\otp
-
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).
-
bin\start-server.bat
-
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.