@wemap/routers 6.2.3 → 7.0.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/dist/wemap-routers.es.js +3011 -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 +57 -0
- package/src/remote/wemap-meta/WemapMetaRemoteRouter.spec.js +22 -0
- package/src/remote/wemap-meta/WemapMetaRemoteRouterOptions.js +36 -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 +191 -0
- package/src/wemap-meta/WemapMetaRouter.js +314 -0
- package/src/wemap-meta/WemapMetaRouter.spec.js +119 -0
- package/src/wemap-meta/WemapMetaRouterOptions.js +20 -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,163 @@
|
|
|
1
|
+
<?xml version='1.0' encoding='UTF-8'?>
|
|
2
|
+
<osm version='0.6' generator='JOSM'>
|
|
3
|
+
<node id='-460666' action='modify' visible='true' lat='48.87260236152' lon='2.34329666635' />
|
|
4
|
+
<node id='-460667' action='modify' visible='true' lat='48.87250549777' lon='2.34328663305' />
|
|
5
|
+
<node id='-460668' action='modify' visible='true' lat='48.87254375114' lon='2.34328204154' />
|
|
6
|
+
<node id='-460669' action='modify' visible='true' lat='48.87256254226' lon='2.34328272177' />
|
|
7
|
+
<node id='-460670' action='modify' visible='true' lat='48.87256546238' lon='2.3433422765' />
|
|
8
|
+
<node id='-460671' action='modify' visible='true' lat='48.87249229923' lon='2.34346145052' />
|
|
9
|
+
<node id='-460672' action='modify' visible='true' lat='48.87250820089' lon='2.34335069759' />
|
|
10
|
+
<node id='-460673' action='modify' visible='true' lat='48.87250633659' lon='2.34330651324' />
|
|
11
|
+
<node id='-460674' action='modify' visible='true' lat='48.87249106885' lon='2.34330823015' />
|
|
12
|
+
<node id='-460675' action='modify' visible='true' lat='48.87248804885' lon='2.34333390859' />
|
|
13
|
+
<node id='-460676' action='modify' visible='true' lat='48.87250347283' lon='2.34338322091' />
|
|
14
|
+
<node id='-460677' action='modify' visible='true' lat='48.87247865327' lon='2.3433874762' />
|
|
15
|
+
<node id='-460678' action='modify' visible='true' lat='48.87246936955' lon='2.34345396806' />
|
|
16
|
+
<node id='-460679' action='modify' visible='true' lat='48.8725047148' lon='2.34346519175' />
|
|
17
|
+
<node id='-460680' action='modify' visible='true' lat='48.87252014738' lon='2.34328487468' />
|
|
18
|
+
<node id='-460681' action='modify' visible='true' lat='48.87252306794' lon='2.34334851119' />
|
|
19
|
+
<node id='-460682' action='modify' visible='true' lat='48.87254679656' lon='2.34334502157' />
|
|
20
|
+
<node id='-460683' action='modify' visible='true' lat='48.87255583689' lon='2.34334369207' />
|
|
21
|
+
<node id='-460684' action='modify' visible='true' lat='48.87255247559' lon='2.34338781631' />
|
|
22
|
+
<node id='-460685' action='modify' visible='true' lat='48.872553574' lon='2.34337339741' />
|
|
23
|
+
<node id='-460686' action='modify' visible='true' lat='48.87258124098' lon='2.34333589031' />
|
|
24
|
+
<node id='-460687' action='modify' visible='true' lat='48.8725647793' lon='2.34345056694' />
|
|
25
|
+
<node id='-460688' action='modify' visible='true' lat='48.87256316665' lon='2.3432954559' />
|
|
26
|
+
<node id='-460689' action='modify' visible='true' lat='48.87259140004' lon='2.34329003417' />
|
|
27
|
+
<node id='-460690' action='modify' visible='true' lat='48.87257537018' lon='2.34337678796' />
|
|
28
|
+
<node id='-460691' action='modify' visible='true' lat='48.87259587423' lon='2.34338390486' />
|
|
29
|
+
<node id='-460692' action='modify' visible='true' lat='48.87258513645' lon='2.34345736901' />
|
|
30
|
+
<node id='-460693' action='modify' visible='true' lat='48.87249947934' lon='2.34334343153' />
|
|
31
|
+
<node id='-460694' action='modify' visible='true' lat='48.87249408198' lon='2.34338483096' />
|
|
32
|
+
<node id='-460695' action='modify' visible='true' lat='48.8725017692' lon='2.34336624663' />
|
|
33
|
+
<node id='-460696' action='modify' visible='true' lat='48.87258943336' lon='2.34352007038' />
|
|
34
|
+
<node id='-460697' action='modify' visible='true' lat='48.87245061393' lon='2.34347443088' />
|
|
35
|
+
<node id='-460698' action='modify' visible='true' lat='48.8726203618' lon='2.3433075471' />
|
|
36
|
+
<node id='-460699' action='modify' visible='true' lat='48.87247787613' lon='2.34327167268' />
|
|
37
|
+
<node id='-460700' action='modify' visible='true' lat='48.87259588375' lon='2.34325390292' />
|
|
38
|
+
<node id='-460702' action='modify' visible='true' lat='48.87262168252' lon='2.34327125172'>
|
|
39
|
+
<tag k='wemap:routing-io' v='yes' />
|
|
40
|
+
</node>
|
|
41
|
+
<way id='-460630' action='modify' visible='true'>
|
|
42
|
+
<nd ref='-460666' />
|
|
43
|
+
<nd ref='-460686' />
|
|
44
|
+
<nd ref='-460670' />
|
|
45
|
+
<nd ref='-460683' />
|
|
46
|
+
<nd ref='-460682' />
|
|
47
|
+
<nd ref='-460681' />
|
|
48
|
+
<nd ref='-460672' />
|
|
49
|
+
<nd ref='-460673' />
|
|
50
|
+
<nd ref='-460667' />
|
|
51
|
+
<nd ref='-460680' />
|
|
52
|
+
<nd ref='-460668' />
|
|
53
|
+
<nd ref='-460669' />
|
|
54
|
+
<nd ref='-460688' />
|
|
55
|
+
<nd ref='-460670' />
|
|
56
|
+
<tag k='highway' v='footway' />
|
|
57
|
+
</way>
|
|
58
|
+
<way id='-460631' action='modify' visible='true'>
|
|
59
|
+
<nd ref='-460671' />
|
|
60
|
+
<nd ref='-460676' />
|
|
61
|
+
<nd ref='-460672' />
|
|
62
|
+
<tag k='highway' v='footway' />
|
|
63
|
+
</way>
|
|
64
|
+
<way id='-460632' action='modify' visible='true'>
|
|
65
|
+
<nd ref='-460673' />
|
|
66
|
+
<nd ref='-460674' />
|
|
67
|
+
<nd ref='-460675' />
|
|
68
|
+
<nd ref='-460693' />
|
|
69
|
+
<nd ref='-460672' />
|
|
70
|
+
<tag k='highway' v='footway' />
|
|
71
|
+
</way>
|
|
72
|
+
<way id='-460633' action='modify' visible='true'>
|
|
73
|
+
<nd ref='-460676' />
|
|
74
|
+
<nd ref='-460694' />
|
|
75
|
+
<nd ref='-460677' />
|
|
76
|
+
<nd ref='-460678' />
|
|
77
|
+
<nd ref='-460671' />
|
|
78
|
+
<tag k='highway' v='footway' />
|
|
79
|
+
</way>
|
|
80
|
+
<way id='-460634' action='modify' visible='true'>
|
|
81
|
+
<nd ref='-460671' />
|
|
82
|
+
<nd ref='-460679' />
|
|
83
|
+
<tag k='highway' v='footway' />
|
|
84
|
+
</way>
|
|
85
|
+
<way id='-460635' action='modify' visible='true'>
|
|
86
|
+
<nd ref='-460680' />
|
|
87
|
+
<nd ref='-460681' />
|
|
88
|
+
<tag k='highway' v='footway' />
|
|
89
|
+
</way>
|
|
90
|
+
<way id='-460636' action='modify' visible='true'>
|
|
91
|
+
<nd ref='-460668' />
|
|
92
|
+
<nd ref='-460682' />
|
|
93
|
+
<tag k='highway' v='footway' />
|
|
94
|
+
</way>
|
|
95
|
+
<way id='-460637' action='modify' visible='true'>
|
|
96
|
+
<nd ref='-460683' />
|
|
97
|
+
<nd ref='-460685' />
|
|
98
|
+
<nd ref='-460684' />
|
|
99
|
+
<nd ref='-460685' />
|
|
100
|
+
<tag k='highway' v='footway' />
|
|
101
|
+
</way>
|
|
102
|
+
<way id='-460638' action='modify' visible='true'>
|
|
103
|
+
<nd ref='-460685' />
|
|
104
|
+
<nd ref='-460681' />
|
|
105
|
+
<tag k='highway' v='footway' />
|
|
106
|
+
</way>
|
|
107
|
+
<way id='-460639' action='modify' visible='true'>
|
|
108
|
+
<nd ref='-460685' />
|
|
109
|
+
<nd ref='-460682' />
|
|
110
|
+
<tag k='highway' v='footway' />
|
|
111
|
+
</way>
|
|
112
|
+
<way id='-460640' action='modify' visible='true'>
|
|
113
|
+
<nd ref='-460691' />
|
|
114
|
+
<nd ref='-460686' />
|
|
115
|
+
<nd ref='-460690' />
|
|
116
|
+
<nd ref='-460687' />
|
|
117
|
+
<tag k='highway' v='footway' />
|
|
118
|
+
</way>
|
|
119
|
+
<way id='-460641' action='modify' visible='true'>
|
|
120
|
+
<nd ref='-460688' />
|
|
121
|
+
<nd ref='-460689' />
|
|
122
|
+
<nd ref='-460666' />
|
|
123
|
+
<tag k='highway' v='footway' />
|
|
124
|
+
</way>
|
|
125
|
+
<way id='-460642' action='modify' visible='true'>
|
|
126
|
+
<nd ref='-460690' />
|
|
127
|
+
<nd ref='-460691' />
|
|
128
|
+
<nd ref='-460692' />
|
|
129
|
+
<tag k='highway' v='footway' />
|
|
130
|
+
</way>
|
|
131
|
+
<way id='-460643' action='modify' visible='true'>
|
|
132
|
+
<nd ref='-460666' />
|
|
133
|
+
<nd ref='-460691' />
|
|
134
|
+
<tag k='highway' v='footway' />
|
|
135
|
+
</way>
|
|
136
|
+
<way id='-460644' action='modify' visible='true'>
|
|
137
|
+
<nd ref='-460676' />
|
|
138
|
+
<nd ref='-460695' />
|
|
139
|
+
<nd ref='-460693' />
|
|
140
|
+
<nd ref='-460694' />
|
|
141
|
+
<tag k='highway' v='footway' />
|
|
142
|
+
</way>
|
|
143
|
+
<way id='-460645' action='modify' visible='true'>
|
|
144
|
+
<nd ref='-460672' />
|
|
145
|
+
<nd ref='-460695' />
|
|
146
|
+
<nd ref='-460694' />
|
|
147
|
+
<tag k='highway' v='footway' />
|
|
148
|
+
</way>
|
|
149
|
+
<way id='-460646' action='modify' visible='true'>
|
|
150
|
+
<nd ref='-460700' />
|
|
151
|
+
<nd ref='-460698' />
|
|
152
|
+
<nd ref='-460696' />
|
|
153
|
+
<nd ref='-460697' />
|
|
154
|
+
<nd ref='-460699' />
|
|
155
|
+
<nd ref='-460700' />
|
|
156
|
+
<tag k='wemap:routing-bounds' v='yes' />
|
|
157
|
+
</way>
|
|
158
|
+
<way id='-460648' action='modify' visible='true'>
|
|
159
|
+
<nd ref='-460666' />
|
|
160
|
+
<nd ref='-460702' />
|
|
161
|
+
<tag k='highway' v='footway' />
|
|
162
|
+
</way>
|
|
163
|
+
</osm>
|