Skip to content

Commit 715e9a3

Browse files
committed
chore: added another test dataset
1 parent 32b1b59 commit 715e9a3

7 files changed

+12727
-12737
lines changed

test-data/README.md

Lines changed: 17 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -529,14 +529,19 @@ Good result:
529529

530530
Log file ID: 29584
531531

532-
Same route as log_28573.
532+
Same route as log_28573. Also difficult situation but it will prove that the path algorithm can recover when the GNSS connection improves.
533+
534+
![L36-A to L36C-A to L25N-B (log_29584) - Raw](log_29584/log_29584_L36-A_to_L36C-A_to_L25N-B-raw.png)
535+
533536

534537
#### Simple projection
535538

536539
```bash
537540
target/release/tp-cli.exe simple-projection --gnss test-data/log_29584/log_29584_L36-A_to_L36C-A_to_L25N-B.csv --crs EPSG:4326 --network test-data/network_airport.geojson --output test-data/log_29584/log_29584_L36-A_to_L36C-A_to_L25N-B-simple-projection.geojson
538541
```
539542

543+
Expected (bad) result:
544+
540545
![L36-A to L36C-A to L25N-B (log_29584) - Simple projection](log_29584/log_29584_L36-A_to_L36C-A_to_L25N-B-simple-projection.png)
541546

542547
#### Path calculation
@@ -545,25 +550,7 @@ target/release/tp-cli.exe simple-projection --gnss test-data/log_29584/log_29584
545550
target/release/tp-cli.exe calculate-path --gnss test-data/log_29584/log_29584_L36-A_to_L36C-A_to_L25N-B.csv --crs EPSG:4326 --network test-data/network_airport.geojson --output test-data/log_29584/log_29584_L36-A_to_L36C-A_to_L25N-B-path-calculation.geojson
546551
```
547552

548-
Expected output:
549-
1. 88_L_1388 (prob=0.965)
550-
2. 88_L_11046 (prob=0.414)
551-
3. 88_L_11885 (prob=1.000)
552-
4. 88_L_7137 (prob=1.000)
553-
5. 88_L_109 (prob=1.000)
554-
6. 88_L_11721 (prob=1.000)
555-
7. 88_L_5210 (prob=0.552)
556-
8. 88_L_1727 (prob=1.000)
557-
9. 88_L_17875 (prob=1.000)
558-
10. 88_L_7141 (prob=0.327)
559-
11. 88_L_6042 (prob=1.000)
560-
12. 88_L_16654 (prob=1.000)
561-
13. 88_L_13635 (prob=1.000)
562-
14. 88_L_7819 (prob=1.000)
563-
15. 88_L_7154 (prob=0.677)
564-
16. 88_L_5589 (prob=0.506)
565-
17. 88_L_18686 (prob=0.147)
566-
18. 88_L_1728 (prob=0.311)
553+
Good result:
567554

568555
![L36-A to L36C-A to L25N-B (log_29584) - Path calculation](log_29584/log_29584_L36-A_to_L36C-A_to_L25N-B-path.png)
569556

@@ -573,6 +560,8 @@ Expected output:
573560
target/release/tp-cli.exe --gnss test-data/log_29584/log_29584_L36-A_to_L36C-A_to_L25N-B.csv --crs EPSG:4326 --network test-data/network_airport.geojson --output test-data/log_29584/log_29584_L36-A_to_L36C-A_to_L25N-B-path-projection.geojson
574561
```
575562

563+
Good result (and proves the need to have longitudal redistribution of the gnss positions):
564+
576565
![L36-A to L36C-A to L25N-B (log_29584) - Path projection](log_29584/log_29584_L36-A_to_L36C-A_to_L25N-B-path-projection.png)
577566

578567
---
@@ -581,14 +570,18 @@ target/release/tp-cli.exe --gnss test-data/log_29584/log_29584_L36-A_to_L36C-A_t
581570

582571
Log file ID: 29835
583572

584-
Same route as log_28573, but the GNSS data only covers a partial segment of the journey (the path calculation resolves only the first switch area, not the full route to L25N-B).
573+
Similar route as log_28573. GNSS is of better quality.
574+
575+
![L36-A to L36C-A to L25N-B (log_29835) - Simple projection](log_29835/log_29835_L36-A_to_L36C-A_to_L25N-B-raw.png)
585576

586577
#### Simple projection
587578

588579
```bash
589580
target/release/tp-cli.exe simple-projection --gnss test-data/log_29835/log_29835_L36-A_to_L36C-A_to_L25N-B.csv --crs EPSG:4326 --network test-data/network_airport.geojson --output test-data/log_29835/log_29835_L36-A_to_L36C-A_to_L25N-B-simple-projection.geojson
590581
```
591582

583+
As expected:
584+
592585
![L36-A to L36C-A to L25N-B (log_29835) - Simple projection](log_29835/log_29835_L36-A_to_L36C-A_to_L25N-B-simple-projection.png)
593586

594587
#### Path calculation
@@ -597,12 +590,7 @@ target/release/tp-cli.exe simple-projection --gnss test-data/log_29835/log_29835
597590
target/release/tp-cli.exe calculate-path --gnss test-data/log_29835/log_29835_L36-A_to_L36C-A_to_L25N-B.csv --crs EPSG:4326 --network test-data/network_airport.geojson --output test-data/log_29835/log_29835_L36-A_to_L36C-A_to_L25N-B-path-calculation.geojson
598591
```
599592

600-
Expected output (partial route — GNSS data ends before reaching L25N-B):
601-
1. 88_L_9764 (prob=0.917)
602-
2. 88_L_7824 (prob=0.465)
603-
3. 88_L_2026 (prob=0.113)
604-
4. 88_L_7855 (prob=0.925)
605-
5. 88_L_7818 (prob=0.927)
593+
Good result:
606594

607595
![L36-A to L36C-A to L25N-B (log_29835) - Path calculation](log_29835/log_29835_L36-A_to_L36C-A_to_L25N-B-path.png)
608596

@@ -612,6 +600,8 @@ Expected output (partial route — GNSS data ends before reaching L25N-B):
612600
target/release/tp-cli.exe --gnss test-data/log_29835/log_29835_L36-A_to_L36C-A_to_L25N-B.csv --crs EPSG:4326 --network test-data/network_airport.geojson --output test-data/log_29835/log_29835_L36-A_to_L36C-A_to_L25N-B-path-projection.geojson
613601
```
614602

603+
Good result:
604+
615605
![L36-A to L36C-A to L25N-B (log_29835) - Path projection](log_29835/log_29835_L36-A_to_L36C-A_to_L25N-B-path-projection.png)
616606

617607
---

0 commit comments

Comments
 (0)