🚌 Bus Stop Predictor
A web application for predicting bus stops from GPX track data.
🚀 Features
- Web-based GPX file upload
- Automatic bus stop prediction using clustering algorithms
- Interactive map visualization of predicted bus stops
- Statistical analysis with confidence scores
- Links to OpenStreetMap for each predicted stop
🛠 Installation
- Clone this repository
- Install the required dependencies:
pip install -r requirements.txt - Run the application:
python app.py - Open your browser and navigate to
http://localhost:5000
⚙️ How It Works
- Data Collection: Upload GPX files containing vehicle movement data
- Preprocessing: Extract coordinates, speed, and timestamps from GPX files
- Stop Detection: Identify points where speed is zero (vehicle stopped)
- Clustering: Group nearby stop points using DBSCAN algorithm
- Analysis: Calculate confidence scores based on recurring patterns
- Visualization: Display results on interactive maps and charts
🧰 Technologies Used
- Backend: Python, Flask
- Data Processing: Pandas, Scikit-learn, NumPy
- Frontend: Leaflet.js, Chart.js, Bootstrap 5, HTML5, CSS3, JavaScript
🔗 Links
- Source Code Website: https://github.com/MatthewsM2/Predict-Bus-Stop
- Live:https://github.com/MatthewsM2/Predict-Bus-Stop
- License: GPL-3.0 license – see LICENSE for details
#VibeCoding