From d40f2192e7956a36a8a529465762dcb7f7acdbb7 Mon Sep 17 00:00:00 2001 From: Hamza Date: Thu, 26 Feb 2026 12:29:42 +0100 Subject: [PATCH] Add Pipline --- Pipline.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Pipline.md 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