more turn restriction stuff, and checkboxes, and a bunch of little fixes
[potlatch2.git] / resources / map_features.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2
3 <mapFeatures>
4
5   <!-- Categories -->
6   
7   <category name="Roads" id="roads">
8   </category>
9
10   <category name="Paths" id="paths">
11   </category>
12
13   <category name="Transport" id="transport">
14   </category>
15
16   <category name="Water" id="water">
17   </category>
18
19   <category name="Natural" id="natural">
20   </category>
21   
22   <category name="Barrier" id="barrier">
23   </category>
24
25   <category name="Admin" id="admin">
26   </category>
27   
28   <category name="Buildings" id="buildings">
29   </category>
30
31   <category name="Entertainment" id="entertainment">
32   </category>
33   
34   <category name="Shopping" id="shopping">
35   </category>
36
37   <category name="Amenity" id="amenity">
38   </category>
39
40   <category name="Advanced" id="advanced">
41   </category>
42
43   <!-- Common input sets -->
44   
45   <inputSet id="names">
46     <input type="freetext" presence="always"
47         name="Name" category="Naming" priority="highest"
48         key="name" description="The most common name"/>
49     <input type="freetext" presence="onTagMatch"
50         name="International Name" category="Naming"
51         key="int_name" description="The internationally recognised name"/>
52     <input type="freetext" presence="onTagMatch"
53         name="Historical Name" category="Naming" priority="low"
54         key="old_name" description="The historic or previous name"/>
55   </inputSet>
56
57   <inputSet id="wifi">
58     <input type="choice" presence="always" category="Eating" name="Wifi" key="wifi">
59       <choice value="free" text="Free"/>
60       <choice value="yes" text="Yes"/>
61       <choice value="no" text="No"/>
62     </input>
63   </inputSet>
64   
65   <inputSet id="buildingAddress">
66     <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"/>
67     <input type="freetext" presence="onTagMatch" category="Address" description="The name of the house, e.g. Riverbank Cottage" name="Building Name" key="addr:housename"/>
68     <input type="freetext" presence="onTagMatch" category="Address" description="The Street Name (optional)" name="Street Name" key="addr:street"/>
69     <input type="freetext" presence="onTagMatch" category="Address" description="The postcode" name="Postcode" key="addr:postcode"/>
70   </inputSet>
71   
72   <inputSet id="cuisine">
73     <input type="choice" presence="always" name="Cuisine" category="Eating" description="The type of food that they serve" key="cuisine">
74       <choice value="burger" text="Burger"/>
75       <choice value="chicken" text="Chicken"/>
76       <choice value="chinese" text="Chinese"/>
77       <choice value="coffee_shop" text="Coffee Shop"/>
78       <choice value="greek" text="Greek"/>
79       <choice value="pizza" text="Pizza"/>
80       <choice value="sandwich" text="Sandwich"/>
81       <choice value="sea_food" text="Sea Food"/>
82       <help>http://wiki.openstreetmap.org/wiki/Key:cuisine</help>
83     </input>
84   </inputSet>
85
86   <!-- Roads -->
87   
88   <inputSet id="majorRoad">
89     <inputSet ref="names"/>
90     <inputSet ref="roadRefs"/>
91     <inputSet ref="roadRestrictions"/>
92     <inputSet ref="roadPhysical"/>
93     <inputSet ref="cycle"/>
94     <inputSet ref="bus-route"/>
95   </inputSet>
96   
97   <inputSet id="minorRoad">
98     <inputSet ref="names"/>
99     <inputSet ref="roadRestrictions"/>
100     <inputSet ref="roadPhysical"/>
101     <inputSet ref="cycle"/>
102     <inputSet ref="bus-route"/>
103   </inputSet>
104   
105   <inputSet id="junctionNode">
106     <inputSet ref="turnRestrictions"/>
107   </inputSet>
108
109   <inputSet id="roadRefs">
110     <input type="freetext" presence="always"
111         name="Reference" category="Naming" priority="high"
112         key="ref" description="The official reference number"/>
113     <input type="freetext" presence="onTagMatch"
114         name="International Reference" category="Naming"
115         key="int_ref" description="The official international reference number"/>
116     <input type="freetext" presence="onTagMatch"
117         name="Old Reference" category="Naming" priority="low"
118         key="old_ref" description="The historic or previous reference number"/>  
119   </inputSet>
120   
121   <inputSet id="roadPhysical">
122     <input type="slider" presence="onTagMatch"
123         name="Layer" category="Physical" description="Relative vertical positions (-5 lowest, +5 highest)"
124         key="layer" min="-5" max="5" default="0"/>
125     <input type="freetext" presence="onTagMatch"
126         name="Width" category="Physical"
127         key="width" description="Width of the road"/>
128     <input type="choice" presence="onTagMatch"
129         name="Surface" category="Physical" description="Type of road surface"
130         key="surface">
131       <choice value="unpaved" text="Unpaved" description="Road surface is unsealed"/>
132       <choice value="paved" text="Paved" description="Road surface is sealed"/>
133       <choice value="asphalt" text="Asphalt"/>
134       <choice value="concrete" text="Concrete"/>
135       <choice value="paving_stones" text="Paving stones"/>
136       <choice value="cobblestone" text="Cobblestone"/>
137       <choice value="sand" text="Sand"/>
138       <choice value="gravel" text="Gravel"/>
139     </input>
140     <inputSet ref="bridge"/>
141     <inputSet ref="tunnel"/>
142   </inputSet>
143   
144   <inputSet id="bridge">
145     <input type="choice" presence="onTagMatch"
146         name="Bridge" category="Physical" description="Road goes over a bridge"
147         key="bridge">
148       <choice value="yes" text="Generic Bridge" description="Generic bridge -- type unknown"/>
149       <choice value="viaduct" text="Viaduct" description="Viaduct"/>
150       <choice value="suspension" text="Suspension bridge"/>
151     </input>
152   </inputSet>
153   <inputSet id="tunnel">
154     <input type="choice" presence="onTagMatch"
155         name="Tunnel" category="Physical" description="Road goes into a tunnel"
156         key="tunnel">
157       <choice value="yes" text="Tunnel" description="Generic tunnel"/>
158     </input>
159   </inputSet>
160   
161   <inputSet id="fee">
162     <input type="freetext" presence="onTagMatch" category="Restrictions" description="The charge/cost of using this amenity" name="Fee" key="fee"/>
163   </inputSet>
164
165   <inputSet id="roadRestrictions">
166     <input type="choice" presence="onTagMatch"
167         name="Oneway" category="Restrictions" description="Oneway roads"
168         key="oneway">
169       <choice value="yes" match="yes|true|1" text="One way"
170         description="Road can only be travelled in direction of way" icon="features/oneway__yes.png"/>
171       <choice value="no" match="no|false|0" text="Two way"
172         description="Road can be travelled in both directions" icon="features/oneway__no.png"/>
173       <choice value="-1" match="-1|reverse" text="One way reverse"
174         description="Road can be travelled in opposite direction to way" icon="features/oneway__-1.png"/>
175     </input>
176     <input type="speed" presence="onTagMatch"
177         name="Speed Limit" category="Restrictions" description="Maximum permitted speed on this road"
178         key="maxspeed"/>
179   </inputSet>
180   
181   <inputSet id="turnRestrictions">
182     <input type="turn" name="Turn restriction" description="Turn restriction" category="Restrictions" priority="normal" presence="onTagMatch">
183        <match k="type" v="restriction"/>
184        <role role="via"/>
185     </input>
186   </inputSet>
187
188   <inputSet id="naptan">
189     <input type="freetext" presence="onTagMatch" category="Naptan" description="12 character internal Naptan ID" name="Atco Code" key="naptan:AtcoCode" />
190     <input type="choice" presence="onTagMatch" category="Naptan" description="The eight-point compass bearning" name="Naptan Bearing" key="naptan:Bearing" >
191       <choice value="N"  match="N"  text="N"  description=""/>
192       <choice value="NE" match="NE" text="NE" description=""/>
193       <choice value="E"  match="E"  text="E"  description=""/>
194       <choice value="SE" match="SE" text="SE" description=""/>
195       <choice value="S"  match="S"  text="S"  description=""/>
196       <choice value="SW" match="SW" text="SW" description=""/>
197       <choice value="W"  match="W"  text="W"  description=""/>
198       <choice value="NW" match="NW" text="NW" description=""/>
199     </input>
200     <input type="freetext" presence="onTagMatch" category="Naptan" description="The naptan common name" name="Naptan Common Name (read-only)" key="naptan:CommonName" />
201     <input type="freetext" presence="onTagMatch" category="Naptan" description="" name="Naptan Indicator (read-only)" key="naptan:Indicator" />
202     <input type="freetext" presence="onTagMatch" category="Naptan" description="" name="Naptan Street (read-only)" key="naptan:Street" />
203     <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" />
204   </inputSet>
205   
206   <inputSet id="buses">
207     <input type="freetext" presence="always" category="Bus Stop" name="Stop Name" key="name" description="The name of the bus stop" />
208     <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" />
209     <inputSet ref="naptan" />
210   </inputSet>
211   
212   <inputSet id="bus-route">
213     <input type="route" name="Bus Route" description="Bus route" category="Transport" priority="low" presence="onTagMatch">
214       <match k="type" v="route"/>
215       <match k="route" v="bus"/>
216       <icon image="features/transport__bus.png">
217         <font size="12pt">${operator} <b>${ref}</b></font>
218       </icon>
219     </input>
220   </inputSet>
221   
222   <inputSet id="tram-route">
223     <input type="route" name="Tram Route" description="Tram route" category="Transport" priority="low" presence="onTagMatch">
224       <match k="type" v="route"/>
225       <match k="route" v="tram"/>
226       <icon image="features/transport__tram.png">
227         <font size="12pt">${operator} <b>${ref}</b></font>
228       </icon>
229     </input>
230   </inputSet>
231   
232   <inputSet id="cycle">
233     <input type="route" name="National Cycle Route" description="National cycle route" category="Cycle" priority="normal">
234        <match k="type" v="route"/>
235        <match k="network" v="ncn"/>
236        <icon image="features/cycle__ncn.png" background="red" foreground="white">
237          <font size="14pt"><b>${ref}</b></font><br />
238          <font size="12pt">${name}</font>
239        </icon>
240     </input>
241     <input type="route" name="Regional Cycle Route" description="Regional cycle route" category="Cycle" priority="low">
242        <match k="type" v="route"/>
243        <match k="network" v="rcn"/>
244        <icon image="features/cycle__rcn.png" background="cyan" foreground="white">
245          <font size="14pt"><b>${ref}</b></font><br />
246          <font size="12pt">${name}</font>
247        </icon>
248     </input>
249     <input type="route" name="Local Cycle Route" description="Local cycle route" category="Cycle" priority="lowest">
250        <match k="type" v="route"/>
251        <match k="network" v="lcn"/>
252        <icon image="features/cycle__lcn.png" background="blue" foreground="white">
253          <font size="14pt"><b>${ref}</b></font><br />
254          <font size="12pt">${name}</font>
255        </icon>
256     </input>
257   </inputSet>
258   
259   <inputSet id="route">
260     <inputSet ref="names"/>
261     <inputSet ref="roadRefs"/>
262   </inputSet>
263   
264   <inputSet id="rivers">
265     <input type="freetext" presence="always" name="Name" category="Naming" key="name" description="The name" />
266     <input type="freetext" presence="always" name="Width" category="Properties" key="width" description="The width in metres" />
267   </inputSet>
268   
269   <feature name="Motorway">
270     <category>roads</category>
271     <icon image="features/highway__motorway.png">
272       <font size="16pt"><b>${ref}</b></font><br/>
273     </icon>
274     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dmotorway</help>
275
276     <line/>
277     <tag k="highway" v="motorway"/>
278
279     <inputSet ref="majorRoad"/>
280   </feature>
281
282   <feature name="Motorway link" icon="features/motorway_link.png">
283     <category>roads</category>
284     <line/>
285     <tag k="highway" v="motorway_link"/>
286
287     <inputSet ref="majorRoad"/>
288   </feature>
289
290   <feature name="Trunk Road">
291     <category>roads</category>
292     <icon image="features/highway__trunk.png">
293       <font size="16pt"><b>${ref}</b></font><br/>
294       <font size="10pt">${name}</font>
295     </icon>
296     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dtrunk</help>
297
298     <line/>
299     <tag k="highway" v="trunk"/>
300     
301     <inputSet ref="majorRoad"/>
302   </feature>
303
304   <feature name="Primary Road">
305     <category>roads</category>
306     <icon>
307       <font size="16pt"><b>${ref}</b></font><br/>
308       <font size="10pt">${name}</font>
309     </icon>
310     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dprimary</help>
311
312     <line/>
313     <tag k="highway" v="primary"/>
314
315     <inputSet ref="majorRoad"/>
316   </feature>
317
318   <feature name="Secondary Road">
319     <category>roads</category>
320     <icon>
321       <font size="16pt"><b>${ref}</b></font><br/>
322       <font size="10pt">${name}</font>
323     </icon>
324     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dsecondary</help>
325
326     <line/>
327     <tag k="highway" v="secondary"/>
328
329     <inputSet ref="majorRoad"/>
330   </feature>
331
332   <feature name="Tertiary Road">
333     <category>roads</category>
334     <icon>
335       <font size="14pt"><b>${name}</b></font><br/>
336       <font size="10pt">${ref}</font>
337     </icon>
338     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dtertiary</help>
339
340     <line/>
341     <tag k="highway" v="tertiary"/>
342
343     <inputSet ref="majorRoad"/>
344   </feature>
345
346   <feature name="Residential Road">
347     <category>roads</category>
348     <icon image="features/highway__residential.png">
349       <font size="14pt"><b>${name}</b></font><br/>
350       <font size="8pt">${postal_code}</font><br/>
351     </icon>
352     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dresidential</help>
353
354     <line/>
355     <tag k="highway" v="residential"/>
356
357     <inputSet ref="minorRoad"/>
358   </feature>
359
360   <feature name="Road">
361     <category>roads</category>
362     <icon image="features/highway__unclassified.png">
363       <font size="14pt"><b>${name}</b></font>
364     </icon>
365     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dunclassified</help>
366
367     <line/>
368     <tag k="highway" v="unclassified"/>
369
370     <inputSet ref="minorRoad"/>
371   </feature>
372
373   <feature name="Service Road">
374     <category>roads</category>
375     <icon image="features/highway__service.png">
376       <font size="14pt"><b>${name}</b></font>
377     </icon>
378     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dservice</help>
379     <description>
380       Access roads
381     </description>
382
383     <line/>
384     <tag k="highway" v="service"/>
385
386     <inputSet ref="minorRoad"/>
387   </feature>
388
389   <feature name="Unknown Road">
390     <category>roads</category>
391     <icon>
392       <font size="10pt">This road has not been given a specific type. It's a road, and that's all that's known.</font>
393     </icon>
394
395     <line/>
396     <tag k="highway" v="road"/>
397
398     <inputSet ref="minorRoad"/>
399   </feature>
400
401   <feature name="Living Street">
402     <category>roads</category>
403     <icon>
404       <font size="14pt"><b>${name}</b></font>
405     </icon>
406     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dliving_street</help>
407
408     <line/>
409     <tag k="highway" v="living_street"/>
410
411     <inputSet ref="minorRoad"/>
412   </feature>
413
414   <feature name="Track">
415     <category>roads</category>
416     <icon>
417       <font size="14pt"><b>${name}</b></font>
418     </icon>
419
420     <line/>
421     <tag k="highway" v="track"/>
422
423     <inputSet ref="minorRoad"/>
424   </feature>
425
426   <feature name="Pedestrian Road">
427     <category>roads</category>
428     <icon>
429       <font size="14pt"><b>${name}</b></font>
430     </icon>
431
432     <tag k="highway" v="pedestrian"/>
433     <!-- pedestrian roads can be lines or areas, with different tags -->
434     <!-- TODO - implement this! -->
435     <line>
436       <tag k="highway" v="pedestrian"/>
437     </line>
438     <area>
439       <tag k="highway" v="pedestrian"/>
440       <tag k="area" v="yes"/>
441     </area>
442     <inputSet ref="minorRoad"/>
443   </feature>
444
445
446
447   <!-- Paths -->
448
449   <feature name="Cycle Path">
450     <category>paths</category>
451     <icon image="features/paths__unknown.png">
452       ${name} <i>${ncn_ref} ${rcn_ref} ${lcn_ref} ${ref}</i>
453     </icon>
454
455     <line/>
456     <tag k="highway" v="cycleway"/>
457     <inputSet ref="bridge"/>
458     <inputSet ref="tunnel"/>
459   </feature>
460
461   <feature name="Foot Path">
462     <category>paths</category>
463     <icon image="features/paths__footway.png">
464       ${name} <i>${ref}</i>
465     </icon>
466
467     <line/>
468     <tag k="highway" v="footway"/>
469     <inputSet ref="bridge"/>
470     <inputSet ref="tunnel"/>
471   </feature>
472
473   <feature name="Bridleway">
474     <category>paths</category>
475     <icon image="features/paths__bridleway.png">
476     </icon>
477
478     <line/>
479     <tag k="highway" v="bridleway"/>
480   </feature>
481
482   <feature name="Steps">
483     <category>paths</category>
484     <icon image="features/paths__steps.png">
485     </icon>
486     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dsteps</help>
487
488     <line/>
489     <tag k="highway" v="steps"/>
490     <inputSet ref="names"/>
491     <input type="freetext" presence="always" category="Naming" name="Number of steps" key="step_count" description="The number of steps in the way" priority="low"/>
492   </feature>
493
494
495   <!-- Barriers -->
496
497   <feature name="Fence">
498     <category>natural</category>
499     <icon>
500     </icon>
501     <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dfence</help>
502
503     <line/>
504     <tag k="barrier" v="fence"/>
505   </feature>
506
507   <feature name="Hedge">
508     <category>natural</category>
509     <icon>
510     </icon>
511     <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dhedge</help>
512
513     <line/>
514     <tag k="barrier" v="hedge"/>
515   </feature>
516
517   <feature name="Wall">
518     <category>barrier</category>
519     <icon>
520     </icon>
521     <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dwall</help>
522
523     <line/>
524     <tag k="barrier" v="wall"/>
525   </feature>
526
527   <feature name="Ditch">
528     <category>barrier</category>
529     <icon>
530     </icon>
531     <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dditch</help>
532     
533     <line/>
534     <tag k="barrier" v="ditch"/>
535   </feature>
536   
537   <feature name="Retaining Wall">
538     <category>barrier</category>
539     <icon>
540     </icon>
541     <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dretaining_wall</help>
542     
543     <line/>
544     <tag k="barrier" v="retaining_wall"/>
545   </feature>
546   
547   <feature name="City Wall">
548     <category>barrier</category>
549     <icon>
550     </icon>
551     <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dcity_wall</help>
552     
553     <line/>
554     <tag k="barrier" v="city_wall"/>
555   </feature>
556   
557   <!-- node based barriers, most should be of the node in way type -->
558   
559   <feature name="Bollard">
560     <category>barrier</category>
561     <icon image="icons/bollard.png">
562     </icon>
563     <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dbollard</help>
564     
565     <point />
566     <tag k="barrier" v="bollard"/>
567   </feature>
568   
569   <feature name="Gate">
570     <category>barrier</category>
571     <icon image="icons/gate.png">
572     </icon>
573     <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dgate</help>
574     
575     <point />
576     <tag k="barrier" v="gate"/>
577   </feature>
578   
579   <feature name="Cycle Barrier">
580     <category>barrier</category>
581     <icon image="icons/bollard.png">
582     </icon>
583     <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dcycle_barrier</help>
584     
585     <point />
586     <tag k="barrier" v="cycle_barrier"/>
587   </feature>
588   
589   <feature name="Big Concrete Blocks">
590     <category>barrier</category>
591     <icon image="icons/bollard.png">
592     </icon>
593     <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dblock</help>
594     
595     <point />
596     <tag k="barrier" v="block"/>
597   </feature>
598   
599   <feature name="Cattle Grid">
600     <category>barrier</category>
601     <icon image="icons/cattle_grid.png">
602     </icon>
603     <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dcattle_grid</help>
604     
605     <point />
606     <tag k="barrier" v="cattle_grid"/>
607   </feature>
608   
609   <feature name="Toll Booth">
610     <category>barrier</category>
611     <icon>
612     </icon>
613     <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dtoll_booth</help>
614     
615     <point />
616     <tag k="barrier" v="toll_booth"/>
617     <tagSet ref="fee"/>
618     <input type="freetext" presence="onTagMatch" category="Naming" name="Operator" key="operator" description="The provider of the toll" priority="low"/>
619   </feature>
620
621   <!-- Waterway -->
622
623   <feature name="Stream">
624     <category>water</category>
625     <icon image="features/waterway__stream.png">
626       <font size="14pt"><b>${name}</b></font>
627     </icon>
628
629     <line/>
630     <tag k="waterway" v="stream"/>
631   </feature>
632
633   <feature name="River">
634     <category>water</category>
635     <icon image="features/waterway__river.png">
636       <font size="14pt"><b>${name}</b></font>
637     </icon>
638
639     <line/>
640     <tag k="waterway" v="river"/>
641     <inputSet ref="rivers" />
642   </feature>
643
644   <feature name="Canal">
645     <category>water</category>
646     <icon image="features/waterway__canal.png">
647       <font size="14pt"><b>${name}</b></font>
648     </icon>
649
650     <line/>
651     <tag k="waterway" v="canal"/>
652   </feature>
653
654   <feature name="Dam">
655     <category>water</category>
656     <icon image="features/waterway__dam.png">
657       <font size="14pt"><b>${name}</b></font>
658     </icon>
659
660     <line/>
661     <tag k="waterway" v="dam"/>
662   </feature>
663
664
665   <!-- Railways -->
666
667   <feature name="Railway Line">
668     <category>transport</category>
669     <icon image="features/transport__railway.png">
670       <font size="14pt"><b>${name}</b></font>
671     </icon>
672
673     <line/>
674     <tag k="railway" v="rail"/>
675     <inputSet ref="bridge"/>
676     <inputSet ref="tunnel"/>
677   </feature>
678
679   <feature name="Tram Line">
680     <category>transport</category>
681     <icon image="features/transport__tram.png">
682       <font size="14pt"><b>${name}</b></font>
683     </icon>
684
685     <line/>
686     <tag k="railway" v="tram"/>
687     <input ref="tram-route"/>
688     <inputSet ref="bridge"/>
689     <inputSet ref="tunnel"/>
690   </feature>
691
692   <feature name="Subway Line">
693     <category>transport</category>
694     <icon image="features/transport__subway.png">
695       <font size="14pt"><b>${name}</b></font>
696     </icon>
697
698     <line/>
699     <tag k="railway" v="subway"/>
700     <inputSet ref="bridge"/>
701     <inputSet ref="tunnel"/>
702   </feature>
703
704   <feature name="Railway Station">
705     <category>transport</category>
706     <icon image="features/transport__railway.png">
707       <font size="14pt"><b>${name}</b></font>
708     </icon>
709     
710     <point/>
711     <tag k="railway" v="station"/>
712     <inputSet ref="names"/>
713     <input type="freetext" presence="onTagMatch" category="Naming" name="Reference" key="ref" description="The shortcode/reference for the station" priority="low"/>
714     <input type="freetext" presence="onTagMatch" category="Naming" name="Operator" key="operator" description="The provider of the postal service" priority="low"/>
715   </feature>
716   
717   <feature name="Railway Station">
718     <category>buildings</category>
719     <icon image="features/transport__railway.png">
720       <font size="14pt"><b>${name}</b></font>
721     </icon>
722     
723     <area/>
724     <tag k="building" v="station"/>
725   </feature>
726   
727   <feature name="Railway Platform">
728     <category>transport</category>
729     
730     <line />
731     <area />
732     <tag k="railway" v="platform"/>
733     <input type="freetext" presence="onTagMatch" category="Naming" name="Reference" key="ref" description="The number of the platform" priority="low"/>
734   </feature>
735     
736   <!-- Buildings -->
737
738   <feature name="School">
739     <category>buildings</category>
740     <icon>
741       <b>${name} ${addr:housename}</b><br/>
742       ${addr:housenumber} ${addr:street} ${addr:postcode}
743     </icon>
744
745     <area/>
746     <tag k="amenity" v="school"/>
747     <tag k="building" v="yes"/>
748     <inputSet ref="names"/>
749     <inputSet ref="buildingAddress" />
750   </feature>
751
752   <feature name="College">
753     <category>buildings</category>
754     <icon>
755       <b>${name} ${addr:housename}</b><br/>
756       ${addr:housenumber} ${addr:street} ${addr:postcode}
757     </icon>
758
759     <area/>
760     <tag k="amenity" v="college"/>
761     <tag k="building" v="yes"/>
762     <inputSet ref="names"/>
763     <inputSet ref="buildingAddress" />
764   </feature>
765
766   <feature name="Building">
767     <category>buildings</category>
768     <icon>
769       <b>${name} ${addr:housename}</b><br/>
770       ${addr:housenumber} ${addr:street} ${addr:postcode}
771     </icon>
772
773     <area/>
774     <tag k="building" v="*"/>
775     <inputSet ref="names"/>
776     <inputSet ref="buildingAddress" />
777   </feature>
778
779   <!-- Areas -->
780
781   <feature name="Park">
782     <category>natural</category>
783     <icon>
784       <b>${name}</b><br/>
785     </icon>
786
787     <area/>
788     <tag k="leisure" v="park"/>
789   </feature>
790   
791   <feature name="Forest">
792     <category>natural</category>
793     <icon>
794       <b>${name}</b><br/>
795     </icon>
796
797     <area/>
798     <tag k="landuse" v="forest"/>
799   </feature>
800   
801   <!-- POI -->
802   
803   <feature name="Aerodrome">
804     <category>aeroway</category>
805     <icon image="icons/airport.png"/>
806     <help>http://wiki.openstreetmap.org/wiki/Tag:aeroway%3Daerodrome</help>
807     <point />
808     <tag k="aeroway" v="aerodrome"/>
809     <input type="freetext" presence="always" category="" name="name" key="name" description="The name of the aerodrome/airport" priority="low"/>
810   </feature>
811
812
813   <feature name="Cinema">
814     <category>amenity</category>
815     <icon image="icons/cinema.png"/>
816     <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dcinema</help>
817     <point />
818     <tag k="amenity" v="cinema"/>
819     <input type="freetext" presence="always" category="" name="name" key="name" description="The name of the cinema" priority="low"/>
820   </feature>
821
822   <feature name="Ferry Terminal">
823     <category>amenity</category>
824     <icon image="icons/ferry_terminal.png"/>
825     <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dferry_terminal</help>
826     <point />
827     <tag k="amenity" v="ferry_terminal"/>
828     <input type="freetext" presence="always" category="" name="name" key="name" description="The name of the ferry terminal." priority="low"/>
829     <input type="freetext" presence="always" category="" name="Operator" key="operator" description="The operator of the ferry terminal." priority="low"/>
830     <input type="freetext" presence="always" category="" name="Cargo" key="cargo" description="The cargo shipped from here." priority="low"/>
831   </feature>
832
833   <feature name="Fire station">
834     <category>amenity</category>
835     <icon image="icons/fire_station.png"/>
836     <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dfire_station</help>
837     <point />
838     <tag k="amenity" v="fire_station"/>
839     <input type="freetext" presence="always" category="" name="name" key="name" description="The Name of it." priority="low"/>
840   </feature>
841
842
843   <feature name="Police Station">
844     <category>amenity</category>
845     <icon image="icons/police.png"/>
846     <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dpolice</help>
847     <point />
848     <tag k="amenity" v="police"/>
849     <input type="freetext" presence="always" category="" name="name" key="name" description="The Name of it." priority="low"/>
850   </feature>
851
852
853   <feature name="Hospital">
854     <category>amenity</category>
855     <icon image="icons/hospital.png"/>
856     <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dhospital</help>
857     <point />
858     <tag k="amenity" v="hospital"/>
859     <input type="freetext" presence="always" category="" name="name" key="name" description="The Name of it." priority="low"/>
860   </feature>
861
862   <feature name="Hotel">
863     <category>tourism</category>
864     <icon image="icons/hotel.png"/>
865     <help>http://wiki.openstreetmap.org/wiki/Tag:tourism%3Dhotel</help>
866     <point />
867     <tag k="tourism" v="hotel"/>
868     <input type="freetext" presence="always" category="" name="name" key="name" description="The of it." priority="low"/>
869   </feature>
870
871   <feature name="Museum">
872     <category>tourism</category>
873     <icon image="icons/museum.png"/>
874     <help>http://wiki.openstreetmap.org/wiki/Tag:tourism%3Dmuseum</help>
875     <point />
876     <tag k="tourism" v="museum"/>
877     <input type="freetext" presence="always" category="" name="" key="" description="The name of it." priority="low"/>
878   </feature>
879
880   <feature name="Place of Worship">
881     <category>amenity</category>
882     <icon image="icons/place_of_worship.png"/>
883     <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dplace_of_worship</help>
884     <point />
885     <tag k="amenity" v="place_of_worship"/>
886     <input type="freetext" presence="always" category="" name="name" key="name" description="The name of it." priority="low"/>
887     <input type="freetext" presence="always" category="" name="religion" key="religion" description="The religion worshiped here" priority="low"/>
888     <input type="freetext" presence="always" category="" name="denomination" key="denomination" description="The denomination of the religion worshiped here." priority="low"/>
889   </feature>
890
891
892
893
894
895
896
897
898
899   <feature name="ATM">
900     <category>amenity</category>
901     <icon image="icons/atm.png"/>
902     <help>http://wiki.openstreetmap.org/wiki/Atm</help>
903     <point />
904     <tag k="amenity" v="atm"/>
905     <input type="freetext" presence="always" category="Banking" name="Operator" key="operator" description="The organisation that provides this ATM" priority="low"/>
906     <input type="freetext" presence="always" category="Banking" name="Fee" key="fee" description="Is there a charge for using this ATM? If so how much?"/>
907   </feature>
908   
909   <feature name="Bank">
910     <category>amenity</category>
911     <icon image="icons/bank.png">
912       ${name}
913     </icon>
914     <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dbank</help>
915     <point />
916     <tag k="amenity" v="bank"/>
917     <inputSet ref="names"/>
918     <inputSet ref="buildingAddress"/>
919     <input type="choice" presence="always" category="Bank" name="Public ATM available" key="atm" description="Is there a public ATM available?">
920       <choice value="yes" text="Yes"/>
921       <choice value="no" text="No"/>
922     </input>    
923   </feature>
924   
925   <feature name="Recycling">
926     <category>amenity</category>
927     <icon image="icons/recycling.png"/>
928     <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Drecycling</help>
929     <point />
930     <tag k="amenity" v="recycling"/>
931   </feature>
932   
933   <feature name="School">
934     <category>amenity</category>
935     <icon image="icons/school.png">
936       ${name}
937     </icon>
938     <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dschool</help>
939     <point />
940     <area />
941     <tag k="amenity" v="school"/>
942     <inputSet ref="names"/>
943     <inputSet ref="buildingAddress"/>
944   </feature>
945   
946   <!-- transportation -->
947   <feature name="Bus Stop">
948     <category>transport</category>
949     <icon image="features/transport__bus.png">
950       ${name} ${local_ref}
951     </icon>
952     <point />
953     <tag k="highway" v="bus_stop"/>
954     <inputSet ref="buses" />
955   </feature>
956   
957   <feature name="Car Parking">
958     <category>transport</category>
959     <icon image="icons/parking.png">
960       ${name}
961     </icon>
962     <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dparking</help>
963     <point />
964     <area />
965     <tag k="amenity" v="parking"/>
966     <inputSet ref="names"/>
967     <input type="freetext" presence="onTagMatch" category="Naming" name="Operator" key="operator" description="The provider of the postal service" priority="low"/>
968     <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"/>
969     <inputSet ref="fee"/>
970   </feature>
971   
972   <feature name="Bicycle Parking">
973     <category>transport</category>
974     <icon image="icons/parking_cycle.png">
975       ${name} ${capacity}
976     </icon>
977     <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dbicycle_parking</help>
978     <point />
979     <tag k="amenity" v="bicycle_parking"/>
980     <inputSet ref="names"/>
981     <input type="freetext" presence="onTagMatch" category="Naming" name="Operator" key="operator" description="The provider of the postal service" priority="low"/>
982     <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"/>
983     <inputSet ref="fee"/>
984     <input type="choice" presence="always" category="Cycle" name="Covered" key="covered" description="Is the cycle parking covered, so that the bikes are kept dry?">
985       <choice value="yes" text="Yes"/>
986       <choice value="no" text="No"/>
987     </input>
988   </feature>
989   
990   <!-- eating places/entertainment -->
991   
992   <feature name="Pub">
993     <category>entertainment</category>
994     <icon image="icons/pub.png">
995       ${name}
996     </icon>
997     <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dpub</help>
998     <point />
999     <tag k="amenity" v="pub"/>
1000     <inputSet ref="names"/>
1001     <inputSet ref="buildingAddress" />
1002     <inputSet ref="wifi" />
1003   </feature>
1004
1005   <feature name="Bar">
1006     <category>entertainment</category>
1007     <icon image="icons/bar.png">
1008       ${name}
1009     </icon>
1010     <point />
1011     <tag k="amenity" v="bar"/>
1012     <inputSet ref="names"/>
1013     <inputSet ref="buildingAddress" />
1014     <inputSet ref="wifi" />
1015   </feature>
1016
1017   <feature name="Restaurant">
1018     <category>entertainment</category>
1019     <icon image="icons/restaurant.png">
1020       ${name}
1021     </icon>
1022     <point />
1023     <tag k="amenity" v="restaurant"/>
1024     <inputSet ref="names"/>
1025     <inputSet ref="buildingAddress"/>
1026     <inputSet ref="cuisine"/>
1027   </feature>
1028   
1029   <feature name="Cafe">
1030     <category>entertainment</category>
1031     <icon image="icons/cafe.png">
1032       ${name}
1033     </icon>
1034     <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dcafe</help>
1035     <point />
1036     <tag k="amenity" v="cafe"/>
1037     <inputSet ref="names"/>
1038     <inputSet ref="buildingAddress"/>
1039     <inputSet ref="cuisine"/>
1040     <inputSet ref="wifi" />
1041   </feature>
1042   
1043   <feature name="Fast Food">
1044     <category>entertainment</category>
1045     <icon image="icons/fast_food.png">
1046       ${name}
1047     </icon>
1048     <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dfast_food</help>
1049     <point />
1050     <tag k="amenity" v="fast_food"/>
1051     <inputSet ref="names"/>
1052     <inputSet ref="buildingAddress"/>
1053     <inputSet ref="cuisine"/>
1054   </feature>
1055
1056   <feature name="Post Box">
1057     <category>amenity</category>
1058     <icon image="icons/post_box.png">
1059       ${ref}
1060     </icon>
1061     <help>http://wiki.openstreetmap.org/wiki/Post_box</help>
1062     <point />
1063     <tag k="amenity" v="post_box"/>
1064     <input type="freetext" presence="always" category="Naming" name="Ref" key="ref" description="Reference number of the post box" />
1065     <input type="freetext" presence="always" category="Naming" name="Operator" key="operator" description="The provider of the postal service" priority="low"/>
1066   </feature>
1067   
1068   <!-- shops -->
1069   <feature name="Small Convience Store">
1070     <category>shopping</category>
1071     <icon image="icons/convenience.png">
1072       ${name}
1073     </icon>
1074     <help>http://wiki.openstreetmap.org/wiki/Tag:shop%3Dconvenience</help>
1075     <point />
1076     <tag k="shop" v="convenience"/>
1077     <inputSet ref="names"/>
1078     <inputSet ref="buildingAddress"/>
1079   </feature>
1080   
1081   <feature name="Supermarket">
1082     <category>shopping</category>
1083     <icon image="icons/supermarket.png">
1084       ${name}
1085     </icon>
1086     <help>http://wiki.openstreetmap.org/wiki/Tag:shop%3Dsupermarket</help>
1087     <point />
1088     <tag k="shop" v="supermarket"/>
1089     <inputSet ref="names"/>
1090     <inputSet ref="buildingAddress"/>
1091   </feature>
1092   
1093   <feature name="Pharmacy">
1094     <category>shopping</category>
1095     <icon image="icons/pharmacy.png">
1096       ${name}
1097     </icon>
1098     <help>http://wiki.openstreetmap.org/wiki/Pharmacy</help>
1099     <point />
1100     <tag k="amenity" v="pharmacy"/>
1101     <inputSet ref="names"/>
1102     <inputSet ref="buildingAddress"/>
1103     <input type="checkbox" category="Amenity" presence="always" description="Does this pharmacy sell prescription drugs?" name="Dispensing" key="dispensing" layout="horizontal"/>
1104   </feature>
1105
1106   <!-- advanced relations -->
1107   <feature name="Turn restriction">
1108     <category>advanced</category>
1109     <help>http://wiki.openstreetmap.org/wiki/Turn_restrictions</help>
1110     <relation/>
1111     <tag k="type" v="restriction"/>
1112     <input type="choice" category="Restrictions" presence="always" name="Type" key="restriction" description="What's the restriction?" layout="horizontal" priority="high">
1113       <choice value="no_left_turn"      text="No left turn"/>
1114       <choice value="no_right_turn"     text="No right turn"/>
1115       <choice value="no_u_turn"         text="No U turns"/>
1116       <choice value="no_straight_on"    text="No straight on"/>
1117       <choice value="only_left_turn"    text="Left turn only"/>
1118       <choice value="only_right_turn"   text="Right turn only"/>
1119       <choice value="only_straight_on"  text="Straight on only"/>
1120     </input>
1121     <input type="choice" category="Restrictions" presence="always" name="Except" key="except" description="Are any vehicles exempt?" layout="horizontal">
1122       <choice value="psv"      text="Bus"/>
1123       <choice value="bicycle"  text="Bicycle"/>
1124       <choice value="motorcar" text="Car"/>
1125       <choice value="hgv"      text="HGV"/>
1126     </input>
1127     <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" />
1128     <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" />
1129     <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" />
1130     <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" />
1131   </feature>
1132
1133   <feature name="Multipolygon">
1134     <category>advanced</category>
1135     <relation/>
1136     <tag k="type" v="multipolygon"/>
1137   </feature>
1138
1139   <!-- cycle stuff -->
1140   <feature name="National Cycle Network">
1141     <category>paths</category>
1142     <icon image="features/cycle__ncn.png" background="red" foreground="white">
1143       <font size="14pt"><b>${ref}</b></font><br />
1144       <font size="12pt">${name}</font>
1145     </icon>
1146
1147     <relation/>
1148     <tag k="type" v="route"/>
1149     <tag k="network" v="ncn"/>
1150       
1151     <inputSet ref="route"/>
1152   </feature>
1153   
1154   <feature name="Regional Cycle Network">
1155     <category>paths</category>
1156     <icon image="features/cycle__rcn.png" background="cyan" foreground="white">
1157       <font size="14pt"><b>${ref}</b></font><br />
1158       <font size="12pt">${name}</font>
1159     </icon>
1160
1161     <relation/>
1162     <tag k="type" v="route"/>
1163     <tag k="network" v="rcn"/>
1164       
1165     <inputSet ref="route"/>
1166   </feature>
1167
1168   <feature name="Local Cycle Network">
1169     <category>paths</category>
1170     <icon image="features/cycle__lcn.png" background="blue" foreground="white">
1171       <font size="14pt"><b>${ref}</b></font><br />
1172       <font size="12pt">${name}</font>
1173     </icon>
1174
1175     <relation/>
1176     <tag k="type" v="route"/>
1177     <tag k="network" v="lcn"/>
1178       
1179     <inputSet ref="route"/>
1180   </feature>
1181
1182
1183   <!-- paths -->
1184   <feature name="Long Distance Path">
1185     <category>paths</category>
1186     <icon image="features/paths__footway.png" background="green" foreground="white">
1187       <font size="14pt"><b>${ref}</b></font><br />
1188       <font size="12pt">${name}</font>
1189     </icon>
1190
1191     <relation/>
1192     <tag k="type" v="route"/>
1193     <tag k="route" v="foot"/>
1194       
1195     <inputSet ref="route"/>
1196   </feature>
1197
1198
1199   <!-- public transit routes -->
1200   <feature name="Bus Route">
1201     <category>transport</category>
1202     <icon image="features/transport__bus.png">
1203       <font size="12pt">${operator} <b>${ref}</b></font>
1204     </icon>
1205
1206     <relation/>
1207     <tag k="type" v="route"/>
1208     <tag k="route" v="bus"/>
1209       
1210     <inputSet ref="route"/>
1211     <input type="freetext" presence="always" category="Naming" name="Operator" key="operator" description="The provider of the bus service" priority="low"/>
1212     <input type="freetext" presence="always" category="Naming" name="Network" key="network" description="The network of the bus service" priority="low"/>
1213   </feature>
1214   
1215   <feature name="Tram Route">
1216     <category>transport</category>
1217     <icon image="features/transport__tram.png">
1218       <font size="12pt">${operator} <b>${reg}</b></font>
1219     </icon>
1220     
1221     <relation/>
1222     <tag k="type" v="route"/>
1223     <tag k="route" v="tram"/>
1224     
1225     <inputSet ref="route"/>
1226     <input type="freetext" presence="always" category="Naming" name="Operator" key="operator" description="The provider of the tram service" priority="low"/>
1227     <input type="freetext" presence="always" category="Naming" name="Network" key="network" description="The network of the tram service" priority="low"/>
1228   </feature>
1229   
1230
1231     <!-- Junction nodes (for turn restrictions) -->
1232
1233     <feature>
1234         <point/>
1235         <within entity="way" k="highway" minimum="2"/>
1236         <inputSet ref="junctionNode"/>
1237     </feature>
1238
1239 </mapFeatures>