@wemap/routers 7.0.0 → 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.
@@ -0,0 +1,154 @@
1
+ {
2
+ "routerName": [
3
+ "wemap-meta",
4
+ "osrm",
5
+ "wemap"
6
+ ],
7
+ "from": [
8
+ 48.8725992,
9
+ 2.343431
10
+ ],
11
+ "to": [
12
+ 48.8726513,
13
+ 2.343449
14
+ ],
15
+ "itineraries": [
16
+ {
17
+ "from": [
18
+ 48.8725992,
19
+ 2.343431
20
+ ],
21
+ "to": [
22
+ 48.8726513,
23
+ 2.343449
24
+ ],
25
+ "distance": 24.658068219028713,
26
+ "duration": 17.641809117700674,
27
+ "mode": "WALK",
28
+ "legs": [
29
+ {
30
+ "mode": "WALK",
31
+ "from": {
32
+ "coords": [
33
+ 48.8725992,
34
+ 2.343431
35
+ ]
36
+ },
37
+ "to": {
38
+ "coords": [
39
+ 48.87262168252,
40
+ 2.34327125172
41
+ ]
42
+ },
43
+ "distance": 12.558068219028716,
44
+ "duration": 9.041809117700675,
45
+ "coords": [
46
+ [
47
+ 48.87258947110776,
48
+ 2.3434277129983445
49
+ ],
50
+ [
51
+ 48.87259587423,
52
+ 2.34338390486
53
+ ],
54
+ [
55
+ 48.87260236152,
56
+ 2.34329666635
57
+ ],
58
+ [
59
+ 48.87262168252,
60
+ 2.34327125172
61
+ ]
62
+ ],
63
+ "steps": [
64
+ {
65
+ "number": 1,
66
+ "coords": [
67
+ 48.87258947110776,
68
+ 2.3434277129983445
69
+ ],
70
+ "angle": 1.5707971647295182,
71
+ "previousBearing": -2.922923490486779,
72
+ "nextBearing": -1.3521280016265034,
73
+ "distance": 9.714015164011663,
74
+ "_idCoordsInLeg": 0,
75
+ "firstStep": true,
76
+ "duration": 6.994090918088396
77
+ },
78
+ {
79
+ "number": 2,
80
+ "coords": [
81
+ 48.87260236152,
82
+ 2.34329666635
83
+ ],
84
+ "angle": 2.396617182360001,
85
+ "previousBearing": -1.458215167261915,
86
+ "nextBearing": -0.7132396960321222,
87
+ "distance": 2.8440530550170537,
88
+ "_idCoordsInLeg": 2,
89
+ "duration": 2.0477181996122784
90
+ }
91
+ ]
92
+ },
93
+ {
94
+ "mode": "WALK",
95
+ "from": {
96
+ "coords": [
97
+ 48.872668,
98
+ 2.343286
99
+ ]
100
+ },
101
+ "to": {
102
+ "coords": [
103
+ 48.872645,
104
+ 2.343447
105
+ ]
106
+ },
107
+ "distance": 12.1,
108
+ "duration": 8.6,
109
+ "coords": [
110
+ [
111
+ 48.872668,
112
+ 2.343286
113
+ ],
114
+ [
115
+ 48.872645,
116
+ 2.343447
117
+ ]
118
+ ],
119
+ "steps": [
120
+ {
121
+ "number": 1,
122
+ "coords": [
123
+ 48.872668,
124
+ 2.343286
125
+ ],
126
+ "angle": 1.5633735524233547,
127
+ "previousBearing": 0.20645002690322387,
128
+ "nextBearing": 1.7846691280696625,
129
+ "distance": 12.1,
130
+ "_idCoordsInLeg": 0,
131
+ "duration": 8.6,
132
+ "name": "Rue Bergère"
133
+ },
134
+ {
135
+ "number": 2,
136
+ "coords": [
137
+ 48.872645,
138
+ 2.343447
139
+ ],
140
+ "angle": -1.5627706491976276,
141
+ "previousBearing": 1.7846691280696625,
142
+ "nextBearing": 0.20584712367749708,
143
+ "distance": 0,
144
+ "_idCoordsInLeg": 1,
145
+ "lastStep": true,
146
+ "duration": 0,
147
+ "name": "Rue Bergère"
148
+ }
149
+ ]
150
+ }
151
+ ]
152
+ }
153
+ ]
154
+ }
@@ -0,0 +1,179 @@
1
+ {
2
+ "routerName": [
3
+ "wemap-meta",
4
+ "osrm",
5
+ "wemap"
6
+ ],
7
+ "from": [
8
+ 48.8726085,
9
+ 2.3434289
10
+ ],
11
+ "to": [
12
+ 48.8725694,
13
+ 2.3433
14
+ ],
15
+ "itineraries": [
16
+ {
17
+ "from": [
18
+ 48.8726085,
19
+ 2.3434289
20
+ ],
21
+ "to": [
22
+ 48.8725694,
23
+ 2.3433
24
+ ],
25
+ "distance": 18.278520725857963,
26
+ "duration": 13.108534922617736,
27
+ "mode": "WALK",
28
+ "legs": [
29
+ {
30
+ "mode": "WALK",
31
+ "from": {
32
+ "coords": [
33
+ 48.872645,
34
+ 2.343441
35
+ ]
36
+ },
37
+ "to": {
38
+ "coords": [
39
+ 48.872668,
40
+ 2.343286
41
+ ]
42
+ },
43
+ "distance": 11.6,
44
+ "duration": 8.3,
45
+ "coords": [
46
+ [
47
+ 48.872645,
48
+ 2.343441
49
+ ],
50
+ [
51
+ 48.872668,
52
+ 2.343286
53
+ ]
54
+ ],
55
+ "steps": [
56
+ {
57
+ "number": 1,
58
+ "coords": [
59
+ 48.872645,
60
+ 2.343441
61
+ ],
62
+ "angle": -1.5780023857062773,
63
+ "previousBearing": 0.21468349401263523,
64
+ "nextBearing": -1.3489067738708806,
65
+ "distance": 11.6,
66
+ "_idCoordsInLeg": 0,
67
+ "firstStep": true,
68
+ "duration": 8.3,
69
+ "name": "Rue Bergère"
70
+ },
71
+ {
72
+ "number": 2,
73
+ "coords": [
74
+ 48.872668,
75
+ 2.343286
76
+ ],
77
+ "angle": -1.5553569946464223,
78
+ "previousBearing": -1.3489067738708806,
79
+ "nextBearing": -2.9351424328142515,
80
+ "distance": 0,
81
+ "_idCoordsInLeg": 1,
82
+ "duration": 0,
83
+ "name": "Rue Bergère"
84
+ }
85
+ ]
86
+ },
87
+ {
88
+ "mode": "WALK",
89
+ "from": {
90
+ "coords": [
91
+ 48.87262168252,
92
+ 2.34327125172
93
+ ]
94
+ },
95
+ "to": {
96
+ "coords": [
97
+ 48.8725694,
98
+ 2.3433
99
+ ]
100
+ },
101
+ "distance": 6.678520725857964,
102
+ "duration": 4.808534922617734,
103
+ "coords": [
104
+ [
105
+ 48.87262168252,
106
+ 2.34327125172
107
+ ],
108
+ [
109
+ 48.87260236152,
110
+ 2.34329666635
111
+ ],
112
+ [
113
+ 48.87259140004,
114
+ 2.34329003417
115
+ ],
116
+ [
117
+ 48.87256893059131,
118
+ 2.3432943496755994
119
+ ]
120
+ ],
121
+ "steps": [
122
+ {
123
+ "number": 1,
124
+ "coords": [
125
+ 48.87262168252,
126
+ 2.34327125172
127
+ ],
128
+ "angle": 0.7132400301476081,
129
+ "previousBearing": 0,
130
+ "nextBearing": 2.4283526234421853,
131
+ "distance": 2.8440530550170537,
132
+ "_idCoordsInLeg": 0,
133
+ "duration": 2.047718199612279
134
+ },
135
+ {
136
+ "number": 2,
137
+ "coords": [
138
+ 48.87260236152,
139
+ 2.34329666635
140
+ ],
141
+ "angle": 2.0496068325858197,
142
+ "previousBearing": 2.4283526234421853,
143
+ "nextBearing": -2.7628468627334275,
144
+ "distance": 1.3133011641421628,
145
+ "_idCoordsInLeg": 1,
146
+ "duration": 0.9455768381823573
147
+ },
148
+ {
149
+ "number": 3,
150
+ "coords": [
151
+ 48.87259140004,
152
+ 2.34329003417
153
+ ],
154
+ "angle": -2.637187025030076,
155
+ "previousBearing": -2.7628468627334275,
156
+ "nextBearing": 3.0159328158864414,
157
+ "distance": 2.521166506698747,
158
+ "_idCoordsInLeg": 2,
159
+ "duration": 1.815239884823098
160
+ },
161
+ {
162
+ "number": 4,
163
+ "coords": [
164
+ 48.87256893059131,
165
+ 2.3432943496755994
166
+ ],
167
+ "angle": -1.5708148043655399,
168
+ "previousBearing": 3.0159328158864414,
169
+ "nextBearing": 1.445154966662188,
170
+ "distance": 0.41699712165318115,
171
+ "_idCoordsInLeg": 3,
172
+ "lastStep": true
173
+ }
174
+ ]
175
+ }
176
+ ]
177
+ }
178
+ ]
179
+ }
@@ -0,0 +1,109 @@
1
+ {
2
+ "routerName": "osrm",
3
+ "from": [
4
+ 48.8726513,
5
+ 2.343449
6
+ ],
7
+ "to": [
8
+ 48.8726397,
9
+ 2.3431657
10
+ ],
11
+ "itineraries": [
12
+ {
13
+ "from": [
14
+ 48.8726513,
15
+ 2.343449
16
+ ],
17
+ "to": [
18
+ 48.8726397,
19
+ 2.3431657
20
+ ],
21
+ "distance": 29.8,
22
+ "duration": 23.5,
23
+ "mode": "WALK",
24
+ "legs": [
25
+ {
26
+ "mode": "WALK",
27
+ "from": {
28
+ "coords": [
29
+ 48.872645,
30
+ 2.343447
31
+ ]
32
+ },
33
+ "to": {
34
+ "coords": [
35
+ 48.872638,
36
+ 2.343135
37
+ ]
38
+ },
39
+ "distance": 29.8,
40
+ "duration": 23.5,
41
+ "coords": [
42
+ [
43
+ 48.872645,
44
+ 2.343447
45
+ ],
46
+ [
47
+ 48.872674,
48
+ 2.343243
49
+ ],
50
+ [
51
+ 48.87269,
52
+ 2.343126
53
+ ],
54
+ [
55
+ 48.872638,
56
+ 2.343135
57
+ ]
58
+ ],
59
+ "steps": [
60
+ {
61
+ "number": 1,
62
+ "coords": [
63
+ 48.872645,
64
+ 2.343447
65
+ ],
66
+ "angle": 1.5637852097217906,
67
+ "previousBearing": -2.9357455037073006,
68
+ "nextBearing": -1.3579380598392976,
69
+ "distance": 24,
70
+ "_idCoordsInLeg": 0,
71
+ "firstStep": true,
72
+ "duration": 19.2,
73
+ "name": "Rue Bergère"
74
+ },
75
+ {
76
+ "number": 2,
77
+ "coords": [
78
+ 48.87269,
79
+ 2.343126
80
+ ],
81
+ "angle": -1.2524513977846519,
82
+ "previousBearing": -1.365802188710504,
83
+ "nextBearing": 3.0282418626639407,
84
+ "distance": 5.8,
85
+ "_idCoordsInLeg": 2,
86
+ "duration": 4.3,
87
+ "name": "Rue du Faubourg Montmartre"
88
+ },
89
+ {
90
+ "number": 3,
91
+ "coords": [
92
+ 48.872638,
93
+ 2.343135
94
+ ],
95
+ "angle": -1.6001551665540745,
96
+ "previousBearing": 3.0282418626639407,
97
+ "nextBearing": 1.486804375628222,
98
+ "distance": 0,
99
+ "_idCoordsInLeg": 3,
100
+ "lastStep": true,
101
+ "duration": 0,
102
+ "name": "Rue du Faubourg Montmartre"
103
+ }
104
+ ]
105
+ }
106
+ ]
107
+ }
108
+ ]
109
+ }