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