OpenTripPlanner
Instructions to get you started with using OS MRN in OpenTripPlanner.
Last updated
Was this helpful?
Instructions to get you started with using OS MRN in OpenTripPlanner.
Last updated
Was this helpful?
is an open source multi-modal trip planner, focussing on travel by scheduled public transportation in combination with bicycling, walking, and mobility services, including bike share and ride hailing.
(Java 17+)
To find out if you have Java installed:
Open PowerShell / Command Prompt (Windows) or Shell (Linux) and type:
Press Enter.
If Java is installed, you should see a few lines of text detailing which version you have installed. If you get something along the lines of "java is not recognized ..."
, please download JVM [or OpenJDK] using the link above in 'What you need'.
In terms of creating a transit network using OS MRN, you'll require the following files (ensure that they are stored in the same directory):
The "shaded" JAR (Java ARchive) containing OTP and all other libraries needed for it to work.
Some General Transit Feed Specification (GTFS) data for Transit Schedules and Stops, for example, Bus Open Data Service (BODS).
OS MRN Protocolbuffer Binary Format (PBF) data downloaded from the (OSMulti-modalRoutingNetwork.pbf
).
The provides a detailed set on instructions of how to get the interactive OTP instance up-and-running, but fundamentally the steps are as follows:
Open PowerShell / Command Prompt (Windows) or Shell (Linux) and navigate to the folder where the OTP JAR, BODS GTFS, and OS MRN PBF files have been stored.
Run the following command to start the service: java -Xmx8G -jar otp-2.5.0-shaded.jar --build --serve . --port 8801
.
Go to in a web browser.