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