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