@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.
- package/dist/helpers/InstructionManager.d.ts +20 -0
- package/dist/helpers/InstructionManagerV1.d.ts +7 -0
- package/{index.ts → dist/index.d.ts} +1 -11
- package/dist/index.js +1 -5099
- package/dist/index.js.map +1 -1
- package/dist/src/ItineraryInfoManager.d.ts +31 -0
- package/dist/src/RoutingError.d.ts +24 -0
- package/{src/StatusCode.ts → dist/src/StatusCode.d.ts} +2 -3
- package/dist/src/Utils.d.ts +6 -0
- package/dist/src/graph/Edge.d.ts +32 -0
- package/dist/src/graph/Graph.d.ts +40 -0
- package/dist/src/graph/GraphProjection.d.ts +11 -0
- package/dist/src/graph/GraphProjectionOptions.d.ts +7 -0
- package/dist/src/graph/GraphRoute.d.ts +19 -0
- package/dist/src/graph/GraphRouter.d.ts +20 -0
- package/dist/src/graph/GraphRouterEngine.d.ts +77 -0
- package/{src/graph/GraphRouterOptions.ts → dist/src/graph/GraphRouterOptions.d.ts} +5 -7
- package/dist/src/graph/GraphRouterOptionsBuilder.d.ts +20 -0
- package/dist/src/graph/NoRouteFoundError.d.ts +12 -0
- package/dist/src/graph/Vertex.d.ts +19 -0
- package/dist/src/model/Itinerary.d.ts +81 -0
- package/dist/src/model/Leg.d.ts +66 -0
- package/dist/src/model/LevelChange.d.ts +7 -0
- package/dist/src/model/RouterRequest.d.ts +40 -0
- package/dist/src/model/Step.d.ts +42 -0
- package/dist/src/model/StepExtra.d.ts +3 -0
- package/dist/src/model/StepsBuilder.d.ts +16 -0
- package/dist/src/model/TransitMode.d.ts +5 -0
- package/{src/model/TravelMode.ts → dist/src/model/TravelMode.d.ts} +1 -2
- package/dist/src/model/generateSteps.d.ts +0 -0
- package/{src/remote/RemoteRouter.ts → dist/src/remote/RemoteRouter.d.ts} +2 -7
- package/dist/src/remote/RemoteRouterManager.d.ts +731 -0
- package/dist/src/remote/RemoteRouterUtils.d.ts +6 -0
- package/dist/src/remote/cityway/CitywayRemoteRouter.d.ts +109 -0
- package/dist/src/remote/deutsche-bahn/DeutscheBahnRemoteRouter.d.ts +31 -0
- package/dist/src/remote/geovelo/GeoveloRemoteRouter.d.ts +106 -0
- package/dist/src/remote/idfm/IdfmRemoteRouter.d.ts +123 -0
- package/dist/src/remote/navitia/NavitiaRemoteRouter.d.ts +34 -0
- package/dist/src/remote/navitia/types.d.ts +87 -0
- package/dist/src/remote/osrm/OsrmRemoteRouter.d.ts +70 -0
- package/dist/src/remote/otp/OtpRemoteRouter.d.ts +69 -0
- package/dist/src/remote/wemap-multi/WemapMultiRemoteRouter.d.ts +19 -0
- package/dist/src/types.d.ts +31 -0
- package/dist/src/wemap-multi/CustomGraphMap.d.ts +56 -0
- package/dist/src/wemap-multi/CustomGraphMapTester.d.ts +39 -0
- package/dist/src/wemap-multi/WemapMultiRouter.d.ts +14 -0
- package/dist/src/wemap-osm/OsmGraphUtils.d.ts +11 -0
- package/dist/tests/CommonTest.d.ts +8 -0
- package/package.json +11 -8
- package/assets/biocbon-bergere-rdc-network.osm +0 -163
- package/assets/bureaux-wemap-montpellier-network.osm +0 -174
- package/assets/components.osm +0 -146
- package/assets/elevator-models-4.osm +0 -89
- package/assets/elevator-models.osm +0 -354
- package/assets/exit-graph.osm +0 -25
- package/assets/gare-de-lest-network-pp-bounds.osm +0 -1613
- package/assets/gare-de-lyon-extract.osm +0 -174
- package/assets/geovelo-montpellier.json +0 -1144
- package/assets/horizontal-elevator.osm +0 -12
- package/assets/itinerary-deutsche-bahn-1.json +0 -368
- package/assets/itinerary-grenoble-otp-1.json +0 -1536
- package/assets/itinerary-grenoble-otp-2.json +0 -1092
- package/assets/itinerary-info-two-points-proj.osm +0 -39
- package/assets/itinerary-info-two-points.osm +0 -24
- package/assets/itinerary-lehavre-cityway-1.json +0 -6799
- package/assets/itinerary-lehavre-cityway-2.json +0 -2133
- package/assets/itinerary-lehavre-cityway-3.json +0 -12577
- package/assets/itinerary-lehavre-cityway-4.json +0 -1451
- package/assets/itinerary-lehavre-cityway-5.json +0 -5925
- package/assets/itinerary-lemans-navitia.json +0 -7768
- package/assets/itinerary-montpellier-osrm-3.json +0 -185
- package/assets/itinerary-montpellier-outdoor-without-steps.json +0 -110
- package/assets/itinerary-montpellier-outdoor.json +0 -513
- package/assets/itinerary-paris-idfm-2.json +0 -1838
- package/assets/itinerary-paris-idfm.json +0 -27727
- package/assets/itinerary-step-not-on-path-osrm.json +0 -457
- package/assets/itinerary-with-duplicate-nodes.json +0 -110
- package/assets/network-conveying-backward.osm +0 -74
- package/assets/network-elevator.osm +0 -48
- package/assets/network-escalators.osm +0 -50
- package/assets/network-simple.osm +0 -27
- package/assets/network-steps-same-level.osm +0 -283
- package/assets/network-with-modifiers.osm +0 -39
- package/assets/one-way.osm +0 -46
- package/assets/report-map-1.osm +0 -36
- package/assets/report-map-2.osm +0 -29
- package/assets/report-map-3.osm +0 -15
- package/assets/rr-wemap-multi-indoor-outdoor-indoor.json +0 -1352
- package/assets/rr-wemap-multi-indoor-outdoor.json +0 -145
- package/assets/rr-wemap-multi-multi-level.json +0 -262
- package/assets/rr-wemap-multi-outdoor-indoor.json +0 -145
- package/assets/rr-wemap-multi-outdoor-outdoor.json +0 -207
- package/assets/rr-wemap-multi-remote-indoor-indoor.json +0 -155
- package/assets/rr-wemap-multi-remote-indoor-outdoor-indoor.json +0 -668
- package/assets/rr-wemap-multi-remote-indoor-outdoor.json +0 -154
- package/assets/rr-wemap-multi-remote-outdoor-indoor.json +0 -179
- package/assets/rr-wemap-multi-remote-outdoor-outdoor.json +0 -109
- package/assets/stairs-and-exit.osm +0 -47
- package/helpers/InstructionManager.ts +0 -184
- package/helpers/InstructionManagerV1.ts +0 -95
- package/src/ItineraryInfoManager.spec.ts +0 -183
- package/src/ItineraryInfoManager.ts +0 -181
- package/src/RoutingError.ts +0 -60
- package/src/Utils.ts +0 -8
- package/src/graph/Edge.spec.ts +0 -32
- package/src/graph/Edge.ts +0 -64
- package/src/graph/Graph.spec.ts +0 -509
- package/src/graph/Graph.ts +0 -272
- package/src/graph/GraphProjection.ts +0 -15
- package/src/graph/GraphProjectionOptions.ts +0 -8
- package/src/graph/GraphRoute.spec.ts +0 -15
- package/src/graph/GraphRoute.ts +0 -43
- package/src/graph/GraphRouter.spec.ts +0 -317
- package/src/graph/GraphRouter.ts +0 -229
- package/src/graph/GraphRouterEngine.ts +0 -248
- package/src/graph/GraphRouterOptionsBuilder.ts +0 -98
- package/src/graph/NoRouteFoundError.ts +0 -39
- package/src/graph/Vertex.spec.ts +0 -42
- package/src/graph/Vertex.ts +0 -45
- package/src/model/Itinerary.spec.ts +0 -134
- package/src/model/Itinerary.ts +0 -370
- package/src/model/Leg.spec.ts +0 -107
- package/src/model/Leg.ts +0 -224
- package/src/model/LevelChange.spec.ts +0 -50
- package/src/model/LevelChange.ts +0 -14
- package/src/model/RouterRequest.ts +0 -33
- package/src/model/Step.spec.ts +0 -99
- package/src/model/Step.ts +0 -90
- package/src/model/StepExtra.ts +0 -1
- package/src/model/StepsBuilder.ts +0 -242
- package/src/model/TransitMode.spec.ts +0 -31
- package/src/model/TransitMode.ts +0 -28
- package/src/model/generateSteps.ts +0 -102
- package/src/remote/RemoteRouterManager.spec.ts +0 -178
- package/src/remote/RemoteRouterManager.ts +0 -72
- package/src/remote/RemoteRouterUtils.ts +0 -25
- package/src/remote/cityway/CitywayRemoteRouter.spec.ts +0 -122
- package/src/remote/cityway/CitywayRemoteRouter.ts +0 -435
- package/src/remote/deutsche-bahn/DeutscheBahnRemoteRouter.spec.ts +0 -52
- package/src/remote/deutsche-bahn/DeutscheBahnRemoteRouter.ts +0 -85
- package/src/remote/geovelo/GeoveloRemoteRouter.spec.ts +0 -54
- package/src/remote/geovelo/GeoveloRemoteRouter.ts +0 -293
- package/src/remote/idfm/IdfmRemoteRouter.spec.ts +0 -102
- package/src/remote/idfm/IdfmRemoteRouter.ts +0 -523
- package/src/remote/navitia/NavitiaRemoteRouter.spec.ts +0 -116
- package/src/remote/navitia/NavitiaRemoteRouter.ts +0 -445
- package/src/remote/navitia/types.ts +0 -73
- package/src/remote/osrm/OsrmRemoteRouter.spec.ts +0 -127
- package/src/remote/osrm/OsrmRemoteRouter.ts +0 -303
- package/src/remote/otp/OtpRemoteRouter.spec.ts +0 -103
- package/src/remote/otp/OtpRemoteRouter.ts +0 -223
- package/src/remote/wemap-multi/WemapMultiRemoteRouter.spec.ts +0 -103
- package/src/remote/wemap-multi/WemapMultiRemoteRouter.ts +0 -56
- package/src/types.ts +0 -32
- package/src/wemap-multi/CustomGraphMap.spec.ts +0 -40
- package/src/wemap-multi/CustomGraphMap.ts +0 -213
- package/src/wemap-multi/CustomGraphMapTester.spec.ts +0 -48
- package/src/wemap-multi/CustomGraphMapTester.ts +0 -90
- package/src/wemap-multi/WemapMultiRouter.spec.ts +0 -138
- package/src/wemap-multi/WemapMultiRouter.ts +0 -329
- package/src/wemap-osm/OsmGraphUtils.spec.ts +0 -165
- package/src/wemap-osm/OsmGraphUtils.ts +0 -173
- package/src/wemap-osm/OsmRouter.elevators.spec.ts +0 -106
- package/src/wemap-osm/OsmRouter.spec.ts +0 -292
- package/tests/CommonTest.ts +0 -78
- package/tsconfig.json +0 -3
- package/vite.config.ts +0 -4
|
@@ -1,457 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"code": "Ok",
|
|
3
|
-
"routes": [
|
|
4
|
-
{
|
|
5
|
-
"geometry": {
|
|
6
|
-
"coordinates": [
|
|
7
|
-
[
|
|
8
|
-
2.353748,
|
|
9
|
-
48.880501
|
|
10
|
-
],
|
|
11
|
-
[
|
|
12
|
-
2.353767,
|
|
13
|
-
48.880463
|
|
14
|
-
],
|
|
15
|
-
[
|
|
16
|
-
2.353773,
|
|
17
|
-
48.880449
|
|
18
|
-
],
|
|
19
|
-
[
|
|
20
|
-
2.353771,
|
|
21
|
-
48.88043
|
|
22
|
-
],
|
|
23
|
-
[
|
|
24
|
-
2.353717,
|
|
25
|
-
48.880311
|
|
26
|
-
],
|
|
27
|
-
[
|
|
28
|
-
2.353738,
|
|
29
|
-
48.880307
|
|
30
|
-
],
|
|
31
|
-
[
|
|
32
|
-
2.353869,
|
|
33
|
-
48.880278
|
|
34
|
-
],
|
|
35
|
-
[
|
|
36
|
-
2.354497,
|
|
37
|
-
48.880096
|
|
38
|
-
],
|
|
39
|
-
[
|
|
40
|
-
2.354557,
|
|
41
|
-
48.880082
|
|
42
|
-
],
|
|
43
|
-
[
|
|
44
|
-
2.354768,
|
|
45
|
-
48.880026
|
|
46
|
-
],
|
|
47
|
-
[
|
|
48
|
-
2.354753,
|
|
49
|
-
48.879998
|
|
50
|
-
],
|
|
51
|
-
[
|
|
52
|
-
2.354763,
|
|
53
|
-
48.879961
|
|
54
|
-
],
|
|
55
|
-
[
|
|
56
|
-
2.354741,
|
|
57
|
-
48.879921
|
|
58
|
-
]
|
|
59
|
-
],
|
|
60
|
-
"type": "LineString"
|
|
61
|
-
},
|
|
62
|
-
"legs": [
|
|
63
|
-
{
|
|
64
|
-
"steps": [
|
|
65
|
-
{
|
|
66
|
-
"geometry": {
|
|
67
|
-
"coordinates": [
|
|
68
|
-
[
|
|
69
|
-
2.353748,
|
|
70
|
-
48.880501
|
|
71
|
-
],
|
|
72
|
-
[
|
|
73
|
-
2.353767,
|
|
74
|
-
48.880463
|
|
75
|
-
],
|
|
76
|
-
[
|
|
77
|
-
2.353773,
|
|
78
|
-
48.880449
|
|
79
|
-
],
|
|
80
|
-
[
|
|
81
|
-
2.353771,
|
|
82
|
-
48.88043
|
|
83
|
-
],
|
|
84
|
-
[
|
|
85
|
-
2.353717,
|
|
86
|
-
48.880311
|
|
87
|
-
]
|
|
88
|
-
],
|
|
89
|
-
"type": "LineString"
|
|
90
|
-
},
|
|
91
|
-
"maneuver": {
|
|
92
|
-
"bearing_after": 162,
|
|
93
|
-
"bearing_before": 0,
|
|
94
|
-
"location": [
|
|
95
|
-
2.353747,
|
|
96
|
-
48.880506
|
|
97
|
-
],
|
|
98
|
-
"type": "depart"
|
|
99
|
-
},
|
|
100
|
-
"mode": "walking",
|
|
101
|
-
"driving_side": "right",
|
|
102
|
-
"name": "Rue de Compiègne",
|
|
103
|
-
"intersections": [
|
|
104
|
-
{
|
|
105
|
-
"out": 0,
|
|
106
|
-
"entry": [
|
|
107
|
-
true
|
|
108
|
-
],
|
|
109
|
-
"bearings": [
|
|
110
|
-
162
|
|
111
|
-
],
|
|
112
|
-
"location": [
|
|
113
|
-
2.353747,
|
|
114
|
-
48.880506
|
|
115
|
-
]
|
|
116
|
-
}
|
|
117
|
-
],
|
|
118
|
-
"weight": 16.1,
|
|
119
|
-
"duration": 16.1,
|
|
120
|
-
"distance": 22.6
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"geometry": {
|
|
124
|
-
"coordinates": [
|
|
125
|
-
[
|
|
126
|
-
2.353717,
|
|
127
|
-
48.880311
|
|
128
|
-
],
|
|
129
|
-
[
|
|
130
|
-
2.353738,
|
|
131
|
-
48.880307
|
|
132
|
-
],
|
|
133
|
-
[
|
|
134
|
-
2.353869,
|
|
135
|
-
48.880278
|
|
136
|
-
],
|
|
137
|
-
[
|
|
138
|
-
2.354497,
|
|
139
|
-
48.880096
|
|
140
|
-
],
|
|
141
|
-
[
|
|
142
|
-
2.354557,
|
|
143
|
-
48.880082
|
|
144
|
-
],
|
|
145
|
-
[
|
|
146
|
-
2.354768,
|
|
147
|
-
48.880026
|
|
148
|
-
]
|
|
149
|
-
],
|
|
150
|
-
"type": "LineString"
|
|
151
|
-
},
|
|
152
|
-
"maneuver": {
|
|
153
|
-
"bearing_after": 105,
|
|
154
|
-
"bearing_before": 195,
|
|
155
|
-
"location": [
|
|
156
|
-
2.353717,
|
|
157
|
-
48.880311
|
|
158
|
-
],
|
|
159
|
-
"modifier": "left",
|
|
160
|
-
"type": "turn"
|
|
161
|
-
},
|
|
162
|
-
"mode": "walking",
|
|
163
|
-
"driving_side": "right",
|
|
164
|
-
"name": "",
|
|
165
|
-
"intersections": [
|
|
166
|
-
{
|
|
167
|
-
"out": 1,
|
|
168
|
-
"in": 0,
|
|
169
|
-
"entry": [
|
|
170
|
-
false,
|
|
171
|
-
true,
|
|
172
|
-
true,
|
|
173
|
-
true
|
|
174
|
-
],
|
|
175
|
-
"bearings": [
|
|
176
|
-
15,
|
|
177
|
-
105,
|
|
178
|
-
225,
|
|
179
|
-
285
|
|
180
|
-
],
|
|
181
|
-
"location": [
|
|
182
|
-
2.353717,
|
|
183
|
-
48.880311
|
|
184
|
-
]
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
"out": 1,
|
|
188
|
-
"in": 3,
|
|
189
|
-
"entry": [
|
|
190
|
-
true,
|
|
191
|
-
true,
|
|
192
|
-
true,
|
|
193
|
-
false
|
|
194
|
-
],
|
|
195
|
-
"bearings": [
|
|
196
|
-
15,
|
|
197
|
-
105,
|
|
198
|
-
135,
|
|
199
|
-
285
|
|
200
|
-
],
|
|
201
|
-
"location": [
|
|
202
|
-
2.353738,
|
|
203
|
-
48.880307
|
|
204
|
-
]
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
"out": 0,
|
|
208
|
-
"in": 2,
|
|
209
|
-
"entry": [
|
|
210
|
-
true,
|
|
211
|
-
true,
|
|
212
|
-
false
|
|
213
|
-
],
|
|
214
|
-
"bearings": [
|
|
215
|
-
120,
|
|
216
|
-
195,
|
|
217
|
-
285
|
|
218
|
-
],
|
|
219
|
-
"location": [
|
|
220
|
-
2.353869,
|
|
221
|
-
48.880278
|
|
222
|
-
]
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
"out": 1,
|
|
226
|
-
"in": 3,
|
|
227
|
-
"entry": [
|
|
228
|
-
true,
|
|
229
|
-
true,
|
|
230
|
-
true,
|
|
231
|
-
false
|
|
232
|
-
],
|
|
233
|
-
"bearings": [
|
|
234
|
-
75,
|
|
235
|
-
105,
|
|
236
|
-
195,
|
|
237
|
-
285
|
|
238
|
-
],
|
|
239
|
-
"location": [
|
|
240
|
-
2.354557,
|
|
241
|
-
48.880082
|
|
242
|
-
]
|
|
243
|
-
}
|
|
244
|
-
],
|
|
245
|
-
"weight": 60.1,
|
|
246
|
-
"duration": 60.1,
|
|
247
|
-
"distance": 83.4
|
|
248
|
-
},
|
|
249
|
-
{
|
|
250
|
-
"geometry": {
|
|
251
|
-
"coordinates": [
|
|
252
|
-
[
|
|
253
|
-
2.354768,
|
|
254
|
-
48.880026
|
|
255
|
-
],
|
|
256
|
-
[
|
|
257
|
-
2.354753,
|
|
258
|
-
48.879998
|
|
259
|
-
],
|
|
260
|
-
[
|
|
261
|
-
2.354763,
|
|
262
|
-
48.879961
|
|
263
|
-
]
|
|
264
|
-
],
|
|
265
|
-
"type": "LineString"
|
|
266
|
-
},
|
|
267
|
-
"maneuver": {
|
|
268
|
-
"bearing_after": 198,
|
|
269
|
-
"bearing_before": 111,
|
|
270
|
-
"location": [
|
|
271
|
-
2.354768,
|
|
272
|
-
48.880026
|
|
273
|
-
],
|
|
274
|
-
"modifier": "right",
|
|
275
|
-
"type": "turn"
|
|
276
|
-
},
|
|
277
|
-
"mode": "walking",
|
|
278
|
-
"driving_side": "right",
|
|
279
|
-
"name": "",
|
|
280
|
-
"intersections": [
|
|
281
|
-
{
|
|
282
|
-
"out": 2,
|
|
283
|
-
"in": 3,
|
|
284
|
-
"entry": [
|
|
285
|
-
true,
|
|
286
|
-
true,
|
|
287
|
-
true,
|
|
288
|
-
false
|
|
289
|
-
],
|
|
290
|
-
"bearings": [
|
|
291
|
-
30,
|
|
292
|
-
105,
|
|
293
|
-
195,
|
|
294
|
-
285
|
|
295
|
-
],
|
|
296
|
-
"location": [
|
|
297
|
-
2.354768,
|
|
298
|
-
48.880026
|
|
299
|
-
]
|
|
300
|
-
},
|
|
301
|
-
{
|
|
302
|
-
"out": 2,
|
|
303
|
-
"in": 0,
|
|
304
|
-
"entry": [
|
|
305
|
-
false,
|
|
306
|
-
true,
|
|
307
|
-
true,
|
|
308
|
-
true
|
|
309
|
-
],
|
|
310
|
-
"bearings": [
|
|
311
|
-
15,
|
|
312
|
-
105,
|
|
313
|
-
165,
|
|
314
|
-
285
|
|
315
|
-
],
|
|
316
|
-
"location": [
|
|
317
|
-
2.354753,
|
|
318
|
-
48.879998
|
|
319
|
-
]
|
|
320
|
-
}
|
|
321
|
-
],
|
|
322
|
-
"weight": 5.4,
|
|
323
|
-
"duration": 5.4,
|
|
324
|
-
"distance": 7.5
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
"geometry": {
|
|
328
|
-
"coordinates": [
|
|
329
|
-
[
|
|
330
|
-
2.354763,
|
|
331
|
-
48.879961
|
|
332
|
-
],
|
|
333
|
-
[
|
|
334
|
-
2.354741,
|
|
335
|
-
48.879921
|
|
336
|
-
]
|
|
337
|
-
],
|
|
338
|
-
"type": "LineString"
|
|
339
|
-
},
|
|
340
|
-
"maneuver": {
|
|
341
|
-
"bearing_after": 205,
|
|
342
|
-
"bearing_before": 168,
|
|
343
|
-
"location": [
|
|
344
|
-
2.354763,
|
|
345
|
-
48.879961
|
|
346
|
-
],
|
|
347
|
-
"modifier": "slight right",
|
|
348
|
-
"type": "turn"
|
|
349
|
-
},
|
|
350
|
-
"mode": "walking",
|
|
351
|
-
"driving_side": "right",
|
|
352
|
-
"name": "Boulevard de Denain",
|
|
353
|
-
"intersections": [
|
|
354
|
-
{
|
|
355
|
-
"out": 1,
|
|
356
|
-
"in": 3,
|
|
357
|
-
"entry": [
|
|
358
|
-
true,
|
|
359
|
-
true,
|
|
360
|
-
true,
|
|
361
|
-
false
|
|
362
|
-
],
|
|
363
|
-
"bearings": [
|
|
364
|
-
105,
|
|
365
|
-
210,
|
|
366
|
-
285,
|
|
367
|
-
345
|
|
368
|
-
],
|
|
369
|
-
"location": [
|
|
370
|
-
2.354763,
|
|
371
|
-
48.879961
|
|
372
|
-
]
|
|
373
|
-
}
|
|
374
|
-
],
|
|
375
|
-
"weight": 3.4,
|
|
376
|
-
"duration": 3.4,
|
|
377
|
-
"distance": 4.7
|
|
378
|
-
},
|
|
379
|
-
{
|
|
380
|
-
"geometry": {
|
|
381
|
-
"coordinates": [
|
|
382
|
-
[
|
|
383
|
-
2.354741,
|
|
384
|
-
48.879921
|
|
385
|
-
],
|
|
386
|
-
[
|
|
387
|
-
2.354741,
|
|
388
|
-
48.879921
|
|
389
|
-
]
|
|
390
|
-
],
|
|
391
|
-
"type": "LineString"
|
|
392
|
-
},
|
|
393
|
-
"maneuver": {
|
|
394
|
-
"bearing_after": 0,
|
|
395
|
-
"bearing_before": 200,
|
|
396
|
-
"location": [
|
|
397
|
-
2.354741,
|
|
398
|
-
48.879921
|
|
399
|
-
],
|
|
400
|
-
"type": "arrive"
|
|
401
|
-
},
|
|
402
|
-
"mode": "walking",
|
|
403
|
-
"driving_side": "right",
|
|
404
|
-
"name": "Boulevard de Denain",
|
|
405
|
-
"intersections": [
|
|
406
|
-
{
|
|
407
|
-
"in": 0,
|
|
408
|
-
"entry": [
|
|
409
|
-
true
|
|
410
|
-
],
|
|
411
|
-
"bearings": [
|
|
412
|
-
20
|
|
413
|
-
],
|
|
414
|
-
"location": [
|
|
415
|
-
2.354741,
|
|
416
|
-
48.879921
|
|
417
|
-
]
|
|
418
|
-
}
|
|
419
|
-
],
|
|
420
|
-
"weight": 0,
|
|
421
|
-
"duration": 0,
|
|
422
|
-
"distance": 0
|
|
423
|
-
}
|
|
424
|
-
],
|
|
425
|
-
"summary": "Rue de Compiègne, Boulevard de Denain",
|
|
426
|
-
"weight": 85,
|
|
427
|
-
"duration": 85,
|
|
428
|
-
"distance": 118.2
|
|
429
|
-
}
|
|
430
|
-
],
|
|
431
|
-
"weight_name": "duration",
|
|
432
|
-
"weight": 85,
|
|
433
|
-
"duration": 85,
|
|
434
|
-
"distance": 118.2
|
|
435
|
-
}
|
|
436
|
-
],
|
|
437
|
-
"waypoints": [
|
|
438
|
-
{
|
|
439
|
-
"hint": "rrs9gFFQFIIDAAAACQAAAJ4AAAB2AwAAJpQPPwwbkT8B_69BG9z2QgMAAAAJAAAAngAAAHYDAAACAAAAU-ojAHrb6QJU6iMAetvpAgQA7xU6JEHh",
|
|
440
|
-
"distance": 0.073354726,
|
|
441
|
-
"name": "Rue de Compiègne",
|
|
442
|
-
"location": [
|
|
443
|
-
2.353747,
|
|
444
|
-
48.880506
|
|
445
|
-
]
|
|
446
|
-
},
|
|
447
|
-
{
|
|
448
|
-
"hint": "404UgudOFIIKAAAAIgAAAC0AAAAAAAAA6gW3P2lsl0DnEMhAAAAAAAoAAAAiAAAALQAAAAAAAAACAAAANe4jADHZ6QIw7iMAMtnpAgEATwE6JEHh",
|
|
449
|
-
"distance": 0.383262267,
|
|
450
|
-
"name": "Boulevard de Denain",
|
|
451
|
-
"location": [
|
|
452
|
-
2.354741,
|
|
453
|
-
48.879921
|
|
454
|
-
]
|
|
455
|
-
}
|
|
456
|
-
]
|
|
457
|
-
}
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"code": "Ok",
|
|
3
|
-
"routes": [
|
|
4
|
-
{
|
|
5
|
-
"geometry": {
|
|
6
|
-
"coordinates": [
|
|
7
|
-
[
|
|
8
|
-
4.931728,
|
|
9
|
-
44.799761
|
|
10
|
-
],
|
|
11
|
-
[
|
|
12
|
-
4.927543,
|
|
13
|
-
44.799052
|
|
14
|
-
],
|
|
15
|
-
[
|
|
16
|
-
4.927543,
|
|
17
|
-
44.799052
|
|
18
|
-
],
|
|
19
|
-
[
|
|
20
|
-
4.927385,
|
|
21
|
-
44.799037
|
|
22
|
-
],
|
|
23
|
-
[
|
|
24
|
-
4.923283,
|
|
25
|
-
44.798721
|
|
26
|
-
]
|
|
27
|
-
],
|
|
28
|
-
"type": "LineString"
|
|
29
|
-
},
|
|
30
|
-
"legs": [
|
|
31
|
-
{
|
|
32
|
-
"steps": [
|
|
33
|
-
{
|
|
34
|
-
"driving_side": "right",
|
|
35
|
-
"geometry": {
|
|
36
|
-
"coordinates": [
|
|
37
|
-
[
|
|
38
|
-
4.931728,
|
|
39
|
-
44.799761
|
|
40
|
-
],
|
|
41
|
-
[
|
|
42
|
-
4.927543,
|
|
43
|
-
44.799052
|
|
44
|
-
],
|
|
45
|
-
[
|
|
46
|
-
4.927543,
|
|
47
|
-
44.799052
|
|
48
|
-
],
|
|
49
|
-
[
|
|
50
|
-
4.927385,
|
|
51
|
-
44.799037
|
|
52
|
-
],
|
|
53
|
-
[
|
|
54
|
-
4.923283,
|
|
55
|
-
44.798721
|
|
56
|
-
]
|
|
57
|
-
],
|
|
58
|
-
"type": "LineString"
|
|
59
|
-
},
|
|
60
|
-
"mode": "walking",
|
|
61
|
-
"duration": 496.9,
|
|
62
|
-
"maneuver": {
|
|
63
|
-
"bearing_after": 264,
|
|
64
|
-
"type": "end of road",
|
|
65
|
-
"modifier": "left",
|
|
66
|
-
"bearing_before": 338,
|
|
67
|
-
"location": [
|
|
68
|
-
4.931728,
|
|
69
|
-
44.799761
|
|
70
|
-
]
|
|
71
|
-
},
|
|
72
|
-
"weight": 496.9,
|
|
73
|
-
"distance": 689.7,
|
|
74
|
-
"name": "Route d'Ambonil"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"driving_side": "right",
|
|
78
|
-
"geometry": {
|
|
79
|
-
"coordinates": [
|
|
80
|
-
[
|
|
81
|
-
4.931728,
|
|
82
|
-
44.799761
|
|
83
|
-
],
|
|
84
|
-
[
|
|
85
|
-
4.931728,
|
|
86
|
-
44.799761
|
|
87
|
-
]
|
|
88
|
-
]
|
|
89
|
-
},
|
|
90
|
-
"maneuver": {
|
|
91
|
-
"bearing_after": 0,
|
|
92
|
-
"type": "arrive",
|
|
93
|
-
"modifier": "left",
|
|
94
|
-
"bearing_before": 291,
|
|
95
|
-
"location": [
|
|
96
|
-
4.556421,
|
|
97
|
-
44.302754
|
|
98
|
-
]
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
]
|
|
102
|
-
}
|
|
103
|
-
],
|
|
104
|
-
"distance": 75006.7,
|
|
105
|
-
"duration": 54016.6,
|
|
106
|
-
"weight_name": "duration",
|
|
107
|
-
"weight": 54016.6
|
|
108
|
-
}
|
|
109
|
-
]
|
|
110
|
-
}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
<?xml version='1.0' encoding='UTF-8'?>
|
|
2
|
-
<osm version='0.6' generator='JOSM'>
|
|
3
|
-
<node id='-519157' action='modify' visible='true' lat='48.84445412307' lon='2.37216128192'>
|
|
4
|
-
<tag k='name' v='p6' />
|
|
5
|
-
</node>
|
|
6
|
-
<node id='-519158' action='modify' visible='true' lat='48.84456231196' lon='2.37194113366'>
|
|
7
|
-
<tag k='name' v='p11' />
|
|
8
|
-
</node>
|
|
9
|
-
<node id='-519161' action='modify' visible='true' lat='48.84459094139' lon='2.37200629832'>
|
|
10
|
-
<tag k='name' v='p13' />
|
|
11
|
-
</node>
|
|
12
|
-
<node id='-519164' action='modify' visible='true' lat='48.8445706698' lon='2.3719601573'>
|
|
13
|
-
<tag k='name' v='p12' />
|
|
14
|
-
</node>
|
|
15
|
-
<node id='1395307661' action='modify' timestamp='2019-09-19T15:44:48Z' uid='439947' user='StephaneP' visible='true' version='11' changeset='74681133' lat='48.8444657' lon='2.3720493'>
|
|
16
|
-
<tag k='name' v='p7' />
|
|
17
|
-
</node>
|
|
18
|
-
<node id='1395307662' action='modify' timestamp='2019-09-19T15:44:48Z' uid='439947' user='StephaneP' visible='true' version='3' changeset='74681133' lat='48.8445534' lon='2.3719505'>
|
|
19
|
-
<tag k='name' v='p10' />
|
|
20
|
-
</node>
|
|
21
|
-
<node id='4086374112' action='modify' timestamp='2019-09-19T16:18:40Z' uid='439947' user='StephaneP' visible='true' version='3' changeset='74683089' lat='48.8444961' lon='2.3720441'>
|
|
22
|
-
<tag k='name' v='p8' />
|
|
23
|
-
</node>
|
|
24
|
-
<node id='4086374115' action='modify' timestamp='2019-09-19T15:44:48Z' uid='439947' user='StephaneP' visible='true' version='2' changeset='74681133' lat='48.844562' lon='2.3719702'>
|
|
25
|
-
<tag k='name' v='p9' />
|
|
26
|
-
</node>
|
|
27
|
-
<node id='4086374120' action='delete' timestamp='2019-09-19T16:18:40Z' uid='439947' user='StephaneP' visible='true' version='3' changeset='74683089' lat='48.8446803' lon='2.3718155'>
|
|
28
|
-
<tag k='level' v='-1' />
|
|
29
|
-
<tag k='name' v='p1' />
|
|
30
|
-
<tag k='railway' v='subway_entrance' />
|
|
31
|
-
<tag k='ref' v='13' />
|
|
32
|
-
<tag k='source' v='cadastre-dgi-fr source : Direction Générale des Impôts - Cadastre. Mise à jour : 2011' />
|
|
33
|
-
<tag k='wheelchair' v='no' />
|
|
34
|
-
</node>
|
|
35
|
-
<way id='-519165' action='modify' visible='true'>
|
|
36
|
-
<nd ref='-519164' />
|
|
37
|
-
<nd ref='4086374115' />
|
|
38
|
-
<tag k='highway' v='footway' />
|
|
39
|
-
<tag k='level' v='0' />
|
|
40
|
-
</way>
|
|
41
|
-
<way id='-519168' action='modify' visible='true'>
|
|
42
|
-
<nd ref='1395307662' />
|
|
43
|
-
<nd ref='-519158' />
|
|
44
|
-
<nd ref='-519164' />
|
|
45
|
-
<nd ref='-519161' />
|
|
46
|
-
<tag k='highway' v='footway' />
|
|
47
|
-
<tag k='level' v='0' />
|
|
48
|
-
</way>
|
|
49
|
-
<way id='-519174' action='modify' visible='true'>
|
|
50
|
-
<nd ref='-519157' />
|
|
51
|
-
<nd ref='4086374112' />
|
|
52
|
-
<tag k='highway' v='footway' />
|
|
53
|
-
<tag k='level' v='-1' />
|
|
54
|
-
</way>
|
|
55
|
-
<way id='-519225' action='modify' visible='true'>
|
|
56
|
-
<nd ref='1395307661' />
|
|
57
|
-
<nd ref='-519157' />
|
|
58
|
-
<tag k='highway' v='footway' />
|
|
59
|
-
<tag k='level' v='-1' />
|
|
60
|
-
</way>
|
|
61
|
-
<way id='125679471' action='modify' timestamp='2016-04-15T07:37:33Z' uid='1908665' user='naomap' visible='true' version='4' changeset='38579747'>
|
|
62
|
-
<nd ref='1395307661' />
|
|
63
|
-
<nd ref='1395307662' />
|
|
64
|
-
<tag k='highway' v='steps' />
|
|
65
|
-
<tag k='level' v='-1;0' />
|
|
66
|
-
</way>
|
|
67
|
-
<way id='406582305' action='modify' timestamp='2016-04-15T07:37:40Z' uid='1908665' user='naomap' visible='true' version='2' changeset='38579747'>
|
|
68
|
-
<nd ref='4086374112' />
|
|
69
|
-
<nd ref='4086374115' />
|
|
70
|
-
<tag k='conveying' v='backward' />
|
|
71
|
-
<tag k='highway' v='steps' />
|
|
72
|
-
<tag k='level' v='-1;0' />
|
|
73
|
-
</way>
|
|
74
|
-
</osm>
|