@wemap/routers 12.10.8 → 12.10.9

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 (167) 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 -5099
  5. package/dist/index.js.map +1 -1
  6. package/dist/src/ItineraryInfoManager.d.ts +31 -0
  7. package/dist/src/RoutingError.d.ts +24 -0
  8. package/{src/StatusCode.ts → dist/src/StatusCode.d.ts} +2 -3
  9. package/dist/src/Utils.d.ts +6 -0
  10. package/dist/src/graph/Edge.d.ts +32 -0
  11. package/dist/src/graph/Graph.d.ts +40 -0
  12. package/dist/src/graph/GraphProjection.d.ts +11 -0
  13. package/dist/src/graph/GraphProjectionOptions.d.ts +7 -0
  14. package/dist/src/graph/GraphRoute.d.ts +19 -0
  15. package/dist/src/graph/GraphRouter.d.ts +20 -0
  16. package/dist/src/graph/GraphRouterEngine.d.ts +77 -0
  17. package/{src/graph/GraphRouterOptions.ts → dist/src/graph/GraphRouterOptions.d.ts} +5 -7
  18. package/dist/src/graph/GraphRouterOptionsBuilder.d.ts +20 -0
  19. package/dist/src/graph/NoRouteFoundError.d.ts +12 -0
  20. package/dist/src/graph/Vertex.d.ts +19 -0
  21. package/dist/src/model/Itinerary.d.ts +81 -0
  22. package/dist/src/model/Leg.d.ts +66 -0
  23. package/dist/src/model/LevelChange.d.ts +7 -0
  24. package/dist/src/model/RouterRequest.d.ts +40 -0
  25. package/dist/src/model/Step.d.ts +42 -0
  26. package/dist/src/model/StepExtra.d.ts +3 -0
  27. package/dist/src/model/StepsBuilder.d.ts +16 -0
  28. package/dist/src/model/TransitMode.d.ts +5 -0
  29. package/{src/model/TravelMode.ts → dist/src/model/TravelMode.d.ts} +1 -2
  30. package/dist/src/model/generateSteps.d.ts +0 -0
  31. package/{src/remote/RemoteRouter.ts → dist/src/remote/RemoteRouter.d.ts} +2 -7
  32. package/dist/src/remote/RemoteRouterManager.d.ts +731 -0
  33. package/dist/src/remote/RemoteRouterUtils.d.ts +6 -0
  34. package/dist/src/remote/cityway/CitywayRemoteRouter.d.ts +109 -0
  35. package/dist/src/remote/deutsche-bahn/DeutscheBahnRemoteRouter.d.ts +31 -0
  36. package/dist/src/remote/geovelo/GeoveloRemoteRouter.d.ts +106 -0
  37. package/dist/src/remote/idfm/IdfmRemoteRouter.d.ts +123 -0
  38. package/dist/src/remote/navitia/NavitiaRemoteRouter.d.ts +34 -0
  39. package/dist/src/remote/navitia/types.d.ts +87 -0
  40. package/dist/src/remote/osrm/OsrmRemoteRouter.d.ts +70 -0
  41. package/dist/src/remote/otp/OtpRemoteRouter.d.ts +69 -0
  42. package/dist/src/remote/wemap-multi/WemapMultiRemoteRouter.d.ts +19 -0
  43. package/dist/src/types.d.ts +31 -0
  44. package/dist/src/wemap-multi/CustomGraphMap.d.ts +56 -0
  45. package/dist/src/wemap-multi/CustomGraphMapTester.d.ts +39 -0
  46. package/dist/src/wemap-multi/WemapMultiRouter.d.ts +14 -0
  47. package/dist/src/wemap-osm/OsmGraphUtils.d.ts +11 -0
  48. package/dist/tests/CommonTest.d.ts +8 -0
  49. package/package.json +11 -8
  50. package/assets/biocbon-bergere-rdc-network.osm +0 -163
  51. package/assets/bureaux-wemap-montpellier-network.osm +0 -174
  52. package/assets/components.osm +0 -146
  53. package/assets/elevator-models-4.osm +0 -89
  54. package/assets/elevator-models.osm +0 -354
  55. package/assets/exit-graph.osm +0 -25
  56. package/assets/gare-de-lest-network-pp-bounds.osm +0 -1613
  57. package/assets/gare-de-lyon-extract.osm +0 -174
  58. package/assets/geovelo-montpellier.json +0 -1144
  59. package/assets/horizontal-elevator.osm +0 -12
  60. package/assets/itinerary-deutsche-bahn-1.json +0 -368
  61. package/assets/itinerary-grenoble-otp-1.json +0 -1536
  62. package/assets/itinerary-grenoble-otp-2.json +0 -1092
  63. package/assets/itinerary-info-two-points-proj.osm +0 -39
  64. package/assets/itinerary-info-two-points.osm +0 -24
  65. package/assets/itinerary-lehavre-cityway-1.json +0 -6799
  66. package/assets/itinerary-lehavre-cityway-2.json +0 -2133
  67. package/assets/itinerary-lehavre-cityway-3.json +0 -12577
  68. package/assets/itinerary-lehavre-cityway-4.json +0 -1451
  69. package/assets/itinerary-lehavre-cityway-5.json +0 -5925
  70. package/assets/itinerary-lemans-navitia.json +0 -7768
  71. package/assets/itinerary-montpellier-osrm-3.json +0 -185
  72. package/assets/itinerary-montpellier-outdoor-without-steps.json +0 -110
  73. package/assets/itinerary-montpellier-outdoor.json +0 -513
  74. package/assets/itinerary-paris-idfm-2.json +0 -1838
  75. package/assets/itinerary-paris-idfm.json +0 -27727
  76. package/assets/itinerary-step-not-on-path-osrm.json +0 -457
  77. package/assets/itinerary-with-duplicate-nodes.json +0 -110
  78. package/assets/network-conveying-backward.osm +0 -74
  79. package/assets/network-elevator.osm +0 -48
  80. package/assets/network-escalators.osm +0 -50
  81. package/assets/network-simple.osm +0 -27
  82. package/assets/network-steps-same-level.osm +0 -283
  83. package/assets/network-with-modifiers.osm +0 -39
  84. package/assets/one-way.osm +0 -46
  85. package/assets/report-map-1.osm +0 -36
  86. package/assets/report-map-2.osm +0 -29
  87. package/assets/report-map-3.osm +0 -15
  88. package/assets/rr-wemap-multi-indoor-outdoor-indoor.json +0 -1352
  89. package/assets/rr-wemap-multi-indoor-outdoor.json +0 -145
  90. package/assets/rr-wemap-multi-multi-level.json +0 -262
  91. package/assets/rr-wemap-multi-outdoor-indoor.json +0 -145
  92. package/assets/rr-wemap-multi-outdoor-outdoor.json +0 -207
  93. package/assets/rr-wemap-multi-remote-indoor-indoor.json +0 -155
  94. package/assets/rr-wemap-multi-remote-indoor-outdoor-indoor.json +0 -668
  95. package/assets/rr-wemap-multi-remote-indoor-outdoor.json +0 -154
  96. package/assets/rr-wemap-multi-remote-outdoor-indoor.json +0 -179
  97. package/assets/rr-wemap-multi-remote-outdoor-outdoor.json +0 -109
  98. package/assets/stairs-and-exit.osm +0 -47
  99. package/helpers/InstructionManager.ts +0 -184
  100. package/helpers/InstructionManagerV1.ts +0 -95
  101. package/src/ItineraryInfoManager.spec.ts +0 -183
  102. package/src/ItineraryInfoManager.ts +0 -181
  103. package/src/RoutingError.ts +0 -60
  104. package/src/Utils.ts +0 -8
  105. package/src/graph/Edge.spec.ts +0 -32
  106. package/src/graph/Edge.ts +0 -64
  107. package/src/graph/Graph.spec.ts +0 -509
  108. package/src/graph/Graph.ts +0 -272
  109. package/src/graph/GraphProjection.ts +0 -15
  110. package/src/graph/GraphProjectionOptions.ts +0 -8
  111. package/src/graph/GraphRoute.spec.ts +0 -15
  112. package/src/graph/GraphRoute.ts +0 -43
  113. package/src/graph/GraphRouter.spec.ts +0 -317
  114. package/src/graph/GraphRouter.ts +0 -229
  115. package/src/graph/GraphRouterEngine.ts +0 -248
  116. package/src/graph/GraphRouterOptionsBuilder.ts +0 -98
  117. package/src/graph/NoRouteFoundError.ts +0 -39
  118. package/src/graph/Vertex.spec.ts +0 -42
  119. package/src/graph/Vertex.ts +0 -45
  120. package/src/model/Itinerary.spec.ts +0 -134
  121. package/src/model/Itinerary.ts +0 -370
  122. package/src/model/Leg.spec.ts +0 -107
  123. package/src/model/Leg.ts +0 -224
  124. package/src/model/LevelChange.spec.ts +0 -50
  125. package/src/model/LevelChange.ts +0 -14
  126. package/src/model/RouterRequest.ts +0 -33
  127. package/src/model/Step.spec.ts +0 -99
  128. package/src/model/Step.ts +0 -90
  129. package/src/model/StepExtra.ts +0 -1
  130. package/src/model/StepsBuilder.ts +0 -242
  131. package/src/model/TransitMode.spec.ts +0 -31
  132. package/src/model/TransitMode.ts +0 -28
  133. package/src/model/generateSteps.ts +0 -102
  134. package/src/remote/RemoteRouterManager.spec.ts +0 -178
  135. package/src/remote/RemoteRouterManager.ts +0 -72
  136. package/src/remote/RemoteRouterUtils.ts +0 -25
  137. package/src/remote/cityway/CitywayRemoteRouter.spec.ts +0 -122
  138. package/src/remote/cityway/CitywayRemoteRouter.ts +0 -435
  139. package/src/remote/deutsche-bahn/DeutscheBahnRemoteRouter.spec.ts +0 -52
  140. package/src/remote/deutsche-bahn/DeutscheBahnRemoteRouter.ts +0 -85
  141. package/src/remote/geovelo/GeoveloRemoteRouter.spec.ts +0 -54
  142. package/src/remote/geovelo/GeoveloRemoteRouter.ts +0 -293
  143. package/src/remote/idfm/IdfmRemoteRouter.spec.ts +0 -102
  144. package/src/remote/idfm/IdfmRemoteRouter.ts +0 -523
  145. package/src/remote/navitia/NavitiaRemoteRouter.spec.ts +0 -116
  146. package/src/remote/navitia/NavitiaRemoteRouter.ts +0 -445
  147. package/src/remote/navitia/types.ts +0 -73
  148. package/src/remote/osrm/OsrmRemoteRouter.spec.ts +0 -127
  149. package/src/remote/osrm/OsrmRemoteRouter.ts +0 -303
  150. package/src/remote/otp/OtpRemoteRouter.spec.ts +0 -103
  151. package/src/remote/otp/OtpRemoteRouter.ts +0 -223
  152. package/src/remote/wemap-multi/WemapMultiRemoteRouter.spec.ts +0 -103
  153. package/src/remote/wemap-multi/WemapMultiRemoteRouter.ts +0 -56
  154. package/src/types.ts +0 -32
  155. package/src/wemap-multi/CustomGraphMap.spec.ts +0 -40
  156. package/src/wemap-multi/CustomGraphMap.ts +0 -213
  157. package/src/wemap-multi/CustomGraphMapTester.spec.ts +0 -48
  158. package/src/wemap-multi/CustomGraphMapTester.ts +0 -90
  159. package/src/wemap-multi/WemapMultiRouter.spec.ts +0 -138
  160. package/src/wemap-multi/WemapMultiRouter.ts +0 -329
  161. package/src/wemap-osm/OsmGraphUtils.spec.ts +0 -165
  162. package/src/wemap-osm/OsmGraphUtils.ts +0 -173
  163. package/src/wemap-osm/OsmRouter.elevators.spec.ts +0 -106
  164. package/src/wemap-osm/OsmRouter.spec.ts +0 -292
  165. package/tests/CommonTest.ts +0 -78
  166. package/tsconfig.json +0 -3
  167. package/vite.config.ts +0 -4
