Table of Contents
SIMRA is a data-driven platform for improving cycling safety by analyzing crowdsourced ride and near-miss incident data. The project identifies high-risk areas, evaluates urban cycling infrastructure, and provides actionable insights to enhance cyclist safety.
By reporting dangerous situations and contributing ride data, users help create a safer cycling environment. The platform visualizes traffic patterns and risk areas, empowering communities and urban planners to make informed decisions.
Before you begin, ensure you have the following installed on your local machine:
- Docker: Install Docker
- Docker Compose: Install Docker Compose
- Clone the repository:
git clone https://github.com/simra-project/result-viewer-backend
- Edit environment variables in .env use the .env.example as a template
To deploy and explore the application, you can use Docker Compose to set up the necessary services.
-
Run the following command to start the services:
docker compose up
-
Access the api of the application at
http://localhost:8080
.
To set up the development environment, ensure you have Java installed and follow these steps:
-
Init database service
docker compose up init-postgis
-
Spin up database, cache and routing engine
docker compose up postgis redis valhalla
-
Run the spring boot application
./gradlew bootRun
Name | Path | Description |
---|---|---|
backend |
src/main/java | The backend of the platform |
The spring project is structured into several modules, each responsible for specific functionalities.
Name | Path | Description |
---|---|---|
osmPlanet |
osmPlanet | Dedicated to control the entities and service logic of Open Street Map. |
profiles |
profiles | Collects and analyses anonymized user profile data to gain knowledge about the most endangered rider groups. |
rides |
rides | Reads the rides of simra-backend, uses the valhalla module to connect these to OSM street entities and serves as a mainendpoint to the frontend dashaboard. |
valhalla |
valhalla | Encapsulates the logic that interacts with the routing engine, which maps the GPS traces of the rides to the OSM Street grid. |
Role | Name | Contact |
---|---|---|
Project Supervisor | David Bermbach | TU Berlin Profile |
Developer | David Schmidt | Portfolio • Github |
Resource Type | Description | Link |
---|---|---|
Project Management | Kanban board tracking development progress and tasks | Simra Project Board |
System Architecture | PlantUML diagrams documenting the system design and component interactions | Architecture Diagrams |
Research & Publications | Academic research and technical documentation related to the SIMRA initiative | Research Documents |
Live Demonstration | Interactive dashboard showcasing real-time cycling safety analytics | Simra Dashboard |