1 <?xml version="1.0" encoding="UTF-8" ?>
7 <category name="Roads" id="roads">
10 <category name="Paths" id="paths">
13 <category name="Transport" id="transport">
16 <category name="Water" id="water">
19 <category name="Natural" id="natural">
22 <category name="Admin" id="admin">
27 <inputSet id="majorRoad">
28 <inputSet ref="roadNames"/>
29 <inputSet ref="roadRefs"/>
30 <inputSet ref="roadRestrictions"/>
31 <inputSet ref="roadPhysical"/>
34 <inputSet id="minorRoad">
35 <inputSet ref="roadNames"/>
36 <inputSet ref="roadRestrictions"/>
37 <inputSet ref="roadPhysical"/>
40 <inputSet id="roadNames">
41 <input type="freetext" presence="always"
42 name="Name" category="Naming" priority="highest"
43 key="name" description="The most common name"/>
44 <input type="freetext" presence="onTagMatch"
45 name="International Name" category="Naming"
46 key="int_name" description="The internationally recognised name"/>
47 <input type="freetext" presence="onTagMatch"
48 name="Historical Name" category="Naming" priority="low"
49 key="old_name" description="The historic or previous name"/>
52 <inputSet id="roadRefs">
53 <input type="freetext" presence="always"
54 name="Reference" category="Naming" priority="high"
55 key="ref" description="The official reference number"/>
56 <input type="freetext" presence="onTagMatch"
57 name="International Reference" category="Naming"
58 key="int_ref" description="The official international reference number"/>
59 <input type="freetext" presence="onTagMatch"
60 name="Old Reference" category="Naming" priority="low"
61 key="old_ref" description="The historic or previous reference number"/>
64 <inputSet id="roadPhysical">
65 <input type="slider" presence="onTagMatch"
66 name="Layer" category="Physical" description="Relative vertical positions (-5 lowest, +5 highest)"
67 key="layer" min="-5" max="5" default="0"/>
68 <input type="freetext" presence="onTagMatch"
69 name="Width" category="Physical"
70 key="width" description="Width of the road"/>
71 <input type="choice" presence="onTagMatch"
72 name="Surface" category="Physical" description="Type of road surface"
74 <choice value="unpaved" text="Unpaved" description="Road surface is unsealed"/>
75 <choice value="paved" text="Paved" description="Road surface is sealed"/>
76 <choice value="asphalt" text="Asphalt"/>
77 <choice value="concrete" text="Concrete"/>
78 <choice value="paving_stones" text="Paving stones"/>
79 <choice value="cobblestone" text="Cobblestone"/>
80 <choice value="sand" text="Sand"/>
81 <choice value="gravel" text="Gravel"/>
83 <input type="choice" presence="onTagMatch"
84 name="Bridge" category="Physical" description="Road goes over a bridge"
86 <choice value="yes" text="Generic Bridge" description="Generic bridge -- type unknown"/>
87 <choice value="viaduct" text="Viaduct" description="Viaduct"/>
88 <choice value="suspension" text="Suspension bridge"/>
90 <input type="choice" presence="onTagMatch"
91 name="Tunnel" category="Physical" description="Road goes into a tunnel"
93 <choice value="yes" text="Tunnel" description="Generic tunnel"/>
97 <inputSet id="roadRestrictions">
98 <input type="choice" presence="onTagMatch"
99 name="Oneway" category="Restrictions" description="Oneway roads"
101 <choice value="yes" match="yes|true|1" text="One way"
102 description="Road can only be travelled in direction of way" icon="features/oneway__yes.png"/>
103 <choice value="no" match="no|false|0" text="Two way"
104 description="Road can be travelled in both directions" icon="features/oneway__no.png"/>
105 <choice value="-1" match="-1|reverse" text="One way reverse"
106 description="Road can be travelled in opposite direction to way" icon="features/oneway__-1.png"/>
108 <input type="speed" presence="onTagMatch"
109 name="Speed Limit" category="Restrictions" description="Maximum permitted speed on this road"
113 <inputSet id="buildingAddress">
114 <input type="freetext" presence="onTagMatch" category="Address" description="The number of the house, e.g. 156 or 10-12" name="House Number" key="addr:housenumber"/>
115 <input type="freetext" presence="onTagMatch" category="Address" description="The name of the house, e.g. Riverbank Cottage" name="Building Name" key="name"/>
116 <input type="freetext" presence="onTagMatch" category="Address" description="The Street Name (optional)" name="Street Name" key="addr:street"/>
117 <input type="freetext" presence="onTagMatch" category="Address" description="The postcode" name="Postcode" key="addr:postcode"/>
120 <feature name="Motorway">
121 <category>roads</category>
122 <icon image="features/highway__motorway.png">
123 <font size="16pt"><b>${ref}</b></font><br/>
127 <tag k="highway" v="motorway"/>
129 <inputSet ref="majorRoad"/>
132 <feature name="Motorway link" icon="features/motorway_link.png">
133 <category>roads</category>
135 <tag k="highway" v="motorway_link"/>
137 <inputSet ref="majorRoad"/>
140 <feature name="Trunk Road">
141 <category>roads</category>
142 <icon image="features/highway__trunk.png">
143 <font size="16pt"><b>${ref}</b></font><br/>
144 <font size="10pt">${name}</font>
148 <tag k="highway" v="trunk"/>
150 <inputSet ref="majorRoad"/>
153 <feature name="Primary Road">
154 <category>roads</category>
156 <font size="16pt"><b>${ref}</b></font><br/>
157 <font size="10pt">${name}</font>
161 <tag k="highway" v="primary"/>
163 <inputSet ref="majorRoad"/>
166 <feature name="Secondary Road">
167 <category>roads</category>
169 <font size="16pt"><b>${ref}</b></font><br/>
170 <font size="10pt">${name}</font>
174 <tag k="highway" v="secondary"/>
176 <inputSet ref="majorRoad"/>
179 <feature name="Tertiary Road">
180 <category>roads</category>
182 <font size="14pt"><b>${name}</b></font><br/>
183 <font size="10pt">${ref}</font>
187 <tag k="highway" v="tertiary"/>
189 <inputSet ref="majorRoad"/>
192 <feature name="Residential Road">
193 <category>roads</category>
194 <icon image="features/highway__residential.png">
195 <font size="14pt"><b>${name}</b></font><br/>
196 <font size="8pt">${postal_code}</font><br/>
197 <font size="8pt"><i>A residential road is one surrounded by houses, and that isn't a higher classification.</i></font>
201 <tag k="highway" v="residential"/>
203 <inputSet ref="minorRoad"/>
206 <feature name="Road">
207 <category>roads</category>
208 <icon image="features/highway__unclassified.png">
209 <font size="14pt"><b>${name}</b></font>
213 <tag k="highway" v="unclassified"/>
215 <inputSet ref="minorRoad"/>
218 <feature name="Service Road">
219 <category>roads</category>
220 <icon image="features/highway__service.png">
221 <font size="14pt"><b>${name}</b></font>
228 <tag k="highway" v="service"/>
230 <inputSet ref="minorRoad"/>
233 <feature name="Unknown Road">
234 <category>roads</category>
236 <font size="10pt">This road has not been given a specific type. It's a road, and that's all that's known.</font>
240 <tag k="highway" v="road"/>
242 <inputSet ref="minorRoad"/>
245 <feature name="Living Street">
246 <category>roads</category>
248 <font size="14pt"><b>${name}</b></font>
252 <tag k="highway" v="tertiary"/>
254 <inputSet ref="minorRoad"/>
257 <feature name="Track">
258 <category>roads</category>
260 <font size="14pt"><b>${name}</b></font>
264 <tag k="highway" v="track"/>
266 <inputSet ref="minorRoad"/>
269 <feature name="Pedestrian Road">
270 <category>roads</category>
272 <font size="14pt"><b>${name}</b></font>
276 <tag k="highway" v="pedestrian"/>
278 <inputSet ref="minorRoad"/>
285 <feature name="Cycle Path">
286 <category>paths</category>
287 <icon image="features/paths__unknown.png">
288 ${name} <i>${ncn_ref} ${rcn_ref} ${lcn_ref} ${ref}</i>
292 <tag k="highway" v="cycleway"/>
295 <feature name="Foot Path">
296 <category>paths</category>
297 <icon image="features/paths__footway.png">
298 ${name} <i>${ref}</i>
302 <tag k="highway" v="footway"/>
305 <feature name="Bridleway">
306 <category>paths</category>
307 <icon image="features/paths__bridleway.png">
311 <tag k="highway" v="bridleway"/>
314 <feature name="Steps">
315 <category>paths</category>
316 <icon image="features/paths__unknown.png">
320 <tag k="highway" v="steps"/>
326 <feature name="Fence">
331 <tag k="barrier" v="fence"/>
334 <feature name="Hedge">
339 <tag k="barrier" v="hedge"/>
342 <feature name="Wall">
347 <tag k="barrier" v="wall"/>
353 <feature name="Stream">
354 <category>water</category>
355 <icon image="features/waterway__stream.png">
356 <font size="14pt"><b>${name}</b></font>
360 <tag k="waterway" v="stream"/>
363 <feature name="River">
364 <category>water</category>
365 <icon image="features/waterway__river.png">
366 <font size="14pt"><b>${name}</b></font>
370 <tag k="waterway" v="river"/>
373 <feature name="Canal">
374 <category>water</category>
375 <icon image="features/waterway__canal.png">
376 <font size="14pt"><b>${name}</b></font>
380 <tag k="waterway" v="canal"/>
384 <category>water</category>
385 <icon image="features/waterway__dam.png">
386 <font size="14pt"><b>${name}</b></font>
390 <tag k="waterway" v="dam"/>
396 <feature name="Railway Line">
397 <category>transport</category>
398 <icon image="features/transport__railway.png">
399 <font size="14pt"><b>${name}</b></font>
403 <tag k="railway" v="rail"/>
406 <feature name="Tram Line">
407 <category>transport</category>
408 <icon image="features/transport__tram.png">
409 <font size="14pt"><b>${name}</b></font>
413 <tag k="railway" v="tram"/>
416 <feature name="Subway Line">
417 <category>transport</category>
418 <icon image="features/transport__subway.png">
419 <font size="14pt"><b>${name}</b></font>
423 <tag k="railway" v="subway"/>
429 <feature name="Building">
431 <b>${name} ${addr:housename}</b><br/>
432 ${addr:housenumber} ${addr:street} ${addr:postcode}
436 <tag k="building" v="*"/>
437 <inputSet ref="buildingAddress" />
440 <feature name="Park">
446 <tag k="leisure" v="park"/>
449 <feature name="Forest">
455 <tag k="landuse" v="forest"/>