ADD @vmatch attribute to <tag> element of feature in map_features.xml. Matching tag...
[potlatch2.git] / resources / map_features / roads.xml
1 <featureGroup>\r
2   <!-- ************************************************************************\r
3        Roads\r
4        ************************************************************************ -->\r
5 \r
6 \r
7   <feature name="Motorway">\r
8     <category>roads</category>\r
9     <icon image="features/highway__motorway.png">\r
10       <font size="16pt"><b>${ref}</b></font><br/>\r
11     </icon>\r
12     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dmotorway</help>\r
13 \r
14     <line/>\r
15     <tag k="highway" v="motorway"/>\r
16 \r
17     <inputSet ref="majorRoad"/>\r
18     <inputSet ref="common"/>\r
19   </feature>\r
20 \r
21   <feature name="Motorway link">\r
22     <category>roads</category>\r
23     <icon image="features/highway__motorway_link.png"/>\r
24     <line/>\r
25     <tag k="highway" v="motorway_link"/>\r
26 \r
27     <inputSet ref="majorRoad"/>\r
28     <inputSet ref="common"/>\r
29   </feature>\r
30 \r
31   <feature name="Trunk road">\r
32     <category>roads</category>\r
33     <icon image="features/highway__trunk.png">\r
34       <font size="16pt"><b>${ref}</b></font><br/>\r
35       <font size="10pt">${name}</font>\r
36     </icon>\r
37     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dtrunk</help>\r
38 \r
39     <line/>\r
40     <tag k="highway" v="trunk"/>\r
41 \r
42     <inputSet ref="majorRoad"/>\r
43     <inputSet ref="common"/>\r
44   </feature>\r
45 \r
46   <feature name="Trunk link">\r
47     <category>roads</category>\r
48     <icon image="features/highway__trunk_link.png"/>\r
49     <line/>\r
50     <tag k="highway" v="trunk_link"/>\r
51 \r
52     <inputSet ref="majorRoad"/>\r
53     <inputSet ref="common"/>\r
54   </feature>\r
55 \r
56   <feature name="Primary road">\r
57     <category>roads</category>\r
58     <icon image="features/highway__primary.png">\r
59       <font size="16pt"><b>${ref}</b></font><br/>\r
60       <font size="10pt">${name}</font>\r
61     </icon>\r
62     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dprimary</help>\r
63 \r
64     <line/>\r
65     <tag k="highway" v="primary"/>\r
66 \r
67     <inputSet ref="majorRoad"/>\r
68     <inputSet ref="common"/>\r
69   </feature>\r
70 \r
71   <feature name="Primary link">\r
72     <category>roads</category>\r
73     <icon image="features/highway__primary_link.png">\r
74       <font size="16pt"><b>${ref}</b></font><br/>\r
75       <font size="10pt">${name}</font>\r
76     </icon>\r
77     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dprimary_link</help>\r
78 \r
79     <line/>\r
80     <tag k="highway" v="primary_link"/>\r
81 \r
82     <inputSet ref="majorRoad"/>\r
83     <inputSet ref="common"/>\r
84   </feature>\r
85 \r
86 \r
87   <feature name="Secondary road">\r
88     <category>roads</category>\r
89     <icon image="features/highway__secondary.png">\r
90       <font size="16pt"><b>${ref}</b></font><br/>\r
91       <font size="10pt">${name}</font>\r
92     </icon>\r
93     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dsecondary</help>\r
94 \r
95     <line/>\r
96     <tag k="highway" v="secondary"/>\r
97 \r
98     <inputSet ref="majorRoad"/>\r
99     <inputSet ref="common"/>\r
100   </feature>\r
101 \r
102   <feature name="Secondary link">\r
103     <category>roads</category>\r
104     <icon image="features/highway__secondary_link.png">\r
105       <font size="16pt">\r
106         <b>${ref}</b>\r
107       </font>\r
108       <br/>\r
109       <font size="10pt">${name}</font>\r
110     </icon>\r
111     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dsecondary_link</help>\r
112 \r
113     <line/>\r
114     <tag k="highway" v="secondary_link"/>\r
115 \r
116     <inputSet ref="majorRoad"/>\r
117     <inputSet ref="common"/>\r
118   </feature>\r
119 \r
120 \r
121 \r
122   <feature name="Tertiary road">\r
123     <category>roads</category>\r
124     <icon image="features/highway__tertiary.png">\r
125       <font size="14pt"><b>${name}</b></font><br/>\r
126       <font size="10pt">${ref}</font>\r
127     </icon>\r
128     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dtertiary</help>\r
129 \r
130     <line/>\r
131     <tag k="highway" v="tertiary"/>\r
132 \r
133     <inputSet ref="majorRoad"/>\r
134     <inputSet ref="common"/>\r
135   </feature>\r
136 \r
137   <feature name="Tertiary link">\r
138     <category>roads</category>\r
139     <icon image="features/highway__tertiary_link.png">\r
140       <font size="14pt"><b>${name}</b></font><br/>\r
141       <font size="10pt">${ref}</font>\r
142     </icon>\r
143     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dtertiary_link</help>\r
144 \r
145     <line/>\r
146     <tag k="highway" v="tertiary_link"/>\r
147 \r
148     <inputSet ref="majorRoad"/>\r
149     <inputSet ref="common"/>\r
150   </feature>\r
151 \r
152 \r
153   <feature name="Minor road">\r
154     <category>roads</category>\r
155     <icon image="features/highway__unclassified.png">\r
156       <font size="14pt"><b>${name}</b></font>\r
157     </icon>\r
158     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dunclassified</help>\r
159 \r
160     <line/>\r
161     <tag k="highway" v="unclassified"/>\r
162 \r
163     <inputSet ref="minorRoad"/>\r
164     <inputSet ref="common"/>\r
165   </feature>\r
166 \r
167   <feature name="Residential road">\r
168     <category>roads</category>\r
169     <icon image="features/highway__residential.png">\r
170       <font size="14pt">\r
171         <b>${name}</b>\r
172       </font>\r
173       <br/>\r
174       <font size="8pt">${postal_code}</font>\r
175       <br/>\r
176     </icon>\r
177     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dresidential</help>\r
178 \r
179     <line/>\r
180     <tag k="highway" v="residential"/>\r
181 \r
182     <inputSet ref="minorRoad"/>\r
183     <inputSet ref="common"/>\r
184   </feature>\r
185 \r
186   <feature name="Service road">\r
187     <category>roads</category>\r
188     <icon image="features/highway__service.png">\r
189       <font size="14pt"><b>${name}</b></font>\r
190     </icon>\r
191     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dservice</help>\r
192     <description>\r
193       Access roads\r
194     </description>\r
195 \r
196     <line/>\r
197     <tag k="highway" v="service"/>\r
198 \r
199     <inputSet ref="minorRoad"/>\r
200     <input type="choice" presence="always" name="Type of service road" key="service" category="">\r
201       <choice value="alley" text="Alleyway/laneway"/>\r
202       <choice value="parking_aisle" text="Parking aisle" description="The path that cars drive on through a parking lot."/>\r
203       <choice value="driveway" text="Driveway"/>\r
204       <choice value="drive-through" text="Drive-through" description="For drive-through restaurants, bottle shops etc."/>\r
205       <choice value="emergency_access" text="Emergency access" description="For firefighters and other emergency services."/>\r
206     </input>\r
207     <inputSet ref="common"/>\r
208   </feature>\r
209 \r
210   <feature name="Unknown road">\r
211     <category>roads</category>\r
212     <icon image="features/highway__unknown.png">\r
213       <font size="10pt">This road has not been given a specific type. It's a road, and that's all that's known.</font>\r
214     </icon>\r
215 \r
216     <line/>\r
217     <tag k="highway" v="road"/>\r
218 \r
219     <inputSet ref="minorRoad"/>\r
220     <inputSet ref="common"/>\r
221   </feature>\r
222 \r
223   <feature name="Living Street">\r
224     <category>roads</category>\r
225     <icon image="features/highway__living_street.png">\r
226       <font size="14pt"><b>${name}</b></font>\r
227     </icon>\r
228     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dliving_street</help>\r
229 \r
230     <line/>\r
231     <tag k="highway" v="living_street"/>\r
232 \r
233     <inputSet ref="minorRoad"/>\r
234     <inputSet ref="common"/>\r
235   </feature>\r
236 \r
237   <feature name="Track">\r
238     <category>roads</category>\r
239     <icon image="features/highway__track.png">\r
240       <font size="14pt"><b>${name}</b></font>\r
241     </icon>\r
242 \r
243     <line/>\r
244     <tag k="highway" v="track"/>\r
245 \r
246     <inputSet ref="path"/>\r
247     <inputSet ref="common"/>\r
248   </feature>\r
249 \r
250   <feature name="Raceway/racing track">\r
251     <category>roads</category>\r
252     <category>sport</category>\r
253     <icon>\r
254       <font size="10pt">A purpose built track for racing motor vehicles.</font>\r
255     </icon>\r
256 \r
257     <line/>\r
258     <area/>\r
259     <tag k="highway" v="raceway"/>\r
260 \r
261     <inputSet ref="simpleName"/>\r
262     <inputSet ref="roadPhysical"/>\r
263     <inputSet ref="common"/>\r
264   </feature>\r
265   \r
266   \r
267   <feature name="Turning circle">\r
268     <category>transport</category>\r
269     <icon image="features/pois/transport_turning_circle.n.24.png"/>\r
270     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dturning_circle</help>\r
271     <point/>\r
272     <tag k="highway" v="turning_circle"/>\r
273     <inputSet ref="common"/>\r
274   </feature>\r
275 \r
276   <feature name="Mini Roundabout">\r
277     <category>transport</category>\r
278     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dmini_roundabout</help>\r
279     <point/>\r
280     <tag k="highway" v="mini_roundabout"/>\r
281     <inputSet ref="common"/>\r
282   </feature>\r
283 \r
284 \r
285   <feature name="Traffic calming">\r
286 \r
287     <category>transport</category>\r
288     <icon image="icons/speed_hump_16.png"/>\r
289     <help>http://wiki.openstreetmap.org/wiki/Key:traffic%3Dcalming</help>\r
290     <point/>\r
291     <tag k="traffic_calming" v="yes" vmatch="*"/>\r
292     <input type="choice" key="traffic_calming" name="Obstacle type" category="Traffic calming" presence="onTagMatch">\r
293       <choice value="yes" text="Unspecified"/>\r
294       <choice value="bump" text="Short bump" description="A sharp speed bump, typically slowing cars to 15 kph or less."/>\r
295       <choice value="hump" text="Speed hump" description="A gentler, longer bump, typically slowing cars to 30 kph or less."/>\r
296       <choice value="cushion" text="Speed cushion" description="A narrow speed bump allowing emergency vehicles and buses to pass without slowing."/>\r
297       <choice value="table" text="Speed table" description="A very long speed hump allowing the whole wheelbase to rest on top."/>\r
298       <choice value="chicane" text="Chicane" description="A set of obstacles causing vehicles to weave through."/>\r
299       <choice value="rumble_strip" text="Rumble strip" description="A series of very small bumps causing vibration or noise."/>\r
300       <choice value="choker" text="Choker" description="An artificial narrowing of the road."/>\r
301     </input>\r
302 \r
303     <inputSet ref="common"/>\r
304   </feature>\r
305 \r
306   <feature name="Turn restriction">\r
307     <category>advanced</category>\r
308     <help>http://wiki.openstreetmap.org/wiki/Turn_restrictions</help>\r
309     <relation/>\r
310     <tag k="type" v="restriction"/>\r
311     <input type="choice" category="Restrictions" presence="always" name="Type" key="restriction" description="What's the restriction?" layout="horizontal" priority="high">\r
312       <choice value="no_left_turn"      text="No left turn"/>\r
313       <choice value="no_right_turn"     text="No right turn"/>\r
314       <choice value="no_u_turn"         text="No U turns"/>\r
315       <choice value="no_straight_on"    text="No straight on"/>\r
316       <choice value="only_left_turn"    text="Left turn only"/>\r
317       <choice value="only_right_turn"   text="Right turn only"/>\r
318       <choice value="only_straight_on"  text="Straight on only"/>\r
319     </input>\r
320     <input type="choice" category="Restrictions" presence="always" name="Except" key="except" description="Are any vehicles exempt?" layout="horizontal">\r
321       <choice value="psv"      text="Bus"/>\r
322       <choice value="bicycle"  text="Bicycle"/>\r
323       <choice value="motorcar" text="Car"/>\r
324       <choice value="hgv"      text="HGV"/>\r
325     </input>\r
326     <input type="freetext" category="Restrictions" presence="always" name="Start day"  key="day_on"   description="What day of the week does it start?" layout="horizontal" priority="low"/>\r
327     <input type="freetext" category="Restrictions" presence="always" name="Start time" key="hour_on"  description="What time of day does it start?"     layout="horizontal" priority="low"/>\r
328     <input type="freetext" category="Restrictions" presence="always" name="End day"    key="day_off"  description="What day of the week does it end?"   layout="horizontal" priority="lowest"/>\r
329     <input type="freetext" category="Restrictions" presence="always" name="End time"   key="hour_off" description="What time of day does it end?"       layout="horizontal" priority="lowest"/>\r
330     <inputSet ref="common"/>\r
331   </feature>\r
332 \r
333   \r
334   <!-- Junction nodes (for turn restrictions) -->\r
335 \r
336   <feature>\r
337     <point/>\r
338     <within entity="way" k="highway" minimum="2"/>\r
339     <inputSet ref="junctionNode"/>\r
340     <inputSet ref="common"/>\r
341   </feature>\r
342   \r
343   \r
344 </featureGroup>