Public transit schedule information and connection routing service based on GTFS data and the RAPTOR algorithm.
- 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.
-
Clone the repository:
git clone https://github.com/naviqore/public-transit-service.git cd public-transit-service
-
Build the project using Maven:
mvn clean install
-
Run the application:
mvn spring-boot:run
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.
Access the service at http://localhost:8080 to explore schedules and query transit connections.
This project is licensed under the MIT license. See the LICENSE file for details.
[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