This repository aims to provide a reproducible exmple of how to build a travel time matrix using OpenTripPlanner (OTP).
As you will notice, the code is not working (yet). I've created this repo because I need you help to make it work :) and because it could be a useful reference for others in the future.
Here you find the executable jar for installing Jython
Most of the files you need are in this repository alredy. The other files you can download from here:
Open your Command Prompt and run this line to set the directory where you've saved the files
cd C:\Users\rafa\Desktop\otp-travel-time-matrix2
Now run this line to build the Graph.obj
java –Xmx10G -jar otp-0.19.0-SNAPSHOT-shaded.jar --cache C:\Users\rafa\Desktop\otp-travel-time-matrix2 --basePath C:\Users\rafa\Desktop\otp-travel-time-matrix2 --build C:\Users\rafa\Desktop\otp-travel-time-matrix2\portland
c:\jython2.7.0\bin\jython.exe -Dpython.path=otp-0.19.0-SNAPSHOT-shaded.jar test.py
This code is inspired by @laurentg's code but it tries to achieve a different output, providing a travel time matrix.
More information about how to automate OTP here.