@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,145 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,262 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"routerName": [
|
|
3
|
-
"wemap-meta",
|
|
4
|
-
"wemap"
|
|
5
|
-
],
|
|
6
|
-
"origin": [
|
|
7
|
-
43.6091851,
|
|
8
|
-
3.8841386,
|
|
9
|
-
1.5999999999999996,
|
|
10
|
-
2
|
|
11
|
-
],
|
|
12
|
-
"destination": [
|
|
13
|
-
43.6093145,
|
|
14
|
-
3.8842585,
|
|
15
|
-
0,
|
|
16
|
-
1
|
|
17
|
-
],
|
|
18
|
-
"itineraries": [
|
|
19
|
-
{
|
|
20
|
-
"origin": [
|
|
21
|
-
43.6091851,
|
|
22
|
-
3.8841386,
|
|
23
|
-
1.5999999999999996,
|
|
24
|
-
2
|
|
25
|
-
],
|
|
26
|
-
"destination": [
|
|
27
|
-
43.6093145,
|
|
28
|
-
3.8842585,
|
|
29
|
-
0,
|
|
30
|
-
1
|
|
31
|
-
],
|
|
32
|
-
"distance": 42.54181917885857,
|
|
33
|
-
"duration": 30.630109808778165,
|
|
34
|
-
"mode": "WALK",
|
|
35
|
-
"legs": [
|
|
36
|
-
{
|
|
37
|
-
"mode": "WALK",
|
|
38
|
-
"start": {
|
|
39
|
-
"coords": [
|
|
40
|
-
43.6091851,
|
|
41
|
-
3.8841386,
|
|
42
|
-
1.5999999999999996,
|
|
43
|
-
2
|
|
44
|
-
]
|
|
45
|
-
},
|
|
46
|
-
"end": {
|
|
47
|
-
"coords": [
|
|
48
|
-
43.6093145,
|
|
49
|
-
3.8842585,
|
|
50
|
-
0,
|
|
51
|
-
1
|
|
52
|
-
]
|
|
53
|
-
},
|
|
54
|
-
"distance": 42.54181917885857,
|
|
55
|
-
"duration": 30.630109808778165,
|
|
56
|
-
"coords": [
|
|
57
|
-
[
|
|
58
|
-
43.60918687807148,
|
|
59
|
-
3.884139117496946,
|
|
60
|
-
1.5999999999999996,
|
|
61
|
-
2
|
|
62
|
-
],
|
|
63
|
-
[
|
|
64
|
-
43.60917494597,
|
|
65
|
-
3.88421731753,
|
|
66
|
-
null,
|
|
67
|
-
2
|
|
68
|
-
],
|
|
69
|
-
[
|
|
70
|
-
43.60927603206,
|
|
71
|
-
3.88424673798,
|
|
72
|
-
null,
|
|
73
|
-
2
|
|
74
|
-
],
|
|
75
|
-
[
|
|
76
|
-
43.60929353543,
|
|
77
|
-
3.88425183223,
|
|
78
|
-
null,
|
|
79
|
-
2
|
|
80
|
-
],
|
|
81
|
-
[
|
|
82
|
-
43.60930219142,
|
|
83
|
-
3.88427017086,
|
|
84
|
-
null,
|
|
85
|
-
2
|
|
86
|
-
],
|
|
87
|
-
[
|
|
88
|
-
43.60931231268,
|
|
89
|
-
3.8842731166,
|
|
90
|
-
null,
|
|
91
|
-
2
|
|
92
|
-
],
|
|
93
|
-
[
|
|
94
|
-
43.60932336323,
|
|
95
|
-
3.884200898,
|
|
96
|
-
null,
|
|
97
|
-
2
|
|
98
|
-
],
|
|
99
|
-
[
|
|
100
|
-
43.6093629216,
|
|
101
|
-
3.884212726,
|
|
102
|
-
null,
|
|
103
|
-
[
|
|
104
|
-
1,
|
|
105
|
-
2
|
|
106
|
-
]
|
|
107
|
-
],
|
|
108
|
-
[
|
|
109
|
-
43.60935965678,
|
|
110
|
-
3.8842335535,
|
|
111
|
-
null,
|
|
112
|
-
[
|
|
113
|
-
1,
|
|
114
|
-
2
|
|
115
|
-
]
|
|
116
|
-
],
|
|
117
|
-
[
|
|
118
|
-
43.60932022256,
|
|
119
|
-
3.88422176261,
|
|
120
|
-
null,
|
|
121
|
-
1
|
|
122
|
-
],
|
|
123
|
-
[
|
|
124
|
-
43.60931456597898,
|
|
125
|
-
3.884258519367876,
|
|
126
|
-
0,
|
|
127
|
-
1
|
|
128
|
-
]
|
|
129
|
-
],
|
|
130
|
-
"steps": [
|
|
131
|
-
{
|
|
132
|
-
"number": 1,
|
|
133
|
-
"coords": [
|
|
134
|
-
43.60918687807148,
|
|
135
|
-
3.884139117496946,
|
|
136
|
-
1.5999999999999996,
|
|
137
|
-
2
|
|
138
|
-
],
|
|
139
|
-
"angle": 1.570796452892035,
|
|
140
|
-
"previousBearing": 0.20769475566724294,
|
|
141
|
-
"nextBearing": 1.7784909563650013,
|
|
142
|
-
"distance": 6.441526226002801,
|
|
143
|
-
"_idCoordsInLeg": 0,
|
|
144
|
-
"firstStep": true,
|
|
145
|
-
"duration": 4.637898882722017
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
"number": 2,
|
|
149
|
-
"coords": [
|
|
150
|
-
43.60917494597,
|
|
151
|
-
3.88421731753,
|
|
152
|
-
null,
|
|
153
|
-
2
|
|
154
|
-
],
|
|
155
|
-
"angle": -1.5707958396207153,
|
|
156
|
-
"previousBearing": 1.7784909563650013,
|
|
157
|
-
"nextBearing": 0.20769414239592354,
|
|
158
|
-
"distance": 13.491259592782844,
|
|
159
|
-
"_idCoordsInLeg": 1,
|
|
160
|
-
"duration": 9.71370690680365
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
"number": 3,
|
|
164
|
-
"coords": [
|
|
165
|
-
43.60929353543,
|
|
166
|
-
3.88425183223,
|
|
167
|
-
null,
|
|
168
|
-
2
|
|
169
|
-
],
|
|
170
|
-
"angle": 2.3561946292270304,
|
|
171
|
-
"previousBearing": 0.20769440021825977,
|
|
172
|
-
"nextBearing": 0.9930924245810223,
|
|
173
|
-
"distance": 1.764470280281753,
|
|
174
|
-
"_idCoordsInLeg": 3,
|
|
175
|
-
"duration": 1.2704186018028611
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
"number": 4,
|
|
179
|
-
"coords": [
|
|
180
|
-
43.60930219142,
|
|
181
|
-
3.88427017086,
|
|
182
|
-
null,
|
|
183
|
-
2
|
|
184
|
-
],
|
|
185
|
-
"angle": -2.35619514761237,
|
|
186
|
-
"previousBearing": 0.9930924245810223,
|
|
187
|
-
"nextBearing": 0.20769491860359898,
|
|
188
|
-
"distance": 1.1514392872995367,
|
|
189
|
-
"_idCoordsInLeg": 4,
|
|
190
|
-
"duration": 0.8290362868556649
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
"number": 5,
|
|
194
|
-
"coords": [
|
|
195
|
-
43.60931231268,
|
|
196
|
-
3.8842731166,
|
|
197
|
-
null,
|
|
198
|
-
2
|
|
199
|
-
],
|
|
200
|
-
"angle": -1.571367193550253,
|
|
201
|
-
"previousBearing": 0.20769491860359898,
|
|
202
|
-
"nextBearing": -1.3625305414359412,
|
|
203
|
-
"distance": 5.9495234765598815,
|
|
204
|
-
"_idCoordsInLeg": 5,
|
|
205
|
-
"duration": 4.283656903123116
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
"number": 6,
|
|
209
|
-
"coords": [
|
|
210
|
-
43.60932336323,
|
|
211
|
-
3.884200898,
|
|
212
|
-
null,
|
|
213
|
-
2
|
|
214
|
-
],
|
|
215
|
-
"angle": 1.5658578729882155,
|
|
216
|
-
"previousBearing": -1.3625305414359412,
|
|
217
|
-
"nextBearing": 0.213204239165637,
|
|
218
|
-
"distance": 10.714755603461356,
|
|
219
|
-
"_idCoordsInLeg": 6,
|
|
220
|
-
"duration": 7.714624034492179,
|
|
221
|
-
"levelChange": {
|
|
222
|
-
"direction": "down",
|
|
223
|
-
"difference": -1,
|
|
224
|
-
"type": "stairs"
|
|
225
|
-
}
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
"number": 7,
|
|
229
|
-
"coords": [
|
|
230
|
-
43.60932022256,
|
|
231
|
-
3.88422176261,
|
|
232
|
-
null,
|
|
233
|
-
1
|
|
234
|
-
],
|
|
235
|
-
"angle": -1.567016008190605,
|
|
236
|
-
"previousBearing": -2.928388068274625,
|
|
237
|
-
"nextBearing": 1.780220593505773,
|
|
238
|
-
"distance": 3.0288447124703852,
|
|
239
|
-
"_idCoordsInLeg": 9,
|
|
240
|
-
"duration": 2.180768192978679
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
"number": 8,
|
|
244
|
-
"coords": [
|
|
245
|
-
43.60931456597898,
|
|
246
|
-
3.884258519367876,
|
|
247
|
-
0,
|
|
248
|
-
1
|
|
249
|
-
],
|
|
250
|
-
"angle": 1.570792167125268,
|
|
251
|
-
"previousBearing": 1.780220593505773,
|
|
252
|
-
"nextBearing": -2.932164227209288,
|
|
253
|
-
"distance": 0.007508814013397345,
|
|
254
|
-
"_idCoordsInLeg": 10,
|
|
255
|
-
"lastStep": true
|
|
256
|
-
}
|
|
257
|
-
]
|
|
258
|
-
}
|
|
259
|
-
]
|
|
260
|
-
}
|
|
261
|
-
]
|
|
262
|
-
}
|
|
@@ -1,145 +0,0 @@
|
|
|
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
|
-
}
|