OpenTripPlanner (OTP) is a free and open-source multi-modal trip planner that allows users to plan routes using transit, biking, walking, and other modes. OTP can be run locally and has customizable options for transportation data sources to meet the specific needs of different regions. This tutorial provides step-by-step instructions on how to install OpenTripPlanner on OpenSUSE latest.
OTP requires GraphHopper to operate. GraphHopper uses OpenStreetMap data and allows OTP to perform graph analysis, map matching, and routing calculations. The GraphHopper project provides pre-built JAR files, which can be downloaded from the following link:
https://oss.sonatype.org/content/repositories/releases/com/graphhopper/graphhopper-web/
To download and install GraphHopper to the system, run the following command using the terminal:
wget -O graphhopper-latest.jar https://oss.sonatype.org/content/repositories/releases/com/graphhopper/graphhopper-web/3.0/graphhopper-web-3.0.jar
To install OTP, follow the below steps:
https://repo1.maven.org/maven2/org/opentripplanner/otp/1.5.0/
java -Xmx4G -jar /path/to/otp-1.5.0-shaded.jar --build /path/to/graphhopper-folder
After completing Step 2, OTP is now installed on your OpenSUSE system. To launch OTP, run the following command:
./otp-1.5.0-shaded.jar --server
This will start the OTP server, and you can access it using a web browser by opening the URL http://localhost:8080/ .
Congratulations! You have successfully installed OTP on your OpenSUSE latest system. Upon successful installation, OTP can be customized to use specific transportation data sources, including real-time transit feeds or static schedules. OTP can also be integrated with other tools and services to create a fully functional and customized trip planning application.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!