@@ -1,1144 +0,0 @@
1
- [
2
- {
3
- "sections": [
4
- {
5
- "transportMode": "BIKE",
6
- "duration": 1053,
7
- "waypointsIndices": [
8
- 0,
9
- 228
10
- ],
11
- "geometry": "mh}crAiwtkFvAn@tAr@n@XjAZjFT`Xl@f@BHsDqb@qBWfAy@]iAc@mCgAsBk@{G}DnIeHXy@D{R@ozBGeDFsFO}`DEqKeAmB?_G?eE`AkCGcSYcv@}Ai]MyAgA}NuDo\\{AeLaEkTgCwKgB_HgIwTgL}VuaAwqBsEyJ}CkH_Po[gCo`@SkCwBy\\o@iRE{UlAm]|BmUpEo[nDyEz@uEh@mErBmGt@qD\\_DAiBc@yCgBeDcH}Km@_AQYo@eAeSsXWsA_C_EY_A{@cEg@kCw@mBQaBe@yEQmAiAeFa@qAQs@oAwDmFkKsBiEqAoCsGeO{Poa@eDyK_@eAoCuHw@oCq[wsA_@_BwNmn@}Hi[QaAbHyDZq@dCwKzAeHpCkMDcBUsBYsBm@yCg@_Do@wDg@yCSmA]_Cc]cPgAg@iAc@sA_Jc@mAMgAm@iEcEwWaIsi@oCeRw@iF_Jol@cAyG{CwRcQkiAkBcMOYqAu@VoMA}Ds@kFoAuGa@wEIgEFeGAiBm@uD}AsGCsCBgDh@sHrCci@TaEHqHc@Ea@IZwHNe\\EmBCeAS}GUeH_AoVo@uPg@oI}@mIaAaHaBmK}DuWyBgMsBqJw@gDqAoEc@_ByCqJkCsHeAgCkAmDa@aCYwCSyDA{Aj@eG@cFYwCqBcH_E_F}BgAcC_@eCDgCl@eDzBcAdAoCdFqBrAeEdBsA\\gBNyjABaFQcE]mK}AiEm@uCe@_UyC_C_@sMcA_I[u@N{@PaD|AmA\\_A?{BAs@w@}@_AuBaAoMqF}OoGgDeAwE}@}AP{Aj@qBdAeAd@iAPw@E_B]eBaAwBuCsDsJoEeN]iAwAaDoAaCkBcCgBwAaCwAo@MaB_@kBSsBY",
12
- "estimatedDatetimeOfDeparture": "2022-01-31T12:00:00+02:00",
13
- "estimatedDatetimeOfArrival": "2022-01-31T12:17:33+02:00",
14
- "details": {
15
- "distances": {
16
- "total": 4021,
17
- "normalRoads": 361,
18
- "recommendedRoads": 2736,
19
- "discouragedRoads": 924,
20
- "cycleway": 2241,
21
- "greenway": 0,
22
- "lane": 0,
23
- "livingstreet": 0,
24
- "sharebusway": 463,
25
- "footway": 32,
26
- "pedestrian": 0,
27
- "opposite": 0,
28
- "steps": 0,
29
- "zone30": 0,
30
- "residential": 361
31
- },
32
- "instructions": [
33
- [
34
- "direction",
35
- "roadName",
36
- "roadLength",
37
- "facility",
38
- "cyclability",
39
- "geometryIndex",
40
- "orientation",
41
- "cityNames",
42
- "duration"
43
- ],
44
- [
45
- "HEAD_ON",
46
- "Boulevard de la Perruque",
47
- 5,
48
- "RESIDENTIAL",
49
- 4,
50
- 0,
51
- "S",
52
- "",
53
- 1
54
- ],
55
- [
56
- "GO_STRAIGHT",
57
- "Boulevard de la Perruque",
58
- 72,
59
- "TERTIARY",
60
- 2,
61
- 1,
62
- "S",
63
- "",
64
- 20
65
- ],
66
- [
67
- "TURN_LEFT",
68
- "",
69
- 7,
70
- "CYCLEWAY",
71
- 5,
72
- 7,
73
- "E",
74
- "",
75
- 7
76
- ],
77
- [
78
- "TURN_LEFT",
79
- "",
80
- 89,
81
- "CYCLEWAY",
82
- 5,
83
- 8,
84
- "N",
85
- "",
86
- 26
87
- ],
88
- [
89
- "GO_STRAIGHT",
90
- "",
91
- 17,
92
- "CYCLEWAY",
93
- 5,
94
- 14,
95
- "NE",
96
- "",
97
- 10
98
- ],
99
- [
100
- "TURN_SHARP_RIGHT",
101
- "",
102
- 1059,
103
- "CYCLEWAY",
104
- 5,
105
- 15,
106
- "SE",
107
- "",
108
- 241
109
- ],
110
- [
111
- "GO_STRAIGHT",
112
- "",
113
- 47,
114
- "CYCLEWAY",
115
- 5,
116
- 42,
117
- "NE",
118
- "",
119
- 10
120
- ],
121
- [
122
- "TURN_SLIGHT_RIGHT",
123
- "",
124
- 251,
125
- "CYCLEWAY",
126
- 5,
127
- 43,
128
- "E",
129
- "",
130
- 55
131
- ],
132
- [
133
- "TURN_SLIGHT_RIGHT",
134
- "Avenue du Professeur Étienne Antonelli",
135
- 31,
136
- "CYCLEWAY",
137
- 5,
138
- 51,
139
- "SE",
140
- "",
141
- 9
142
- ],
143
- [
144
- "GO_STRAIGHT",
145
- "Avenue du Professeur Étienne Antonelli",
146
- 127,
147
- "SECONDARY",
148
- 1,
149
- 54,
150
- "SE",
151
- "",
152
- 32
153
- ],
154
- [
155
- "GO_STRAIGHT",
156
- "Avenue du Professeur Étienne Antonelli",
157
- 197,
158
- "SECONDARY",
159
- 1,
160
- 65,
161
- "NE",
162
- "",
163
- 55
164
- ],
165
- [
166
- "GO_STRAIGHT",
167
- "Avenue Marie de Montpellier",
168
- 279,
169
- "SECONDARY",
170
- 1,
171
- 83,
172
- "NE",
173
- "",
174
- 95
175
- ],
176
- [
177
- "TURN_RIGHT",
178
- "",
179
- 80,
180
- "CYCLEWAY",
181
- 5,
182
- 92,
183
- "SE",
184
- "",
185
- 18
186
- ],
187
- [
188
- "GO_STRAIGHT",
189
- "",
190
- 32,
191
- "FOOTWAY",
192
- 4,
193
- 99,
194
- "E",
195
- "",
196
- 7
197
- ],
198
- [
199
- "GO_STRAIGHT",
200
- "",
201
- 8,
202
- "CYCLEWAY",
203
- 5,
204
- 104,
205
- "E",
206
- "",
207
- 3
208
- ],
209
- [
210
- "TURN_LEFT",
211
- "",
212
- 66,
213
- "CYCLEWAY",
214
- 5,
215
- 106,
216
- "N",
217
- "",
218
- 15
219
- ],
220
- [
221
- "TURN_RIGHT",
222
- "Avenue du Mondial 98",
223
- 385,
224
- "CYCLEWAY",
225
- 5,
226
- 109,
227
- "E",
228
- "",
229
- 91
230
- ],
231
- [
232
- "TURN_SLIGHT_RIGHT",
233
- "",
234
- 201,
235
- "CYCLEWAY",
236
- 5,
237
- 124,
238
- "E",
239
- "",
240
- 72
241
- ],
242
- [
243
- "TURN_LEFT",
244
- "Avenue du Mondial 98 (M 21)",
245
- 356,
246
- "RESIDENTIAL",
247
- 4,
248
- 140,
249
- "N",
250
- "",
251
- 113
252
- ],
253
- [
254
- "ROUND_ABOUT_EXIT_3",
255
- "Avenue du Mondial 98 (M 21)",
256
- 111,
257
- "SHAREBUSWAY",
258
- 3,
259
- 168,
260
- "E",
261
- "",
262
- 25
263
- ],
264
- [
265
- "LEAVE_ROUND_ABOUT",
266
- "Avenue du Mondial 98 (M 21)",
267
- 352,
268
- "SHAREBUSWAY",
269
- 3,
270
- 180,
271
- "NW",
272
- "",
273
- 90
274
- ],
275
- [
276
- "ROUND_ABOUT_EXIT_3",
277
- "Avenue Henri Becquerel (M 21)",
278
- 114,
279
- "PRIMARY",
280
- 1,
281
- 200,
282
- "NE",
283
- "",
284
- 27
285
- ],
286
- [
287
- "LEAVE_ROUND_ABOUT",
288
- "Avenue Henri Becquerel (M 21)",
289
- 135,
290
- "PRIMARY",
291
- 1,
292
- 210,
293
- "N",
294
- "",
295
- 31
296
- ],
297
- [
298
- "REACHED_YOUR_DESTINATION",
299
- "Avenue Henri Becquerel (M 21)",
300
- 0,
301
- "NONE",
302
- 3,
303
- 228,
304
- "N",
305
- "",
306
- 0
307
- ]
308
- ],
309
- "profile": "MEDIAN",
310
- "direction": "Avenue Marie de Montpellier, Avenue du Mondial 98 (M 21)",
311
- "verticalGain": 25,
312
- "verticalLoss": 31,
313
- "calories": 100480,
314
- "elevations": null,
315
- "ridesets": [],
316
- "averageSpeed": 16,
317
- "bikeType": "TRADITIONAL"
318
- },
319
- "waypoints": [
320
- {
321
- "longitude": 3.877772,
322
- "latitude": 43.596949,
323
- "title": null
324
- },
325
- {
326
- "longitude": 3.914684,
327
- "latitude": 43.609609,
328
- "title": null
329
- }
330
- ]
331
- }
332
- ],
333
- "distances": {
334
- "total": 4021,
335
- "normalRoads": 361,
336
- "recommendedRoads": 2736,
337
- "discouragedRoads": 924
338
- },
339
- "title": "RECOMMENDED",
340
- "waypoints": [
341
- {
342
- "longitude": 3.877772,
343
- "latitude": 43.596949,
344
- "title": null
345
- },
346
- {
347
- "longitude": 3.914684,
348
- "latitude": 43.609609,
349
- "title": null
350
- }
351
- ],
352
- "estimatedDatetimeOfDeparture": "2022-01-31T12:00:00+02:00",
353
- "estimatedDatetimeOfArrival": "2022-01-31T12:17:33+02:00",
354
- "duration": 1053,
355
- "id": "bG9jPTQzLjU5Njk0OSwzLjg3Nzc3MiZsb2M9NDMuNjA5NjA5LDMuOTE0Njg0I01FRElBTiNGYWxzZSNNRURJQU4jMTYjRmFsc2UjTm9uZSMyMDIyLTAxLTMxIDEyOjAwOjAwKzAyOjAwI1RSQURJVElPTkFMIzAjMCNSRUNPTU1FTkRFRCNGYWxzZSNGYWxzZQ=="
356
- },
357
- {
358
- "sections": [
359
- {
360
- "transportMode": "BIKE",
361
- "duration": 1208,
362
- "waypointsIndices": [
363
- 0,
364
- 255
365
- ],
366
- "geometry": "mh}crAiwtkFvAn@tAr@n@XjAZjFT`Xl@f@BHsDqb@qBWfAy@]iAc@mCgAsBk@{G}DnIeHXy@D{R@ozBGeDFsFO}`DEqKeAmB?_G?eE`AkCGcSYcv@}Ai]MyAgA}NuDo\\{AeLaEkTgCwKgB_HgIwTgL}VuaAwqBsEyJ}CkH_Po[_BsCoBeCmAgB}IaJqPeOyIiFuU}JaOuDuP{BeY{A_@A}FYyI@cJP_Gh@cC`AqB~@UwAo@iDYsA{@g@Up@[Vi@`@kPvLgBn@{n@dk@{D~Aw@Aa@Ic@Qm@yDqA}b@gDqeAy@wBcAsXIy@x@g@MiEAi@EyAEy@WiDaAc`@qBev@SkFgBLAIKoBGyAG{AIeCGyBoAm^U{GA]Ai@WiE\\WXa@Ri@Jm@Bq@Cq@S}@c@s@k@_@q@Gq@Lk@b@m@mAqAeA^gBh@eDeKaEcBVsDkAyH}C_R}FqTyFuRmDuEs@eIq@cJAcHYuEEwDj@uF`BsG`DuG`Ay@@gIc@{Gc@oMu@eG[aI_@_@GyOcAuJo@_MgALoEFkAnAef@LcEaHDuEr@yVxIgCb@}CTcP\\aRmNkBy^}ByTeBqAwB}@oBQiBFg@o@]kCYaFM}@Ks@Wa@UC}Bl@u@Ls@YmAuAH[nAiFl@mDLeBE_FMwAEc@w@mGYwASe@Ke@@c@h@aCXkGCyFKuCiAyMwLq|@MuEXiCxBqNdC{LvCyQtAyQ`Aqu@kAyKOoB@qE@aMsC{L_@qF{@oZ`AkgAd@_AZo@XY\\[Cc@K_@UmAFsBzA{TG{@G}@c@k@_@g@L{@z@{A~@yBdK{u@jEuUFqAQaDA_BtKcl@i@iC_A{Bw@uDmEaWOkCl@gCWwBmBeSi@iFwDkm@yAwrAS}Ew@wFa@qC@}CC_GyJ_y@[sCmK_|@a@qD_@iBxC`AlBl@tFn@x@Ct@g@h^xDvFl@^D",
367
- "estimatedDatetimeOfDeparture": "2022-01-31T12:00:00+02:00",
368
- "estimatedDatetimeOfArrival": "2022-01-31T12:20:08+02:00",
369
- "details": {
370
- "distances": {
371
- "total": 4580,
372
- "normalRoads": 97,
373
- "recommendedRoads": 4231,
374
- "discouragedRoads": 252,
375
- "cycleway": 3165,
376
- "greenway": 443,
377
- "lane": 0,
378
- "livingstreet": 0,
379
- "sharebusway": 0,
380
- "footway": 623,
381
- "pedestrian": 0,
382
- "opposite": 0,
383
- "steps": 0,
384
- "zone30": 0,
385
- "residential": 97
386
- },
387
- "instructions": [
388
- [
389
- "direction",
390
- "roadName",
391
- "roadLength",
392
- "facility",
393
- "cyclability",
394
- "geometryIndex",
395
- "orientation",
396
- "cityNames",
397
- "duration"
398
- ],
399
- [
400
- "HEAD_ON",
401
- "Boulevard de la Perruque",
402
- 5,
403
- "RESIDENTIAL",
404
- 4,
405
- 0,
406
- "S",
407
- "",
408
- 1
409
- ],
410
- [
411
- "GO_STRAIGHT",
412
- "Boulevard de la Perruque",
413
- 72,
414
- "TERTIARY",
415
- 2,
416
- 1,
417
- "S",
418
- "",
419
- 21
420
- ],
421
- [
422
- "TURN_LEFT",
423
- "",
424
- 7,
425
- "CYCLEWAY",
426
- 5,
427
- 7,
428
- "E",
429
- "",
430
- 8
431
- ],
432
- [
433
- "TURN_LEFT",
434
- "",
435
- 89,
436
- "CYCLEWAY",
437
- 5,
438
- 8,
439
- "N",
440
- "",
441
- 26
442
- ],
443
- [
444
- "GO_STRAIGHT",
445
- "",
446
- 17,
447
- "CYCLEWAY",
448
- 5,
449
- 14,
450
- "NE",
451
- "",
452
- 10
453
- ],
454
- [
455
- "TURN_SHARP_RIGHT",
456
- "",
457
- 1059,
458
- "CYCLEWAY",
459
- 5,
460
- 15,
461
- "SE",
462
- "",
463
- 241
464
- ],
465
- [
466
- "GO_STRAIGHT",
467
- "",
468
- 306,
469
- "CYCLEWAY",
470
- 5,
471
- 42,
472
- "NE",
473
- "",
474
- 66
475
- ],
476
- [
477
- "GO_STRAIGHT",
478
- "",
479
- 82,
480
- "CYCLEWAY",
481
- 5,
482
- 54,
483
- "N",
484
- "",
485
- 21
486
- ],
487
- [
488
- "TURN_RIGHT",
489
- "",
490
- 18,
491
- "FOOTWAY",
492
- 4,
493
- 60,
494
- "E",
495
- "",
496
- 18
497
- ],
498
- [
499
- "TURN_LEFT",
500
- "",
501
- 167,
502
- "CYCLEWAY",
503
- 5,
504
- 64,
505
- "NW",
506
- "",
507
- 44
508
- ],
509
- [
510
- "TURN_RIGHT",
511
- "",
512
- 154,
513
- "FOOTWAY",
514
- 4,
515
- 73,
516
- "E",
517
- "",
518
- 35
519
- ],
520
- [
521
- "GO_STRAIGHT",
522
- "Rue du Comté de Melgueil",
523
- 35,
524
- "SECONDARY",
525
- 1,
526
- 78,
527
- "E",
528
- "",
529
- 23
530
- ],
531
- [
532
- "TURN_RIGHT",
533
- "",
534
- 3,
535
- "FOOTWAY",
536
- 4,
537
- 80,
538
- "SE",
539
- "",
540
- 6
541
- ],
542
- [
543
- "TURN_LEFT",
544
- "",
545
- 22,
546
- "FOOTWAY",
547
- 4,
548
- 81,
549
- "E",
550
- "",
551
- 7
552
- ],
553
- [
554
- "GO_STRAIGHT",
555
- "",
556
- 124,
557
- "CYCLEWAY",
558
- 5,
559
- 86,
560
- "E",
561
- "",
562
- 36
563
- ],
564
- [
565
- "TURN_LEFT",
566
- "Boulevard des Consuls de Mer",
567
- 92,
568
- "RESIDENTIAL",
569
- 4,
570
- 89,
571
- "N",
572
- "",
573
- 24
574
- ],
575
- [
576
- "ROUND_ABOUT_EXIT_2",
577
- "Avenue du Pirée",
578
- 38,
579
- "SECONDARY",
580
- 1,
581
- 101,
582
- "SE",
583
- "",
584
- 13
585
- ],
586
- [
587
- "TURN_RIGHT",
588
- "",
589
- 11,
590
- "FOOTWAY",
591
- 4,
592
- 115,
593
- "E",
594
- "",
595
- 9
596
- ],
597
- [
598
- "TURN_LEFT",
599
- "",
600
- 23,
601
- "FOOTWAY",
602
- 4,
603
- 117,
604
- "N",
605
- "",
606
- 6
607
- ],
608
- [
609
- "GO_STRAIGHT",
610
- "",
611
- 233,
612
- "FOOTWAY",
613
- 4,
614
- 118,
615
- "N",
616
- "",
617
- 56
618
- ],
619
- [
620
- "GO_STRAIGHT",
621
- "Bassin du Port Juvénal",
622
- 220,
623
- "GREENWAY",
624
- 5,
625
- 130,
626
- "N",
627
- "",
628
- 51
629
- ],
630
- [
631
- "TURN_RIGHT",
632
- "Passerelle Athéna",
633
- 70,
634
- "GREENWAY",
635
- 5,
636
- 143,
637
- "E",
638
- "",
639
- 22
640
- ],
641
- [
642
- "TURN_LEFT",
643
- "Quai de Cythère",
644
- 159,
645
- "FOOTWAY",
646
- 4,
647
- 147,
648
- "N",
649
- "",
650
- 40
651
- ],
652
- [
653
- "TURN_RIGHT",
654
- "Quai de Cythère",
655
- 84,
656
- "GREENWAY",
657
- 5,
658
- 154,
659
- "E",
660
- "",
661
- 25
662
- ],
663
- [
664
- "TURN_SLIGHT_RIGHT",
665
- "",
666
- 37,
667
- "GREENWAY",
668
- 5,
669
- 158,
670
- "N",
671
- "",
672
- 15
673
- ],
674
- [
675
- "TURN_LEFT",
676
- "",
677
- 20,
678
- "GREENWAY",
679
- 5,
680
- 166,
681
- "N",
682
- "",
683
- 7
684
- ],
685
- [
686
- "TURN_RIGHT",
687
- "Allée Louis Mazas",
688
- 635,
689
- "CYCLEWAY",
690
- 5,
691
- 171,
692
- "SE",
693
- "",
694
- 178
695
- ],
696
- [
697
- "TURN_RIGHT",
698
- "Allée Louis Mazas",
699
- 679,
700
- "CYCLEWAY",
701
- 5,
702
- 217,
703
- "SE",
704
- "",
705
- 155
706
- ],
707
- [
708
- "GO_STRAIGHT",
709
- "",
710
- 12,
711
- "GREENWAY",
712
- 5,
713
- 245,
714
- "E",
715
- "",
716
- 8
717
- ],
718
- [
719
- "TURN_SHARP_RIGHT",
720
- "Avenue Henri Becquerel (M 21)",
721
- 107,
722
- "PRIMARY",
723
- 1,
724
- 247,
725
- "S",
726
- "",
727
- 36
728
- ],
729
- [
730
- "REACHED_YOUR_DESTINATION",
731
- "Avenue Henri Becquerel (M 21)",
732
- 0,
733
- "NONE",
734
- 3,
735
- 255,
736
- "N",
737
- "",
738
- 0
739
- ]
740
- ],
741
- "profile": "BEGINNER",
742
- "direction": "Quai de Cythère, Allée Louis Mazas",
743
- "verticalGain": 34,
744
- "verticalLoss": 39,
745
- "calories": 120260,
746
- "elevations": null,
747
- "ridesets": [],
748
- "averageSpeed": 16,
749
- "bikeType": "TRADITIONAL"
750
- },
751
- "waypoints": [
752
- {
753
- "longitude": 3.877772,
754
- "latitude": 43.596949,
755
- "title": null
756
- },
757
- {
758
- "longitude": 3.914684,
759
- "latitude": 43.609609,
760
- "title": null
761
- }
762
- ]
763
- }
764
- ],
765
- "distances": {
766
- "total": 4580,
767
- "normalRoads": 97,
768
- "recommendedRoads": 4231,
769
- "discouragedRoads": 252
770
- },
771
- "title": "SAFER",
772
- "waypoints": [
773
- {
774
- "longitude": 3.877772,
775
- "latitude": 43.596949,
776
- "title": null
777
- },
778
- {
779
- "longitude": 3.914684,
780
- "latitude": 43.609609,
781
- "title": null
782
- }
783
- ],
784
- "estimatedDatetimeOfDeparture": "2022-01-31T12:00:00+02:00",
785
- "estimatedDatetimeOfArrival": "2022-01-31T12:20:08+02:00",
786
- "duration": 1208,
787
- "id": "bG9jPTQzLjU5Njk0OSwzLjg3Nzc3MiZsb2M9NDMuNjA5NjA5LDMuOTE0Njg0I0JFR0lOTkVSI0ZhbHNlI01FRElBTiMxNiNGYWxzZSNOb25lIzIwMjItMDEtMzEgMTI6MDA6MDArMDI6MDAjVFJBRElUSU9OQUwjMCMwI1NBRkVSI0ZhbHNlI0ZhbHNl"
788
- },
789
- {
790
- "sections": [
791
- {
792
- "transportMode": "BIKE",
793
- "duration": 1053,
794
- "waypointsIndices": [
795
- 0,
796
- 229
797
- ],
798
- "geometry": "mh}crAiwtkFvAn@tAr@n@XjAZjFT`Xl@f@BHsDqb@qBWfAy@]iAc@mCgAsBk@{G}DnIeHXy@D{R@ozBGeDFsFO}`DEqKeAmB?_G?eE`AkCGcSYcv@}Ai]MyAgA}NuDo\\{AeLaEkTgCwKgB_HgIwTgL}VuaAwqBsEyJ}CkH_Po[gCo`@SkCwBy\\o@iRE{UlAm]|BmUpEo[nDyEz@uEh@mErBmGt@qD\\_DAiBc@yCgBeDcH}Km@_AQYo@eAeSsXWsA_C_EY_A{@cEg@kCw@mBQaBe@yEQmAiAeFa@qAQs@oAwDmFkKsBiEqAoCsGeO{Poa@eDyK_@eAoCuHw@oCq[wsA_@_BwNmn@}Hi[QaAbHyDZq@dCwKzAeHpCkMDcBUsBYsBm@yCg@_Do@wDg@yCSmA]_Cc]cPgAg@iAc@sA_Jc@mAMgAm@iEcEwWaIsi@oCeRw@iF_Jol@cAyG{CwRcQkiAkBcMOYqAu@VoMA}Ds@kFoAuGa@wEIgEFeGAiBm@uD}AsGCsCBgDh@sHrCci@TaEHqHc@Ea@IZwHNe\\EmBCeAS}GUeH_AoVo@uPg@oI}@mIaAaHaBmK}DuWyBgMsBqJw@gDqAoEc@_ByCqJkCsHeAgCkAmDa@aCYwCSyDA{Aj@eG@cFYwCqBcH_E_F}BgAcC_@eCDgCl@eDzBcAdAoCdFqBrAeEdBsA\\gBNyjABaFQcE]mK}AiEm@uCe@_UyC_C_@sMcA_I[u@N{@PaD|AmA\\_A?{BAs@w@}@_AuBaAoMqF}OoGgDeAwE}@}AP{Aj@qBdAeAd@iAPw@E_B]eBaAwBuCsDsJoEeN]iAwAaDoAaCkBcCgBwAaCwAo@MaB_@kBSsBY",
799
- "estimatedDatetimeOfDeparture": "2022-01-31T12:00:00+02:00",
800
- "estimatedDatetimeOfArrival": "2022-01-31T12:17:33+02:00",
801
- "details": {
802
- "distances": {
803
- "total": 4021,
804
- "normalRoads": 361,
805
- "recommendedRoads": 2736,
806
- "discouragedRoads": 924,
807
- "cycleway": 2241,
808
- "greenway": 0,
809
- "lane": 0,
810
- "livingstreet": 0,
811
- "sharebusway": 463,
812
- "footway": 32,
813
- "pedestrian": 0,
814
- "opposite": 0,
815
- "steps": 0,
816
- "zone30": 0,
817
- "residential": 361
818
- },
819
- "instructions": [
820
- [
821
- "direction",
822
- "roadName",
823
- "roadLength",
824
- "facility",
825
- "cyclability",
826
- "geometryIndex",
827
- "orientation",
828
- "cityNames",
829
- "duration"
830
- ],
831
- [
832
- "HEAD_ON",
833
- "Boulevard de la Perruque",
834
- 5,
835
- "RESIDENTIAL",
836
- 4,
837
- 0,
838
- "S",
839
- "",
840
- 1
841
- ],
842
- [
843
- "GO_STRAIGHT",
844
- "Boulevard de la Perruque",
845
- 72,
846
- "TERTIARY",
847
- 2,
848
- 1,
849
- "S",
850
- "",
851
- 20
852
- ],
853
- [
854
- "TURN_LEFT",
855
- "",
856
- 7,
857
- "CYCLEWAY",
858
- 5,
859
- 7,
860
- "E",
861
- "",
862
- 7
863
- ],
864
- [
865
- "TURN_LEFT",
866
- "",
867
- 89,
868
- "CYCLEWAY",
869
- 5,
870
- 8,
871
- "N",
872
- "",
873
- 26
874
- ],
875
- [
876
- "GO_STRAIGHT",
877
- "",
878
- 17,
879
- "CYCLEWAY",
880
- 5,
881
- 14,
882
- "NE",
883
- "",
884
- 10
885
- ],
886
- [
887
- "TURN_SHARP_RIGHT",
888
- "",
889
- 1059,
890
- "CYCLEWAY",
891
- 5,
892
- 15,
893
- "SE",
894
- "",
895
- 241
896
- ],
897
- [
898
- "GO_STRAIGHT",
899
- "",
900
- 47,
901
- "CYCLEWAY",
902
- 5,
903
- 42,
904
- "NE",
905
- "",
906
- 10
907
- ],
908
- [
909
- "TURN_SLIGHT_RIGHT",
910
- "",
911
- 251,
912
- "CYCLEWAY",
913
- 5,
914
- 43,
915
- "E",
916
- "",
917
- 55
918
- ],
919
- [
920
- "TURN_SLIGHT_RIGHT",
921
- "Avenue du Professeur Étienne Antonelli",
922
- 31,
923
- "CYCLEWAY",
924
- 5,
925
- 51,
926
- "SE",
927
- "",
928
- 9
929
- ],
930
- [
931
- "GO_STRAIGHT",
932
- "Avenue du Professeur Étienne Antonelli",
933
- 127,
934
- "SECONDARY",
935
- 1,
936
- 54,
937
- "SE",
938
- "",
939
- 32
940
- ],
941
- [
942
- "GO_STRAIGHT",
943
- "Avenue du Professeur Étienne Antonelli",
944
- 197,
945
- "SECONDARY",
946
- 1,
947
- 65,
948
- "NE",
949
- "",
950
- 55
951
- ],
952
- [
953
- "GO_STRAIGHT",
954
- "Avenue Marie de Montpellier",
955
- 279,
956
- "SECONDARY",
957
- 1,
958
- 83,
959
- "NE",
960
- "",
961
- 95
962
- ],
963
- [
964
- "TURN_RIGHT",
965
- "",
966
- 80,
967
- "CYCLEWAY",
968
- 5,
969
- 92,
970
- "SE",
971
- "",
972
- 18
973
- ],
974
- [
975
- "GO_STRAIGHT",
976
- "",
977
- 32,
978
- "FOOTWAY",
979
- 4,
980
- 99,
981
- "E",
982
- "",
983
- 7
984
- ],
985
- [
986
- "GO_STRAIGHT",
987
- "",
988
- 8,
989
- "CYCLEWAY",
990
- 5,
991
- 104,
992
- "E",
993
- "",
994
- 3
995
- ],
996
- [
997
- "TURN_LEFT",
998
- "",
999
- 66,
1000
- "CYCLEWAY",
1001
- 5,
1002
- 106,
1003
- "N",
1004
- "",
1005
- 15
1006
- ],
1007
- [
1008
- "TURN_RIGHT",
1009
- "Avenue du Mondial 98",
1010
- 385,
1011
- "CYCLEWAY",
1012
- 5,
1013
- 109,
1014
- "E",
1015
- "",
1016
- 91
1017
- ],
1018
- [
1019
- "TURN_SLIGHT_RIGHT",
1020
- "",
1021
- 201,
1022
- "CYCLEWAY",
1023
- 5,
1024
- 124,
1025
- "E",
1026
- "",
1027
- 72
1028
- ],
1029
- [
1030
- "TURN_LEFT",
1031
- "Avenue du Mondial 98 (M 21)",
1032
- 356,
1033
- "RESIDENTIAL",
1034
- 4,
1035
- 140,
1036
- "N",
1037
- "",
1038
- 113
1039
- ],
1040
- [
1041
- "ROUND_ABOUT_EXIT_3",
1042
- "Avenue du Mondial 98 (M 21)",
1043
- 111,
1044
- "SHAREBUSWAY",
1045
- 3,
1046
- 168,
1047
- "E",
1048
- "",
1049
- 25
1050
- ],
1051
- [
1052
- "LEAVE_ROUND_ABOUT",
1053
- "Avenue du Mondial 98 (M 21)",
1054
- 352,
1055
- "SHAREBUSWAY",
1056
- 3,
1057
- 180,
1058
- "NW",
1059
- "",
1060
- 90
1061
- ],
1062
- [
1063
- "ROUND_ABOUT_EXIT_3",
1064
- "Avenue Henri Becquerel (M 21)",
1065
- 114,
1066
- "PRIMARY",
1067
- 1,
1068
- 200,
1069
- "NE",
1070
- "",
1071
- 27
1072
- ],
1073
- [
1074
- "LEAVE_ROUND_ABOUT",
1075
- "Avenue Henri Becquerel (M 21)",
1076
- 135,
1077
- "PRIMARY",
1078
- 1,
1079
- 210,
1080
- "N",
1081
- "",
1082
- 31
1083
- ],
1084
- [
1085
- "REACHED_YOUR_DESTINATION",
1086
- "Avenue Henri Becquerel (M 21)",
1087
- 0,
1088
- "NONE",
1089
- 3,
1090
- 228,
1091
- "N",
1092
- "",
1093
- 0
1094
- ]
1095
- ],
1096
- "profile": "EXPERT",
1097
- "direction": "Avenue Marie de Montpellier, Avenue du Mondial 98 (M 21)",
1098
- "verticalGain": 25,
1099
- "verticalLoss": 31,
1100
- "calories": 100480,
1101
- "elevations": null,
1102
- "ridesets": [],
1103
- "averageSpeed": 16,
1104
- "bikeType": "TRADITIONAL"
1105
- },
1106
- "waypoints": [
1107
- {
1108
- "longitude": 3.877772,
1109
- "latitude": 43.596949,
1110
- "title": null
1111
- },
1112
- {
1113
- "longitude": 3.914684,
1114
- "latitude": 43.609609,
1115
- "title": null
1116
- }
1117
- ]
1118
- }
1119
- ],
1120
- "distances": {
1121
- "total": 4021,
1122
- "normalRoads": 361,
1123
- "recommendedRoads": 2736,
1124
- "discouragedRoads": 924
1125
- },
1126
- "title": "FASTER",
1127
- "waypoints": [
1128
- {
1129
- "longitude": 3.877772,
1130
- "latitude": 43.596949,
1131
- "title": null
1132
- },
1133
- {
1134
- "longitude": 3.914684,
1135
- "latitude": 43.609609,
1136
- "title": null
1137
- }
1138
- ],
1139
- "estimatedDatetimeOfDeparture": "2022-01-31T12:00:00+02:00",
1140
- "estimatedDatetimeOfArrival": "2022-01-31T12:17:33+02:00",
1141
- "duration": 1053,
1142
- "id": "bG9jPTQzLjU5Njk0OSwzLjg3Nzc3MiZsb2M9NDMuNjA5NjA5LDMuOTE0Njg0I0VYUEVSVCNGYWxzZSNNRURJQU4jMTYjRmFsc2UjTm9uZSMyMDIyLTAxLTMxIDEyOjAwOjAwKzAyOjAwI1RSQURJVElPTkFMIzAjMCNGQVNURVIjRmFsc2UjRmFsc2U="
1143
- }
1144
- ]