@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,174 +0,0 @@
|
|
|
1
|
-
<?xml version='1.0' encoding='UTF-8'?>
|
|
2
|
-
<osm version='0.6' generator='JOSM'>
|
|
3
|
-
<node id='-517853' action='modify' visible='true' lat='48.8446160213' lon='2.37196210021'>
|
|
4
|
-
<tag k='name' v='p5' />
|
|
5
|
-
</node>
|
|
6
|
-
<node id='-517854' action='modify' visible='true' lat='48.84459094139' lon='2.37200629832'>
|
|
7
|
-
<tag k='name' v='p13' />
|
|
8
|
-
</node>
|
|
9
|
-
<node id='-517855' action='modify' visible='true' lat='48.84484076717' lon='2.37172454529'>
|
|
10
|
-
<tag k='name' v='p14' />
|
|
11
|
-
</node>
|
|
12
|
-
<node id='-517856' action='modify' visible='true' lat='48.84482514548' lon='2.37169289522'>
|
|
13
|
-
<tag k='name' v='p15' />
|
|
14
|
-
</node>
|
|
15
|
-
<node id='-517857' action='modify' visible='true' lat='48.84447272937' lon='2.37213961713'>
|
|
16
|
-
<tag k='name' v='p17' />
|
|
17
|
-
</node>
|
|
18
|
-
<node id='-517858' action='modify' visible='true' lat='48.8445706698' lon='2.3719601573'>
|
|
19
|
-
<tag k='name' v='p12' />
|
|
20
|
-
</node>
|
|
21
|
-
<node id='-517859' action='modify' visible='true' lat='48.84420529552' lon='2.37269348149'>
|
|
22
|
-
<tag k='name' v='p20' />
|
|
23
|
-
</node>
|
|
24
|
-
<node id='-517860' action='modify' visible='true' lat='48.84458797362' lon='2.37234072564'>
|
|
25
|
-
<tag k='name' v='p18' />
|
|
26
|
-
</node>
|
|
27
|
-
<node id='-517861' action='modify' visible='true' lat='48.8448156136' lon='2.37167358331'>
|
|
28
|
-
<tag k='name' v='p16' />
|
|
29
|
-
</node>
|
|
30
|
-
<node id='-517862' action='modify' visible='true' lat='48.84417263969' lon='2.37257222525'>
|
|
31
|
-
<tag k='name' v='p19' />
|
|
32
|
-
</node>
|
|
33
|
-
<node id='-517863' action='modify' visible='true' lat='48.84466201501' lon='2.37186006326'>
|
|
34
|
-
<tag k='name' v='p4' />
|
|
35
|
-
</node>
|
|
36
|
-
<node id='-517864' action='modify' visible='true' lat='48.84456231196' lon='2.37194113366'>
|
|
37
|
-
<tag k='name' v='p11' />
|
|
38
|
-
</node>
|
|
39
|
-
<node id='-517865' action='modify' visible='true' lat='48.84445412307' lon='2.37216128192'>
|
|
40
|
-
<tag k='name' v='p6' />
|
|
41
|
-
</node>
|
|
42
|
-
<node id='1395307661' action='modify' timestamp='2019-09-19T15:44:48Z' uid='439947' user='StephaneP' visible='true' version='11' changeset='74681133' lat='48.8444657' lon='2.3720493'>
|
|
43
|
-
<tag k='access:RATP' v='yes' />
|
|
44
|
-
<tag k='level' v='-1' />
|
|
45
|
-
<tag k='name' v='p7' />
|
|
46
|
-
<tag k='railway' v='subway_entrance' />
|
|
47
|
-
<tag k='ref' v='13' />
|
|
48
|
-
<tag k='source' v='cadastre-dgi-fr source : Direction Générale des Impôts - Cadastre. Mise à jour : 2011' />
|
|
49
|
-
<tag k='wheelchair' v='no' />
|
|
50
|
-
</node>
|
|
51
|
-
<node id='1395307662' action='modify' timestamp='2019-09-19T15:44:48Z' uid='439947' user='StephaneP' visible='true' version='3' changeset='74681133' lat='48.8445534' lon='2.3719505'>
|
|
52
|
-
<tag k='name' v='p10' />
|
|
53
|
-
</node>
|
|
54
|
-
<node id='1395307663' action='modify' timestamp='2019-09-19T16:18:40Z' uid='439947' user='StephaneP' visible='true' version='12' changeset='74683089' lat='48.8446992' lon='2.3718257'>
|
|
55
|
-
<tag k='level' v='-1' />
|
|
56
|
-
<tag k='name' v='p3' />
|
|
57
|
-
<tag k='railway' v='subway_entrance' />
|
|
58
|
-
<tag k='ref' v='13' />
|
|
59
|
-
<tag k='source' v='cadastre-dgi-fr source : Direction Générale des Impôts - Cadastre. Mise à jour : 2011' />
|
|
60
|
-
<tag k='wheelchair' v='no' />
|
|
61
|
-
</node>
|
|
62
|
-
<node id='1395307664' action='modify' timestamp='2019-09-19T15:44:48Z' uid='439947' user='StephaneP' visible='true' version='3' changeset='74681133' lat='48.8448098' lon='2.3717096'>
|
|
63
|
-
<tag k='name' v='p2' />
|
|
64
|
-
</node>
|
|
65
|
-
<node id='4086374112' action='modify' timestamp='2019-09-19T16:18:40Z' uid='439947' user='StephaneP' visible='true' version='3' changeset='74683089' lat='48.8444961' lon='2.3720441'>
|
|
66
|
-
<tag k='access:RATP' v='yes' />
|
|
67
|
-
<tag k='level' v='-1' />
|
|
68
|
-
<tag k='name' v='p8' />
|
|
69
|
-
<tag k='railway' v='subway_entrance' />
|
|
70
|
-
<tag k='ref' v='13' />
|
|
71
|
-
<tag k='source' v='cadastre-dgi-fr source : Direction Générale des Impôts - Cadastre. Mise à jour : 2011' />
|
|
72
|
-
<tag k='wheelchair' v='no' />
|
|
73
|
-
</node>
|
|
74
|
-
<node id='4086374115' action='modify' timestamp='2019-09-19T15:44:48Z' uid='439947' user='StephaneP' visible='true' version='2' changeset='74681133' lat='48.844562' lon='2.3719702'>
|
|
75
|
-
<tag k='name' v='p9' />
|
|
76
|
-
</node>
|
|
77
|
-
<node id='4086374120' action='modify' timestamp='2019-09-19T16:18:40Z' uid='439947' user='StephaneP' visible='true' version='3' changeset='74683089' lat='48.8446803' lon='2.3718155'>
|
|
78
|
-
<tag k='level' v='-1' />
|
|
79
|
-
<tag k='name' v='p1' />
|
|
80
|
-
<tag k='railway' v='subway_entrance' />
|
|
81
|
-
<tag k='ref' v='13' />
|
|
82
|
-
<tag k='source' v='cadastre-dgi-fr source : Direction Générale des Impôts - Cadastre. Mise à jour : 2011' />
|
|
83
|
-
<tag k='wheelchair' v='no' />
|
|
84
|
-
</node>
|
|
85
|
-
<node id='4086374122' action='modify' timestamp='2019-09-19T15:44:48Z' uid='439947' user='StephaneP' visible='true' version='2' changeset='74681133' lat='48.8448048' lon='2.3716859'>
|
|
86
|
-
<tag k='name' v='p0' />
|
|
87
|
-
</node>
|
|
88
|
-
<way id='-517866' action='modify' visible='true'>
|
|
89
|
-
<nd ref='-517856' />
|
|
90
|
-
<nd ref='1395307664' />
|
|
91
|
-
<tag k='highway' v='footway' />
|
|
92
|
-
<tag k='level' v='0' />
|
|
93
|
-
</way>
|
|
94
|
-
<way id='-517867' action='modify' visible='true'>
|
|
95
|
-
<nd ref='-517863' />
|
|
96
|
-
<nd ref='1395307663' />
|
|
97
|
-
<tag k='highway' v='footway' />
|
|
98
|
-
<tag k='level' v='-1' />
|
|
99
|
-
</way>
|
|
100
|
-
<way id='-517868' action='modify' visible='true'>
|
|
101
|
-
<nd ref='4086374122' />
|
|
102
|
-
<nd ref='-517861' />
|
|
103
|
-
<nd ref='-517856' />
|
|
104
|
-
<nd ref='-517855' />
|
|
105
|
-
<nd ref='-517854' />
|
|
106
|
-
<nd ref='-517857' />
|
|
107
|
-
<nd ref='-517860' />
|
|
108
|
-
<tag k='highway' v='footway' />
|
|
109
|
-
<tag k='level' v='0' />
|
|
110
|
-
</way>
|
|
111
|
-
<way id='-517869' action='modify' visible='true'>
|
|
112
|
-
<nd ref='4086374120' />
|
|
113
|
-
<nd ref='-517863' />
|
|
114
|
-
<nd ref='-517853' />
|
|
115
|
-
<nd ref='-517865' />
|
|
116
|
-
<nd ref='4086374112' />
|
|
117
|
-
<tag k='highway' v='footway' />
|
|
118
|
-
<tag k='level' v='-1' />
|
|
119
|
-
</way>
|
|
120
|
-
<way id='-517870' action='modify' visible='true'>
|
|
121
|
-
<nd ref='1395307661' />
|
|
122
|
-
<nd ref='-517865' />
|
|
123
|
-
<nd ref='-517862' />
|
|
124
|
-
<nd ref='-517859' />
|
|
125
|
-
<tag k='highway' v='footway' />
|
|
126
|
-
<tag k='level' v='-1' />
|
|
127
|
-
</way>
|
|
128
|
-
<way id='-517871' action='modify' visible='true'>
|
|
129
|
-
<nd ref='-517858' />
|
|
130
|
-
<nd ref='4086374115' />
|
|
131
|
-
<tag k='highway' v='footway' />
|
|
132
|
-
<tag k='level' v='0' />
|
|
133
|
-
</way>
|
|
134
|
-
<way id='-517872' action='modify' visible='true'>
|
|
135
|
-
<nd ref='1395307662' />
|
|
136
|
-
<nd ref='-517864' />
|
|
137
|
-
<nd ref='-517858' />
|
|
138
|
-
<nd ref='-517854' />
|
|
139
|
-
<tag k='highway' v='footway' />
|
|
140
|
-
<tag k='level' v='0' />
|
|
141
|
-
</way>
|
|
142
|
-
<way id='125679471' action='modify' timestamp='2016-04-15T07:37:33Z' uid='1908665' user='naomap' visible='true' version='4' changeset='38579747'>
|
|
143
|
-
<nd ref='1395307661' />
|
|
144
|
-
<nd ref='1395307662' />
|
|
145
|
-
<tag k='conveying' v='forward' />
|
|
146
|
-
<tag k='highway' v='steps' />
|
|
147
|
-
<tag k='incline' v='up' />
|
|
148
|
-
<tag k='level' v='-1;0' />
|
|
149
|
-
<tag k='source' v='cadastre-dgi-fr source : Direction Générale des Impôts - Cadastre. Mise à jour : 2011' />
|
|
150
|
-
</way>
|
|
151
|
-
<way id='125679474' action='modify' timestamp='2019-09-19T15:44:48Z' uid='439947' user='StephaneP' visible='true' version='6' changeset='74681133'>
|
|
152
|
-
<nd ref='1395307663' />
|
|
153
|
-
<nd ref='1395307664' />
|
|
154
|
-
<tag k='highway' v='steps' />
|
|
155
|
-
<tag k='incline' v='up' />
|
|
156
|
-
<tag k='level' v='-1;0' />
|
|
157
|
-
<tag k='source' v='cadastre-dgi-fr source : Direction Générale des Impôts - Cadastre. Mise à jour : 2011' />
|
|
158
|
-
</way>
|
|
159
|
-
<way id='406582305' action='modify' timestamp='2016-04-15T07:37:40Z' uid='1908665' user='naomap' visible='true' version='2' changeset='38579747'>
|
|
160
|
-
<nd ref='4086374112' />
|
|
161
|
-
<nd ref='4086374115' />
|
|
162
|
-
<tag k='highway' v='steps' />
|
|
163
|
-
<tag k='incline' v='up' />
|
|
164
|
-
<tag k='level' v='-1;0' />
|
|
165
|
-
</way>
|
|
166
|
-
<way id='406582306' action='modify' timestamp='2019-09-19T15:44:48Z' uid='439947' user='StephaneP' visible='true' version='3' changeset='74681133'>
|
|
167
|
-
<nd ref='4086374120' />
|
|
168
|
-
<nd ref='4086374122' />
|
|
169
|
-
<tag k='conveying' v='forward' />
|
|
170
|
-
<tag k='highway' v='steps' />
|
|
171
|
-
<tag k='incline' v='up' />
|
|
172
|
-
<tag k='level' v='-1;0' />
|
|
173
|
-
</way>
|
|
174
|
-
</osm>
|