@wemap/routers 6.2.3 → 7.1.0
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/assets/biocbon-bergere-rdc-network.osm +163 -0
- package/assets/gare-de-lest-network-pp-bounds.osm +1615 -0
- package/assets/rr-wemap-meta-indoor-outdoor-indoor.json +1352 -0
- package/assets/rr-wemap-meta-indoor-outdoor.json +145 -0
- package/assets/rr-wemap-meta-outdoor-indoor.json +145 -0
- package/assets/rr-wemap-meta-outdoor-outdoor.json +207 -0
- package/assets/rr-wemap-meta-remote-indoor-indoor.json +155 -0
- package/assets/rr-wemap-meta-remote-indoor-outdoor-indoor.json +685 -0
- package/assets/rr-wemap-meta-remote-indoor-outdoor.json +154 -0
- package/assets/rr-wemap-meta-remote-outdoor-indoor.json +179 -0
- package/assets/rr-wemap-meta-remote-outdoor-outdoor.json +109 -0
- package/dist/wemap-routers.es.js +3691 -0
- package/dist/wemap-routers.es.js.map +1 -0
- package/index.js +13 -5
- package/package.json +9 -6
- package/src/Constants.js +1 -0
- package/src/ItineraryInfoManager.spec.js +2 -2
- package/src/Utils.js +0 -77
- package/src/model/Itinerary.js +41 -5
- package/src/model/Itinerary.spec.js +91 -0
- package/src/model/Itinerary.type.spec.js +3 -78
- package/src/model/Leg.js +89 -19
- package/src/model/Leg.spec.js +110 -0
- package/src/model/Leg.type.spec.js +48 -0
- package/src/model/LevelChange.js +14 -24
- package/src/model/LevelChange.spec.js +78 -0
- package/src/model/LevelChange.type.spec.js +26 -0
- package/src/model/RouterResponse.js +70 -1
- package/src/model/RouterResponse.spec.js +85 -0
- package/src/model/RouterResponse.type.spec.js +7 -4
- package/src/model/Step.js +45 -6
- package/src/model/Step.spec.js +100 -0
- package/src/model/Step.type.spec.js +52 -0
- package/src/remote/RemoteRouter.js +31 -0
- package/src/remote/RemoteRouterManager.js +84 -0
- package/src/remote/RemoteRouterOptions.js +25 -0
- package/src/remote/RemoteRouterServerUnreachable.js +10 -0
- package/src/remote/RemoteRouterUtils.js +78 -0
- package/src/remote/RoutingModeCorrespondanceNotFound.js +18 -0
- package/src/remote/cityway/CitywayRemoteRouter.js +386 -0
- package/src/{cityway/CitywayUtils.spec.js → remote/cityway/CitywayRemoteRouter.spec.js} +19 -18
- package/src/remote/deutsche-bahn/DeutscheBahnRemoteRouter.js +143 -0
- package/src/{deutsche-bahn/DeutscheBahnRouterUtils.spec.js → remote/deutsche-bahn/DeutscheBahnRemoteRouter.spec.js} +7 -6
- package/src/remote/idfm/IdfmRemoteRouter.js +432 -0
- package/src/{idfm/IdfmUtils.spec.js → remote/idfm/IdfmRemoteRouter.spec.js} +7 -6
- package/src/remote/idfm/IdfmRemoteRouterTokenError.js +6 -0
- package/src/remote/osrm/OsrmRemoteRouter.js +331 -0
- package/src/{osrm/OsrmUtils.spec.js → remote/osrm/OsrmRemoteRouter.spec.js} +9 -15
- package/src/remote/otp/OtpRemoteRouter.js +222 -0
- package/src/{otp/OtpUtils.spec.js → remote/otp/OtpRemoteRouter.spec.js} +10 -9
- package/src/remote/wemap-meta/WemapMetaRemoteRouter.js +58 -0
- package/src/remote/wemap-meta/WemapMetaRemoteRouter.spec.js +94 -0
- package/src/remote/wemap-meta/WemapMetaRemoteRouterOptions.js +38 -0
- package/src/remote/wemap-meta/WemapMetaRemoteRouterPayload.js +44 -0
- package/src/wemap/WemapRouter.js +6 -0
- package/src/wemap/WemapRouterUtils.js +10 -4
- package/src/wemap/WemapStepsGeneration.js +36 -9
- package/src/wemap-meta/IOMap.js +194 -0
- package/src/wemap-meta/WemapMetaRouter.js +347 -0
- package/src/wemap-meta/WemapMetaRouter.spec.js +131 -0
- package/src/wemap-meta/WemapMetaRouterOptions.js +18 -0
- package/src/cityway/CitywayUtils.js +0 -309
- package/src/deutsche-bahn/DeutscheBahnRouterUtils.js +0 -91
- package/src/idfm/IdfmUtils.js +0 -256
- package/src/osrm/OsrmUtils.js +0 -269
- package/src/otp/OtpUtils.js +0 -150
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
{
|
|
2
|
+
"code": "Ok",
|
|
3
|
+
"routes": [
|
|
4
|
+
{
|
|
5
|
+
"geometry": {
|
|
6
|
+
"coordinates": [
|
|
7
|
+
[
|
|
8
|
+
2.343286,
|
|
9
|
+
48.872668
|
|
10
|
+
],
|
|
11
|
+
[
|
|
12
|
+
2.343447,
|
|
13
|
+
48.872645
|
|
14
|
+
]
|
|
15
|
+
],
|
|
16
|
+
"type": "LineString"
|
|
17
|
+
},
|
|
18
|
+
"legs": [
|
|
19
|
+
{
|
|
20
|
+
"steps": [
|
|
21
|
+
{
|
|
22
|
+
"intersections": [
|
|
23
|
+
{
|
|
24
|
+
"out": 0,
|
|
25
|
+
"entry": [
|
|
26
|
+
true
|
|
27
|
+
],
|
|
28
|
+
"bearings": [
|
|
29
|
+
102
|
|
30
|
+
],
|
|
31
|
+
"location": [
|
|
32
|
+
2.343286,
|
|
33
|
+
48.872668
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"driving_side": "right",
|
|
38
|
+
"geometry": {
|
|
39
|
+
"coordinates": [
|
|
40
|
+
[
|
|
41
|
+
2.343286,
|
|
42
|
+
48.872668
|
|
43
|
+
],
|
|
44
|
+
[
|
|
45
|
+
2.343447,
|
|
46
|
+
48.872645
|
|
47
|
+
]
|
|
48
|
+
],
|
|
49
|
+
"type": "LineString"
|
|
50
|
+
},
|
|
51
|
+
"mode": "walking",
|
|
52
|
+
"duration": 8.6,
|
|
53
|
+
"maneuver": {
|
|
54
|
+
"bearing_after": 102,
|
|
55
|
+
"type": "depart",
|
|
56
|
+
"modifier": "right",
|
|
57
|
+
"bearing_before": 0,
|
|
58
|
+
"location": [
|
|
59
|
+
2.343286,
|
|
60
|
+
48.872668
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
"weight": 8.6,
|
|
64
|
+
"distance": 12.1,
|
|
65
|
+
"name": "Rue Bergère"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"intersections": [
|
|
69
|
+
{
|
|
70
|
+
"in": 0,
|
|
71
|
+
"entry": [
|
|
72
|
+
true
|
|
73
|
+
],
|
|
74
|
+
"bearings": [
|
|
75
|
+
282
|
|
76
|
+
],
|
|
77
|
+
"location": [
|
|
78
|
+
2.343447,
|
|
79
|
+
48.872645
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"driving_side": "right",
|
|
84
|
+
"geometry": {
|
|
85
|
+
"coordinates": [
|
|
86
|
+
[
|
|
87
|
+
2.343447,
|
|
88
|
+
48.872645
|
|
89
|
+
],
|
|
90
|
+
[
|
|
91
|
+
2.343447,
|
|
92
|
+
48.872645
|
|
93
|
+
]
|
|
94
|
+
],
|
|
95
|
+
"type": "LineString"
|
|
96
|
+
},
|
|
97
|
+
"mode": "walking",
|
|
98
|
+
"duration": 0,
|
|
99
|
+
"maneuver": {
|
|
100
|
+
"bearing_after": 0,
|
|
101
|
+
"location": [
|
|
102
|
+
2.343447,
|
|
103
|
+
48.872645
|
|
104
|
+
],
|
|
105
|
+
"bearing_before": 102,
|
|
106
|
+
"type": "arrive"
|
|
107
|
+
},
|
|
108
|
+
"weight": 0,
|
|
109
|
+
"distance": 0,
|
|
110
|
+
"name": "Rue Bergère"
|
|
111
|
+
}
|
|
112
|
+
],
|
|
113
|
+
"distance": 12.1,
|
|
114
|
+
"duration": 8.6,
|
|
115
|
+
"summary": "Rue Bergère",
|
|
116
|
+
"weight": 8.6
|
|
117
|
+
}
|
|
118
|
+
],
|
|
119
|
+
"distance": 12.1,
|
|
120
|
+
"duration": 8.6,
|
|
121
|
+
"weight_name": "duration",
|
|
122
|
+
"weight": 8.6
|
|
123
|
+
}
|
|
124
|
+
],
|
|
125
|
+
"waypoints": [
|
|
126
|
+
{
|
|
127
|
+
"hint": "PPC2gd_8MoAXAAAATgMAAD8AAACeAgAAiFhOQN2F60KRPgxBXp-6QhcAAABOAwAAPwAAAJ4CAAADAAAAdsEjANy86QJnwSMArrzpAgEAbwZ4CuwT",
|
|
128
|
+
"distance": 5.23254,
|
|
129
|
+
"name": "Rue Bergère",
|
|
130
|
+
"location": [
|
|
131
|
+
2.343286,
|
|
132
|
+
48.872668
|
|
133
|
+
]
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"hint": "PPC2gd_8MoBtAAAA-AIAAD8AAACeAgAAOu90Qb1a00KRPgxBXp-6Qm0AAAD4AgAAPwAAAJ4CAAADAAAAF8IjAMW86QIZwiMAy7zpAgEAbwZ4CuwT",
|
|
137
|
+
"distance": 0.683183,
|
|
138
|
+
"name": "Rue Bergère",
|
|
139
|
+
"location": [
|
|
140
|
+
2.343447,
|
|
141
|
+
48.872645
|
|
142
|
+
]
|
|
143
|
+
}
|
|
144
|
+
]
|
|
145
|
+
}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
{
|
|
2
|
+
"code": "Ok",
|
|
3
|
+
"routes": [
|
|
4
|
+
{
|
|
5
|
+
"geometry": {
|
|
6
|
+
"coordinates": [
|
|
7
|
+
[
|
|
8
|
+
2.343441,
|
|
9
|
+
48.872645
|
|
10
|
+
],
|
|
11
|
+
[
|
|
12
|
+
2.343286,
|
|
13
|
+
48.872668
|
|
14
|
+
]
|
|
15
|
+
],
|
|
16
|
+
"type": "LineString"
|
|
17
|
+
},
|
|
18
|
+
"legs": [
|
|
19
|
+
{
|
|
20
|
+
"steps": [
|
|
21
|
+
{
|
|
22
|
+
"intersections": [
|
|
23
|
+
{
|
|
24
|
+
"out": 0,
|
|
25
|
+
"entry": [
|
|
26
|
+
true
|
|
27
|
+
],
|
|
28
|
+
"bearings": [
|
|
29
|
+
283
|
|
30
|
+
],
|
|
31
|
+
"location": [
|
|
32
|
+
2.343441,
|
|
33
|
+
48.872645
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"driving_side": "right",
|
|
38
|
+
"geometry": {
|
|
39
|
+
"coordinates": [
|
|
40
|
+
[
|
|
41
|
+
2.343441,
|
|
42
|
+
48.872645
|
|
43
|
+
],
|
|
44
|
+
[
|
|
45
|
+
2.343286,
|
|
46
|
+
48.872668
|
|
47
|
+
]
|
|
48
|
+
],
|
|
49
|
+
"type": "LineString"
|
|
50
|
+
},
|
|
51
|
+
"mode": "walking",
|
|
52
|
+
"duration": 8.3,
|
|
53
|
+
"maneuver": {
|
|
54
|
+
"bearing_after": 283,
|
|
55
|
+
"location": [
|
|
56
|
+
2.343441,
|
|
57
|
+
48.872645
|
|
58
|
+
],
|
|
59
|
+
"bearing_before": 0,
|
|
60
|
+
"type": "depart"
|
|
61
|
+
},
|
|
62
|
+
"weight": 8.3,
|
|
63
|
+
"distance": 11.6,
|
|
64
|
+
"name": "Rue Bergère"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"intersections": [
|
|
68
|
+
{
|
|
69
|
+
"in": 0,
|
|
70
|
+
"entry": [
|
|
71
|
+
true
|
|
72
|
+
],
|
|
73
|
+
"bearings": [
|
|
74
|
+
103
|
|
75
|
+
],
|
|
76
|
+
"location": [
|
|
77
|
+
2.343286,
|
|
78
|
+
48.872668
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
],
|
|
82
|
+
"driving_side": "right",
|
|
83
|
+
"geometry": {
|
|
84
|
+
"coordinates": [
|
|
85
|
+
[
|
|
86
|
+
2.343286,
|
|
87
|
+
48.872668
|
|
88
|
+
],
|
|
89
|
+
[
|
|
90
|
+
2.343286,
|
|
91
|
+
48.872668
|
|
92
|
+
]
|
|
93
|
+
],
|
|
94
|
+
"type": "LineString"
|
|
95
|
+
},
|
|
96
|
+
"mode": "walking",
|
|
97
|
+
"duration": 0,
|
|
98
|
+
"maneuver": {
|
|
99
|
+
"bearing_after": 0,
|
|
100
|
+
"type": "arrive",
|
|
101
|
+
"modifier": "left",
|
|
102
|
+
"bearing_before": 283,
|
|
103
|
+
"location": [
|
|
104
|
+
2.343286,
|
|
105
|
+
48.872668
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
"weight": 0,
|
|
109
|
+
"distance": 0,
|
|
110
|
+
"name": "Rue Bergère"
|
|
111
|
+
}
|
|
112
|
+
],
|
|
113
|
+
"distance": 11.6,
|
|
114
|
+
"duration": 8.3,
|
|
115
|
+
"summary": "Rue Bergère",
|
|
116
|
+
"weight": 8.3
|
|
117
|
+
}
|
|
118
|
+
],
|
|
119
|
+
"distance": 11.6,
|
|
120
|
+
"duration": 8.3,
|
|
121
|
+
"weight_name": "duration",
|
|
122
|
+
"weight": 8.3
|
|
123
|
+
}
|
|
124
|
+
],
|
|
125
|
+
"waypoints": [
|
|
126
|
+
{
|
|
127
|
+
"hint": "PPC2gd_8MoBqAAAA-wIAAD8AAACeAgAADA5uQdw21EKRPgxBXp-6QmoAAAD7AgAAPwAAAJ4CAAADAAAAEcIjAMW86QIFwiMAobzpAgEAbwZ4CuwT",
|
|
128
|
+
"distance": 4.099098,
|
|
129
|
+
"name": "Rue Bergère",
|
|
130
|
+
"location": [
|
|
131
|
+
2.343441,
|
|
132
|
+
48.872645
|
|
133
|
+
]
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"hint": "PPC2gd_8MoAXAAAATgMAAD8AAACeAgAAiFhOQN2F60KRPgxBXp-6QhcAAABOAwAAPwAAAJ4CAAADAAAAdsEjANy86QJnwSMArrzpAgEAbwZ4CuwT",
|
|
137
|
+
"distance": 5.23254,
|
|
138
|
+
"name": "Rue Bergère",
|
|
139
|
+
"location": [
|
|
140
|
+
2.343286,
|
|
141
|
+
48.872668
|
|
142
|
+
]
|
|
143
|
+
}
|
|
144
|
+
]
|
|
145
|
+
}
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
{
|
|
2
|
+
"code": "Ok",
|
|
3
|
+
"routes": [
|
|
4
|
+
{
|
|
5
|
+
"geometry": {
|
|
6
|
+
"coordinates": [
|
|
7
|
+
[
|
|
8
|
+
2.343447,
|
|
9
|
+
48.872645
|
|
10
|
+
],
|
|
11
|
+
[
|
|
12
|
+
2.343243,
|
|
13
|
+
48.872674
|
|
14
|
+
],
|
|
15
|
+
[
|
|
16
|
+
2.343126,
|
|
17
|
+
48.87269
|
|
18
|
+
],
|
|
19
|
+
[
|
|
20
|
+
2.343135,
|
|
21
|
+
48.872638
|
|
22
|
+
]
|
|
23
|
+
],
|
|
24
|
+
"type": "LineString"
|
|
25
|
+
},
|
|
26
|
+
"legs": [
|
|
27
|
+
{
|
|
28
|
+
"steps": [
|
|
29
|
+
{
|
|
30
|
+
"intersections": [
|
|
31
|
+
{
|
|
32
|
+
"out": 0,
|
|
33
|
+
"entry": [
|
|
34
|
+
true
|
|
35
|
+
],
|
|
36
|
+
"bearings": [
|
|
37
|
+
282
|
|
38
|
+
],
|
|
39
|
+
"location": [
|
|
40
|
+
2.343447,
|
|
41
|
+
48.872645
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"driving_side": "right",
|
|
46
|
+
"geometry": {
|
|
47
|
+
"coordinates": [
|
|
48
|
+
[
|
|
49
|
+
2.343447,
|
|
50
|
+
48.872645
|
|
51
|
+
],
|
|
52
|
+
[
|
|
53
|
+
2.343243,
|
|
54
|
+
48.872674
|
|
55
|
+
],
|
|
56
|
+
[
|
|
57
|
+
2.343126,
|
|
58
|
+
48.87269
|
|
59
|
+
]
|
|
60
|
+
],
|
|
61
|
+
"type": "LineString"
|
|
62
|
+
},
|
|
63
|
+
"mode": "walking",
|
|
64
|
+
"duration": 19.2,
|
|
65
|
+
"maneuver": {
|
|
66
|
+
"bearing_after": 282,
|
|
67
|
+
"location": [
|
|
68
|
+
2.343447,
|
|
69
|
+
48.872645
|
|
70
|
+
],
|
|
71
|
+
"bearing_before": 0,
|
|
72
|
+
"type": "depart"
|
|
73
|
+
},
|
|
74
|
+
"weight": 19.2,
|
|
75
|
+
"distance": 24,
|
|
76
|
+
"name": "Rue Bergère"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"intersections": [
|
|
80
|
+
{
|
|
81
|
+
"out": 2,
|
|
82
|
+
"location": [
|
|
83
|
+
2.343126,
|
|
84
|
+
48.87269
|
|
85
|
+
],
|
|
86
|
+
"bearings": [
|
|
87
|
+
0,
|
|
88
|
+
105,
|
|
89
|
+
180
|
|
90
|
+
],
|
|
91
|
+
"entry": [
|
|
92
|
+
true,
|
|
93
|
+
false,
|
|
94
|
+
true
|
|
95
|
+
],
|
|
96
|
+
"in": 1
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
"driving_side": "right",
|
|
100
|
+
"geometry": {
|
|
101
|
+
"coordinates": [
|
|
102
|
+
[
|
|
103
|
+
2.343126,
|
|
104
|
+
48.87269
|
|
105
|
+
],
|
|
106
|
+
[
|
|
107
|
+
2.343135,
|
|
108
|
+
48.872638
|
|
109
|
+
]
|
|
110
|
+
],
|
|
111
|
+
"type": "LineString"
|
|
112
|
+
},
|
|
113
|
+
"mode": "walking",
|
|
114
|
+
"duration": 4.3,
|
|
115
|
+
"maneuver": {
|
|
116
|
+
"bearing_after": 174,
|
|
117
|
+
"type": "turn",
|
|
118
|
+
"modifier": "left",
|
|
119
|
+
"bearing_before": 281,
|
|
120
|
+
"location": [
|
|
121
|
+
2.343126,
|
|
122
|
+
48.87269
|
|
123
|
+
]
|
|
124
|
+
},
|
|
125
|
+
"weight": 4.3,
|
|
126
|
+
"distance": 5.8,
|
|
127
|
+
"name": "Rue du Faubourg Montmartre"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"intersections": [
|
|
131
|
+
{
|
|
132
|
+
"in": 0,
|
|
133
|
+
"entry": [
|
|
134
|
+
true
|
|
135
|
+
],
|
|
136
|
+
"bearings": [
|
|
137
|
+
354
|
|
138
|
+
],
|
|
139
|
+
"location": [
|
|
140
|
+
2.343135,
|
|
141
|
+
48.872638
|
|
142
|
+
]
|
|
143
|
+
}
|
|
144
|
+
],
|
|
145
|
+
"driving_side": "right",
|
|
146
|
+
"geometry": {
|
|
147
|
+
"coordinates": [
|
|
148
|
+
[
|
|
149
|
+
2.343135,
|
|
150
|
+
48.872638
|
|
151
|
+
],
|
|
152
|
+
[
|
|
153
|
+
2.343135,
|
|
154
|
+
48.872638
|
|
155
|
+
]
|
|
156
|
+
],
|
|
157
|
+
"type": "LineString"
|
|
158
|
+
},
|
|
159
|
+
"mode": "walking",
|
|
160
|
+
"duration": 0,
|
|
161
|
+
"maneuver": {
|
|
162
|
+
"bearing_after": 0,
|
|
163
|
+
"location": [
|
|
164
|
+
2.343135,
|
|
165
|
+
48.872638
|
|
166
|
+
],
|
|
167
|
+
"bearing_before": 174,
|
|
168
|
+
"type": "arrive"
|
|
169
|
+
},
|
|
170
|
+
"weight": 0,
|
|
171
|
+
"distance": 0,
|
|
172
|
+
"name": "Rue du Faubourg Montmartre"
|
|
173
|
+
}
|
|
174
|
+
],
|
|
175
|
+
"distance": 29.8,
|
|
176
|
+
"duration": 23.5,
|
|
177
|
+
"summary": "Rue Bergère, Rue du Faubourg Montmartre",
|
|
178
|
+
"weight": 23.5
|
|
179
|
+
}
|
|
180
|
+
],
|
|
181
|
+
"distance": 29.8,
|
|
182
|
+
"duration": 23.5,
|
|
183
|
+
"weight_name": "duration",
|
|
184
|
+
"weight": 23.5
|
|
185
|
+
}
|
|
186
|
+
],
|
|
187
|
+
"waypoints": [
|
|
188
|
+
{
|
|
189
|
+
"hint": "PPC2gd_8MoBtAAAA-AIAAD8AAACeAgAAOu90Qb1a00KRPgxBXp-6Qm0AAAD4AgAAPwAAAJ4CAAADAAAAF8IjAMW86QIZwiMAy7zpAgEAbwZ4CuwT",
|
|
190
|
+
"distance": 0.683183,
|
|
191
|
+
"name": "Rue Bergère",
|
|
192
|
+
"location": [
|
|
193
|
+
2.343447,
|
|
194
|
+
48.872645
|
|
195
|
+
]
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"hint": "K_C2gTvwtoEQAAAAKwAAAJMDAAAAAAAA7h8WQEJAukATFP5CAAAAABAAAAArAAAAkwMAAAAAAAADAAAA38AjAL686QL-wCMAwLzpAgUAHxZ4CuwT",
|
|
199
|
+
"distance": 2.28492,
|
|
200
|
+
"name": "Rue du Faubourg Montmartre",
|
|
201
|
+
"location": [
|
|
202
|
+
2.343135,
|
|
203
|
+
48.872638
|
|
204
|
+
]
|
|
205
|
+
}
|
|
206
|
+
]
|
|
207
|
+
}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
{
|
|
2
|
+
"routerName": [
|
|
3
|
+
"wemap-meta",
|
|
4
|
+
"wemap"
|
|
5
|
+
],
|
|
6
|
+
"from": [
|
|
7
|
+
48.8725992,
|
|
8
|
+
2.343431
|
|
9
|
+
],
|
|
10
|
+
"to": [
|
|
11
|
+
48.8725694,
|
|
12
|
+
2.3433
|
|
13
|
+
],
|
|
14
|
+
"itineraries": [
|
|
15
|
+
{
|
|
16
|
+
"from": [
|
|
17
|
+
48.8725992,
|
|
18
|
+
2.343431
|
|
19
|
+
],
|
|
20
|
+
"to": [
|
|
21
|
+
48.8725694,
|
|
22
|
+
2.3433
|
|
23
|
+
],
|
|
24
|
+
"distance": 13.06248469300833,
|
|
25
|
+
"duration": 9.404988978965996,
|
|
26
|
+
"mode": "WALK",
|
|
27
|
+
"legs": [
|
|
28
|
+
{
|
|
29
|
+
"mode": "WALK",
|
|
30
|
+
"from": {
|
|
31
|
+
"coords": [
|
|
32
|
+
48.8725992,
|
|
33
|
+
2.343431
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"to": {
|
|
37
|
+
"coords": [
|
|
38
|
+
48.8725694,
|
|
39
|
+
2.3433
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
"distance": 13.06248469300833,
|
|
43
|
+
"duration": 9.404988978965996,
|
|
44
|
+
"coords": [
|
|
45
|
+
[
|
|
46
|
+
48.87258947110776,
|
|
47
|
+
2.3434277129983445
|
|
48
|
+
],
|
|
49
|
+
[
|
|
50
|
+
48.87259587423,
|
|
51
|
+
2.34338390486
|
|
52
|
+
],
|
|
53
|
+
[
|
|
54
|
+
48.87258124098,
|
|
55
|
+
2.34333589031
|
|
56
|
+
],
|
|
57
|
+
[
|
|
58
|
+
48.87256546238,
|
|
59
|
+
2.3433422765
|
|
60
|
+
],
|
|
61
|
+
[
|
|
62
|
+
48.87256316665,
|
|
63
|
+
2.3432954559
|
|
64
|
+
],
|
|
65
|
+
[
|
|
66
|
+
48.87256893059131,
|
|
67
|
+
2.3432943496755994
|
|
68
|
+
]
|
|
69
|
+
],
|
|
70
|
+
"steps": [
|
|
71
|
+
{
|
|
72
|
+
"number": 1,
|
|
73
|
+
"coords": [
|
|
74
|
+
48.87258947110776,
|
|
75
|
+
2.3434277129983445
|
|
76
|
+
],
|
|
77
|
+
"angle": 1.5707971647295182,
|
|
78
|
+
"previousBearing": -2.922923490486779,
|
|
79
|
+
"nextBearing": -1.3521280016265034,
|
|
80
|
+
"distance": 3.2858236212074967,
|
|
81
|
+
"_idCoordsInLeg": 0,
|
|
82
|
+
"firstStep": true,
|
|
83
|
+
"duration": 2.3657930072693976
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"number": 2,
|
|
87
|
+
"coords": [
|
|
88
|
+
48.87259587423,
|
|
89
|
+
2.34338390486
|
|
90
|
+
],
|
|
91
|
+
"angle": -2.4890180243615894,
|
|
92
|
+
"previousBearing": -1.3521280016265034,
|
|
93
|
+
"nextBearing": -2.004702630854707,
|
|
94
|
+
"distance": 3.8746286577192963,
|
|
95
|
+
"_idCoordsInLeg": 1,
|
|
96
|
+
"duration": 2.789732633557893
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"number": 3,
|
|
100
|
+
"coords": [
|
|
101
|
+
48.87258124098,
|
|
102
|
+
2.34333589031
|
|
103
|
+
],
|
|
104
|
+
"angle": -1.744526282752689,
|
|
105
|
+
"previousBearing": -2.004702630854707,
|
|
106
|
+
"nextBearing": 2.8814163054877757,
|
|
107
|
+
"distance": 1.8176390154053135,
|
|
108
|
+
"_idCoordsInLeg": 2,
|
|
109
|
+
"duration": 1.3087000910918256
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"number": 4,
|
|
113
|
+
"coords": [
|
|
114
|
+
48.87256546238,
|
|
115
|
+
2.3433422765
|
|
116
|
+
],
|
|
117
|
+
"angle": 1.3850293864767702,
|
|
118
|
+
"previousBearing": 2.8814163054877757,
|
|
119
|
+
"nextBearing": -1.6452057345787876,
|
|
120
|
+
"distance": 3.43766235177327,
|
|
121
|
+
"_idCoordsInLeg": 3,
|
|
122
|
+
"duration": 2.4751168932767538
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"number": 5,
|
|
126
|
+
"coords": [
|
|
127
|
+
48.87256316665,
|
|
128
|
+
2.3432954559
|
|
129
|
+
],
|
|
130
|
+
"angle": 1.6219564343030943,
|
|
131
|
+
"previousBearing": -1.6452057345787876,
|
|
132
|
+
"nextBearing": -0.12556951529208848,
|
|
133
|
+
"distance": 0.6467310469029534,
|
|
134
|
+
"_idCoordsInLeg": 4,
|
|
135
|
+
"duration": 0.46564635377012564
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"number": 6,
|
|
139
|
+
"coords": [
|
|
140
|
+
48.87256893059131,
|
|
141
|
+
2.3432943496755994
|
|
142
|
+
],
|
|
143
|
+
"angle": 1.5708681716355168,
|
|
144
|
+
"previousBearing": -0.12556951529208848,
|
|
145
|
+
"nextBearing": 1.445154966662188,
|
|
146
|
+
"distance": 0.41699712165318115,
|
|
147
|
+
"_idCoordsInLeg": 5,
|
|
148
|
+
"lastStep": true
|
|
149
|
+
}
|
|
150
|
+
]
|
|
151
|
+
}
|
|
152
|
+
]
|
|
153
|
+
}
|
|
154
|
+
]
|
|
155
|
+
}
|