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