@wemap/routers 12.8.9 → 12.9.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/itinerary-info-two-points-proj.osm +21 -15
- package/assets/itinerary-info-two-points.osm +2 -2
- package/assets/itinerary-lemans-navitia.json +7768 -0
- package/assets/network-escalators.osm +50 -0
- package/dist/index.js +407 -55
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +407 -55
- package/dist/index.mjs.map +1 -1
- package/index.ts +1 -0
- package/package.json +2 -2
- package/src/ItineraryInfoManager.spec.ts +30 -27
- package/src/ItineraryInfoManager.ts +43 -9
- package/src/RoutingError.ts +6 -2
- package/src/StatusCode.ts +2 -1
- package/src/graph/GraphRoute.ts +1 -1
- package/src/model/Itinerary.ts +13 -15
- package/src/remote/RemoteRouterManager.ts +2 -0
- package/src/remote/cityway/CitywayRemoteRouter.spec.ts +1 -1
- package/src/remote/deutsche-bahn/DeutscheBahnRemoteRouter.spec.ts +2 -2
- package/src/remote/geovelo/GeoveloRemoteRouter.spec.ts +2 -2
- package/src/remote/navitia/NavitiaRemoteRouter.spec.ts +116 -0
- package/src/remote/navitia/NavitiaRemoteRouter.ts +445 -0
- package/src/remote/navitia/types.ts +73 -0
- package/src/remote/osrm/OsrmRemoteRouter.spec.ts +1 -1
- package/src/wemap-multi/CustomGraphMap.ts +2 -1
|
@@ -1,32 +1,38 @@
|
|
|
1
1
|
<?xml version='1.0' encoding='UTF-8'?>
|
|
2
2
|
<osm version='0.6' generator='JOSM'>
|
|
3
|
-
<node id='-
|
|
3
|
+
<node id='-1617378013972158' action='modify' visible='true' lat='43.60917006758' lon='3.88425549985'>
|
|
4
4
|
<tag k='name' v='position 1' />
|
|
5
5
|
</node>
|
|
6
|
-
<node id='-
|
|
6
|
+
<node id='-1617378013972159' action='modify' visible='true' lat='43.60911942643' lon='3.88422017836'>
|
|
7
7
|
<tag k='name' v='n2' />
|
|
8
8
|
</node>
|
|
9
|
-
<node id='-
|
|
9
|
+
<node id='-1617378013972160' action='modify' visible='true' lat='43.609172167' lon='3.88423552813'>
|
|
10
10
|
<tag k='name' v='n1' />
|
|
11
11
|
</node>
|
|
12
|
-
<node id='-
|
|
12
|
+
<node id='-1617378013972161' action='modify' visible='true' lat='43.60915386783' lon='3.88424424839'>
|
|
13
13
|
<tag k='name' v='position 2' />
|
|
14
14
|
</node>
|
|
15
|
-
<node id='-
|
|
15
|
+
<node id='-1617378013972162' action='modify' visible='true' lat='43.60911497818' lon='3.88423496726'>
|
|
16
16
|
<tag k='name' v='position 3' />
|
|
17
17
|
</node>
|
|
18
|
-
<node id='-
|
|
19
|
-
<tag k='name' v='
|
|
18
|
+
<node id='-1617378013972163' action='modify' visible='true' lat='43.60916653365' lon='3.88424386215'>
|
|
19
|
+
<tag k='name' v='origin' />
|
|
20
20
|
</node>
|
|
21
|
-
<node id='-
|
|
22
|
-
<tag k='name' v='
|
|
21
|
+
<node id='-1617378013972164' action='modify' visible='true' lat='43.60912432623' lon='3.88423287343'>
|
|
22
|
+
<tag k='name' v='destination' />
|
|
23
23
|
</node>
|
|
24
|
-
<node id='-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
<
|
|
28
|
-
<
|
|
29
|
-
|
|
24
|
+
<node id='-1617378013972165' action='modify' visible='true' lat='43.60916799079' lon='3.88423431239'>
|
|
25
|
+
<tag k='name' v='porigin' />
|
|
26
|
+
</node>
|
|
27
|
+
<node id='-1617378013972166' action='modify' visible='true' lat='43.60912597256' lon='3.88422208356'>
|
|
28
|
+
<tag k='name' v='pdest' />
|
|
29
|
+
</node>
|
|
30
|
+
<node id='-1617378013972169' action='modify' visible='true' lat='43.60915590092' lon='3.884230794'>
|
|
31
|
+
<tag k='name' v='p2' />
|
|
32
|
+
</node>
|
|
33
|
+
<way id='-1617378013259620' action='modify' visible='true'>
|
|
34
|
+
<nd ref='-1617378013972160' />
|
|
35
|
+
<nd ref='-1617378013972159' />
|
|
30
36
|
<tag k='highway' v='footway' />
|
|
31
37
|
<tag k='name' v='w1' />
|
|
32
38
|
</way>
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
<tag k='name' v='position 1' />
|
|
5
5
|
</node>
|
|
6
6
|
<node id='-441312' action='modify' visible='true' lat='43.60911942643' lon='3.88422017836'>
|
|
7
|
-
<tag k='name' v='
|
|
7
|
+
<tag k='name' v='destination' />
|
|
8
8
|
</node>
|
|
9
9
|
<node id='-441313' action='modify' visible='true' lat='43.609172167' lon='3.88423552813'>
|
|
10
|
-
<tag k='name' v='
|
|
10
|
+
<tag k='name' v='origin' />
|
|
11
11
|
</node>
|
|
12
12
|
<node id='-441374' action='modify' visible='true' lat='43.6091434056' lon='3.88424362043'>
|
|
13
13
|
<tag k='name' v='position 2' />
|