Commit Graph

64 Commits

Author SHA1 Message Date
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
Mattéo Delabre f054b11743
Exclude unknown data from realtime 2020-07-23 01:02:22 +02:00
Mattéo Delabre 76a187bbb6
Allow segments with no routes 2020-07-22 23:11:00 +02:00
Mattéo Delabre b67543cc0c
Remove stop-ref guessing and add route number to stop/segs 2020-07-22 23:10:43 +02:00
Mattéo Delabre 4eca29c0c7
Initialize README 2020-07-22 21:48:20 +02:00
Mattéo Delabre 18c8465548
Update network with alternate routes 2020-07-22 19:02:43 +02:00
Mattéo Delabre 476a0787a1
Extract TaM simulation from front and TaM data from back 2020-07-19 22:13:26 +02:00
Mattéo Delabre 0d7b384821
front: Initial implementation of simulation 2020-07-19 01:45:36 +02:00
Mattéo Delabre d5362041ca
back: Serve all next passings instead of only the next one 2020-07-19 00:10:08 +02:00
Mattéo Delabre 2520d03d13
Fix segment from Saint-Jean-le-Sec to Saint-Jean-de-Védas on L2 2020-07-18 23:09:04 +02:00
Mattéo Delabre 8e4feba482
back: Fix turn from Rondelet to Gare Saint-Roch 2020-07-18 19:49:44 +02:00
Mattéo Delabre e582708d5c
back: Fix stop Cougourlude on line 3 2020-07-18 19:47:43 +02:00
Mattéo Delabre dd32739736
back: Document realtime data 2020-07-18 19:00:46 +02:00
Mattéo Delabre 4520ce647f
No need to convert lat/lon to latitude/longitude for geolib 2020-07-18 19:00:31 +02:00
Mattéo Delabre 56009e2502
Line 2: Duplicate “La Condamine” for both directions 2020-07-18 19:00:14 +02:00
Mattéo Delabre a58d8c7610
Remove leaflet dep 2020-07-17 23:50:44 +02:00
Mattéo Delabre 8e98819c38
Split network into segments and report distance 2020-07-17 23:48:32 +02:00
Mattéo Delabre 082270831d
Bundle network in front app and allow CORS in back 2020-07-17 20:10:52 +02:00
Mattéo Delabre 37a9a1bd72
Better blending of adjacent lines on map 2020-07-17 19:59:34 +02:00
Mattéo Delabre a5aa58d2ee
Split map logic in front 2020-07-17 19:17:06 +02:00
Mattéo Delabre 2c3b16caef
Add working realtime endpoint in backend 2020-07-17 16:40:09 +02:00
Mattéo Delabre dd154afa9d
Update front for new back network format 2020-07-17 12:17:56 +02:00
Mattéo Delabre 944207ed8a
Split data/endpoints.js into osm and tam 2020-07-17 12:13:25 +02:00
Mattéo Delabre 5ec857349b
Rename script update-network.js to update-network 2020-07-17 12:13:02 +02:00
Mattéo Delabre eae56b27ae
Fix segmentation of route path 2020-07-17 01:41:05 +02:00
Mattéo Delabre 7badd97610
Migrate request to axios 2020-07-17 00:16:54 +02:00
Mattéo Delabre 3429227114
npm audit fix 2020-07-16 23:03:35 +02:00
Mattéo Delabre dd008d7ee2
Use PTv2 standard instead of DFS for finding segments 2020-07-16 22:58:01 +02:00
Mattéo Delabre 783f29ce68
Prevent lines duplicate in network data 2020-01-16 19:10:30 +01:00