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">
25 <category name="Buildings" id="buildings">
30 <inputSet id="majorRoad">
31 <inputSet ref="roadNames"/>
32 <inputSet ref="roadRefs"/>
33 <inputSet ref="roadRestrictions"/>
34 <inputSet ref="roadPhysical"/>
35 <inputSet ref="cycle"/>
36 <inputSet ref="bus-route"/>
39 <inputSet id="minorRoad">
40 <inputSet ref="roadNames"/>
41 <inputSet ref="roadRestrictions"/>
42 <inputSet ref="roadPhysical"/>
43 <inputSet ref="cycle"/>
44 <inputSet ref="bus-route"/>
47 <inputSet id="roadNames">
48 <input type="freetext" presence="always"
49 name="Name" category="Naming" priority="highest"
50 key="name" description="The most common name"/>
51 <input type="freetext" presence="onTagMatch"
52 name="International Name" category="Naming"
53 key="int_name" description="The internationally recognised name"/>
54 <input type="freetext" presence="onTagMatch"
55 name="Historical Name" category="Naming" priority="low"
56 key="old_name" description="The historic or previous name"/>
59 <inputSet id="roadRefs">
60 <input type="freetext" presence="always"
61 name="Reference" category="Naming" priority="high"
62 key="ref" description="The official reference number"/>
63 <input type="freetext" presence="onTagMatch"
64 name="International Reference" category="Naming"
65 key="int_ref" description="The official international reference number"/>
66 <input type="freetext" presence="onTagMatch"
67 name="Old Reference" category="Naming" priority="low"
68 key="old_ref" description="The historic or previous reference number"/>
71 <inputSet id="roadPhysical">
72 <input type="slider" presence="onTagMatch"
73 name="Layer" category="Physical" description="Relative vertical positions (-5 lowest, +5 highest)"
74 key="layer" min="-5" max="5" default="0"/>
75 <input type="freetext" presence="onTagMatch"
76 name="Width" category="Physical"
77 key="width" description="Width of the road"/>
78 <input type="choice" presence="onTagMatch"
79 name="Surface" category="Physical" description="Type of road surface"
81 <choice value="unpaved" text="Unpaved" description="Road surface is unsealed"/>
82 <choice value="paved" text="Paved" description="Road surface is sealed"/>
83 <choice value="asphalt" text="Asphalt"/>
84 <choice value="concrete" text="Concrete"/>
85 <choice value="paving_stones" text="Paving stones"/>
86 <choice value="cobblestone" text="Cobblestone"/>
87 <choice value="sand" text="Sand"/>
88 <choice value="gravel" text="Gravel"/>
90 <input type="choice" presence="onTagMatch"
91 name="Bridge" category="Physical" description="Road goes over a bridge"
93 <choice value="yes" text="Generic Bridge" description="Generic bridge -- type unknown"/>
94 <choice value="viaduct" text="Viaduct" description="Viaduct"/>
95 <choice value="suspension" text="Suspension bridge"/>
97 <input type="choice" presence="onTagMatch"
98 name="Tunnel" category="Physical" description="Road goes into a tunnel"
100 <choice value="yes" text="Tunnel" description="Generic tunnel"/>
104 <inputSet id="roadRestrictions">
105 <input type="choice" presence="onTagMatch"
106 name="Oneway" category="Restrictions" description="Oneway roads"
108 <choice value="yes" match="yes|true|1" text="One way"
109 description="Road can only be travelled in direction of way" icon="features/oneway__yes.png"/>
110 <choice value="no" match="no|false|0" text="Two way"
111 description="Road can be travelled in both directions" icon="features/oneway__no.png"/>
112 <choice value="-1" match="-1|reverse" text="One way reverse"
113 description="Road can be travelled in opposite direction to way" icon="features/oneway__-1.png"/>
115 <input type="speed" presence="onTagMatch"
116 name="Speed Limit" category="Restrictions" description="Maximum permitted speed on this road"
120 <inputSet id="buildingAddress">
121 <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"/>
122 <input type="freetext" presence="onTagMatch" category="Address" description="The name of the house, e.g. Riverbank Cottage" name="Building Name" key="name"/>
123 <input type="freetext" presence="onTagMatch" category="Address" description="The Street Name (optional)" name="Street Name" key="addr:street"/>
124 <input type="freetext" presence="onTagMatch" category="Address" description="The postcode" name="Postcode" key="addr:postcode"/>
127 <inputSet id="naptan">
128 <input type="freetext" presence="onTagMatch" category="Naptan" description="12 character internal Naptan ID" name="Atco Code" key="naptan:AtcoCode" />
129 <input type="choice" presence="onTagMatch" category="Naptan" description="The eight-point compass bearning" name="Naptan Bearing" key="naptan:Bearing" >
130 <choice value="N" match="N" text="N" description=""/>
131 <choice value="NE" match="NE" text="NE" description=""/>
132 <choice value="E" match="E" text="E" description=""/>
133 <choice value="SE" match="SE" text="SE" description=""/>
134 <choice value="S" match="S" text="S" description=""/>
135 <choice value="SW" match="SW" text="SW" description=""/>
136 <choice value="W" match="W" text="W" description=""/>
137 <choice value="NW" match="NW" text="NW" description=""/>
139 <input type="freetext" presence="onTagMatch" category="Naptan" description="The naptan common name" name="Naptan Common Name (read-only)" key="naptan:CommonName" />
140 <input type="freetext" presence="onTagMatch" category="Naptan" description="" name="Naptan Indicator (read-only)" key="naptan:Indicator" />
141 <input type="freetext" presence="onTagMatch" category="Naptan" description="" name="Naptan Street (read-only)" key="naptan:Street" />
142 <input type="freetext" presence="onTagMatch" category="Naptan" description="Delete this when the details have been verified on-the-ground" name="Naptan Verified?" key="naptan:verified" />
145 <inputSet id="buses">
146 <input type="freetext" presence="always" category="Bus Stop" name="Stop Name" key="name" description="The name of the bus stop" />
147 <input type="freetext" presence="always" category="Bus Stop" name="Local Ref" key="local_ref" description="The local reference of the stop, e.g. L, BX" />
148 <inputSet ref="naptan" />
151 <inputSet id="bus-route">
152 <input type="route" name="Bus Route" description="Bus route" category="Transport" priority="low" presence="onTagMatch">
153 <match k="type" v="route"/>
154 <match k="route" v="bus"/>
155 <icon image="features/transport__bus.png">
156 <font size="12pt">${operator} <b>${ref}</b></font>
161 <inputSet id="cycle">
162 <input type="route" name="National Cycle Route" description="National cycle route" category="Cycle" priority="normal">
163 <match k="type" v="route"/>
164 <match k="network" v="ncn"/>
165 <icon image="features/cycle__ncn.png" background="red" foreground="white">
166 <font size="14pt"><b>${ref}</b></font><br />
167 <font size="12pt">${name}</font>
170 <input type="route" name="Regional Cycle Route" description="Regional cycle route" category="Cycle" priority="low">
171 <match k="type" v="route"/>
172 <match k="network" v="rcn"/>
173 <icon image="features/cycle__rcn.png" background="cyan" foreground="white">
174 <font size="14pt"><b>${ref}</b></font><br />
175 <font size="12pt">${name}</font>
178 <input type="route" name="Local Cycle Route" description="Local cycle route" category="Cycle" priority="lowest">
179 <match k="type" v="route"/>
180 <match k="network" v="lcn"/>
181 <icon image="features/cycle__lcn.png" background="blue" foreground="white">
182 <font size="14pt"><b>${ref}</b></font><br />
183 <font size="12pt">${name}</font>
188 <inputSet id="route">
189 <inputSet ref="roadNames"/>
190 <inputSet ref="roadRefs"/>
193 <inputSet id="rivers">
194 <input type="freetext" presence="always" name="Name" category="Naming" key="name" description="The name" />
195 <input type="freetext" presence="always" name="Width" category="Properties" key="width" description="The width in metres" />
198 <feature name="Motorway">
199 <category>roads</category>
200 <icon image="features/highway__motorway.png">
201 <font size="16pt"><b>${ref}</b></font><br/>
203 <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dmotorway</help>
206 <tag k="highway" v="motorway"/>
208 <inputSet ref="majorRoad"/>
211 <feature name="Motorway link" icon="features/motorway_link.png">
212 <category>roads</category>
214 <tag k="highway" v="motorway_link"/>
216 <inputSet ref="majorRoad"/>
219 <feature name="Trunk Road">
220 <category>roads</category>
221 <icon image="features/highway__trunk.png">
222 <font size="16pt"><b>${ref}</b></font><br/>
223 <font size="10pt">${name}</font>
225 <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dtrunk</help>
228 <tag k="highway" v="trunk"/>
230 <inputSet ref="majorRoad"/>
233 <feature name="Primary Road">
234 <category>roads</category>
236 <font size="16pt"><b>${ref}</b></font><br/>
237 <font size="10pt">${name}</font>
239 <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dprimary</help>
242 <tag k="highway" v="primary"/>
244 <inputSet ref="majorRoad"/>
247 <feature name="Secondary Road">
248 <category>roads</category>
250 <font size="16pt"><b>${ref}</b></font><br/>
251 <font size="10pt">${name}</font>
253 <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dsecondary</help>
256 <tag k="highway" v="secondary"/>
258 <inputSet ref="majorRoad"/>
261 <feature name="Tertiary Road">
262 <category>roads</category>
264 <font size="14pt"><b>${name}</b></font><br/>
265 <font size="10pt">${ref}</font>
267 <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dtertiary</help>
270 <tag k="highway" v="tertiary"/>
272 <inputSet ref="majorRoad"/>
275 <feature name="Residential Road">
276 <category>roads</category>
277 <icon image="features/highway__residential.png">
278 <font size="14pt"><b>${name}</b></font><br/>
279 <font size="8pt">${postal_code}</font><br/>
281 <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dresidential</help>
284 <tag k="highway" v="residential"/>
286 <inputSet ref="minorRoad"/>
289 <feature name="Road">
290 <category>roads</category>
291 <icon image="features/highway__unclassified.png">
292 <font size="14pt"><b>${name}</b></font>
294 <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dunclassified</help>
297 <tag k="highway" v="unclassified"/>
299 <inputSet ref="minorRoad"/>
302 <feature name="Service Road">
303 <category>roads</category>
304 <icon image="features/highway__service.png">
305 <font size="14pt"><b>${name}</b></font>
307 <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dservice</help>
313 <tag k="highway" v="service"/>
315 <inputSet ref="minorRoad"/>
318 <feature name="Unknown Road">
319 <category>roads</category>
321 <font size="10pt">This road has not been given a specific type. It's a road, and that's all that's known.</font>
325 <tag k="highway" v="road"/>
327 <inputSet ref="minorRoad"/>
330 <feature name="Living Street">
331 <category>roads</category>
333 <font size="14pt"><b>${name}</b></font>
337 <tag k="highway" v="tertiary"/>
339 <inputSet ref="minorRoad"/>
342 <feature name="Track">
343 <category>roads</category>
345 <font size="14pt"><b>${name}</b></font>
349 <tag k="highway" v="track"/>
351 <inputSet ref="minorRoad"/>
354 <feature name="Pedestrian Road">
355 <category>roads</category>
357 <font size="14pt"><b>${name}</b></font>
360 <tag k="highway" v="pedestrian"/>
361 <!-- pedestrian roads can be lines or areas, with different tags -->
362 <!-- TODO - implement this! -->
364 <tag k="highway" v="pedestrian"/>
367 <tag k="highway" v="pedestrian"/>
368 <tag k="area" v="yes"/>
370 <inputSet ref="minorRoad"/>
377 <feature name="Cycle Path">
378 <category>paths</category>
379 <icon image="features/paths__unknown.png">
380 ${name} <i>${ncn_ref} ${rcn_ref} ${lcn_ref} ${ref}</i>
384 <tag k="highway" v="cycleway"/>
387 <feature name="Foot Path">
388 <category>paths</category>
389 <icon image="features/paths__footway.png">
390 ${name} <i>${ref}</i>
394 <tag k="highway" v="footway"/>
397 <feature name="Bridleway">
398 <category>paths</category>
399 <icon image="features/paths__bridleway.png">
403 <tag k="highway" v="bridleway"/>
406 <feature name="Steps">
407 <category>paths</category>
408 <icon image="features/paths__unknown.png">
412 <tag k="highway" v="steps"/>
418 <feature name="Fence">
419 <category>natural</category>
424 <tag k="barrier" v="fence"/>
427 <feature name="Hedge">
428 <category>natural</category>
433 <tag k="barrier" v="hedge"/>
436 <feature name="Wall">
437 <category>natural</category>
442 <tag k="barrier" v="wall"/>
448 <feature name="Stream">
449 <category>water</category>
450 <icon image="features/waterway__stream.png">
451 <font size="14pt"><b>${name}</b></font>
455 <tag k="waterway" v="stream"/>
458 <feature name="River">
459 <category>water</category>
460 <icon image="features/waterway__river.png">
461 <font size="14pt"><b>${name}</b></font>
465 <tag k="waterway" v="river"/>
466 <inputSet ref="rivers" />
469 <feature name="Canal">
470 <category>water</category>
471 <icon image="features/waterway__canal.png">
472 <font size="14pt"><b>${name}</b></font>
476 <tag k="waterway" v="canal"/>
480 <category>water</category>
481 <icon image="features/waterway__dam.png">
482 <font size="14pt"><b>${name}</b></font>
486 <tag k="waterway" v="dam"/>
492 <feature name="Railway Line">
493 <category>transport</category>
494 <icon image="features/transport__railway.png">
495 <font size="14pt"><b>${name}</b></font>
499 <tag k="railway" v="rail"/>
502 <feature name="Tram Line">
503 <category>transport</category>
504 <icon image="features/transport__tram.png">
505 <font size="14pt"><b>${name}</b></font>
509 <tag k="railway" v="tram"/>
512 <feature name="Subway Line">
513 <category>transport</category>
514 <icon image="features/transport__subway.png">
515 <font size="14pt"><b>${name}</b></font>
519 <tag k="railway" v="subway"/>
522 <feature name="Railway Station">
523 <category>transport</category>
524 <icon image="features/transport__railway.png">
525 <font size="14pt"><b>${name}</b></font>
529 <tag k="railway" v="station"/>
532 <feature name="Railway Station">
533 <category>buildings</category>
534 <icon image="features/transport__railway.png">
535 <font size="14pt"><b>${name}</b></font>
539 <tag k="building" v="station"/>
544 <feature name="Building">
545 <category>buildings</category>
547 <b>${name} ${addr:housename}</b><br/>
548 ${addr:housenumber} ${addr:street} ${addr:postcode}
552 <tag k="building" v="*"/>
553 <inputSet ref="buildingAddress" />
556 <feature name="Park">
557 <category>natural</category>
563 <tag k="leisure" v="park"/>
566 <feature name="Forest">
567 <category>natural</category>
573 <tag k="landuse" v="forest"/>
577 <feature name="Bus Stop">
578 <category>transport</category>
579 <icon image="features/transport__bus.png">
583 <tag k="highway" v="bus_stop"/>
584 <inputSet ref="buses" />
588 <category>transport</category>
589 <icon image="icons/pub.png">
593 <tag k="amenity" v="pub"/>
597 <feature name="National Cycle Network">
598 <category>paths</category>
599 <icon image="features/cycle__ncn.png" background="red" foreground="white">
600 <font size="14pt"><b>${ref}</b></font><br />
601 <font size="12pt">${name}</font>
605 <tag k="type" v="route"/>
606 <tag k="network" v="ncn"/>
608 <inputSet ref="route"/>
611 <feature name="Regional Cycle Network">
612 <category>paths</category>
613 <icon image="features/cycle__rcn.png" background="cyan" foreground="white">
614 <font size="14pt"><b>${ref}</b></font><br />
615 <font size="12pt">${name}</font>
619 <tag k="type" v="route"/>
620 <tag k="network" v="rcn"/>
622 <inputSet ref="route"/>
625 <feature name="Local Cycle Network">
626 <category>paths</category>
627 <icon image="features/cycle__lcn.png" background="blue" foreground="white">
628 <font size="14pt"><b>${ref}</b></font><br />
629 <font size="12pt">${name}</font>
633 <tag k="type" v="route"/>
634 <tag k="network" v="lcn"/>
636 <inputSet ref="route"/>
641 <feature name="Long Distance Path">
642 <category>paths</category>
643 <icon image="features/paths__footway.png" background="green" foreground="white">
644 <font size="14pt"><b>${ref}</b></font><br />
645 <font size="12pt">${name}</font>
649 <tag k="type" v="route"/>
650 <tag k="route" v="foot"/>
652 <inputSet ref="route"/>
657 <feature name="Bus Route">
658 <category>transport</category>
659 <icon image="features/transport__bus.png">
660 <font size="12pt">${operator} <b>${ref}</b></font>
664 <tag k="type" v="route"/>
665 <tag k="route" v="bus"/>
667 <inputSet ref="route"/>