1 | <accessRuleset>
|
---|
2 |
|
---|
3 | <classes>
|
---|
4 | <class name="access">
|
---|
5 | <class name="foot"/>
|
---|
6 | <class name="horse"/>
|
---|
7 | <class name="vehicle">
|
---|
8 | <class name="bicycle" />
|
---|
9 | <class name="carriage" />
|
---|
10 | <class name="motor_vehicle">
|
---|
11 | <class name="motorcycle">
|
---|
12 | <class name="moped"/>
|
---|
13 | </class>
|
---|
14 | <class name="motorcar">
|
---|
15 | <class name="caravan"/>
|
---|
16 | <class name="goods"/>
|
---|
17 | <class name="hgv"/>
|
---|
18 | <class name="psv"/>
|
---|
19 | <class name="agricultural"/>
|
---|
20 | <class name="emergency"/>
|
---|
21 | <class name="hazmat"/>
|
---|
22 | </class>
|
---|
23 | <class name="motorboat"/>
|
---|
24 | <class name="boat"/>
|
---|
25 | </class>
|
---|
26 | <class name="bicycle" />
|
---|
27 | </class>
|
---|
28 | </class>
|
---|
29 | </classes>
|
---|
30 |
|
---|
31 | <basetags>
|
---|
32 | <tag k="highway" v="motorway"/>
|
---|
33 | <tag k="highway" v="motorway_link"/>
|
---|
34 | <tag k="highway" v="trunk"/>
|
---|
35 | <tag k="highway" v="trunk_link"/>
|
---|
36 | <tag k="highway" v="primary"/>
|
---|
37 | <tag k="highway" v="primary_link"/>
|
---|
38 | <tag k="highway" v="secondary"/>
|
---|
39 | <tag k="highway" v="secondary_link"/>
|
---|
40 | <tag k="highway" v="tertiary"/>
|
---|
41 | <tag k="highway" v="tertiary_link"/>
|
---|
42 | <tag k="highway" v="unclassified"/>
|
---|
43 | <tag k="highway" v="road"/>
|
---|
44 | <tag k="highway" v="residential"/>
|
---|
45 | <tag k="highway" v="living_street"/>
|
---|
46 | <tag k="highway" v="service"/>
|
---|
47 | <tag k="highway" v="track"/>
|
---|
48 | <tag k="highway" v="pedestrian"/>
|
---|
49 | <tag k="highway" v="path"/>
|
---|
50 | <tag k="highway" v="cycleway"/>
|
---|
51 | <tag k="highway" v="footway"/>
|
---|
52 | <tag k="highway" v="bridleway"/>
|
---|
53 | <tag k="highway" v="byway"/>
|
---|
54 | <tag k="highway" v="steps"/>
|
---|
55 | <tag k="highway" v="platform"/>
|
---|
56 | <tag k="railway" v="platform"/>
|
---|
57 | </basetags>
|
---|
58 |
|
---|
59 | <implications>
|
---|
60 |
|
---|
61 | <!-- implications based on
|
---|
62 | https://wiki.openstreetmap.org/wiki/OSM_tags_for_routing/Access-Restrictions
|
---|
63 | section Germany -->
|
---|
64 |
|
---|
65 | <implication>
|
---|
66 | <condition>
|
---|
67 | <tag k="highway" v="motorway" />
|
---|
68 | </condition>
|
---|
69 | <implies>
|
---|
70 | <tag k="access" v="yes"/>
|
---|
71 | <tag k="moped" v="no"/>
|
---|
72 | <tag k="horse" v="no"/>
|
---|
73 | <tag k="bicycle" v="no"/>
|
---|
74 | <tag k="foot" v="no"/>
|
---|
75 | </implies>
|
---|
76 | </implication>
|
---|
77 | <implication>
|
---|
78 | <condition>
|
---|
79 | <or>
|
---|
80 | <tag k="highway" v="trunk" />
|
---|
81 | <tag k="highway" v="primary" />
|
---|
82 | <tag k="highway" v="secondary" />
|
---|
83 | <tag k="highway" v="tertiary" />
|
---|
84 | <tag k="highway" v="unclassified" />
|
---|
85 | <tag k="highway" v="residential" />
|
---|
86 | <tag k="highway" v="living_street" />
|
---|
87 | <tag k="highway" v="road" />
|
---|
88 | </or>
|
---|
89 | </condition>
|
---|
90 | <implies>
|
---|
91 | <tag k="access" v="yes"/>
|
---|
92 | </implies>
|
---|
93 | </implication>
|
---|
94 |
|
---|
95 | <implication>
|
---|
96 | <condition>
|
---|
97 | <tag k="highway" v="path" />
|
---|
98 | </condition>
|
---|
99 | <implies>
|
---|
100 | <tag k="access" v="no"/>
|
---|
101 | <tag k="horse" v="yes"/>
|
---|
102 | <tag k="bicycle" v="yes"/>
|
---|
103 | <tag k="foot" v="yes"/>
|
---|
104 | </implies>
|
---|
105 | </implication>
|
---|
106 |
|
---|
107 | <implication>
|
---|
108 | <condition>
|
---|
109 | <tag k="highway" v="bridleway" />
|
---|
110 | </condition>
|
---|
111 | <implies>
|
---|
112 | <tag k="access" v="no"/>
|
---|
113 | <tag k="horse" v="designated"/>
|
---|
114 | </implies>
|
---|
115 | </implication>
|
---|
116 | <implication>
|
---|
117 | <condition>
|
---|
118 | <tag k="highway" v="cycleway" />
|
---|
119 | </condition>
|
---|
120 | <implies>
|
---|
121 | <tag k="access" v="no"/>
|
---|
122 | <tag k="bicycle" v="designated"/>
|
---|
123 | </implies>
|
---|
124 | </implication>
|
---|
125 | <implication>
|
---|
126 | <condition>
|
---|
127 | <or>
|
---|
128 | <tag k="highway" v="footway" />
|
---|
129 | <tag k="highway" v="pedestrian" />
|
---|
130 | </or>
|
---|
131 | </condition>
|
---|
132 | <implies>
|
---|
133 | <tag k="access" v="no"/>
|
---|
134 | <tag k="foot" v="designated"/>
|
---|
135 | </implies>
|
---|
136 | </implication>
|
---|
137 |
|
---|
138 | <!-- local non-base-tags -->
|
---|
139 |
|
---|
140 | <implication>
|
---|
141 | <condition>
|
---|
142 | <tag k="motorroad" v="yes"/>
|
---|
143 | </condition>
|
---|
144 | <implies>
|
---|
145 | <tag k="minspeed" v="60"/>
|
---|
146 | <tag k="foot" v="no"/>
|
---|
147 | <tag k="bicycle" v="no"/>
|
---|
148 | <tag k="moped" v="no"/>
|
---|
149 | <tag k="horse" v="no"/>
|
---|
150 | <tag k="agricultural" v="no"/>
|
---|
151 | </implies>
|
---|
152 | </implication>
|
---|
153 |
|
---|
154 | <!-- barriers -->
|
---|
155 |
|
---|
156 | <implication>
|
---|
157 | <condition>
|
---|
158 | <key k="barrier" />
|
---|
159 | </condition>
|
---|
160 | <implies>
|
---|
161 | <tag k="access" v="no" />
|
---|
162 | </implies>
|
---|
163 | </implication>
|
---|
164 |
|
---|
165 | <implication>
|
---|
166 | <condition>
|
---|
167 | <tag k="barrier" v="bollard" />
|
---|
168 | </condition>
|
---|
169 | <implies>
|
---|
170 | <tag k="foot" v="yes" />
|
---|
171 | <tag k="bicycle" v="yes" />
|
---|
172 | </implies>
|
---|
173 | </implication>
|
---|
174 |
|
---|
175 | <!-- direct implications -->
|
---|
176 |
|
---|
177 | <implication>
|
---|
178 | <condition>
|
---|
179 | <tag k="highway" v="motorway" />
|
---|
180 | </condition>
|
---|
181 | <implies>
|
---|
182 | <tag k="oneway" v="yes" />
|
---|
183 | </implies>
|
---|
184 | </implication>
|
---|
185 |
|
---|
186 | <implication>
|
---|
187 | <condition>
|
---|
188 | <tag k="highway" v="motorway_link" />
|
---|
189 | </condition>
|
---|
190 | <implies>
|
---|
191 | <tag k="oneway" v="yes" />
|
---|
192 | </implies>
|
---|
193 | </implication>
|
---|
194 |
|
---|
195 | <implication>
|
---|
196 | <condition>
|
---|
197 | <tag k="junction" v="roundabout" />
|
---|
198 | </condition>
|
---|
199 | <implies>
|
---|
200 | <tag k="oneway" v="yes"/>
|
---|
201 | </implies>
|
---|
202 | </implication>
|
---|
203 |
|
---|
204 | <implication>
|
---|
205 | <condition>
|
---|
206 | <tag k="highway" v="steps" />
|
---|
207 | </condition>
|
---|
208 | <implies>
|
---|
209 | <tag k="access" v="no"/>
|
---|
210 | <tag k="foot" v="yes"/>
|
---|
211 | </implies>
|
---|
212 | </implication>
|
---|
213 |
|
---|
214 | </implications>
|
---|
215 |
|
---|
216 | </accessRuleset>
|
---|