Add Pipline
commit
d40f2192e7
17
Pipline.md
Normal file
17
Pipline.md
Normal file
@ -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]
|
||||||
Loading…
Reference in New Issue
Block a user