Final Submission - Temporary Road Closures Database and API - GSOC 2025
Posted by Archit Rathod on 25 August 2025 in English. Last updated on 28 August 2025.🎉 GSoC 2025 Final: Temporary Road Closures Database and API
Google Summer of Code 2025 • OpenStreetMap Foundation • Archit Rathod
After 15 weeks of intensive development, I’m thrilled to announce the successful completion of my Google Summer of Code 2025 project: Temporary Road Closures Database and API for the OpenStreetMap Foundation! 🎯
🚀 Live Demo - Try It Now!
** Frontend: https://closures.osm.ch/
** Backend API: https://api.closures.osm.ch/
** GitHub: https://github.com/Archit1706/temporary-road-closures
** GSoC Project: summerofcode.withgoogle.com
🎯 Problem Solved
OSM provides excellent static map data, but temporary road closures (construction, accidents, events) aren’t captured quickly enough for navigation apps. This project creates an open platform where communities can report closures in real-time and navigation apps can calculate closure-aware routes.
✨ What We Built
Complete Backend System
- FastAPI + PostgreSQL + PostGIS - Production-ready API with 25+ endpoints
- OpenLR integration - Universal location referencing for cross-platform compatibility
- OAuth2 + JWT authentication - Secure user management with Google/GitHub login
- Advanced spatial queries - Bounding box searches, proximity filtering, route analysis
Modern Frontend Application
- Next.js 15 + TypeScript - Interactive web interface with mobile optimization
- Leaflet maps - Real-time closure visualization with OpenStreetMap tiles
- Multi-step reporting - Guided forms for accurate closure submission
- Demo mode - Full functionality without registration for immediate testing
Closure-Aware Routing Innovation
- Valhalla API integration - Calculate routes that avoid relevant closures
- Transportation filtering - Car, bicycle, and pedestrian-specific closure relevance
- Route comparison - Direct vs. closure-aware route analysis
- Real-time optimization - Live route calculation considering current conditions