- Java 17
- for running Spring Boot API Server
- Docker & docker-compose
- for running osrm-backend
- JOSM
- for editing osm map data
- Python3 (for parsing and renumbering .osm files)
- Install all required software
- Clone the Repository
- From the repository root, execute:
./preprocess_map.sh
This script parses/preprocesses the OSM map data and generates migration data/OSRM data. - From the repository root, run:
docker-compose up
This starts the PostgreSQL database and the OSRM routing server. - Open the project in your IDE and run the server once to enable automatic table creation (flyway).
- The setup is complete, and the project is ready to use.
When modifying the map, make sure to edit only the yonsei.osm
file.
DO NOT DIRECTLY EDIT THE yonsei_processed.osm
FILE, as it is automatically generated.
After modifying the yonsei.osm
file, running the preprocessor script will automatically generate the yonsei_processed.osm
file.
During the preprocessing stage, node renumbering and node ID generation are performed, which involves modifying the original yonsei.osm
file.
Therefore, ensure that you close any files you are editing before running the preprocess script.