Skip to content

yusufserhatozkan/Transitor-Routing-App

Repository files navigation

Application Setup

  1. Download GTFS Data

    • Download the GTFS.zip file for the Netherlands.
    • Import the data into your local MySQL database.
  2. Configure Database Connection

    • Open the DatabaseSingleton class.
    • Update lines 16, 17 and 18 with your own MySQL credentials (host, username, password).
  3. Initial Data Cleanup

    • On the first launch, call the cleanData method from dataGetter in the mapGUI.main method: dataGetter.cleanData();
    • This process cleans up excess data to improve query performance.
    • Important: Running cleanData takes some time, so after you have used it to clear your database, you should remove it from the main method for future launches to speed up the startup process.

Running the Application

  1. Launch

    • Run the main method in the mapGUI class to launch the application.
  2. Usage

    • The application allows you to input two postcodes. It only accepts postcodes within the vicinity of Maastricht.
    • If you do not input appropriate postcodes, it will display an error message.
    • Note: If the API throws an error, you may wish to look for an alternative API to call from. Try https://project12.ashish.nl/get_coordinates.

That's It

The application should now be ready to use for exploring public transport routes.

Enjoy!

About

Java-based public transport routing engine that calculates optimal paths, travel times, and distances using OpenStreetMap and GTFS data. Supports multi-modal transport (bus, walking) with offline capability and accurate, high-resolution map visualization. Designed for real-time performance and extensibility in urban mobility applications.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors