commit d40f2192e7956a36a8a529465762dcb7f7acdbb7 Author: Hamza Date: Thu Feb 26 12:29:42 2026 +0100 Add Pipline diff --git a/Pipline.md b/Pipline.md new file mode 100644 index 0000000..3d079b5 --- /dev/null +++ b/Pipline.md @@ -0,0 +1,17 @@ +```mermaid +flowchart TD +A[Raw GPS Records] --> B[Anomaly Detection] +B --> C[DBSCAN Clustering] +C --> D{Stop Cluster?} +D -->|Yes| E[Collapse to Centroid] +D -->|No| F[Keep Points] +E --> G[Douglas-Peucker Simplification] +F --> G +G --> H[OSRM Map Matching] +H --> I{Gap Detected?} +I -->|Yes| J[Route via OSRM] +I -->|No| K[Continue] +J --> L[Aggregate Distances] +K --> L +L --> M[Generate JSON] +M --> N[Render in Leaflet] \ No newline at end of file