remove mx.controls.Alert dependency from halcyon_viewer - Flex should only be used...
[potlatch2.git] / resources / map_features.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!--
3 Quick documentation:
4
5 <category> the categories that features belong to. This includes both nodes (icons on left) and ways/areas (drop-down list that appears when a way/area is selected)
6   name: Shown in GUI
7   id: internal reference (a feature refers to this with category=xxx)
8   
9 <feature> a pre-defined group of tags that make up a feature
10   category: [ctext] corresponding to category id
11   icon
12     @image: path to .png file
13     @background: colour spec
14     @foreground: colour spec
15     (general html goes here?) Variables substituted with ${ref}
16   help: [ctext] URL, shown as a linked ? icon. Should (?) usually be an OSM wiki page.
17   description: Not currently used?
18   line/point/area: any or all of these are allowed. Determines whether this feature is shown in the corresponding situations. None is equivalent to all three.
19   tag - one or more of these required, defines the tags that make up the feature.
20     @k - key
21     @v - value
22   input 
23     @ref=xxx
24   inputSet
25     @ref=xxx
26 </feature>  
27   
28 <inputSet>: a reusable group of properties for a feature.
29   @id="internal id"
30   input...
31 </inputSet>
32
33 <input>
34   @type="choice/freetext/turn/checkbox/slider/route/speed/...?" (slider not implemented yet?)
35   @presence="always/onTagMatch" (whether it appears on the basic page?)
36   @category: which tab it appears on
37   @description: mouse-over text
38   @name: The text shown as the label of the property
39   @key: The actual OSM key (tag) that will be saved
40   @priority: ???
41   match: something to do with relations???
42     @k: key
43     @v: value
44   icon: see above
45 -->
46
47 <mapFeatures>
48
49   <!-- Categories -->
50
51   <category name="Roads" id="roads">
52   </category>
53
54   <category name="Paths" id="paths">
55   </category>
56
57   <category name="Transport" id="transport">
58   </category>
59
60   <category name="Water" id="water">
61   </category>
62
63   <category name="Natural" id="natural">
64   </category>
65   
66   <category name="Barrier" id="barrier">
67   </category>
68
69   <category name="Power" id="power">
70   </category>
71
72   <category name="Admin" id="admin">
73   </category>
74   
75   <category name="Buildings" id="buildings">
76   </category>
77
78   <category name="Landuse" id="landuse">
79   </category>
80
81   <category name="Entertainment" id="entertainment">
82   </category>
83   
84   <category name="Amenity" id="amenity">
85   </category>
86
87   <category name="Tourism" id="tourism">
88   </category>
89
90   <category name="Accommodation" id="accommodation">
91   </category>
92
93
94   <category name="Shopping" id="shopping">
95   </category>
96
97   <category name="Agriculture" id="agriculture">
98   </category>
99
100
101   <category name="Advanced" id="advanced">
102   </category>
103
104   <category name="Misc" id="misc">
105   </category>
106
107   <!-- Common input sets -->
108   
109   <inputSet id="simpleName">
110     <input type="freetext" presence="always" name="Name" key="name" description="The name" priority="highest" />
111   </inputSet>
112
113   <inputSet id="names">
114     <input type="freetext" presence="always"
115         name="Name" category="Naming" priority="highest"
116         key="name" description="The most common name"/>
117     <input type="freetext" presence="onTagMatch"
118         name="International Name" category="Naming"
119         key="int_name" description="The internationally recognised name"/>
120     <input type="freetext" presence="onTagMatch"
121         name="Historical Name" category="Naming" priority="low"
122         key="old_name" description="The historic or previous name"/>
123   </inputSet>
124
125   <inputSet id="wifi">
126     <input type="choice" presence="always" category="Eating" name="Wifi" key="wifi">
127       <choice value="free" text="Free"/>
128       <choice value="yes" text="Yes"/>
129       <choice value="no" text="No"/>
130     </input>
131   </inputSet>
132   
133   <inputSet id="buildingAddress">
134     <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"/>
135     <input type="freetext" presence="onTagMatch" category="Address" description="The name of the house, e.g. Riverbank Cottage" name="Building Name" key="addr:housename"/>
136     <input type="freetext" presence="onTagMatch" category="Address" description="The Street Name (optional)" name="Street Name" key="addr:street"/>
137     <input type="freetext" presence="onTagMatch" category="Address" description="The postcode" name="Postcode" key="addr:postcode"/>
138   </inputSet>
139   
140   <inputSet id="cuisine">
141     <input type="choice" presence="always" name="Cuisine" category="Eating" description="The type of food that they serve" key="cuisine">
142       <choice value="burger" text="Burger"/>
143       <choice value="chicken" text="Chicken"/>
144       <choice value="chinese" text="Chinese"/>
145       <choice value="coffee_shop" text="Coffee Shop"/>
146       <choice value="greek" text="Greek"/>
147       <choice value="pizza" text="Pizza"/>
148       <choice value="sandwich" text="Sandwich"/>
149       <choice value="sea_food" text="Sea Food"/>
150       <help>http://wiki.openstreetmap.org/wiki/Key:cuisine</help>
151     </input>
152   </inputSet>
153
154   <!-- Roads -->
155   
156   <inputSet id="majorRoad">
157     <inputSet ref="names"/>
158     <inputSet ref="roadRefs"/>
159     <inputSet ref="roadRestrictions"/>
160     <inputSet ref="roadPhysical"/>
161     <inputSet ref="cycle"/>
162     <inputSet ref="bicycle-lane"/>
163     <inputSet ref="bus-route"/>
164     <inputSet ref="pedestrians"/>
165     <inputSet ref="roadLanes"/>
166     <inputSet ref="roadRoundabout"/>
167     </inputSet>
168
169     <inputSet id="minorRoad">
170       <inputSet ref="names"/>
171       <inputSet ref="roadRestrictions"/>
172       <inputSet ref="roadPhysical"/>
173       <inputSet ref="cycle"/>
174       <inputSet ref="bicycle-lane"/>
175       <inputSet ref="bus-route"/>
176       <inputSet ref="pedestrians"/>
177       <inputSet ref="roadLanes"/>
178       <inputSet ref="roadRoundabout"/>
179   </inputSet>
180
181   <inputSet id="path">
182     <inputSet ref="simpleName"/>
183     <inputSet ref="roadPhysical"/>
184     <inputSet ref="cycle"/>
185     <inputSet ref="ldp"/>
186     <inputSet ref="pedestrians"/>
187   </inputSet>
188   
189   <inputSet id="junctionNode">
190     <inputSet ref="turnRestrictions"/>
191   </inputSet>
192
193   <inputSet id="roadRefs">
194     <input type="freetext" presence="always"
195         name="Reference" category="Naming" priority="high"
196         key="ref" description="The official reference number"/>
197     <input type="freetext" presence="onTagMatch"
198         name="International Reference" category="Naming"
199         key="int_ref" description="The official international reference number"/>
200     <input type="freetext" presence="onTagMatch"
201         name="Old Reference" category="Naming" priority="low"
202         key="old_ref" description="The historic or previous reference number"/>  
203   </inputSet>
204   
205   <inputSet id="roadPhysical">
206     <input type="freetext" presence="onTagMatch"
207         name="Width" category="Physical"
208         key="width" description="Width of the road" layout="horizontal"/>
209     <input type="choice" presence="onTagMatch"
210         name="Surface" category="Physical" description="Type of road surface"
211         key="surface" layout="horizontal">
212       <choice value="unpaved" text="Unpaved" description="Road surface is unsealed"/>
213       <choice value="paved" text="Paved" description="Road surface is sealed"/>
214       <choice value="asphalt" text="Asphalt"/>
215       <choice value="concrete" text="Concrete"/>
216       <choice value="paving_stones" text="Paving stones"/>
217       <choice value="cobblestone" text="Cobblestone"/>
218       <choice value="sand" text="Sand"/>
219       <choice value="gravel" text="Gravel"/>
220       <choice value="dirt" text="Dirt"/>
221       <choice value="grass" text="Grass"/>
222     </input>
223     <inputSet ref="bridge"/>
224     <inputSet ref="tunnel"/>
225     <inputSet ref="embankment-cutting"/>
226   </inputSet>
227
228   <inputSet id="roadLanes">
229     <input presence="onTagMatch" type="number" name="Lanes" category="Physical" description="Total number of lanes, counting both directions"
230            key="lanes" minimum="1" maximum="10" layout="horizontal"/>
231   </inputSet>
232   
233   <inputSet id="bridge">
234     <input type="choice" presence="onTagMatch"
235         name="Bridge" category="Physical" description="Road goes over a bridge"
236         key="bridge" layout="horizontal">
237       <choice value="yes" text="Generic Bridge" description="Generic bridge -- type unknown"/>
238       <choice value="viaduct" text="Viaduct" description="Viaduct"/>
239       <choice value="suspension" text="Suspension bridge"/>
240     </input>
241     <input type="slider" presence="onTagMatch"
242         name="Layer" category="Physical" description="Relative vertical positions (-5 lowest, +5 highest)"
243         key="layer" minimum="-5" maximum="5" default="0" snapInterval="1" labels="Lowest,Ground,Highest"
244         defaultName="Ground"/>
245     </inputSet>
246   <inputSet id="tunnel">
247     <input type="choice" presence="onTagMatch"
248         name="Tunnel" category="Physical" description="Road goes into a tunnel"
249         key="tunnel" layout="horizontal">
250       <choice value="yes" text="Tunnel" description="Generic tunnel"/>
251     </input>
252   </inputSet>
253   
254   <inputSet id="embankment-cutting">
255     <input type="choice"
256            name="Embankment" category="Physical" description="Road supported on a raised bed of earth and rock."
257            key="embankment" layout="horizontal">
258       <choice value="yes" text="Embankment"/>
259     </input>
260     <input type="choice"
261            name="Cutting" category="Physical" description="Road carved out of hill on one or both sides."
262            key="cutting" layout="horizontal">
263       <choice value="yes" text="Cutting"/>
264     </input>
265
266   </inputSet>
267
268   <inputSet id="rail-electrification">
269     <input type="choice" name="Electrified" category="Electrification" description="Is the track electrified (whether by 3rd rail, overhead wires, etc)?"
270            key="electrified">
271       <choice value="yes" text="Yes"/>
272       <choice value="no" text="No"/>
273     </input>
274     <input type="choice" name="Voltage" category="Electrification" description="Nominal voltage of electric wires"
275            key="voltage">
276       <choice value="600" text="600V"/>
277       <choice value="750" text="750V"/>
278       <choice value="1500" text="1500V"/>
279       <choice value="3000" text="3000V"/>
280       <choice value="15000" text="15kV"/>
281       <choice value="25000" text="25kV"/>
282     </input>
283     <input type="choice" name="Frequency" category="Electrification" description="Frequency in Hertz of alternating current power supply"
284            key="frequency">
285       <choice value="0" text="DC"/>
286       <choice value="16.67" text="16.67 Hz"/>
287       <choice value="16.7" text="16.7 Hz"/>
288       <choice value="25" text="25 Hz"/>
289       <choice value="50" text="50 Hz"/>
290       <choice value="60" text="60 Hz"/>
291     </input>
292   </inputSet>
293
294   <inputSet id="rail-usage">
295     <input type="choice" name="Usage" category="Usage" description="Main use of the line" key="usage">
296       <choice value="main" text="Main line" description="The principal artery of a rail system." />
297       <choice value="branch" text="Branch line" description="A secondary line, branching off a main line." />
298       <choice value="industrial" text="Industrial" />
299       <choice value="tourism" text="Tourism"  />
300       <choice value="military" text="Military" />
301     </input>
302   </inputSet>
303   
304   <inputSet id="fee">
305     <input type="freetext" presence="onTagMatch" category="Restrictions" description="The charge/cost of using this amenity" name="Fee" key="fee"/>
306   </inputSet>
307
308   <inputSet id="roadRestrictions">
309     <input type="choice" presence="onTagMatch"
310         name="Oneway" category="Restrictions" description="Oneway roads"
311         key="oneway">
312       <choice value="yes" match="yes|true|1" text="One way"
313         description="Road can only be travelled in direction of way" icon="features/oneway__yes.png"/>
314       <choice value="no" match="no|false|0" text="Two way"
315         description="Road can be travelled in both directions" icon="features/oneway__no.png"/>
316       <choice value="-1" match="-1|reverse" text="One way reverse"
317         description="Road can be travelled in opposite direction to way" icon="features/oneway__-1.png"/>
318     </input>
319     <input type="speed" presence="onTagMatch"
320         name="Speed Limit" category="Restrictions" description="Maximum permitted speed on this road"
321         key="maxspeed"/>
322   </inputSet>
323
324   <inputSet id="roadRoundabout">
325     <!-- review the choice of category -->
326     <input type="choice" presence="onTagMatch" name="Roundabout" category="Restrictions" description="Whether this road is a roundabout. Make the way face the direction appropriate for the country." 
327            key="junction">
328       <choice value="roundabout" text="Yes" />
329     </input>
330   </inputSet>
331   
332   <inputSet id="turnRestrictions">
333     <input type="turn" name="Turn restriction" description="Turn restriction" category="Restrictions" priority="normal" presence="onTagMatch">
334        <match k="type" v="restriction"/>
335        <role role="via"/>
336     </input>
337   </inputSet>
338
339   <inputSet id="pedestrians">
340     <input type="choice" name="Pedestrians" description="Can pedestrians use this road, including footpaths if any?" category="Walking" key="foot">
341       <choice value="yes" text="Allowed"/>
342       <choice value="no" text="Prohibited"/>
343       <choice value="designated" text="Designated"/>
344     </input>
345   </inputSet>
346
347   <inputSet id="naptan">
348     <input type="freetext" presence="onTagMatch" category="Naptan" description="12 character internal Naptan ID" name="Atco Code" key="naptan:AtcoCode" />
349     <input type="choice" presence="onTagMatch" category="Naptan" description="The eight-point compass bearning" name="Naptan Bearing" key="naptan:Bearing" >
350       <choice value="N"  match="N"  text="N"  description=""/>
351       <choice value="NE" match="NE" text="NE" description=""/>
352       <choice value="E"  match="E"  text="E"  description=""/>
353       <choice value="SE" match="SE" text="SE" description=""/>
354       <choice value="S"  match="S"  text="S"  description=""/>
355       <choice value="SW" match="SW" text="SW" description=""/>
356       <choice value="W"  match="W"  text="W"  description=""/>
357       <choice value="NW" match="NW" text="NW" description=""/>
358     </input>
359     <input type="freetext" presence="onTagMatch" category="Naptan" description="The naptan common name" name="Naptan Common Name (read-only)" key="naptan:CommonName" />
360     <input type="freetext" presence="onTagMatch" category="Naptan" description="" name="Naptan Indicator (read-only)" key="naptan:Indicator" />
361     <input type="freetext" presence="onTagMatch" category="Naptan" description="" name="Naptan Street (read-only)" key="naptan:Street" />
362     <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" />
363   </inputSet>
364   
365   <inputSet id="buses">
366     <input type="freetext" presence="always" category="Bus Stop" name="Stop Name" key="name" description="The name of the bus stop" />
367     <input type="freetext" presence="always" category="Bus Stop" name="Local Ref" key="local_ref" description="The local reference of the stop, usually one or two letters above the main flag, used at bus interchanges, e.g. L, BX" />
368     <inputSet ref="naptan" />
369   </inputSet>
370   
371   <inputSet id="bus-route">
372     <input type="route" name="Bus Route" description="Bus route" category="Transport" priority="low" presence="onTagMatch">
373       <match k="type" v="route"/>
374       <match k="route" v="bus"/>
375       <icon image="features/transport__bus.png">
376         <font size="12pt">${operator} <b>${ref}</b></font>
377       </icon>
378     </input>
379   </inputSet>
380   
381   <inputSet id="tram-route">
382     <input type="route" name="Tram Route" description="Tram route" category="Transport" priority="low" presence="onTagMatch">
383       <match k="type" v="route"/>
384       <match k="route" v="tram"/>
385       <icon image="features/transport__tram.png">
386         <font size="12pt">${operator} <b>${ref}</b></font>
387       </icon>
388     </input>
389   </inputSet>
390   
391   <inputSet id="cycle">
392     <inputSet ref="bicycle-permission" />
393     <input type="route" name="National Cycle Route" description="A signposted route in the UK's National Cycle Network, or nearest equivalent." category="Cycle" priority="normal">
394        <match k="type" v="route"/>
395        <match k="route" v="bicycle"/>
396        <match k="network" v="ncn"/>
397        <icon image="features/cycle__ncn.png" background="red" foreground="white">
398          <font size="14pt"><b>${ref}</b></font><br />
399          <font size="12pt">${name}</font>
400        </icon>
401     </input>
402     <input type="route" name="Regional Cycle Route" description="A signposted route in the UK's Regional Cycle Network, or nearest equivalent." category="Cycle" priority="low">
403        <match k="type" v="route"/>
404        <match k="route" v="bicycle"/>
405        <match k="network" v="rcn"/>
406        <icon image="features/cycle__rcn.png" background="cyan" foreground="white">
407          <font size="14pt"><b>${ref}</b></font><br />
408          <font size="12pt">${name}</font>
409        </icon>
410     </input>
411     <input type="route" name="Local Cycle Route" description="A signposted route in the UK's Local Cycle Network, or nearest equivalent." category="Cycle" priority="lowest">
412        <match k="type" v="route"/>
413        <match k="route" v="bicycle"/>
414        <match k="network" v="lcn"/>
415        <icon image="features/cycle__lcn.png" background="blue" foreground="white">
416          <font size="14pt"><b>${ref}</b></font><br />
417          <font size="12pt">${name}</font>
418        </icon>
419     </input>
420   </inputSet>
421
422   <inputSet id="bicycle-permission">
423     <input type="choice"
424            name="Bicycles permitted" category="Cycle" description="Are bicyles allowed to use this road (regardless of physical suitability)?"
425            key="bicycle">
426       <choice value="no" text="Prohibited"/>
427       <choice value="yes" text="Allowed"/>
428       <choice value="designated" text="Designated"/>
429       <choice value="private" text="Private"/>
430       <help>http://wiki.openstreetmap.org/wiki/Key:access</help>
431     </input>
432   </inputSet>
433   
434   <inputSet id="bicycle-lane">
435     <input type="choice"
436         name="Bike lanes" category="Cycle" description="Road has bike lanes within the road surface"
437         key="cycleway" layout="horizontal">
438       <choice value="no" text="No bike lanes"/>
439       <choice value="opposite" text="No, but two-way bicycle traffic permitted" description="The route may be cycled in the direction opposite of other traffic, but does not have a dedicated lane. Common in Belgium, Netherlands, Denmark."/>
440       <choice value="lane" text="Standard bike lane" description="Separated by painted line"/>
441       <choice value="track" text="Copenhagen-style bike lane" description="Separated by kerb or parked cars"/>
442       <choice value="opposite_lane" text="Two-way bike lane" description="Separated by painted line, and allowing bicycles in both directions in an otherwise one-way street."/>
443       <choice value="opposite_track" text="Two-way Copenhagen-style bike lane" description="Separated by kerb or parked cars, and allowing bicycles in both directions in an otherwise one-way street."/>
444       <help>http://wiki.openstreetmap.org/wiki/Key:cycleway</help>
445     </input>
446   </inputSet>
447
448   <inputSet id="ldp">
449     <input type="route" name="National Walking Route" description="National walking route" category="Walking" priority="normal">
450        <match k="type" v="route"/>
451        <match k="network" v="nwn"/>
452        <icon background="red" foreground="white">
453          <font size="14pt"><b>${ref}</b></font><br />
454          <font size="12pt">${name}</font>
455        </icon>
456     </input>
457     <input type="route" name="Regional Walking Route" description="Regional walking route" category="Walking" priority="low">
458        <match k="type" v="route"/>
459        <match k="network" v="rwn"/>
460        <icon background="cyan" foreground="white">
461          <font size="14pt"><b>${ref}</b></font><br />
462          <font size="12pt">${name}</font>
463        </icon>
464     </input>
465     <input type="route" name="Local Walking Route" description="Local walking route" category="Walking" priority="lowest">
466        <match k="type" v="route"/>
467        <match k="network" v="lwn"/>
468        <icon background="blue" foreground="white">
469          <font size="14pt"><b>${ref}</b></font><br />
470          <font size="12pt">${name}</font>
471        </icon>
472     </input>
473   </inputSet>
474   
475   <inputSet id="route">
476     <inputSet ref="names"/>
477     <inputSet ref="roadRefs"/>
478   </inputSet>
479   
480   <inputSet id="waterways">
481     <input type="freetext" presence="always" name="Name" category="Naming" key="name" description="The name" />
482     <input type="freetext" presence="always" name="Width" category="Properties" key="width" description="The width in metres" />
483     <inputSet ref="boatPermissions" />
484          
485            
486     </inputSet>
487
488   <inputSet id="boatPermissions">
489     <input type="choice" name="Boat permission" category="Permission" key="boat" description="Are boats allowed to use this waterway?">
490       <choice value="yes" text="Allowed"/>
491       <choice value="no" text="Prohibited"/>
492       <choice value="private" text="Private"/>
493
494     </input>
495   </inputSet>
496   
497   <!-- ************************************************************************
498        Roads
499        ************************************************************************ -->
500
501   <feature name="Motorway">
502     <category>roads</category>
503     <icon image="features/highway__motorway.png">
504       <font size="16pt"><b>${ref}</b></font><br/>
505     </icon>
506     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dmotorway</help>
507
508     <line/>
509     <tag k="highway" v="motorway"/>
510
511     <inputSet ref="majorRoad"/>
512   </feature>
513
514   <feature name="Motorway link" icon="features/motorway_link.png">
515     <category>roads</category>
516     <line/>
517     <tag k="highway" v="motorway_link"/>
518
519     <inputSet ref="majorRoad"/>
520   </feature>
521
522   <feature name="Trunk road">
523     <category>roads</category>
524     <icon image="features/highway__trunk.png">
525       <font size="16pt"><b>${ref}</b></font><br/>
526       <font size="10pt">${name}</font>
527     </icon>
528     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dtrunk</help>
529
530     <line/>
531     <tag k="highway" v="trunk"/>
532     
533     <inputSet ref="majorRoad"/>
534   </feature>
535
536   <feature name="Trunk link" icon="features/motorway_link.png">
537     <category>roads</category>
538     <line/>
539     <tag k="highway" v="trunk_link"/>
540
541     <inputSet ref="majorRoad"/>
542   </feature>
543
544   <feature name="Primary road">
545     <category>roads</category>
546     <icon>
547       <font size="16pt"><b>${ref}</b></font><br/>
548       <font size="10pt">${name}</font>
549     </icon>
550     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dprimary</help>
551
552     <line/>
553     <tag k="highway" v="primary"/>
554
555     <inputSet ref="majorRoad"/>
556   </feature>
557
558   <feature name="Secondary road">
559     <category>roads</category>
560     <icon>
561       <font size="16pt"><b>${ref}</b></font><br/>
562       <font size="10pt">${name}</font>
563     </icon>
564     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dsecondary</help>
565
566     <line/>
567     <tag k="highway" v="secondary"/>
568
569     <inputSet ref="majorRoad"/>
570   </feature>
571
572   <feature name="Tertiary road">
573     <category>roads</category>
574     <icon>
575       <font size="14pt"><b>${name}</b></font><br/>
576       <font size="10pt">${ref}</font>
577     </icon>
578     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dtertiary</help>
579
580     <line/>
581     <tag k="highway" v="tertiary"/>
582
583     <inputSet ref="majorRoad"/>
584   </feature>
585
586   <feature name="Minor road">
587     <category>roads</category>
588     <icon image="features/highway__unclassified.png">
589       <font size="14pt"><b>${name}</b></font>
590     </icon>
591     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dunclassified</help>
592
593     <line/>
594     <tag k="highway" v="unclassified"/>
595
596     <inputSet ref="minorRoad"/>
597   </feature>
598
599   <feature name="Residential road">
600     <category>roads</category>
601     <icon image="features/highway__residential.png">
602       <font size="14pt"><b>${name}</b></font><br/>
603       <font size="8pt">${postal_code}</font><br/>
604     </icon>
605     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dresidential</help>
606
607     <line/>
608     <tag k="highway" v="residential"/>
609
610     <inputSet ref="minorRoad"/>
611   </feature>
612
613   <feature name="Service road">
614     <category>roads</category>
615     <icon image="features/highway__service.png">
616       <font size="14pt"><b>${name}</b></font>
617     </icon>
618     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dservice</help>
619     <description>
620       Access roads
621     </description>
622
623     <line/>
624     <tag k="highway" v="service"/>
625
626     <inputSet ref="minorRoad"/>
627     <input type="choice" presence="always" name="Type of service road" key="service" category="">
628       <choice value="alley" text="Alleyway/laneway"/>
629       <choice value="parking_aisle" text="Parking aisle" description="The path that cars drive on through a parking lot."/>
630       <choice value="driveway" text="Driveway" />
631       <choice value="drive-through" text="Drive-through" description="For drive-through restaurants, bottle shops etc."/>
632       <choice value="emergency_access" text="Emergency access" description="For firefighters and other emergency services." />
633     </input>
634   </feature>
635
636   <feature name="Unknown road">
637     <category>roads</category>
638     <icon>
639       <font size="10pt">This road has not been given a specific type. It's a road, and that's all that's known.</font>
640     </icon>
641
642     <line/>
643     <tag k="highway" v="road"/>
644
645     <inputSet ref="minorRoad"/>
646   </feature>
647
648   <feature name="Living Street">
649     <category>roads</category>
650     <icon>
651       <font size="14pt"><b>${name}</b></font>
652     </icon>
653     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dliving_street</help>
654
655     <line/>
656     <tag k="highway" v="living_street"/>
657
658     <inputSet ref="minorRoad"/>
659   </feature>
660
661   <feature name="Pedestrian road">
662     <category>roads</category>
663     <icon>
664       <font size="14pt"><b>${name}</b></font>
665     </icon>
666
667     <tag k="highway" v="pedestrian"/>
668     <!-- pedestrian roads can be lines or areas, with different tags -->
669     <!-- TODO - implement this! -->
670     <line>
671       <tag k="highway" v="pedestrian"/>
672     </line>
673     <area>
674       <tag k="highway" v="pedestrian"/>
675       <tag k="area" v="yes"/>
676     </area>
677     <inputSet ref="minorRoad"/>
678   </feature>
679
680
681   <!-- ************************************************************************
682        Paths
683        ************************************************************************ -->
684
685   <feature name="Footpath">
686     <category>paths</category>
687     <icon image="features/paths__footway.png">
688       ${name} <i>${ref}</i>
689     </icon>
690
691     <line/>
692     <tag k="highway" v="footway"/>
693     <inputSet ref="path"/>
694   </feature>
695
696   <feature name="Cycle path">
697     <category>paths</category>
698     <icon image="features/paths__unknown.png">
699       ${name} <i>${ncn_ref} ${rcn_ref} ${lcn_ref} ${ref}</i>
700     </icon>
701
702     <line/>
703     <tag k="highway" v="cycleway"/>
704     <inputSet ref="path"/>
705   </feature>
706
707   <feature name="Track">
708     <category>paths</category>
709     <icon>
710       <font size="14pt"><b>${name}</b></font>
711     </icon>
712
713     <line/>
714     <tag k="highway" v="track"/>
715
716     <inputSet ref="path"/>
717   </feature>
718
719   <feature name="Bridleway">
720     <category>paths</category>
721     <icon image="features/paths__bridleway.png">
722     </icon>
723
724     <line/>
725     <tag k="highway" v="bridleway"/>
726     <inputSet ref="path"/>
727   </feature>
728
729   <feature name="Steps">
730     <category>paths</category>
731     <icon image="features/paths__steps.png">
732     </icon>
733     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dsteps</help>
734
735     <line/>
736     <tag k="highway" v="steps"/>
737     <inputSet ref="path"/>
738     <input type="freetext" presence="always" category="Naming" name="Number of steps" key="step_count" description="The number of steps in the way" priority="low"/>
739   </feature>
740
741   <!-- ************************************************************************
742        Natural
743        ************************************************************************ -->
744
745   <feature name="Park">
746     <category>natural</category>
747     <icon image="icons/natural_blank.png">
748       <b>${name}</b><br/>
749     </icon>
750
751     <area/>
752     <tag k="leisure" v="park"/>
753   </feature>
754   
755   <feature name="Forest">
756     <category>natural</category>
757     <icon image="icons/natural_blank.png" />
758
759     <area/>
760     <tag k="landuse" v="forest"/>
761   </feature>
762
763   <feature name="Meadow">
764     <category>natural</category>
765     <icon image="icons/natural_blank.png" />
766
767     <area/>
768     <tag k="landuse" v="meadow"/>
769   </feature>
770
771
772   <!-- ************************************************************************
773        Barrier
774        ************************************************************************ -->
775
776   <feature name="Wall">
777     <category>barrier</category>
778     <icon>
779     </icon>
780     <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dwall</help>
781
782     <line/>
783     <tag k="barrier" v="wall"/>
784   </feature>
785
786   <feature name="Ditch">
787     <category>barrier</category>
788     <icon>
789     </icon>
790     <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dditch</help>
791     
792     <line/>
793     <tag k="barrier" v="ditch"/>
794   </feature>
795   
796   <feature name="Retaining wall">
797     <category>barrier</category>
798     <icon>
799     </icon>
800     <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dretaining_wall</help>
801     
802     <line/>
803     <tag k="barrier" v="retaining_wall"/>
804   </feature>
805   
806   <feature name="City wall">
807     <category>barrier</category>
808     <icon>
809     </icon>
810     <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dcity_wall</help>
811     
812     <line/>
813     <tag k="barrier" v="city_wall"/>
814   </feature>
815
816   <feature name="Fence">
817     <category>barrier</category>
818     <icon>
819     </icon>
820     <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dfence</help>
821
822     <line/>
823     <tag k="barrier" v="fence"/>
824   </feature>
825
826   <feature name="Hedge">
827     <category>barrier</category>
828     <icon>
829     </icon>
830     <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dhedge</help>
831
832     <line/>
833     <tag k="barrier" v="hedge"/>
834   </feature>
835
836
837   <!-- ************************************************************************
838        Waterways
839        ************************************************************************ -->
840
841   <feature name="Stream">
842     <category>water</category>
843     <description>A very narrow river.</description>
844     <icon image="features/waterway__stream.png">
845       <font size="14pt"><b>${name}</b></font>
846     </icon>
847
848     <line/>
849     <tag k="waterway" v="stream"/>
850     <inputSet ref="waterways" />
851   </feature>
852
853   <feature name="River">
854     <category>water</category>
855     <icon image="features/waterway__river.png">
856       <font size="14pt"><b>${name}</b></font>
857     </icon>
858
859     <line/>
860     <tag k="waterway" v="river"/>
861     <inputSet ref="waterways" />
862   </feature>
863
864   <feature name="Canal">
865     <category>water</category>
866     <icon image="features/waterway__canal.png">
867       <font size="14pt"><b>${name}</b></font>
868     </icon>
869
870     <line/>
871     <tag k="waterway" v="canal"/>
872     <inputSet ref="waterways" />
873     
874   </feature>
875
876   <feature name="Drain">
877     <category>water</category>
878     <icon>
879       <font size="14pt"><b>${name}</b></font>
880     </icon>
881
882     <line/>
883     <tag k="waterway" v="drain"/>
884   </feature>
885
886   <feature name="Dam">
887     <category>water</category>
888     <icon image="features/waterway__dam.png">
889       <font size="14pt"><b>${name}</b></font>
890     </icon>
891
892     <line/>
893     <tag k="waterway" v="dam"/>
894     <inputSet ref="boatPermissions" />    
895   </feature>
896
897   <feature name="Riverbank">
898     <category>water</category>
899     <icon>
900       <font size="14pt"><b>${name}</b></font>
901     </icon>
902
903     <area/>
904     <tag k="waterway" v="riverbank"/>
905   </feature>
906
907   <feature name="Reservoir">
908     <category>water</category>
909     <icon>
910       <font size="14pt"><b>${name}</b></font>
911     </icon>
912
913     <area/>
914     <tag k="landuse" v="reservoir"/>
915     <inputSet ref="boatPermissions" />
916   </feature>
917
918   <feature name="Basin">
919     <category>water</category>
920     <icon>
921       <font size="14pt">
922         <b>${name}</b>
923       </font>
924     </icon>
925
926     <area/>
927     <tag k="landuse" v="basin"/>
928     <inputSet ref="boatPermissions" />
929   </feature>
930
931   <feature name="Weir">
932     <category>water</category>
933     <icon>
934       <font size="14pt">
935         <b>${name}</b>
936       </font>
937     </icon>
938
939     <line/>
940     <point/>
941     <tag k="waterway" v="weir"/>
942  </feature>
943
944
945
946   <feature name="Dock">
947     <category>water</category>
948     <icon>
949       <font size="14pt"><b>${name}</b></font>
950     </icon>
951
952     <area/>
953     <tag k="waterway" v="dock"/>
954     <inputSet ref="names"/>
955   </feature>
956
957   <feature name="Marina">
958     <category>water</category>
959     <icon>
960       <font size="14pt">
961         <b>${name}</b>
962       </font>
963     </icon>
964
965     <area/>
966     <point/>
967     <tag k="leisure" v="marina"/>
968     <inputSet ref="names"/>    
969   </feature>
970
971   <feature name="Slipway">
972     <category>water</category>
973     <line/>
974     <tag k="leisure" v="slipway"/>
975     <inputSet ref="names"/>
976   </feature>
977
978   <area/>
979
980   <!-- ************************************************************************
981        Transport
982        ************************************************************************ -->
983
984   <feature name="Railway line">
985     <category>transport</category>
986     <icon image="features/transport__railway.png">
987       <font size="14pt"><b>${name}</b></font>
988     </icon>
989
990     <line/>
991     <tag k="railway" v="rail"/>
992     <inputSet ref="bridge"/>
993     <inputSet ref="tunnel"/>
994     <inputSet ref="embankment-cutting"/>
995     <inputSet ref="rail-electrification"/>
996     <inputSet ref="rail-usage"/>
997   </feature>
998
999   <feature name="Railway spur">
1000     <category>transport</category>
1001     <icon image="features/transport__railway.png">
1002       <font size="14pt"><b>${name}</b></font>
1003     </icon>
1004
1005     <line/>
1006     <tag k="railway" v="rail"/>
1007     <tag k="service" v="spur"/>
1008   </feature>
1009
1010   <feature name="Railway siding">
1011     <category>transport</category>
1012     <icon image="features/transport__railway.png">
1013       <font size="14pt"><b>${name}</b></font>
1014     </icon>
1015
1016     <line/>
1017     <tag k="railway" v="rail"/>
1018     <tag k="service" v="siding"/>
1019   </feature>
1020
1021   <feature name="Preserved line">
1022     <category>transport</category>
1023     <icon image="features/transport__railway.png">
1024       <font size="14pt"><b>${name}</b></font>
1025     </icon>
1026
1027     <line/>
1028     <tag k="railway" v="preserved"/>
1029   </feature>
1030
1031   <feature name="Disused tracks">
1032     <category>transport</category>
1033     <icon>
1034       <font size="14pt"><b>${name}</b></font>
1035     </icon>
1036
1037     <line/>
1038     <tag k="railway" v="disused"/>
1039   </feature>
1040
1041   <feature name="Old trackbed">
1042     <category>transport</category>
1043     <icon>
1044       <font size="14pt"><b>${name}</b></font>
1045     </icon>
1046
1047     <line/>
1048     <tag k="railway" v="abandoned"/>
1049   </feature>
1050
1051   <feature name="Light rail line">
1052     <category>transport</category>
1053     <icon image="features/transport__tram.png">
1054       <font size="14pt"><b>${name}</b></font>
1055     </icon>
1056
1057     <line/>
1058     <tag k="railway" v="light_rail"/>
1059     <inputSet ref="bridge"/>
1060     <inputSet ref="tunnel"/>
1061     <inputset ref="embankment-cutting"/>
1062     <inputSet ref="rail-electrification"/>
1063   </feature>
1064
1065   <feature name="Tram line">
1066     <category>transport</category>
1067     <icon image="features/transport__tram.png">
1068       <font size="14pt"><b>${name}</b></font>
1069     </icon>
1070
1071     <line/>
1072     <tag k="railway" v="tram"/>
1073     <input ref="tram-route"/>
1074     <inputSet ref="bridge"/>
1075     <inputSet ref="tunnel"/>
1076     <inputset ref="embankment-cutting"/>
1077     <inputSet ref="rail-electrification"/>
1078   </feature>
1079
1080   <feature name="Subway line">
1081     <category>transport</category>
1082     <icon image="features/transport__subway.png">
1083       <font size="14pt"><b>${name}</b></font>
1084     </icon>
1085
1086     <line/>
1087     <tag k="railway" v="subway"/>
1088     <inputSet ref="bridge"/>
1089     <inputSet ref="tunnel"/>
1090     <inputset ref="embankment-cutting"/>
1091     <inputSet ref="rail-electrification"/>
1092   </feature>
1093
1094   <feature name="Railway platform">
1095     <category>transport</category>
1096     
1097     <line />
1098     <area />
1099     <tag k="railway" v="platform"/>
1100     <input type="freetext" presence="onTagMatch" category="Naming" name="Reference" key="ref" description="The number of the platform" priority="low"/>
1101   </feature>
1102
1103   <feature name="Bus station">
1104     <category>transport</category>
1105     <icon>
1106       <b>${name} ${addr:housename}</b><br/>
1107       ${addr:housenumber} ${addr:street} ${addr:postcode}
1108     </icon>
1109
1110     <area/>
1111     <tag k="amenity" v="bus_station"/>
1112     <tag k="building" v="yes"/>
1113     <inputSet ref="names"/>
1114     <inputSet ref="buildingAddress" />
1115   </feature>
1116
1117   <feature name="Airport">
1118     <category>transport</category>
1119     <icon image="icons/transport_airport_48.png"/>
1120     <tag k="aeroway" v="aerodrome"/>
1121     <area/>
1122     <point/>
1123     <inputSet ref="names"/>
1124     <input type="freetext" presence="always" category="Naming" name="International Air Transport Association (IATA) airport code" key="ref"/>
1125     <help>http://wiki.openstreetmap.org/wiki/Key:aeroway</help>
1126   </feature>
1127
1128   <feature name="Airport terminal">
1129     <category>transport</category>
1130     <icon image="icons/transport_blank.png"/>
1131     <tag k="aeroway" v="terminal"/>
1132     <area/>
1133     <point/>
1134     <inputSet ref="names"/>
1135     <help>http://wiki.openstreetmap.org/wiki/Key:aeroway</help>
1136   </feature>
1137
1138   <feature name="Helipad">
1139     <category>transport</category>
1140     <icon image="icons/transport_helipad_48.png"/>
1141     <tag k="aeroway" v="helipad"/>
1142     <area/>
1143     <point/>
1144     <inputSet ref="names"/>
1145     <help>http://wiki.openstreetmap.org/wiki/Key:aeroway</help>
1146   </feature>
1147
1148   <feature name="Airport runway">
1149     <category>transport</category>
1150     <icon image="icons/transport_blank.png"/>
1151     <tag k="aeroway" v="runway"/>
1152     <line/>
1153     <inputSet ref="names"/>
1154     <input type="freetext" presence="always" category="Naming" name="Runway number (01-36)" key="ref"/>
1155     <help>http://wiki.openstreetmap.org/wiki/Key:aeroway</help>
1156   </feature>
1157   
1158   <feature name="Airport taxiway">
1159     <category>transport</category>
1160     <icon image="icons/transport_blank.png"/>
1161     <tag k="aeroway" v="taxiway"/>
1162     <line/>
1163     <inputSet ref="names"/>
1164     <input type="freetext" presence="always" category="Naming" name="Taxiway number" key="ref"  />
1165     <help>http://wiki.openstreetmap.org/wiki/Key:aeroway</help>
1166   </feature>
1167   
1168   <feature name="Airport apron">
1169     <category>transport</category>
1170     <icon image="icons/transport_blank.png"/>
1171     <tag k="aeroway" v="apron"/>
1172     <area/>
1173     <inputSet ref="names"/>
1174     <help>http://wiki.openstreetmap.org/wiki/Key:aeroway</help>
1175   </feature>
1176
1177   <feature name="Airport gate">
1178     <category>transport</category>
1179     <icon image="icons/transport_blank.png"/>
1180     <tag k="aeroway" v="gate"/>
1181     <point/>
1182     <input type="freetext" presence="always" category="Naming" name="Gate number" key="ref" />
1183     <help>http://wiki.openstreetmap.org/wiki/Key:aeroway</help>
1184   </feature>
1185   
1186   <!-- ************************************************************************
1187        Buildings
1188        ************************************************************************ -->
1189
1190   <feature name="School">
1191     <category>buildings</category>
1192     <icon>
1193       <b>${name} ${addr:housename}</b><br/>
1194       ${addr:housenumber} ${addr:street} ${addr:postcode}
1195     </icon>
1196
1197     <area/>
1198     <tag k="amenity" v="school"/>
1199     <tag k="building" v="yes"/>
1200     <inputSet ref="names"/>
1201     <inputSet ref="buildingAddress" />
1202   </feature>
1203
1204   <feature name="College">
1205     <category>buildings</category>
1206     <icon>
1207       <b>${name} ${addr:housename}</b><br/>
1208       ${addr:housenumber} ${addr:street} ${addr:postcode}
1209     </icon>
1210
1211     <area/>
1212     <tag k="amenity" v="college"/>
1213     <tag k="building" v="yes"/>
1214     <inputSet ref="names"/>
1215     <inputSet ref="buildingAddress" />
1216   </feature>
1217
1218   <feature name="Supermarket">
1219     <category>buildings</category>
1220     <icon>
1221       <b>${name} ${addr:housename}</b><br/>
1222       ${addr:housenumber} ${addr:street} ${addr:postcode}
1223     </icon>
1224
1225     <area/>
1226     <tag k="shop" v="supermarket"/>
1227     <tag k="building" v="yes"/>
1228     <inputSet ref="names"/>
1229     <inputSet ref="buildingAddress" />
1230   </feature>
1231
1232   <feature name="Place of worship">
1233     <category>buildings</category>
1234     <icon>
1235       <b>${name} ${addr:housename}</b><br/>
1236       ${addr:housenumber} ${addr:street} ${addr:postcode}
1237     </icon>
1238
1239     <area/>
1240     <tag k="amenity" v="place_of_worship"/>
1241     <tag k="building" v="yes"/>
1242     <inputSet ref="names"/>
1243     <inputSet ref="buildingAddress" />
1244     <input type="choice" category="Religion" name="Religion" key="religion" description="The religion to which this place of worship belongs.">
1245       <choice value="christian" text="Christianity (church)" />
1246       <choice value="jewish" text="Judaism (synagogue)" />
1247     </input>
1248   </feature>
1249
1250   <feature name="Public building">
1251     <category>buildings</category>
1252     <icon>
1253       <b>${name} ${addr:housename}</b><br/>
1254       ${addr:housenumber} ${addr:street} ${addr:postcode}
1255     </icon>
1256
1257     <area/>
1258     <tag k="amenity" v="public_building"/>
1259     <tag k="building" v="yes"/>
1260     <inputSet ref="names"/>
1261     <inputSet ref="buildingAddress" />
1262   </feature>
1263
1264   <feature name="Hospital">
1265     <category>buildings</category>
1266     <icon>
1267       <b>${name} ${addr:housename}</b><br/>
1268       ${addr:housenumber} ${addr:street} ${addr:postcode}
1269     </icon>
1270
1271     <area/>
1272     <tag k="amenity" v="hospital"/>
1273     <tag k="building" v="yes"/>
1274     <inputSet ref="names"/>
1275     <inputSet ref="buildingAddress" />
1276   </feature>
1277
1278   <feature name="University">
1279     <category>buildings</category>
1280     <icon>
1281       <b>${name} ${addr:housename}</b><br/>
1282       ${addr:housenumber} ${addr:street} ${addr:postcode}
1283     </icon>
1284
1285     <area/>
1286     <tag k="amenity" v="university"/>
1287     <tag k="building" v="yes"/>
1288     <inputSet ref="names"/>
1289     <inputSet ref="buildingAddress" />
1290   </feature>
1291
1292   <feature name="Attraction">
1293     <category>buildings</category>
1294     <icon>
1295       <b>${name} ${addr:housename}</b><br/>
1296       ${addr:housenumber} ${addr:street} ${addr:postcode}
1297     </icon>
1298
1299     <area/>
1300     <tag k="tourism" v="attraction"/>
1301     <tag k="building" v="yes"/>
1302     <inputSet ref="names"/>
1303     <inputSet ref="buildingAddress" />
1304   </feature>
1305
1306   <feature name="Museum">
1307     <category>buildings</category>
1308     <icon>
1309       <b>${name} ${addr:housename}</b><br/>
1310       ${addr:housenumber} ${addr:street} ${addr:postcode}
1311     </icon>
1312
1313     <area/>
1314     <tag k="tourism" v="museum"/>
1315     <tag k="building" v="yes"/>
1316     <inputSet ref="names"/>
1317     <inputSet ref="buildingAddress" />
1318   </feature>
1319
1320   <feature name="Zoo">
1321     <category>buildings</category>
1322     <icon>
1323       <b>${name} ${addr:housename}</b><br/>
1324       ${addr:housenumber} ${addr:street} ${addr:postcode}
1325     </icon>
1326
1327     <area/>
1328     <tag k="tourism" v="zoo"/>
1329     <tag k="building" v="yes"/>
1330     <inputSet ref="names"/>
1331     <inputSet ref="buildingAddress" />
1332   </feature>
1333
1334   <feature name="Stadium">
1335     <category>buildings</category>
1336     <icon>
1337       <b>${name} ${addr:housename}</b><br/>
1338       ${addr:housenumber} ${addr:street} ${addr:postcode}
1339     </icon>
1340
1341     <area/>
1342     <tag k="leisure" v="stadium"/>
1343     <inputSet ref="names"/>
1344     <inputSet ref="buildingAddress" />
1345   </feature>
1346
1347   <feature name="Building">
1348     <category>buildings</category>
1349     <icon>
1350       <b>${name} ${addr:housename}</b><br/>
1351       ${addr:housenumber} ${addr:street} ${addr:postcode}
1352     </icon>
1353
1354     <area/>
1355     <tag k="building" v="*"/>
1356     <inputSet ref="names"/>
1357     <inputSet ref="buildingAddress" />
1358   </feature>
1359
1360   <!-- ************************************************************************
1361        Landuse
1362        ************************************************************************ -->
1363
1364   <feature name="Industry">
1365     <category>landuse</category><area/><icon><b>${name}</b></icon>
1366     <tag k="landuse" v="industrial"/>
1367     <inputSet ref="simpleName"/>
1368   </feature>
1369
1370   <feature name="Offices">
1371     <category>landuse</category><area/><icon><b>${name}</b></icon>
1372     <tag k="landuse" v="commercial"/>
1373     <inputSet ref="simpleName"/>
1374   </feature>
1375
1376   <feature name="Retail">
1377     <category>landuse</category><area/><icon><b>${name}</b></icon>
1378     <tag k="landuse" v="retail"/>
1379     <inputSet ref="simpleName"/>
1380   </feature>
1381
1382   <feature name="Marketplace">
1383     <category>landuse</category><area/><icon><b>${name}</b></icon>
1384     <tag k="amenity" v="marketplace"/>
1385     <inputSet ref="simpleName"/>
1386   </feature>
1387
1388   <feature name="Cemetery">
1389     <category>landuse</category><area/><icon><b>${name}</b></icon>
1390     <tag k="landuse" v="cemetery"/>
1391     <inputSet ref="simpleName"/>
1392   </feature>
1393
1394   <feature name="Quarry">
1395     <category>landuse</category>
1396     <area/>
1397     <tag k="landuse" v="quarry"/>
1398     <inputSet ref="simpleName"/>
1399   </feature>
1400
1401  <feature name="Military">
1402     <category>landuse</category>
1403     <area/>
1404     <tag k="landuse" v="military"/>
1405     <inputSet ref="simpleName"/>
1406   </feature>
1407
1408   <feature name="Farming">
1409     <category>landuse</category>
1410     <area/>
1411     <tag k="landuse" v="farm"/>
1412     <inputSet ref="simpleName"/>
1413   </feature>
1414   
1415     <feature name="Reservoir">
1416     <category>water</category>
1417     <icon>
1418       <font size="14pt"><b>${name}</b></font>
1419     </icon>
1420
1421     <area/>
1422     <tag k="landuse" v="reservoir"/>
1423   </feature>
1424
1425
1426
1427   <feature name="Conservation">
1428     <category>natural</category>
1429     <icon image="icons/natural_blank.png"/>
1430     <area/>
1431     <tag k="landuse" v="conservation"/>
1432     <inputSet ref="simpleName"/>
1433   </feature>
1434
1435
1436
1437
1438   <feature name="Playground">
1439     <category>landuse</category><area/><icon><b>${name}</b></icon>
1440     <tag k="leisure" v="playground"/>
1441     <inputSet ref="simpleName"/>
1442   </feature>
1443
1444   <feature name="Golf course">
1445     <category>landuse</category><area/><icon><b>${name}</b></icon>
1446     <tag k="leisure" v="golf_course"/>
1447     <inputSet ref="simpleName"/>
1448   </feature>
1449
1450   <feature name="Recreation ground">
1451     <category>landuse</category><area/><icon><b>${name}</b></icon>
1452     <tag k="leisure" v="recreation_ground"/>
1453     <inputSet ref="simpleName"/>
1454   </feature>
1455
1456   <feature name="Sports pitch">
1457     <category>landuse</category>
1458     <point/>
1459     <area/>
1460     <icon>
1461       <b>${name}</b>
1462     </icon>
1463     <tag k="leisure" v="pitch"/>
1464     <inputSet ref="simpleName"/>
1465     <inputSet ref="pitchSport"/>
1466   </feature>
1467
1468   <inputSet id="pitchSport">
1469     <input name="Sport" presence="always" category="Sport" key="sport" type="choice" description="The sport that is predominantly played here.">
1470       <choice value="9pin" text="9 pin bowling"/>
1471       <choice value="10pin" text="10 pin bowling"/>
1472       <choice value="american_football" text="American football"/>
1473       <choice value="archery" text="Archery"/>
1474       <choice value="athletics" text="Athletics"/>
1475       <choice value="australian_football" text="Australian Rules Football"/>
1476       <choice value="baseball" text="Baseball"/>
1477       <choice value="basketball" text="Basketball"/>
1478       <choice value="beachvolleyball" text="Beach volleyball"/>
1479       <choice value="boules" text="Boules/petanque/bocci"/>
1480       <choice value="bowls" text="Lawn bowls"/>
1481       <choice value="canadian_football" text="Canadian football"/>
1482       <choice value="chess" text="Chess"/>
1483       <choice value="cricket" text="Cricket"/>
1484       <choice value="cricket_nets" text="Cricket nets"/>
1485       <choice value="croquet" text="Croquet"/>
1486       <choice value="equestrian" text="Equestrian"/>
1487       <choice value="gaelic_football" text="Gaelic football"/>
1488       <choice value="gymnastics" text="Gymnastics"/>
1489       <choice value="team_handball" text="(Team) handball"/>
1490       <choice value="hockey" text="(Field) hockey"/>
1491       <choice value="korfball" text="Korball"/>
1492       <choice value="pelota" text="Pelota"/>
1493       <choice value="rugby_league" text="Rugby league"/>
1494       <choice value="rugby_union" text="Rugby union"/>
1495       <choice value="shooting" text="Shooting"/>
1496       <choice value="skating" text="Ice skating"/>
1497       <choice value="skateboard" text="Skateboarding"/>
1498       <choice value="soccer" text="Soccer/football"/>
1499       <choice value="swimming" text="Swimming"/>
1500       <choice value="table_tennis" text="Table tennis"/>
1501       <choice value="tennis" text="Tennis"/>
1502       <choice value="volleyball" text="Volleyball"/>
1503     </input>
1504   </inputSet>
1505   
1506   <feature name="Sports track">
1507     <category>landuse</category><area/><icon><b>${name}</b></icon>
1508     <tag k="leisure" v="track"/>
1509     <inputSet ref="simpleName"/>
1510   </feature>
1511
1512     <feature name="Sports track">
1513     <category>landuse</category><area/><icon><b>${name}</b></icon>
1514     <tag k="leisure" v="track"/>
1515     <inputSet ref="simpleName"/>
1516   </feature>
1517
1518   <!-- ************************************************************************
1519        Power
1520        ************************************************************************ -->
1521
1522   <feature name="High-voltage">
1523     <category>power</category>
1524     <line/>
1525     <tag k="power" v="line"/>
1526     <inputSet ref="powerCables"/>
1527   </feature>
1528
1529   <feature name="Low-voltage">
1530     <category>power</category>
1531     <line/>
1532     <tag k="power" v="minor_line"/>
1533     <inputSet ref="powerCables"/>
1534   </feature>
1535
1536   <feature name="High-voltage pylon">
1537     <category>power</category>
1538     <icon image="icons/power_tower_24.png"/>
1539     <point/>
1540     <tag k="power" v="tower"/>
1541   </feature>
1542
1543   <feature name="Power pole">
1544     <category>power</category>
1545     <icon image="icons/power_pole_24.png"/>
1546     <point/>
1547     <tag k="power" v="pole"/>
1548   </feature>
1549
1550   <feature name="Plant (station)">
1551     <category>power</category>
1552     <icon image="icons/power_blank.png"/>
1553     <area/>
1554     <point/>
1555     <tag k="power" v="generator"/>
1556     <inputSet ref="names"/>
1557     <input type="choice" presence="always"  name="Energy source" key="power_source" category="Power">
1558       <choice value="coal" text="Coal" />
1559       <choice value="gas" text="Gas" />
1560       <choice value="oil" text="Oil" />
1561       <choice value="fossil" text="Unspecified fossil fuel" />
1562       <choice value="hydro" text="Hydroelectric" />
1563       <choice value="geothermal" text="Geothermal" />
1564       <choice value="nuclear" text="Nuclear" />
1565       <choice value="wind" text="Wind" />
1566       <choice value="photovoltaic" text="Solar PV" />
1567       <choice value="solar_thermal" text="Solar thermal" />
1568       <choice value="biofuel" text="Biofuel" />
1569     </input>
1570   </feature>
1571
1572   <feature name="Substation">
1573     <category>power</category>
1574     <icon image="icons/power_blank.png"/>"
1575     <area/>
1576     <point/>
1577     <tag k="power" v="station"/>
1578   </feature>
1579
1580   <feature name="Transformer">
1581     <category>power</category>
1582     <icon image="icons/power_blank.png"/>
1583     <area/>
1584     <point/>
1585     <tag k="power" v="sub_station"/>
1586   </feature>
1587
1588   <inputSet id="powerCables">
1589     <input type="choice" name="Cables" key="cables" presence="always" category="Power">
1590       <choice value="2" text="2"/>
1591       <choice value="3" text="3"/>
1592       <choice value="4" text="4"/>
1593       <choice value="6" text="6"/>
1594       <choice value="8" text="8"/>
1595       <choice value="10" text="10"/>
1596       <choice value="12" text="12"/>
1597     </input>
1598     <input type="choice" name="Voltage" key="voltage" presence="always" category="Power">
1599       <!-- choices based on http://osmdoc.com/en/tag/voltage/#values-->
1600       <choice value="400" text="400 V"/>
1601       <choice value="600" text="600 V"/>
1602       <choice value="750" text="750 V"/>
1603       <choice value="1500" text="1500 V"/>
1604       <choice value="3000" text="3000 V"/>
1605       <choice value="15000" text="15 kV"/>
1606       <choice value="20000" text="20 kV"/>
1607       <choice value="35000" text="35 kV"/>
1608       <choice value="110000" text="110 kV"/>
1609       <choice value="132000" text="132 kV"/>
1610       <choice value="138000" text="238 kV"/>
1611       <choice value="220000" text="220 kV"/>
1612       <choice value="380000" text="380 kV"/>
1613     </input>
1614   </inputSet>
1615
1616   <!-- Places -->
1617   <feature name="Place">
1618     <category>misc</category>
1619     <point />
1620     <area />
1621     <!-- TODO: make this work -->
1622     <tag k="place" v="*"/>
1623     <inputSet ref="names" />
1624     <input type="choice" name="Type of place name" presence="always" key="place">
1625       <choice value="locality" text="Locality" />
1626       <choice value="hamlet" text="Hamlet" />
1627       <choice value="village" text="Village" />
1628       <choice value="suburb" text="Suburb" />
1629       <choice value="county" text="County" />
1630       <choice value="city" text="City" />
1631       <choice value="region" text="Region" />
1632       <choice value="state" text="State" />
1633       <choice value="country" text="Country" />
1634       <choice value="continent" text="Continent"/>
1635       <choice value="island" text="Island"/>
1636       <choice value="islet" text="Islet"/>
1637     </input>
1638   </feature>
1639   
1640   
1641
1642   <!-- ************************************************************************
1643        POIs
1644        ************************************************************************ -->
1645
1646   <!-- =========== Amenity ============ -->
1647
1648   <feature name="Fire station">
1649     <category>amenity</category>
1650     <icon image="features/pois/amenity_firestation2.n.24.png"/>
1651     <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dfire_station</help>
1652     <point />
1653     <tag k="amenity" v="fire_station"/>
1654     <input type="freetext" presence="always" category="" name="name" key="name" description="The Name of it." priority="low"/>
1655   </feature>
1656
1657   <feature name="Police Station">
1658     <category>amenity</category>
1659     <icon image="features/pois/amenity_police2.n.24.png"/>
1660     <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dpolice</help>
1661     <point />
1662     <tag k="amenity" v="police"/>
1663     <input type="freetext" presence="always" category="" name="name" key="name" description="The Name of it." priority="low"/>
1664   </feature>
1665
1666   <feature name="Hospital">
1667     <category>amenity</category>
1668     <icon image="features/pois/health_hospital.n.24.png"/>
1669     <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dhospital</help>
1670     <point />
1671     <tag k="amenity" v="hospital"/>
1672     <input type="freetext" presence="always" category="" name="name" key="name" description="The Name of it." priority="low"/>
1673   </feature>
1674
1675   <feature name="Place of Worship">
1676     <category>amenity</category>
1677     <icon image="icons/place_of_worship.png"/>
1678     <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dplace_of_worship</help>
1679     <point />
1680     <tag k="amenity" v="place_of_worship"/>
1681     <input type="freetext" presence="always" category="" name="name" key="name" description="The name of it." priority="low"/>
1682     <input type="choice" presence="always" category="" name="Religion" key="religion" description="The religion worshipped here.">
1683       <choice value="christian" text="Christianity (church)" />
1684       <choice value="jewish" text="Judaism (synagogue)" />
1685       <choice value="muslim" text="Islam (mosque)" />
1686       <choice value="hindu" text="Hinduism (temple)" />
1687       <choice value="buddhist" text="Buddhism (temple)" />
1688       <choice value="sikh" text="Sikhism (gurdwara)" />
1689       <choice value="shinto" text="Shinto (shrine)" />
1690     </input>
1691    
1692     <input type="freetext" presence="always" category="" name="denomination" key="denomination" description="The denomination of the religion worshiped here." priority="low"/>
1693   </feature>
1694
1695   <feature name="ATM">
1696     <category>amenity</category>
1697     <icon image="features/pois/money_atm.n.24.png"/>
1698     <help>http://wiki.openstreetmap.org/wiki/Atm</help>
1699     <point />
1700     <tag k="amenity" v="atm"/>
1701     <input type="freetext" presence="always" category="Banking" name="Operator" key="operator" description="The organisation that provides this ATM" priority="low"/>
1702     <input type="freetext" presence="always" category="Banking" name="Fee" key="fee" description="Is there a charge for using this ATM? If so how much?"/>
1703   </feature>
1704   
1705   <feature name="Bank">
1706     <category>amenity</category>
1707     <icon image="features/pois/money_bank2.n.24.png">
1708       ${name}
1709     </icon>
1710     <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dbank</help>
1711     <point />
1712     <tag k="amenity" v="bank"/>
1713     <inputSet ref="names"/>
1714     <inputSet ref="buildingAddress"/>
1715     <input type="choice" presence="always" category="Bank" name="Public ATM available" key="atm" description="Is there a public ATM available?">
1716       <choice value="yes" text="Yes"/>
1717       <choice value="no" text="No"/>
1718     </input>    
1719   </feature>
1720   
1721   <feature name="Recycling">
1722     <category>amenity</category>
1723     <icon image="features/pois/amenity_recycling.n.24.png"/>
1724     <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Drecycling</help>
1725     <point />
1726     <tag k="amenity" v="recycling"/>
1727   </feature>
1728   
1729   <feature name="School">
1730     <category>amenity</category>
1731     <icon image="features/pois/education_school.n.24.png">
1732       ${name}
1733     </icon>
1734     <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dschool</help>
1735     <point />
1736     <tag k="amenity" v="school"/>
1737     <inputSet ref="names"/>
1738     <inputSet ref="buildingAddress"/>
1739   </feature>
1740   
1741   <feature name="Post Box">
1742     <category>amenity</category>
1743     <icon image="features/pois/amenity_post_box.n.24.png">
1744       ${ref}
1745     </icon>
1746     <help>http://wiki.openstreetmap.org/wiki/Post_box</help>
1747     <point />
1748     <tag k="amenity" v="post_box"/>
1749     <input type="freetext" presence="always" category="Naming" name="Ref" key="ref" description="Reference number of the post box" />
1750     <input type="freetext" presence="always" category="Naming" name="Operator" key="operator" description="The provider of the postal service" priority="low"/>
1751   </feature>
1752
1753   <!-- ========= Accommodation ========= -->
1754   <!-- Split off from tourism by Steve Bennett, can be remerged if it doesn't work out. -->
1755   <feature name="Hotel">
1756     <category>accommodation</category>
1757     <icon image="features/pois/accommodation_hotel.n.24.png"/>
1758     <help>http://wiki.openstreetmap.org/wiki/Tag:tourism%3Dhotel</help>
1759     <point />
1760     <area />
1761     <tag k="tourism" v="hotel"/>
1762     <inputSet ref="simpleName" />
1763   </feature>
1764
1765   <feature name="Motel">
1766     <category>accommodation</category>
1767     <help>http://wiki.openstreetmap.org/wiki/Tag:tourism%3Dmotel</help>
1768     <point />
1769     <area />
1770     <icon image="icons/accommodation_blank.png"/>
1771     <tag k="tourism" v="motel"/>
1772     <inputSet ref="simpleName" />
1773   </feature>
1774
1775
1776   <feature name="Hostel">
1777     <category>accommodation</category>
1778     <point />
1779     <area />
1780     <inputSet ref="simpleName" />
1781     <icon image="features/pois/accommodation_youth_hostel.n.24.png"/>
1782     <tag k="tourism" v="hostel"/>
1783   </feature>
1784
1785   <!-- Note that tourism=bed_and_breakfast also gets some use. -->
1786   <feature name="Guesthouse (B&amp;B)">
1787     <category>accommodation</category>
1788     <point />
1789     <area />
1790     <inputSet ref="simpleName" />
1791     <icon image="features/pois/accommodation_bed_and_breakfast.n.24.png"/>
1792     <tag k="tourism" v="guest_house"/>
1793   </feature>
1794
1795   <feature name="Campsite">
1796     <category>accommodation</category>
1797     <point />
1798     <area />
1799     <inputSet ref="simpleName" />
1800     <icon image="features/pois/accommodation_camping.n.24.png"/>
1801     <tag k="tourism" v="camp_site"/>
1802   </feature>
1803
1804   <feature name="Caravan park">
1805     <category>accommodation</category>
1806     <point />
1807     <area />
1808     <inputSet ref="simpleName" />
1809     <icon image="features/pois/accommodation_caravan_park.n.24.png"/>
1810     <tag k="tourism" v="caravan_site"/>
1811   </feature>
1812
1813   <feature name="Alpine hut">
1814     <category>accommodation</category>
1815     <icon image="icons/accommodation_blank.png"/>
1816     <point />
1817     <area />
1818     <inputSet ref="simpleName" />
1819     <tag k="tourism" v="alpine_hut"/>
1820   </feature>
1821
1822   <feature name="Chalet">
1823     <category>accommodation</category>
1824     <icon image="icons/accommodation_blank.png"/>
1825     <point />
1826     <area />
1827     <inputSet ref="simpleName" />
1828     <tag k="tourism" v="chalet"/>
1829   </feature>
1830
1831
1832   <!-- ========= Tourism ========= -->
1833
1834   <!-- This is a very popular tag, can't be left out -->
1835   <feature name="Attraction">
1836     <category>tourism</category>
1837     <icon image="icons/tourist_blank.png"/>
1838     <point />
1839     <area />
1840     <inputSet ref="simpleName" />
1841     <tag k="tourism" v="attraction"/>
1842   </feature>
1843
1844
1845
1846   <feature name="Museum">
1847     <category>tourism</category>
1848     <icon image="features/pois/tourist_museum.n.24.png"/>
1849     <help>http://wiki.openstreetmap.org/wiki/Tag:tourism%3Dmuseum</help>
1850     <point />
1851     <area />
1852     <tag k="tourism" v="museum"/>
1853     <inputSet ref="simpleName" />
1854   </feature>
1855
1856   <feature name="Archaeological">
1857     <category>tourism</category>
1858     <point />
1859     <area />
1860     <inputSet ref="simpleName" />
1861         <icon image="features/pois/tourist_archaeological.n.24.png"/>
1862     <tag k="historic" v="archaeological_site"/>
1863   </feature>
1864
1865   <feature name="Battlefield">
1866     <category>tourism</category>
1867     <point />
1868     <area />
1869     <inputSet ref="simpleName" />
1870         <icon image="features/pois/tourist_battlefield.n.24.png"/>
1871     <tag k="historic" v="battlefield"/>
1872   </feature>
1873
1874   <feature name="Castle">
1875     <category>tourism</category>
1876     <point />
1877     <area />
1878     <inputSet ref="simpleName" />
1879         <icon image="features/pois/tourist_castle.n.24.png"/>
1880     <tag k="historic" v="castle"/>
1881   </feature>
1882
1883   <feature name="Memorial">
1884     <category>tourism</category><point /><inputSet ref="simpleName" />
1885         <icon image="features/pois/tourist_memorial.n.24.png"/>
1886     <tag k="historic" v="memorial"/>
1887   </feature>
1888
1889   <feature name="Monument">
1890     <category>tourism</category><point /><inputSet ref="simpleName" />
1891         <icon image="features/pois/tourist_monument.n.24.png"/>
1892     <tag k="historic" v="monument"/>
1893   </feature>
1894
1895   <feature name="Picnic site">
1896     <category>tourism</category><point /><inputSet ref="simpleName" />
1897         <icon image="features/pois/tourist_picnic.n.24.png"/>
1898     <tag k="tourism" v="picnic_site"/>
1899   </feature>
1900
1901   <feature name="Ruin">
1902     <category>tourism</category>
1903     <point />
1904     <area />
1905     <inputSet ref="simpleName" />
1906         <icon image="features/pois/tourist_ruin.n.24.png"/>
1907     <tag k="historic" v="ruin"/>
1908   </feature>
1909
1910   <feature name="Cinema">
1911     <category>tourism</category>
1912     <icon image="features/pois/tourist_cinema.n.24.png"/>
1913     <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dcinema</help>
1914     <point />
1915     <area />
1916     <tag k="amenity" v="cinema"/>
1917     <input type="freetext" presence="always" category="" name="name" key="name" description="The name of the cinema" priority="low"/>
1918   </feature>
1919
1920   <feature name="Theatre">
1921     <category>tourism</category>
1922     <point />
1923     <area />
1924     <inputSet ref="simpleName" />
1925         <icon image="features/pois/tourist_theatre.n.24.png"/>
1926     <tag k="amenity" v="theatre"/>
1927   </feature>
1928
1929   <feature name="Viewpoint">
1930     <category>tourism</category>
1931     <point />
1932     <inputSet ref="simpleName" />
1933         <icon image="features/pois/tourist_view_point.n.24.png"/>
1934     <tag k="tourism" v="viewpoint"/>
1935   </feature>
1936
1937   <feature name="Zoo">
1938     <category>tourism</category>
1939     <point />
1940     <area />
1941     <inputSet ref="simpleName" />
1942         <icon image="features/pois/tourist_zoo.n.24.png"/>
1943     <tag k="tourism" v="zoo"/>
1944   </feature>
1945
1946   <!-- icons needed-->
1947   <feature name="Information">
1948     <category>tourism</category>
1949     <icon image="icons/tourist_information.png"/>
1950     <point />
1951     <inputSet ref="simpleName" />
1952     <tag k="tourism" v="information"/>
1953   </feature>
1954
1955   <feature name="Artwork">
1956     <category>tourism</category>
1957     <icon image="icons/tourist_blank.png"/>
1958     <point />
1959     <inputSet ref="simpleName" />
1960     <tag k="tourism" v="artwork"/>
1961   </feature>
1962
1963
1964   <feature name="Theme park">
1965     <category>tourism</category>
1966     <icon image="icons/tourist_blank.png"/>
1967     <point />
1968     <area />
1969     <inputSet ref="simpleName" />
1970     <tag k="tourism" v="theme_park"/>
1971   </feature>
1972
1973
1974   <!-- ========= Transport ========= -->
1975
1976   <feature name="Aerodrome">
1977     <category>aeroway</category>
1978     <icon image="features/pois/transport_aerodrome.n.24.png"/>
1979     <help>http://wiki.openstreetmap.org/wiki/Tag:aeroway%3Daerodrome</help>
1980     <point />
1981     <tag k="aeroway" v="aerodrome"/>
1982     <input type="freetext" presence="always" category="" name="name" key="name" description="The name of the aerodrome/airport" priority="low"/>
1983   </feature>
1984
1985   <feature name="Bus Stop">
1986     <category>transport</category>
1987     <icon image="features/pois/transport_bus_stop2.n.24.png">
1988       ${name} ${local_ref}
1989     </icon>
1990     <point />
1991     <tag k="highway" v="bus_stop"/>
1992     <inputSet ref="buses" />
1993   </feature>
1994   
1995   <feature name="Car Parking">
1996     <category>transport</category>
1997     <icon image="features/pois/transport_parking_car.n.24.png">
1998       ${name}
1999     </icon>
2000     <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dparking</help>
2001     <point />
2002     <area />
2003     <tag k="amenity" v="parking"/>
2004     <inputSet ref="names"/>
2005     <input type="freetext" presence="onTagMatch" category="Naming" name="Operator" key="operator" description="The provider of the postal service" priority="low"/>
2006     <input type="number" minimum="0" maximum="99999" stepSize="1" presence="always" category="Parking" name="Capacity" key="capacity" description="The number of cars that can be parked in the car park"/>
2007     <inputSet ref="fee"/>
2008   </feature>
2009   
2010   <feature name="Bicycle Parking">
2011     <category>transport</category>
2012     <icon image="features/pois/transport_parking_bicycle.n.24.png">
2013       ${name} ${capacity}
2014     </icon>
2015     <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dbicycle_parking</help>
2016     <point />
2017     <tag k="amenity" v="bicycle_parking"/>
2018     <inputSet ref="names"/>
2019     <input type="freetext" presence="onTagMatch" category="Naming" name="Operator" key="operator" description="The provider of the postal service" priority="low"/>
2020     <input type="number" minimum="0" maximum="99999" stepSize="1" 
2021         presence="always" category="Cycle" name="Capacity" key="capacity"
2022         description="The number of bicycles that can be parked in the group of bicycle parking racks"/>
2023     <inputSet ref="fee"/>
2024     <input type="choice" presence="always" category="Cycle" name="Covered" key="covered" description="Is the cycle parking covered, so that the bikes are kept dry?">
2025       <choice value="yes" text="Yes"/>
2026       <choice value="no" text="No"/>
2027     </input>
2028   </feature>
2029   
2030   <feature name="Railway station">
2031     <category>transport</category>
2032     <icon image="features/pois/transport_train_station.n.24.png">
2033       <font size="14pt"><b>${name}</b></font>
2034     </icon>
2035     
2036     <point/>
2037     <tag k="railway" v="station"/>
2038     <inputSet ref="names"/>
2039     <input type="freetext" presence="onTagMatch" category="Naming" name="Reference" key="ref" description="The shortcode/reference for the station" priority="low"/>
2040     <input type="freetext" presence="onTagMatch" category="Naming" name="Operator" key="operator" description="The provider of the service" priority="low"/>
2041   </feature>
2042
2043   <feature name="Fuel">
2044     <category>transport</category><point /><inputSet ref="simpleName" />
2045         <icon image="features/pois/transport_fuel.n.24.png"/>
2046     <tag k="amenity" v="fuel"/>
2047     <input type="freetext" category="Naming" name="Operator" key="operator" description="The provider of the service"/>
2048     <input type="choice" category="Fuels" name="Diesel" key="diesel" description="Is diesel fuel sold here?">
2049       <choice value="yes" text="Yes"/>
2050       <choice value="no" text="No"/>
2051     </input>
2052     <input type="choice" category="Fuels" name="Octane 91" key="diesel" description="Is octane 91 unleaded fuel sold here?">
2053       <choice value="yes" text="Yes"/>
2054       <choice value="no" text="No"/>
2055     </input>
2056     <input type="choice" category="Fuels" name="Octane 95" key="octane_95" description="Is octane 95 unleaded fuel sold here?">
2057       <choice value="yes" text="Yes"/>
2058       <choice value="no" text="No"/>
2059     </input>
2060     <input type="choice" category="Fuels" name="Octane 98" key="octane_98" description="Is octane 98 unleaded fuel sold here?">
2061       <choice value="yes" text="Yes"/>
2062       <choice value="no" text="No"/>
2063     </input>
2064     <input type="choice" category="Fuels" name="Octane 100" key="octane_100" description="Is octane 100 unleaded fuel sold here?">
2065       <choice value="yes" text="Yes"/>
2066       <choice value="no" text="No"/>
2067     </input>
2068     <input type="choice" category="Fuels" name="Ethanol" key="ethanol" description="Is ethanol sold here?">
2069       <choice value="yes" text="Yes"/>
2070       <choice value="no" text="No"/>
2071     </input>
2072     <input type="choice" category="Fuels" name="LPG" key="lpg" description="Is LPG (liquid petroleum gas) sold here?">
2073       <choice value="yes" text="Yes"/>
2074       <choice value="no" text="No"/>
2075     </input>
2076     <input type="choice" category="Fuels" name="Octane 91" key="diesel" description="Is octane 91 unleaded fuel sold here?">
2077       <choice value="yes" text="Yes"/>
2078       <choice value="no" text="No"/>
2079     </input>
2080     <input type="choice" category="Fuels" name="Bio-diesel" key="biodiesel" description="Is biodiesel unleaded fuel sold here?">
2081       <choice value="yes" text="Yes"/>
2082       <choice value="no" text="No"/>
2083     </input>
2084
2085
2086   </feature>
2087   
2088   <feature name="Bus station">
2089     <category>transport</category><point /><inputSet ref="simpleName" />
2090         <icon image="features/pois/transport_bus_station.n.24.png"/>
2091     <tag k="amenity" v="bus_station"/>
2092   </feature>
2093   
2094   <feature name="Taxi rank">
2095     <category>transport</category><point /><inputSet ref="simpleName" />
2096         <icon image="features/pois/transport_taxi_rank.n.24.png"/>
2097     <tag k="amenity" v="taxi"/>
2098   </feature>
2099
2100   <feature name="Tram stop">
2101     <category>transport</category><point /><inputSet ref="simpleName" />
2102         <icon image="features/pois/transport_tram_stop.n.24.png"/>
2103     <tag k="railway" v="tram_stop"/>
2104   </feature>
2105   
2106   <feature name="Bicycle rental">
2107     <category>transport</category><point /><inputSet ref="simpleName" />
2108         <icon image="features/pois/transport_rental_bicycle.n.24.png"/>
2109     <tag k="amenity" v="bicycle_rental"/>
2110   </feature>
2111
2112   <feature name="Car rental">
2113     <category>transport</category><point /><inputSet ref="simpleName" />
2114         <icon image="features/pois/transport_rental_car.n.24.png"/>
2115     <tag k="amenity" v="car_rental"/>
2116   </feature>
2117   
2118   <feature name="Ferry Terminal">
2119     <category>transport</category>
2120     <icon image="features/pois/transport_port.n.24.png"/>
2121     <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dferry_terminal</help>
2122     <point />
2123     <tag k="amenity" v="ferry_terminal"/>
2124     <input type="freetext" presence="always" category="" name="name" key="name" description="The name of the ferry terminal." priority="low"/>
2125     <input type="freetext" presence="always" category="" name="Operator" key="operator" description="The operator of the ferry terminal." priority="low"/>
2126     <input type="freetext" presence="always" category="" name="Cargo" key="cargo" description="The cargo shipped from here." priority="low"/>
2127   </feature>
2128
2129   <!-- ========= Barriers ========= -->
2130
2131   <feature name="Bollard">
2132     <category>barrier</category>
2133     <icon image="features/pois/barrier_bollard.n.24.png">
2134     </icon>
2135     <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dbollard</help>
2136     
2137     <point />
2138     <tag k="barrier" v="bollard"/>
2139   </feature>
2140   
2141   <feature name="Gate">
2142     <category>barrier</category>
2143     <icon image="features/pois/barrier_gate.n.24.png">
2144     </icon>
2145     <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dgate</help>
2146     
2147     <point />
2148     <tag k="barrier" v="gate"/>
2149   </feature>
2150
2151   <feature name="Boom Gate">
2152     <category>barrier</category>
2153     <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dlift_gate</help>
2154     <point />
2155     <tag k="barrier" v="lift_gate"/>
2156   </feature>
2157
2158   <feature name="Kissing Gate">
2159     <category>barrier</category>
2160     <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dkissing_gate</help>
2161     <point />
2162     <tag k="barrier" v="kissing_gate"/>
2163   </feature>
2164
2165
2166   <feature name="Cycle Barrier">
2167     <category>barrier</category>
2168     <icon image="features/pois/barrier_bollard.n.24.png">
2169     </icon>
2170     <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dcycle_barrier</help>
2171     
2172     <point />
2173     <tag k="barrier" v="cycle_barrier"/>
2174   </feature>
2175   
2176   <feature name="Big Concrete Blocks">
2177     <category>barrier</category>
2178     <icon image="features/pois/barrier_bollard.n.24.png">
2179     </icon>
2180     <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dblock</help>
2181     
2182     <point />
2183     <tag k="barrier" v="block"/>
2184   </feature>
2185   
2186   <feature name="Cattle Grid">
2187     <category>barrier</category>
2188     <icon image="icons/cattle_grid.png">
2189     </icon>
2190     <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dcattle_grid</help>
2191     
2192     <point />
2193     <tag k="barrier" v="cattle_grid"/>
2194   </feature>
2195   
2196   <feature name="Toll Booth">
2197     <category>barrier</category>
2198     <icon image="features/pois/barrier_toll_booth.n.24.png">
2199     </icon>
2200     <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dtoll_booth</help>
2201     
2202     <point />
2203     <tag k="barrier" v="toll_booth"/>
2204     <tagSet ref="fee"/>
2205     <input type="freetext" presence="onTagMatch" category="Naming" name="Operator" key="operator" description="The provider of the toll" priority="low"/>
2206   </feature>
2207
2208   <feature name="Stile">
2209     <category>barrier</category>
2210     <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dstile</help>
2211     <point />
2212     <tag k="barrier" v="stile"/>
2213   </feature>
2214
2215   <feature name="Turning circle">
2216     <category>transport</category>
2217     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dturning_circle
2218     </help>
2219     <point />
2220     <tag k="highway" v="turning_circle"/>
2221   </feature>
2222
2223   <feature name="Traffic calming">
2224     
2225     <category>transport</category>
2226     <icon image="icons/speed_hump_16.png"/>
2227     <help>
2228       http://wiki.openstreetmap.org/wiki/Key:traffic%3Dcalming
2229     </help>
2230     <point />
2231     <!-- Warning: creates "traffic_calming=*" by default, but it's the best we can do. Steve Bennett-->
2232     <tag k="traffic_calming" v="*"/>
2233     <input type="choice" key="traffic_calming" name="Obstacle type" category="Traffic calming" presence="onTagMatch">
2234       <choice value="yes" text="Unspecified"/>
2235       <choice value="bump" text="Short bump" description="A sharp speed bump, typically slowing cars to 15 kph or less."/>
2236       <choice value="hump" text="Speed hump" description="A gentler, longer bump, typically slowing cars to 30 kph or less."/>
2237       <choice value="cushion" text="Speed cushion" description="A narrow speed bump allowing emergency vehicles and buses to pass without slowing."/>
2238       <choice value="table" text="Speed table" description="A very long speed hump allowing the whole wheelbase to rest on top."/>
2239       <choice value="chicane" text="Chicane" description="A set of obstacles causing vehicles to weave through."/>
2240       <choice value="rumble_strip" text="Rumble strip" description="A series of very small bumps causing vibration or noise."/>
2241       <choice value="choker" text="Choker" description="An artificial narrowing of the road."/>
2242     </input>
2243     
2244   </feature>
2245
2246
2247   <!-- ========= Entertainment ========= -->
2248   
2249   <feature name="Pub">
2250     <category>entertainment</category>
2251     <icon image="features/pois/food_pub.n.24.png">
2252       ${name}
2253     </icon>
2254     <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dpub</help>
2255     <point />
2256     <tag k="amenity" v="pub"/>
2257     <inputSet ref="names"/>
2258     <inputSet ref="buildingAddress" />
2259     <inputSet ref="wifi" />
2260   </feature>
2261
2262   <feature name="Bar">
2263     <category>entertainment</category>
2264     <icon image="features/pois/food_bar.n.24.png">
2265       ${name}
2266     </icon>
2267     <point />
2268     <tag k="amenity" v="bar"/>
2269     <inputSet ref="names"/>
2270     <inputSet ref="buildingAddress" />
2271     <inputSet ref="wifi" />
2272   </feature>
2273
2274   <feature name="Restaurant">
2275     <category>entertainment</category>
2276     <icon image="features/pois/food_restaurant.n.24.png">
2277       ${name}
2278     </icon>
2279     <point />
2280     <tag k="amenity" v="restaurant"/>
2281     <inputSet ref="names"/>
2282     <inputSet ref="buildingAddress"/>
2283     <inputSet ref="cuisine"/>
2284   </feature>
2285   
2286   <feature name="Cafe">
2287     <category>entertainment</category>
2288     <icon image="features/pois/food_cafe.n.24.png">
2289       ${name}
2290     </icon>
2291     <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dcafe</help>
2292     <point />
2293     <tag k="amenity" v="cafe"/>
2294     <inputSet ref="names"/>
2295     <inputSet ref="buildingAddress"/>
2296     <inputSet ref="cuisine"/>
2297     <inputSet ref="wifi" />
2298   </feature>
2299   
2300   <feature name="Fast Food">
2301     <category>entertainment</category>
2302     <icon image="features/pois/food_fastfood.n.24.png">
2303       ${name}
2304     </icon>
2305     <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dfast_food</help>
2306     <point />
2307     <tag k="amenity" v="fast_food"/>
2308     <inputSet ref="names"/>
2309     <inputSet ref="buildingAddress"/>
2310     <inputSet ref="cuisine"/>
2311   </feature>
2312
2313   <!-- ========= Shops ========= -->
2314
2315   <feature name="Small Convenience Store">
2316     <category>shopping</category>
2317     <icon image="features/pois/shopping_convenience.n.24.png">
2318       ${name}
2319     </icon>
2320     <help>http://wiki.openstreetmap.org/wiki/Tag:shop%3Dconvenience</help>
2321     <point />
2322     <tag k="shop" v="convenience"/>
2323     <inputSet ref="names"/>
2324     <inputSet ref="buildingAddress"/>
2325   </feature>
2326   
2327   <feature name="Supermarket">
2328     <category>shopping</category>
2329     <icon image="features/pois/shopping_supermarket.n.24.png">
2330       ${name}
2331     </icon>
2332     <help>http://wiki.openstreetmap.org/wiki/Tag:shop%3Dsupermarket</help>
2333     <point />
2334     <tag k="shop" v="supermarket"/>
2335     <inputSet ref="names"/>
2336     <inputSet ref="buildingAddress"/>
2337   </feature>
2338  
2339   <feature name="Alcohol shop">
2340     <category>shopping</category><point />
2341     <inputSet ref="simpleName" />
2342     <inputSet ref="buildingAddress"/>
2343         <icon image="features/pois/shopping_alcohol.n.24.png"/>
2344     <tag k="shop" v="alcohol"/>
2345   </feature>
2346
2347   <feature name="Bakery">
2348     <category>shopping</category><point /><inputSet ref="simpleName" /><inputSet ref="buildingAddress"/>
2349         <icon image="features/pois/shopping_bakery.n.24.png"/>
2350     <tag k="shop" v="bakery"/>
2351   </feature>
2352
2353   <feature name="Bike shop">
2354     <category>shopping</category><point /><inputSet ref="simpleName" /><inputSet ref="buildingAddress"/>
2355         <icon image="features/pois/shopping_bicycle.n.24.png"/>
2356     <tag k="shop" v="bicycle"/>
2357   </feature>
2358
2359   <feature name="Bookshop">
2360     <category>shopping</category><point /><inputSet ref="simpleName" /><inputSet ref="buildingAddress"/>
2361         <icon image="features/pois/shopping_book.n.24.png"/>
2362     <tag k="shop" v="book"/>
2363   </feature>
2364
2365   <feature name="Butcher">
2366     <category>shopping</category><point /><inputSet ref="simpleName" /><inputSet ref="buildingAddress"/>
2367         <icon image="features/pois/shopping_butcher.n.24.png"/>
2368     <tag k="shop" v="butcher"/>
2369   </feature>
2370
2371   <feature name="Car repair">
2372     <category>shopping</category><point /><inputSet ref="simpleName" /><inputSet ref="buildingAddress"/>
2373         <icon image="features/pois/shopping_car_repair.n.24.png"/>
2374     <tag k="shop" v="car_repair"/>
2375   </feature>
2376
2377   <feature name="Clothes shop">
2378     <category>shopping</category><point /><inputSet ref="simpleName" /><inputSet ref="buildingAddress"/>
2379         <icon image="features/pois/shopping_clothes.n.24.png"/>
2380     <tag k="shop" v="clothes"/>
2381   </feature>
2382
2383   <feature name="Confectionery">
2384     <category>shopping</category><point /><inputSet ref="simpleName" /><inputSet ref="buildingAddress"/>
2385         <icon image="features/pois/shopping_confectionery.n.24.png"/>
2386     <tag k="shop" v="confectionery"/>
2387   </feature>
2388
2389   <feature name="DIY">
2390     <category>shopping</category><point /><inputSet ref="simpleName" /><inputSet ref="buildingAddress"/>
2391         <icon image="features/pois/shopping_diy.n.24.png"/>
2392     <tag k="shop" v="doityourself"/>
2393   </feature>
2394
2395   <feature name="Fishmonger">
2396     <category>shopping</category><point /><inputSet ref="simpleName" /><inputSet ref="buildingAddress"/>
2397         <icon image="features/pois/shopping_fish.n.24.png"/>
2398     <tag k="shop" v="fishmonger"/>
2399   </feature>
2400
2401   <feature name="Garden centre">
2402     <category>shopping</category><point /><inputSet ref="simpleName" /><inputSet ref="buildingAddress"/>
2403         <icon image="features/pois/shopping_garden_centre.n.24.png"/>
2404     <tag k="shop" v="garden_centre"/>
2405   </feature>
2406
2407   <feature name="Gift shop">
2408     <category>shopping</category><point /><inputSet ref="simpleName" /><inputSet ref="buildingAddress"/>
2409         <icon image="features/pois/shopping_gift.n.24.png"/>
2410     <tag k="shop" v="gift"/>
2411   </feature>
2412
2413   <feature name="Greengrocer">
2414     <category>shopping</category><point /><inputSet ref="simpleName" /><inputSet ref="buildingAddress"/>
2415         <icon image="features/pois/shopping_greengrocer.n.24.png"/>
2416     <tag k="shop" v="greengrocer"/>
2417   </feature>
2418
2419   <feature name="Hairdresser">
2420     <category>shopping</category><point /><inputSet ref="simpleName" /><inputSet ref="buildingAddress"/>
2421         <icon image="features/pois/shopping_hairdresser.n.24.png"/>
2422     <tag k="shop" v="hairdresser"/>
2423   </feature>
2424
2425   <feature name="Hifi shop">
2426     <category>shopping</category><point /><inputSet ref="simpleName" /><inputSet ref="buildingAddress"/>
2427         <icon image="features/pois/shopping_hifi.n.24.png"/>
2428     <tag k="shop" v="hifi"/>
2429   </feature>
2430
2431   <feature name="Jewellery">
2432     <category>shopping</category><point /><inputSet ref="simpleName" /><inputSet ref="buildingAddress"/>
2433         <icon image="features/pois/shopping_jewelry.n.24.png"/>
2434     <tag k="shop" v="jewelry"/>
2435   </feature>
2436
2437   <feature name="Laundrette">
2438     <category>shopping</category><point /><inputSet ref="simpleName" /><inputSet ref="buildingAddress"/>
2439         <icon image="features/pois/shopping_laundrette.n.24.png"/>
2440     <tag k="shop" v="laundry"/>
2441   </feature>
2442
2443   <feature name="Motorbike shop">
2444     <category>shopping</category><point /><inputSet ref="simpleName" /><inputSet ref="buildingAddress"/>
2445         <icon image="features/pois/shopping_motorcycle.n.24.png"/>
2446     <tag k="shop" v="motorcycle"/>
2447   </feature>
2448
2449   <feature name="Music shop">
2450     <category>shopping</category><point /><inputSet ref="simpleName" /><inputSet ref="buildingAddress"/>
2451         <icon image="features/pois/shopping_music.n.24.png"/>
2452     <tag k="shop" v="music"/>
2453   </feature>
2454
2455   <feature name="Pharmacy">
2456     <category>shopping</category>
2457     <icon image="features/pois/health_pharmacy.n.24.png">
2458       ${name}
2459     </icon>
2460     <help>http://wiki.openstreetmap.org/wiki/Pharmacy</help>
2461     <point />
2462     <tag k="amenity" v="pharmacy"/>
2463     <inputSet ref="names"/>
2464     <inputSet ref="buildingAddress"/>
2465     <input type="checkbox" category="Amenity" presence="always" description="Does this pharmacy sell prescription drugs?" name="Dispensing" key="dispensing" layout="horizontal"/>
2466   </feature>
2467
2468   <!-- **************** Agriculture *************** -->
2469   <feature name="Farm">
2470     <category>agriculture</category>
2471 <!--    <point /> Avoid this, to prevent POI icon -->
2472     <area />
2473     <tag k="landuse" v="farm"/>
2474     <inputSet ref="simpleName"/>
2475   </feature>
2476
2477   <feature name="Farmyard">
2478     <category>agriculture</category>
2479     <area />
2480     <tag k="landuse" v="farmyard"/>
2481     <inputSet ref="simpleName"/>
2482   </feature>
2483
2484  <feature name="Farmland">
2485     <category>agriculture</category>
2486     <area />
2487     <tag k="landuse" v="farmland"/>
2488     <inputSet ref="simpleName"/>
2489   </feature>
2490
2491   <feature name="Field">
2492     <category>agriculture</category>
2493     
2494     <area />
2495     <tag k="landuse" v="meadow"/>
2496     <inputSet ref="simpleName"/>
2497   </feature>
2498   
2499   <feature name="Orchard">
2500     <category>agriculture</category>
2501     <area />
2502     <tag k="landuse" v="orchard"/>
2503     <inputSet ref="simpleName"/>
2504   </feature>
2505
2506   <feature name="Vineyard">
2507     <category>agriculture</category>
2508     <area />
2509     <tag k="landuse" v="vineyard"/>
2510     <inputSet ref="simpleName"/>
2511   </feature>
2512
2513   <!-- ************************************************************************
2514        Relations
2515        ************************************************************************ -->
2516
2517   <feature name="Turn restriction">
2518     <category>advanced</category>
2519     <help>http://wiki.openstreetmap.org/wiki/Turn_restrictions</help>
2520     <relation/>
2521     <tag k="type" v="restriction"/>
2522     <input type="choice" category="Restrictions" presence="always" name="Type" key="restriction" description="What's the restriction?" layout="horizontal" priority="high">
2523       <choice value="no_left_turn"      text="No left turn"/>
2524       <choice value="no_right_turn"     text="No right turn"/>
2525       <choice value="no_u_turn"         text="No U turns"/>
2526       <choice value="no_straight_on"    text="No straight on"/>
2527       <choice value="only_left_turn"    text="Left turn only"/>
2528       <choice value="only_right_turn"   text="Right turn only"/>
2529       <choice value="only_straight_on"  text="Straight on only"/>
2530     </input>
2531     <input type="choice" category="Restrictions" presence="always" name="Except" key="except" description="Are any vehicles exempt?" layout="horizontal">
2532       <choice value="psv"      text="Bus"/>
2533       <choice value="bicycle"  text="Bicycle"/>
2534       <choice value="motorcar" text="Car"/>
2535       <choice value="hgv"      text="HGV"/>
2536     </input>
2537     <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" />
2538     <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" />
2539     <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" />
2540     <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" />
2541   </feature>
2542
2543   <feature name="Multipolygon">
2544     <category>advanced</category>
2545     <relation/>
2546     <tag k="type" v="multipolygon"/>
2547   </feature>
2548
2549   <!-- cycle stuff -->
2550   <feature name="National Cycle Network">
2551     <category>paths</category>
2552     <icon image="features/cycle__ncn.png" background="red" foreground="white">
2553       <font size="14pt"><b>${ref}</b></font><br />
2554       <font size="12pt">${name}</font>
2555     </icon>
2556
2557     <relation/>
2558     <tag k="type" v="route"/>
2559     <tag k="network" v="ncn"/>
2560       
2561     <inputSet ref="route"/>
2562   </feature>
2563   
2564   <feature name="Regional Cycle Network">
2565     <category>paths</category>
2566     <icon image="features/cycle__rcn.png" background="cyan" foreground="white">
2567       <font size="14pt"><b>${ref}</b></font><br />
2568       <font size="12pt">${name}</font>
2569     </icon>
2570
2571     <relation/>
2572     <tag k="type" v="route"/>
2573     <tag k="network" v="rcn"/>
2574       
2575     <inputSet ref="route"/>
2576   </feature>
2577
2578   <feature name="Local Cycle Network">
2579     <category>paths</category>
2580     <icon image="features/cycle__lcn.png" background="blue" foreground="white">
2581       <font size="14pt"><b>${ref}</b></font><br />
2582       <font size="12pt">${name}</font>
2583     </icon>
2584
2585     <relation/>
2586     <tag k="type" v="route"/>
2587     <tag k="network" v="lcn"/>
2588       
2589     <inputSet ref="route"/>
2590   </feature>
2591
2592
2593   <!-- paths -->
2594   <feature name="Long Distance Path">
2595     <category>paths</category>
2596     <icon image="features/paths__footway.png" background="green" foreground="white">
2597       <font size="14pt"><b>${ref}</b></font><br />
2598       <font size="12pt">${name}</font>
2599     </icon>
2600
2601     <relation/>
2602     <tag k="type" v="route"/>
2603     <tag k="route" v="foot"/>
2604       
2605     <inputSet ref="route"/>
2606   </feature>
2607
2608
2609   <!-- public transit routes -->
2610   <feature name="Bus Route">
2611     <category>transport</category>
2612     <icon image="features/transport__bus.png">
2613       <font size="12pt">${operator} <b>${ref}</b></font>
2614     </icon>
2615
2616     <relation/>
2617     <tag k="type" v="route"/>
2618     <tag k="route" v="bus"/>
2619       
2620     <inputSet ref="route"/>
2621     <input type="freetext" presence="always" category="Naming" name="Operator" key="operator" description="The provider of the bus service" priority="low"/>
2622     <input type="freetext" presence="always" category="Naming" name="Network" key="network" description="The network of the bus service" priority="low"/>
2623   </feature>
2624   
2625   <feature name="Tram Route">
2626     <category>transport</category>
2627     <icon image="features/transport__tram.png">
2628       <font size="12pt">${operator} <b>${reg}</b></font>
2629     </icon>
2630     
2631     <relation/>
2632     <tag k="type" v="route"/>
2633     <tag k="route" v="tram"/>
2634     
2635     <inputSet ref="route"/>
2636     <input type="freetext" presence="always" category="Naming" name="Operator" key="operator" description="The provider of the tram service" priority="low"/>
2637     <input type="freetext" presence="always" category="Naming" name="Network" key="network" description="The network of the tram service" priority="low"/>
2638   </feature>
2639   
2640
2641     <!-- Junction nodes (for turn restrictions) -->
2642
2643     <feature>
2644         <point/>
2645         <within entity="way" k="highway" minimum="2"/>
2646         <inputSet ref="junctionNode"/>
2647     </feature>
2648
2649 </mapFeatures>