Skip to content

Public transit schedule information and connection routing service based on GTFS data and the RAPTOR algorithm.

License

Notifications You must be signed in to change notification settings

naviqore/public-transit-service

Folders and files

NameName
Last commit message
Last commit date
Jun 12, 2024
May 4, 2024
May 27, 2024
Nov 5, 2024
Apr 28, 2024
Aug 14, 2024
Sep 6, 2024
Sep 6, 2024
Apr 10, 2024
Apr 10, 2024
Jan 4, 2025

Repository files navigation

Public Transit Service

Public transit schedule information and connection routing service based on GTFS data and the RAPTOR algorithm.

Features

  • GTFS Integration: Integrates public transit schedules using the General Transit Feed Specification (GTFS) format [1].
  • Efficient Routing: Utilizes the RAPTOR (Round-based Public Transit Routing) algorithm for optimized transit routes [2].
  • RESTful API: Provides an API for querying transit schedule information and connections.

Installation

  1. Clone the repository:

    git clone https://github.com/naviqore/public-transit-service.git
    cd public-transit-service
  2. Build the project using Maven:

    mvn clean install
  3. Run the application:

     mvn spring-boot:run

Deployment

To deploy public-transit-service using Docker, run the following command:

docker run -p 8080:8080 -e GTFS_STATIC_URI=<URL or PATH> ghcr.io/naviqore/public-transit-service:latest

For more configuration options, refer to the application.properties file.

Usage

Access the service at http://localhost:8080 to explore schedules and query transit connections.

License

This project is licensed under the MIT license. See the LICENSE file for details.

References

[1] General Transit Feed Specification. (n.d.). Retrieved May 25, 2024, from https://gtfs.org/

[2] Delling, D., Pajor, T., & Werneck, R. F. (2012). Round-Based Public Transit Routing. In 2012 Proceedings of the Meeting on Algorithm Engineering and Experiments (ALENEX) (pp. 130-140). SIAM. https://doi.org/10.1137/1.9781611972924.13