Commit Graph

92 Commits

Author SHA1 Message Date
Mattéo Delabre 01af546b72
Update front/back for new network data format 2022-07-05 18:10:48 -04:00
Mattéo Delabre f8e8b18591
Rename src/tam to src/data 2022-07-05 17:57:21 -04:00
Mattéo Delabre 17d36a032c
Update network fetching to be more generic 2022-07-04 22:40:29 -04:00
Mattéo Delabre aeef4b5ae9
Move courses rendering to separate file 2021-05-24 22:59:56 +02:00
Mattéo Delabre 20f04408fc
Cycle through overlapping selected courses by dep time 2021-05-23 16:47:15 +02:00
Mattéo Delabre 7465314a12
Improve front rendering performance 2021-05-23 16:35:40 +02:00
Mattéo Delabre 05d7faa725
Update routing to new navigation format 2021-05-23 15:19:45 +02:00
Mattéo Delabre e696761f8e
Implement iterative graph compression 2021-05-23 14:59:08 +02:00
Mattéo Delabre a51a80a4b3
Improve navigation graph compression 2021-05-23 00:45:09 +02:00
Mattéo Delabre 474fc94a06
Navigation graph output: add color and improve layout 2021-05-22 23:54:31 +02:00
Mattéo Delabre 452c7b9586
Improve navigation graph rendering 2021-05-22 00:21:26 +02:00
Mattéo Delabre f569d1302c
Improve network extraction and graph simplification + add docs 2021-05-21 23:59:51 +02:00
Mattéo Delabre ab5e892bdd
Improve simulation documentation 2021-05-16 18:35:02 +02:00
Mattéo Delabre 5f38c6c64e
Implement out-of-route navigation 2021-05-16 12:01:51 +02:00
Mattéo Delabre ff84c7c93b
Remove courses that have reached their destination 2021-05-15 13:10:56 +02:00
Mattéo Delabre ef8d88de28
Ajout variable globale __courses et __network pour débogage 2021-05-15 12:38:24 +02:00
Mattéo Delabre 6d76d874a1
Refonte du code de simulation 2021-05-15 00:43:45 +02:00
Mattéo Delabre 7a418f8ada
Correction code terminus Lattes Centre 2021-05-11 22:02:46 +02:00
Mattéo Delabre 9d163f257d
Migrate to ES6 modules and update dependencies 2021-05-11 21:39:24 +02:00
Mattéo Delabre 888845f9d7
Last stop at T+60s 2021-05-11 20:38:54 +02:00
Mattéo Delabre d0c2fb3a63
Automatically append last stop if missing 2021-05-11 18:20:47 +02:00
Mattéo Delabre 6b7333c46b
Add show-courses script 2021-05-11 17:20:12 +02:00
Mattéo Delabre ef6b4b9741
Cache TaM information on disk 2021-05-11 15:36:13 +02:00
Mattéo Delabre 3600e0b2bf
Update network 2021-05-11 15:35:03 +02:00
Mattéo Delabre e44e9d07ba
Allow clicking on multiple courses simultaneously 2021-05-11 11:02:18 +02:00
Mattéo Delabre ca8d6f894f
Allow for unknown stops in side pane 2020-07-27 23:48:10 +02:00
Mattéo Delabre 0b8963af99
Remove passings duplicates 2020-07-27 21:21:07 +02:00
Mattéo Delabre d9869ce2f7
Show course informations in side pane 2020-07-27 21:01:36 +02:00
Mattéo Delabre fe08c42920
Sort passings, improve simulation
* use DFS to find path when passings are missing
* give passings sorted by increasing time
2020-07-27 21:01:21 +02:00
Mattéo Delabre 5db750adca
Adjust course angle when rotating view 2020-07-26 21:03:41 +02:00
Mattéo Delabre dd950a95e8
Split front/map.js 2020-07-26 15:57:09 +02:00
Mattéo Delabre 079fbcf310
Code cleanup: Update ESLint conf, improve internal passings interface 2020-07-26 01:48:40 +02:00
Mattéo Delabre 35cd0e1e72
Migrate geolib to turf, reduce bundle size 2020-07-25 16:28:51 +02:00
Mattéo Delabre 3b8a0de9b0
Remove unused list of stops in routes from network 2020-07-25 13:57:01 +02:00
Mattéo Delabre 59c28f544e
Fix typo in simulation warning 2020-07-25 13:46:54 +02:00
Mattéo Delabre 25382dec76
Order lines by increasing number 2020-07-25 13:46:45 +02:00
Mattéo Delabre 38afb5a60d
Fix path around Garcia Lorca 2020-07-25 01:16:36 +02:00
Mattéo Delabre 075105393d
Rename `points` to `nodes` in front/map.js 2020-07-25 01:05:03 +02:00
Mattéo Delabre 314625f4ef
Rename `points` array to `nodes` in segments 2020-07-25 01:02:07 +02:00
Mattéo Delabre 51ec5f5d40
Add front prod instructions 2020-07-25 00:58:35 +02:00
Mattéo Delabre e907d22faf
Do not lock zoom when focusing on a course 2020-07-25 00:58:25 +02:00
Mattéo Delabre 41a92ff826
Simulation: Fix undefined segment, keep history 2020-07-25 00:57:47 +02:00
Mattéo Delabre 5dfa49b75f
Improve simulation code stability 2020-07-24 19:05:43 +02:00
Mattéo Delabre 91d6771f5e
Make passings an object 2020-07-24 19:05:28 +02:00
Mattéo Delabre 5c4f219f7a
Allow focusing on a given course 2020-07-24 01:32:39 +02:00
Mattéo Delabre d13a9ea3d7
Add vehicle angle 2020-07-24 00:18:30 +02:00
Mattéo Delabre 1b837272ae
Improve icon for courses 2020-07-23 23:09:05 +02:00
Mattéo Delabre 1f8a78e399
Immediate rendering of courses 2020-07-23 20:49:01 +02:00
Mattéo Delabre f080bb808e
Interpolate coordinates in Mercator space for better accuracy 2020-07-23 19:19:35 +02:00
Mattéo Delabre d688bff813
Load simulation in front 2020-07-23 17:29:35 +02:00