@wemap/routers 12.10.8-alpha.0 → 12.10.8-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (194) hide show
  1. package/dist/helpers/InstructionManager.d.ts +20 -0
  2. package/dist/helpers/InstructionManagerV1.d.ts +7 -0
  3. package/{index.ts → dist/index.d.ts} +1 -11
  4. package/dist/index.js +1 -5098
  5. package/dist/index.js.map +1 -1
  6. package/dist/src/ItineraryInfoManager.d.ts +31 -0
  7. package/dist/src/ItineraryInfoManager.spec.d.ts +1 -0
  8. package/dist/src/RoutingError.d.ts +24 -0
  9. package/{src/StatusCode.ts → dist/src/StatusCode.d.ts} +2 -3
  10. package/dist/src/Utils.d.ts +6 -0
  11. package/dist/src/graph/Edge.d.ts +32 -0
  12. package/dist/src/graph/Edge.spec.d.ts +1 -0
  13. package/dist/src/graph/Graph.d.ts +40 -0
  14. package/dist/src/graph/Graph.spec.d.ts +1 -0
  15. package/dist/src/graph/GraphProjection.d.ts +11 -0
  16. package/dist/src/graph/GraphProjectionOptions.d.ts +7 -0
  17. package/dist/src/graph/GraphRoute.d.ts +19 -0
  18. package/dist/src/graph/GraphRoute.spec.d.ts +2 -0
  19. package/dist/src/graph/GraphRouter.d.ts +20 -0
  20. package/dist/src/graph/GraphRouter.spec.d.ts +1 -0
  21. package/dist/src/graph/GraphRouterEngine.d.ts +77 -0
  22. package/{src/graph/GraphRouterOptions.ts → dist/src/graph/GraphRouterOptions.d.ts} +5 -7
  23. package/dist/src/graph/GraphRouterOptionsBuilder.d.ts +20 -0
  24. package/dist/src/graph/NoRouteFoundError.d.ts +12 -0
  25. package/dist/src/graph/Vertex.d.ts +19 -0
  26. package/dist/src/graph/Vertex.spec.d.ts +1 -0
  27. package/dist/src/model/Itinerary.d.ts +81 -0
  28. package/dist/src/model/Itinerary.spec.d.ts +7 -0
  29. package/dist/src/model/Leg.d.ts +66 -0
  30. package/dist/src/model/Leg.spec.d.ts +6 -0
  31. package/dist/src/model/LevelChange.d.ts +7 -0
  32. package/dist/src/model/LevelChange.spec.d.ts +6 -0
  33. package/dist/src/model/RouterRequest.d.ts +40 -0
  34. package/dist/src/model/Step.d.ts +42 -0
  35. package/dist/src/model/Step.spec.d.ts +52 -0
  36. package/dist/src/model/StepExtra.d.ts +3 -0
  37. package/dist/src/model/StepsBuilder.d.ts +16 -0
  38. package/dist/src/model/TransitMode.d.ts +5 -0
  39. package/dist/src/model/TransitMode.spec.d.ts +1 -0
  40. package/{src/model/TravelMode.ts → dist/src/model/TravelMode.d.ts} +1 -2
  41. package/dist/src/model/generateSteps.d.ts +0 -0
  42. package/{src/remote/RemoteRouter.ts → dist/src/remote/RemoteRouter.d.ts} +2 -7
  43. package/dist/src/remote/RemoteRouterManager.d.ts +731 -0
  44. package/dist/src/remote/RemoteRouterManager.spec.d.ts +1 -0
  45. package/dist/src/remote/RemoteRouterUtils.d.ts +6 -0
  46. package/dist/src/remote/cityway/CitywayRemoteRouter.d.ts +109 -0
  47. package/dist/src/remote/cityway/CitywayRemoteRouter.spec.d.ts +1 -0
  48. package/dist/src/remote/deutsche-bahn/DeutscheBahnRemoteRouter.d.ts +31 -0
  49. package/dist/src/remote/deutsche-bahn/DeutscheBahnRemoteRouter.spec.d.ts +1 -0
  50. package/dist/src/remote/geovelo/GeoveloRemoteRouter.d.ts +106 -0
  51. package/dist/src/remote/geovelo/GeoveloRemoteRouter.spec.d.ts +1 -0
  52. package/dist/src/remote/idfm/IdfmRemoteRouter.d.ts +123 -0
  53. package/dist/src/remote/idfm/IdfmRemoteRouter.spec.d.ts +1 -0
  54. package/dist/src/remote/navitia/NavitiaRemoteRouter.d.ts +34 -0
  55. package/dist/src/remote/navitia/NavitiaRemoteRouter.spec.d.ts +1 -0
  56. package/dist/src/remote/navitia/types.d.ts +87 -0
  57. package/dist/src/remote/osrm/OsrmRemoteRouter.d.ts +70 -0
  58. package/dist/src/remote/osrm/OsrmRemoteRouter.spec.d.ts +1 -0
  59. package/dist/src/remote/otp/OtpRemoteRouter.d.ts +69 -0
  60. package/dist/src/remote/otp/OtpRemoteRouter.spec.d.ts +1 -0
  61. package/dist/src/remote/wemap-multi/WemapMultiRemoteRouter.d.ts +19 -0
  62. package/dist/src/remote/wemap-multi/WemapMultiRemoteRouter.spec.d.ts +1 -0
  63. package/dist/src/types.d.ts +31 -0
  64. package/dist/src/wemap-multi/CustomGraphMap.d.ts +56 -0
  65. package/dist/src/wemap-multi/CustomGraphMap.spec.d.ts +1 -0
  66. package/dist/src/wemap-multi/CustomGraphMapTester.d.ts +39 -0
  67. package/dist/src/wemap-multi/CustomGraphMapTester.spec.d.ts +1 -0
  68. package/dist/src/wemap-multi/WemapMultiRouter.d.ts +14 -0
  69. package/dist/src/wemap-multi/WemapMultiRouter.spec.d.ts +1 -0
  70. package/dist/src/wemap-osm/OsmGraphUtils.d.ts +11 -0
  71. package/dist/src/wemap-osm/OsmGraphUtils.spec.d.ts +1 -0
  72. package/dist/src/wemap-osm/OsmRouter.elevators.spec.d.ts +1 -0
  73. package/dist/src/wemap-osm/OsmRouter.spec.d.ts +1 -0
  74. package/dist/tests/CommonTest.d.ts +8 -0
  75. package/dist/vite.config.d.ts +19 -0
  76. package/package.json +10 -7
  77. package/assets/biocbon-bergere-rdc-network.osm +0 -163
  78. package/assets/bureaux-wemap-montpellier-network.osm +0 -174
  79. package/assets/components.osm +0 -146
  80. package/assets/elevator-models-4.osm +0 -89
  81. package/assets/elevator-models.osm +0 -354
  82. package/assets/exit-graph.osm +0 -25
  83. package/assets/gare-de-lest-network-pp-bounds.osm +0 -1613
  84. package/assets/gare-de-lyon-extract.osm +0 -174
  85. package/assets/geovelo-montpellier.json +0 -1144
  86. package/assets/horizontal-elevator.osm +0 -12
  87. package/assets/itinerary-deutsche-bahn-1.json +0 -368
  88. package/assets/itinerary-grenoble-otp-1.json +0 -1536
  89. package/assets/itinerary-grenoble-otp-2.json +0 -1092
  90. package/assets/itinerary-info-two-points-proj.osm +0 -39
  91. package/assets/itinerary-info-two-points.osm +0 -24
  92. package/assets/itinerary-lehavre-cityway-1.json +0 -6799
  93. package/assets/itinerary-lehavre-cityway-2.json +0 -2133
  94. package/assets/itinerary-lehavre-cityway-3.json +0 -12577
  95. package/assets/itinerary-lehavre-cityway-4.json +0 -1451
  96. package/assets/itinerary-lehavre-cityway-5.json +0 -5925
  97. package/assets/itinerary-lemans-navitia.json +0 -7768
  98. package/assets/itinerary-montpellier-osrm-3.json +0 -185
  99. package/assets/itinerary-montpellier-outdoor-without-steps.json +0 -110
  100. package/assets/itinerary-montpellier-outdoor.json +0 -513
  101. package/assets/itinerary-paris-idfm-2.json +0 -1838
  102. package/assets/itinerary-paris-idfm.json +0 -27727
  103. package/assets/itinerary-step-not-on-path-osrm.json +0 -457
  104. package/assets/itinerary-with-duplicate-nodes.json +0 -110
  105. package/assets/network-conveying-backward.osm +0 -74
  106. package/assets/network-elevator.osm +0 -48
  107. package/assets/network-escalators.osm +0 -50
  108. package/assets/network-simple.osm +0 -27
  109. package/assets/network-steps-same-level.osm +0 -283
  110. package/assets/network-with-modifiers.osm +0 -39
  111. package/assets/one-way.osm +0 -46
  112. package/assets/report-map-1.osm +0 -36
  113. package/assets/report-map-2.osm +0 -29
  114. package/assets/report-map-3.osm +0 -15
  115. package/assets/rr-wemap-multi-indoor-outdoor-indoor.json +0 -1352
  116. package/assets/rr-wemap-multi-indoor-outdoor.json +0 -145
  117. package/assets/rr-wemap-multi-multi-level.json +0 -262
  118. package/assets/rr-wemap-multi-outdoor-indoor.json +0 -145
  119. package/assets/rr-wemap-multi-outdoor-outdoor.json +0 -207
  120. package/assets/rr-wemap-multi-remote-indoor-indoor.json +0 -155
  121. package/assets/rr-wemap-multi-remote-indoor-outdoor-indoor.json +0 -668
  122. package/assets/rr-wemap-multi-remote-indoor-outdoor.json +0 -154
  123. package/assets/rr-wemap-multi-remote-outdoor-indoor.json +0 -179
  124. package/assets/rr-wemap-multi-remote-outdoor-outdoor.json +0 -109
  125. package/assets/stairs-and-exit.osm +0 -47
  126. package/helpers/InstructionManager.ts +0 -184
  127. package/helpers/InstructionManagerV1.ts +0 -95
  128. package/src/ItineraryInfoManager.spec.ts +0 -183
  129. package/src/ItineraryInfoManager.ts +0 -181
  130. package/src/RoutingError.ts +0 -60
  131. package/src/Utils.ts +0 -8
  132. package/src/graph/Edge.spec.ts +0 -32
  133. package/src/graph/Edge.ts +0 -64
  134. package/src/graph/Graph.spec.ts +0 -509
  135. package/src/graph/Graph.ts +0 -271
  136. package/src/graph/GraphProjection.ts +0 -15
  137. package/src/graph/GraphProjectionOptions.ts +0 -8
  138. package/src/graph/GraphRoute.spec.ts +0 -15
  139. package/src/graph/GraphRoute.ts +0 -43
  140. package/src/graph/GraphRouter.spec.ts +0 -317
  141. package/src/graph/GraphRouter.ts +0 -229
  142. package/src/graph/GraphRouterEngine.ts +0 -248
  143. package/src/graph/GraphRouterOptionsBuilder.ts +0 -98
  144. package/src/graph/NoRouteFoundError.ts +0 -39
  145. package/src/graph/Vertex.spec.ts +0 -42
  146. package/src/graph/Vertex.ts +0 -45
  147. package/src/model/Itinerary.spec.ts +0 -134
  148. package/src/model/Itinerary.ts +0 -370
  149. package/src/model/Leg.spec.ts +0 -107
  150. package/src/model/Leg.ts +0 -224
  151. package/src/model/LevelChange.spec.ts +0 -50
  152. package/src/model/LevelChange.ts +0 -14
  153. package/src/model/RouterRequest.ts +0 -33
  154. package/src/model/Step.spec.ts +0 -99
  155. package/src/model/Step.ts +0 -90
  156. package/src/model/StepExtra.ts +0 -1
  157. package/src/model/StepsBuilder.ts +0 -242
  158. package/src/model/TransitMode.spec.ts +0 -31
  159. package/src/model/TransitMode.ts +0 -28
  160. package/src/model/generateSteps.ts +0 -102
  161. package/src/remote/RemoteRouterManager.spec.ts +0 -178
  162. package/src/remote/RemoteRouterManager.ts +0 -72
  163. package/src/remote/RemoteRouterUtils.ts +0 -25
  164. package/src/remote/cityway/CitywayRemoteRouter.spec.ts +0 -122
  165. package/src/remote/cityway/CitywayRemoteRouter.ts +0 -435
  166. package/src/remote/deutsche-bahn/DeutscheBahnRemoteRouter.spec.ts +0 -52
  167. package/src/remote/deutsche-bahn/DeutscheBahnRemoteRouter.ts +0 -85
  168. package/src/remote/geovelo/GeoveloRemoteRouter.spec.ts +0 -54
  169. package/src/remote/geovelo/GeoveloRemoteRouter.ts +0 -293
  170. package/src/remote/idfm/IdfmRemoteRouter.spec.ts +0 -102
  171. package/src/remote/idfm/IdfmRemoteRouter.ts +0 -523
  172. package/src/remote/navitia/NavitiaRemoteRouter.spec.ts +0 -116
  173. package/src/remote/navitia/NavitiaRemoteRouter.ts +0 -445
  174. package/src/remote/navitia/types.ts +0 -73
  175. package/src/remote/osrm/OsrmRemoteRouter.spec.ts +0 -127
  176. package/src/remote/osrm/OsrmRemoteRouter.ts +0 -303
  177. package/src/remote/otp/OtpRemoteRouter.spec.ts +0 -103
  178. package/src/remote/otp/OtpRemoteRouter.ts +0 -223
  179. package/src/remote/wemap-multi/WemapMultiRemoteRouter.spec.ts +0 -103
  180. package/src/remote/wemap-multi/WemapMultiRemoteRouter.ts +0 -56
  181. package/src/types.ts +0 -32
  182. package/src/wemap-multi/CustomGraphMap.spec.ts +0 -40
  183. package/src/wemap-multi/CustomGraphMap.ts +0 -213
  184. package/src/wemap-multi/CustomGraphMapTester.spec.ts +0 -48
  185. package/src/wemap-multi/CustomGraphMapTester.ts +0 -90
  186. package/src/wemap-multi/WemapMultiRouter.spec.ts +0 -138
  187. package/src/wemap-multi/WemapMultiRouter.ts +0 -329
  188. package/src/wemap-osm/OsmGraphUtils.spec.ts +0 -165
  189. package/src/wemap-osm/OsmGraphUtils.ts +0 -173
  190. package/src/wemap-osm/OsmRouter.elevators.spec.ts +0 -106
  191. package/src/wemap-osm/OsmRouter.spec.ts +0 -292
  192. package/tests/CommonTest.ts +0 -78
  193. package/tsconfig.json +0 -3
  194. package/vite.config.ts +0 -4
