source: osm/applications/editors/josm/plugins/graphview/resources/accessRuleset.xml@ 34849

Last change on this file since 34849 was 31923, checked in by donvip, 9 years ago

[josm_plugins] use https links to OSM wiki

  • Property svn:executable set to *
File size: 4.5 KB
Line 
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 Default -->
64
65 <implication>
66 <condition>
67 <tag k="highway" v="motorway" />
68 </condition>
69 <implies>
70 <tag k="access" v="designated"/>
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="pedestrian" />
98 </condition>
99 <implies>
100 <tag k="access" v="no"/>
101 <tag k="foot" v="yes"/>
102 </implies>
103 </implication>
104 <implication>
105 <condition>
106 <tag k="highway" v="path" />
107 </condition>
108 <implies>
109 <tag k="access" v="no"/>
110 <tag k="horse" v="yes"/>
111 <tag k="bicycle" v="yes"/>
112 <tag k="foot" v="yes"/>
113 </implies>
114 </implication>
115
116 <implication>
117 <condition>
118 <tag k="highway" v="bridleway" />
119 </condition>
120 <implies>
121 <tag k="access" v="no"/>
122 <tag k="horse" v="designated"/>
123 </implies>
124 </implication>
125 <implication>
126 <condition>
127 <tag k="highway" v="cycleway" />
128 </condition>
129 <implies>
130 <tag k="access" v="no"/>
131 <tag k="bicycle" v="designated"/>
132 </implies>
133 </implication>
134 <implication>
135 <condition>
136 <tag k="highway" v="footway" />
137 </condition>
138 <implies>
139 <tag k="access" v="no"/>
140 <tag k="foot" v="designated"/>
141 </implies>
142 </implication>
143
144 <!-- barriers -->
145
146 <implication>
147 <condition>
148 <key k="barrier" />
149 </condition>
150 <implies>
151 <tag k="access" v="no" />
152 </implies>
153 </implication>
154
155 <implication>
156 <condition>
157 <tag k="barrier" v="bollard" />
158 </condition>
159 <implies>
160 <tag k="foot" v="yes" />
161 <tag k="bicycle" v="yes" />
162 </implies>
163 </implication>
164
165 <!-- direct implications -->
166
167 <implication>
168 <condition>
169 <tag k="highway" v="motorway" />
170 </condition>
171 <implies>
172 <tag k="oneway" v="yes" />
173 </implies>
174 </implication>
175
176 <implication>
177 <condition>
178 <tag k="highway" v="motorway_link" />
179 </condition>
180 <implies>
181 <tag k="oneway" v="yes" />
182 </implies>
183 </implication>
184
185 <implication>
186 <condition>
187 <tag k="junction" v="roundabout" />
188 </condition>
189 <implies>
190 <tag k="oneway" v="yes"/>
191 </implies>
192 </implication>
193
194 <implication>
195 <condition>
196 <tag k="highway" v="steps" />
197 </condition>
198 <implies>
199 <tag k="access" v="no"/>
200 <tag k="foot" v="yes"/>
201 </implies>
202 </implication>
203
204 </implications>
205
206</accessRuleset>
Note: See TracBrowser for help on using the repository browser.