@@ -1,668 +0,0 @@
1
- {
2
- "routerName": [
3
- "wemap-meta",
4
- "osrm",
5
- "wemap"
6
- ],
7
- "origin": {
8
- "lat": 48.8725992,
9
- "lng": 2.343431
10
- },
11
- "destination": {
12
- "lat": 48.8772962,
13
- "lng": 2.3584458,
14
- "level": 0
15
- },
16
- "itineraries": [
17
- {
18
- "origin": {
19
- "lat": 48.8725992,
20
- "lng": 2.343431
21
- },
22
- "destination": {
23
- "lat": 48.8772962,
24
- "lng": 2.3584458,
25
- "level": 0
26
- },
27
- "distance": 1623.567209158486,
28
- "duration": 1188.9963905941102,
29
- "transitMode": "WALK",
30
- "legs": [
31
- {
32
- "transitMode": "WALK",
33
- "start": {
34
- "coords": [
35
- 48.8725992,
36
- 2.343431
37
- ]
38
- },
39
- "end": {
40
- "coords": [
41
- 48.87262168252,
42
- 2.34327125172
43
- ]
44
- },
45
- "distance": 12.558068219028716,
46
- "duration": 9.041809117700675,
47
- "coords": [
48
- [
49
- 48.87258947110776,
50
- 2.3434277129983445
51
- ],
52
- [
53
- 48.87259587423,
54
- 2.34338390486
55
- ],
56
- [
57
- 48.87260236152,
58
- 2.34329666635
59
- ],
60
- [
61
- 48.87262168252,
62
- 2.34327125172
63
- ]
64
- ],
65
- "steps": [
66
- {
67
- "number": 1,
68
- "coords": [
69
- 48.87258947110776,
70
- 2.3434277129983445
71
- ],
72
- "angle": 1.5707971647295182,
73
- "previousBearing": -2.922923490486779,
74
- "nextBearing": -1.3521280016265034,
75
- "distance": 9.714015164011663,
76
- "_idCoordsInLeg": 0,
77
- "firstStep": true,
78
- "duration": 6.994090918088396
79
- },
80
- {
81
- "number": 2,
82
- "coords": [
83
- 48.87260236152,
84
- 2.34329666635
85
- ],
86
- "angle": 2.396617182360001,
87
- "previousBearing": -1.458215167261915,
88
- "nextBearing": -0.7132396960321222,
89
- "distance": 2.8440530550170537,
90
- "_idCoordsInLeg": 2,
91
- "duration": 2.0477181996122784
92
- }
93
- ]
94
- },
95
- {
96
- "transitMode": "WALK",
97
- "start": {
98
- "coords": [
99
- 48.872668,
100
- 2.343286
101
- ]
102
- },
103
- "end": {
104
- "coords": [
105
- 48.877416,
106
- 2.358155
107
- ]
108
- },
109
- "distance": 1580.1,
110
- "duration": 1157.7,
111
- "coords": [
112
- [
113
- 48.872668,
114
- 2.343286
115
- ],
116
- [
117
- 48.872674,
118
- 2.343243
119
- ],
120
- [
121
- 48.87269,
122
- 2.343126
123
- ],
124
- [
125
- 48.872913,
126
- 2.343091
127
- ],
128
- [
129
- 48.872953,
130
- 2.343083
131
- ],
132
- [
133
- 48.873034,
134
- 2.343061
135
- ],
136
- [
137
- 48.873078,
138
- 2.343049
139
- ],
140
- [
141
- 48.873113,
142
- 2.343139
143
- ],
144
- [
145
- 48.873125,
146
- 2.34317
147
- ],
148
- [
149
- 48.873217,
150
- 2.343349
151
- ],
152
- [
153
- 48.87345,
154
- 2.343803
155
- ],
156
- [
157
- 48.873938,
158
- 2.344756
159
- ],
160
- [
161
- 48.873997,
162
- 2.344841
163
- ],
164
- [
165
- 48.874035,
166
- 2.344896
167
- ],
168
- [
169
- 48.874035,
170
- 2.345006
171
- ],
172
- [
173
- 48.874034,
174
- 2.345234
175
- ],
176
- [
177
- 48.874059,
178
- 2.345233
179
- ],
180
- [
181
- 48.874079,
182
- 2.345256
183
- ],
184
- [
185
- 48.874081,
186
- 2.345274
187
- ],
188
- [
189
- 48.874081,
190
- 2.345329
191
- ],
192
- [
193
- 48.875893,
194
- 2.345545
195
- ],
196
- [
197
- 48.87594,
198
- 2.34555
199
- ],
200
- [
201
- 48.875986,
202
- 2.345554
203
- ],
204
- [
205
- 48.876217,
206
- 2.345576
207
- ],
208
- [
209
- 48.876308,
210
- 2.345582
211
- ],
212
- [
213
- 48.876393,
214
- 2.34591
215
- ],
216
- [
217
- 48.876411,
218
- 2.345981
219
- ],
220
- [
221
- 48.876462,
222
- 2.346174
223
- ],
224
- [
225
- 48.876566,
226
- 2.346582
227
- ],
228
- [
229
- 48.876616,
230
- 2.346772
231
- ],
232
- [
233
- 48.87672,
234
- 2.347175
235
- ],
236
- [
237
- 48.876747,
238
- 2.347277
239
- ],
240
- [
241
- 48.876782,
242
- 2.347413
243
- ],
244
- [
245
- 48.876955,
246
- 2.348075
247
- ],
248
- [
249
- 48.877139,
250
- 2.348782
251
- ],
252
- [
253
- 48.877191,
254
- 2.348977
255
- ],
256
- [
257
- 48.877232,
258
- 2.349139
259
- ],
260
- [
261
- 48.877353,
262
- 2.349604
263
- ],
264
- [
265
- 48.877113,
266
- 2.351319
267
- ],
268
- [
269
- 48.877101,
270
- 2.351403
271
- ],
272
- [
273
- 48.877085,
274
- 2.351518
275
- ],
276
- [
277
- 48.876989,
278
- 2.352177
279
- ],
280
- [
281
- 48.876891,
282
- 2.352904
283
- ],
284
- [
285
- 48.876751,
286
- 2.353949
287
- ],
288
- [
289
- 48.876734,
290
- 2.354063
291
- ],
292
- [
293
- 48.876639,
294
- 2.354731
295
- ],
296
- [
297
- 48.876539,
298
- 2.355424
299
- ],
300
- [
301
- 48.876514,
302
- 2.355637
303
- ],
304
- [
305
- 48.876509,
306
- 2.355678
307
- ],
308
- [
309
- 48.876538,
310
- 2.35575
311
- ],
312
- [
313
- 48.876593,
314
- 2.355793
315
- ],
316
- [
317
- 48.87648,
318
- 2.35589
319
- ],
320
- [
321
- 48.876357,
322
- 2.355985
323
- ],
324
- [
325
- 48.87641,
326
- 2.356158
327
- ],
328
- [
329
- 48.876459,
330
- 2.356308
331
- ],
332
- [
333
- 48.876452,
334
- 2.356351
335
- ],
336
- [
337
- 48.876383,
338
- 2.356778
339
- ],
340
- [
341
- 48.87631,
342
- 2.357233
343
- ],
344
- [
345
- 48.876278,
346
- 2.357437
347
- ],
348
- [
349
- 48.876449,
350
- 2.357531
351
- ],
352
- [
353
- 48.877332,
354
- 2.358011
355
- ],
356
- [
357
- 48.877437,
358
- 2.358068
359
- ],
360
- [
361
- 48.877416,
362
- 2.358155
363
- ]
364
- ],
365
- "steps": [
366
- {
367
- "number": 1,
368
- "coords": [
369
- 48.872668,
370
- 2.343286
371
- ],
372
- "angle": -1.5733919626546,
373
- "previousBearing": 0.20645002690322387,
374
- "nextBearing": -1.3617506640319692,
375
- "distance": 12,
376
- "_idCoordsInLeg": 0,
377
- "duration": 10.6,
378
- "name": "Rue Bergère"
379
- },
380
- {
381
- "number": 2,
382
- "coords": [
383
- 48.87269,
384
- 2.343126
385
- ],
386
- "angle": 1.8786574763626975,
387
- "previousBearing": -1.365802188710504,
388
- "nextBearing": -0.10286701148340839,
389
- "distance": 43.5,
390
- "_idCoordsInLeg": 2,
391
- "duration": 33.4,
392
- "name": "Rue du Faubourg Montmartre"
393
- },
394
- {
395
- "number": 3,
396
- "coords": [
397
- 48.873078,
398
- 2.343049
399
- ],
400
- "angle": 1.927272177622233,
401
- "previousBearing": -0.17749301256344013,
402
- "nextBearing": 1.0368274634041201,
403
- "distance": 172.3,
404
- "_idCoordsInLeg": 6,
405
- "duration": 124,
406
- "name": "Rue Geoffroy Marie"
407
- },
408
- {
409
- "number": 4,
410
- "coords": [
411
- 48.874035,
412
- 2.344896
413
- ],
414
- "angle": 2.3315879800356463,
415
- "previousBearing": 0.7607909301639514,
416
- "nextBearing": 1.570795603718098,
417
- "distance": 24.7,
418
- "_idCoordsInLeg": 13,
419
- "duration": 17.8,
420
- "name": "Rue Richer"
421
- },
422
- {
423
- "number": 5,
424
- "coords": [
425
- 48.874034,
426
- 2.345234
427
- ],
428
- "angle": -1.5378268658969891,
429
- "previousBearing": 1.5774632006277636,
430
- "nextBearing": -0.026302587065040194,
431
- "distance": 10.9,
432
- "_idCoordsInLeg": 15,
433
- "duration": 7.9,
434
- "name": ""
435
- },
436
- {
437
- "number": 6,
438
- "coords": [
439
- 48.874081,
440
- 2.345329
441
- ],
442
- "angle": -1.6490370372085377,
443
- "previousBearing": 1.5707959652561647,
444
- "nextBearing": 0.07824034887490897,
445
- "distance": 248.4,
446
- "_idCoordsInLeg": 19,
447
- "duration": 180.9,
448
- "name": "Rue de Trévise"
449
- },
450
- {
451
- "number": 7,
452
- "coords": [
453
- 48.876308,
454
- 2.345582
455
- ],
456
- "angle": 1.9894822288730096,
457
- "previousBearing": 0.04333681374928895,
458
- "nextBearing": 1.1954472384660733,
459
- "distance": 316.3,
460
- "_idCoordsInLeg": 24,
461
- "duration": 233.7,
462
- "name": "Rue La Fayette"
463
- },
464
- {
465
- "number": 8,
466
- "coords": [
467
- 48.877353,
468
- 2.349604
469
- ],
470
- "angle": 2.5551859714635894,
471
- "previousBearing": 1.1940340995120216,
472
- "nextBearing": 1.7804407816382255,
473
- "distance": 467.2,
474
- "_idCoordsInLeg": 37,
475
- "duration": 338.4,
476
- "name": "Rue de Chabrol"
477
- },
478
- {
479
- "number": 9,
480
- "coords": [
481
- 48.876593,
482
- 2.355793
483
- ],
484
- "angle": 0.9888877665720692,
485
- "previousBearing": 0.47493386237211865,
486
- "nextBearing": 2.6276387493898428,
487
- "distance": 29.8,
488
- "_idCoordsInLeg": 50,
489
- "duration": 25.4,
490
- "name": "Boulevard de Magenta"
491
- },
492
- {
493
- "number": 10,
494
- "coords": [
495
- 48.876357,
496
- 2.355985
497
- ],
498
- "angle": -1.604872103409185,
499
- "previousBearing": 2.671590079048848,
500
- "nextBearing": 1.1348695288682398,
501
- "distance": 111.2,
502
- "_idCoordsInLeg": 52,
503
- "duration": 82.1,
504
- "name": "Rue du 8 Mai 1945"
505
- },
506
- {
507
- "number": 11,
508
- "coords": [
509
- 48.876278,
510
- 2.357437
511
- ],
512
- "angle": -1.683578352281056,
513
- "previousBearing": 1.804927511232425,
514
- "nextBearing": 0.34691320992368746,
515
- "distance": 136.9,
516
- "_idCoordsInLeg": 58,
517
- "duration": 98.6,
518
- "name": "Rue d'Alsace"
519
- },
520
- {
521
- "number": 12,
522
- "coords": [
523
- 48.877437,
524
- 2.358068
525
- ],
526
- "angle": 1.5619566409673145,
527
- "previousBearing": 0.3429166322679493,
528
- "nextBearing": 1.9225526448904278,
529
- "distance": 6.8,
530
- "_idCoordsInLeg": 61,
531
- "duration": 4.9,
532
- "name": ""
533
- },
534
- {
535
- "number": 13,
536
- "coords": [
537
- 48.877416,
538
- 2.358155
539
- ],
540
- "angle": 2.0855126907647956,
541
- "previousBearing": 1.9225526448904278,
542
- "nextBearing": 2.9786326077154257,
543
- "distance": 0,
544
- "_idCoordsInLeg": 62,
545
- "duration": 0,
546
- "name": ""
547
- }
548
- ]
549
- },
550
- {
551
- "transitMode": "WALK",
552
- "start": {
553
- "coords": [
554
- 48.8774156,
555
- 2.3581551,
556
- 0
557
- ]
558
- },
559
- "end": {
560
- "coords": [
561
- 48.8772962,
562
- 2.3584458,
563
- 0
564
- ]
565
- },
566
- "distance": 30.909140939457533,
567
- "duration": 22.254581476409424,
568
- "coords": [
569
- [
570
- 48.8774156,
571
- 2.3581551,
572
- 0
573
- ],
574
- [
575
- 48.8774031,
576
- 2.3582059,
577
- 0
578
- ],
579
- [
580
- 48.87739408877,
581
- 2.3582397815,
582
- 0
583
- ],
584
- [
585
- 48.87738003272,
586
- 2.35829263106,
587
- 0
588
- ],
589
- [
590
- 48.87737740687,
591
- 2.35830250403,
592
- 0
593
- ],
594
- [
595
- 48.87736050007,
596
- 2.35836607217,
597
- 0
598
- ],
599
- [
600
- 48.8773552,
601
- 2.358386,
602
- 0
603
- ],
604
- [
605
- 48.87734966973,
606
- 2.35840668389,
607
- 0
608
- ],
609
- [
610
- 48.87732716148,
611
- 2.35849104813,
612
- 0
613
- ],
614
- [
615
- 48.87729021362492,
616
- 2.3584691138693743,
617
- 0
618
- ]
619
- ],
620
- "steps": [
621
- {
622
- "number": 1,
623
- "coords": [
624
- 48.8774156,
625
- 2.3581551,
626
- 0
627
- ],
628
- "angle": 1.2127782103969411,
629
- "previousBearing": 0,
630
- "nextBearing": 1.9288144431928524,
631
- "distance": 26.493752590446253,
632
- "_idCoordsInLeg": 0,
633
- "duration": 19.075501865121304
634
- },
635
- {
636
- "number": 2,
637
- "coords": [
638
- 48.87732716148,
639
- 2.35849104813,
640
- 0
641
- ],
642
- "angle": 1.5839505274258527,
643
- "previousBearing": 1.9561807173237418,
644
- "nextBearing": -2.769362463691904,
645
- "distance": 4.4153883490112795,
646
- "_idCoordsInLeg": 8,
647
- "duration": 3.1790796112881203
648
- },
649
- {
650
- "number": 3,
651
- "coords": [
652
- 48.87729021362492,
653
- 2.3584691138693743,
654
- 0
655
- ],
656
- "angle": 1.570800373779623,
657
- "previousBearing": -2.769362463691904,
658
- "nextBearing": -1.1985701838817335,
659
- "distance": 1.8323309306848967,
660
- "_idCoordsInLeg": 9,
661
- "lastStep": true
662
- }
663
- ]
664
- }
665
- ]
666
- }
667
- ]
668
- }