/
map_features.xml
751 lines (686 loc) · 37 KB
/
map_features.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
<?xml version="1.0" encoding="UTF-8"?>
<!--
See http://wiki.openstreetmap.org/wiki/Potlatch_2/Developer_Documentation/Map_Features for documentation.
Files can be included like this: <include file="map_features/roads.xml">
-->
<mapFeatures>
<!-- Categories -->
<category name="Roads" id="roads"/>
<category name="Paths" id="paths"/>
<category name="Shopping" id="shopping"/>
<category name="Food and Drink" id="foodanddrink"/>
<category name="Amenity" id="amenity"/>
<category name="Tourism" id="tourism"/>
<category name="Accommodation" id="accommodation"/>
<category name="Transport" id="transport"/>
<category name="Water" id="water"/>
<category name="Natural" id="natural"/>
<category name="Barrier" id="barrier"/>
<category name="Power" id="power"/>
<category name="Admin" id="admin"/>
<category name="Buildings" id="buildings"/>
<category name="Landuse" id="landuse"/>
<category name="Agriculture" id="agriculture"/>
<category name="Advanced" id="advanced"/>
<category name="Places" id="places"/>
<category name="Sport and Leisure" id="sport"/>
<category name="Man-made" id="manmade"/>
<!-- Common input sets -->
<inputSet id="simpleName">
<input type="freetext" presence="always" name="Name" key="name" description="The name" priority="highest"/>
</inputSet>
<inputSet id="nameAndRef">
<inputSet ref="simpleName" />
<input type="freetext" presence="always" name="Reference number" key="ref" description="A reference number or code used to identify this thing." />
</inputSet>
<inputSet id="simpleBrand">
<input type="freetext" category="Naming" presence="always" name="Brand" key="brand" description="Brand, i.e. Acme"/>
</inputSet>
<inputSet id="simpleOperator">
<input type="freetext" category="Naming" presence="always" name="Operator" key="operator" description="Operator, i.e. Acme Springfield Ltd"/>
</inputSet>
<inputSet id="source">
<input type="freetext" category="Details" presence="onTagMatch" name="Source" key="source" description="The primary source of information for this object (GPS, survey, Bing, ...)" priority="lowest"/>
</inputSet>
<inputSet id="designation">
<input type="freetext" category="Details" presence="onTagMatch" description="The official designation or classification (if any). Only use this if the organisation that runs it has its own classification system." name="Official classification" key="designation" priority="lowest" />
</inputSet>
<inputSet id="common">
<inputSet ref="source"/>
<inputSet ref="designation"/>
</inputSet>
<inputSet id="names">
<input type="freetext" presence="always"
name="Name" category="Details" priority="highest"
key="name" description="The most common name"/>
<input type="freetext" presence="onTagMatch"
name="International Name" category="Details" subcategory="Additional names"
key="int_name" description="The internationally recognised name"/>
<input type="freetext" presence="onTagMatch"
name="Historical Name" category="Details" subcategory="Additional names" priority="low"
key="old_name" description="The historic or previous name"/>
<input type="freetext" presence="onTagMatch"
name="Alternative Name" category="Details" subcategory="Additional names" priority="low"
key="alt_name" description="An alternative, currently used, name"/>
</inputSet>
<inputSet id="wifi">
<input type="choice" presence="onTagMatch" category="Details" name="Wifi" key="wifi">
<choice value="free" text="Free"/>
<choice value="yes" text="Yes"/>
<choice value="no" text="No"/>
</input>
</inputSet>
<inputSet id="buildingAddress">
<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"/>
<input type="freetext" presence="onTagMatch" category="Address" description="The name of the house, e.g. Riverbank Cottage" name="Building Name" key="addr:housename"/>
<input type="freetext" presence="onTagMatch" category="Address" description="The Street Name (optional)" name="Street Name" key="addr:street"/>
<input type="freetext" presence="onTagMatch" category="Address" description="The town or city name." name="Town or City" key="addr:city"/>
<input type="freetext" presence="onTagMatch" category="Address" description="The postcode" name="Postcode" key="addr:postcode"/>
</inputSet>
<inputSet id="web">
<input type="freetext" presence="onTagMatch" category="Address" description="The URL of the website" name="Website" key="website"/>
</inputSet>
<inputSet id="cuisine">
<input type="choice" presence="always" name="Cuisine" category="Details" description="The type of food that they serve" key="cuisine">
<!-- The 30 most popular values according to taginfo 23/12/2010 -->
<choice value="burger" text="Burger"/>
<choice value="chicken" text="Chicken"/>
<choice value="chinese" text="Chinese"/>
<choice value="coffee_shop" text="Coffee Shop"/>
<choice value="greek" text="Greek"/>
<choice value="pizza" text="Pizza"/>
<choice value="sandwich" text="Sandwich"/>
<choice value="seafood" text="Sea Food"/>
<choice value="regional" text="Regional"/>
<choice value="italian" text="Italian"/>
<choice value="german" text="German"/>
<choice value="kebab" text="Kebab/souvlaki/gyro"/>
<choice value="indian" text="Indian"/>
<choice value="asian" text="Asian"/>
<choice value="mexican" text="Mexican"/>
<choice value="thai" text="Thai"/>
<choice value="japanese" text="Japanese"/>
<choice value="ice_cream" text="Ice-cream"/>
<choice value="fish_and_chips" text="Fish & Chips"/>
<choice value="turkish" text="Turkish"/>
<choice value="french" text="French"/>
<choice value="sushi" text="Sushi"/>
<choice value="american" text="American"/>
<choice value="steak_house" text="Steak House"/>
<choice value="international" text="International"/>
<choice value="spanish" text="Spanish"/>
<choice value="vietnamese" text="Vietnamese"/>
<choice value="fish" text="Fish"/>
<choice value="bavarian" text="Bavarian"/>
<choice value="vegetarian" text="Vegetarian"/>
<help>http://wiki.openstreetmap.org/wiki/Key:cuisine</help>
</input>
</inputSet>
<inputSet id="payments">
<inputSet ref="paymentsCash"/>
<inputSet ref="paymentsDebitCards"/>
<inputSet ref="paymentsCreditCards"/>
</inputSet>
<inputSet id="paymentsCash">
<input type="choice" name="Coins" key="payment:coins" category="Payments" subcategory="Cash">
<choice value="yes" text="Accepted" />
<choice value="no" text="Not accepted" />
</input>
<input type="choice" name="Notes" key="payment:notes" category="Payments" subcategory="Cash">
<choice value="yes" text="Accepted" />
<choice value="no" text="Not accepted" />
</input>
</inputSet>
<inputSet id="paymentsDebitCards">
<input type="choice" name="Maestro" key="payment:maestro" category="Payments" subcategory="Debit Cards">
<choice value="yes" text="Accepted" />
<choice value="no" text="Not accepted" />
</input>
<input type="choice" name="Laser" key="payment:laser" category="Payments" subcategory="Debit Cards">
<choice value="yes" text="Accepted" />
<choice value="no" text="Not accepted" />
</input>
</inputSet>
<inputSet id="paymentsCreditCards">
<input type="choice" name="Mastercard" key="payment:mastercard" category="Payments" subcategory="Credit Cards">
<choice value="yes" text="Accepted" />
<choice value="no" text="Not accepted" />
</input>
<input type="choice" name="Visa" key="payment:visa" category="Payments" subcategory="Credit Cards">
<choice value="yes" text="Accepted" />
<choice value="no" text="Not accepted" />
</input>
<input type="choice" name="American Express" key="payment:american_express" category="Payments" subcategory="Credit Cards">
<choice value="yes" text="Accepted" />
<choice value="no" text="Not accepted" />
</input>
<input type="choice" name="Discover Card" key="payment:discover_card" category="Payments" subcategory="Credit Cards">
<choice value="yes" text="Accepted" />
<choice value="no" text="Not accepted" />
</input>
<input type="choice" name="Diners Club" key="payment:diners_club" category="Payments" subcategory="Credit Cards">
<choice value="yes" text="Accepted" />
<choice value="no" text="Not accepted" />
</input>
</inputSet>
<!-- Roads -->
<inputSet id="majorRoad">
<inputSet ref="names"/>
<inputSet ref="roadRefs"/>
<inputSet ref="roadRestrictions"/>
<inputSet ref="roadPhysical"/>
<inputSet ref="cycle"/>
<inputSet ref="bicycle-lane"/>
<inputSet ref="bus-route"/>
<inputSet ref="tram-route"/>
<inputSet ref="pedestrians"/>
<inputSet ref="roadLanes"/>
<inputSet ref="roadRoundabout"/>
<inputSet ref="permissions"/>
</inputSet>
<inputSet id="minorRoad">
<inputSet ref="names"/>
<inputSet ref="roadRestrictions"/>
<inputSet ref="roadPhysical"/>
<inputSet ref="cycle"/>
<inputSet ref="bicycle-lane"/>
<inputSet ref="bus-route"/>
<inputSet ref="tram-route"/>
<inputSet ref="pedestrians"/>
<inputSet ref="roadLanes"/>
<inputSet ref="roadRoundabout"/>
<inputSet ref="permissions"/>
</inputSet>
<inputSet id="path">
<inputSet ref="simpleName"/>
<inputSet ref="roadPhysical"/>
<inputSet ref="cycle"/>
<inputSet ref="pedestrians"/>
<inputSet ref="permissions"/>
</inputSet>
<inputSet id="junctionNode">
<inputSet ref="turnRestrictions"/>
</inputSet>
<inputSet id="roadRefs">
<input type="freetext" presence="always"
name="Reference" category="Details" priority="high"
key="ref" description="The official reference number"/>
<input type="freetext" presence="onTagMatch"
name="International Reference" category="Details" subcategory="Additional names"
key="int_ref" description="The official international reference number"/>
<input type="freetext" presence="onTagMatch"
name="Old Reference" category="Details" subcategory="Additional names" priority="low"
key="old_ref" description="The historic or previous reference number"/>
</inputSet>
<inputSet id="roadPhysical">
<input type="freetext" presence="onTagMatch"
name="Width" category="Details" subcategory="Physical"
key="width" description="Width of the road" layout="horizontal"/>
<input type="choice" presence="onTagMatch"
name="Surface" category="Details" description="Type of road surface"
key="surface" layout="horizontal">
<choice value="unpaved" text="Unpaved" description="Road surface is unsealed"/>
<choice value="paved" text="Paved" description="Road surface is sealed"/>
<choice value="asphalt" text="Asphalt"/>
<choice value="concrete" text="Concrete"/>
<choice value="paving_stones" text="Paving stones"/>
<choice value="cobblestone" text="Cobblestone"/>
<choice value="sand" text="Sand"/>
<choice value="gravel" text="Gravel"/>
<choice value="dirt" text="Dirt"/>
<choice value="grass" text="Grass"/>
</input>
<inputSet ref="bridge"/>
<inputSet ref="tunnel"/>
<inputSet ref="embankment-cutting"/>
<!-- not sure which category best suits put area=yes -->
<input type="checkbox" presence="onTagMatch" category="Details" subcategory="Physical" key="area" name="Open area" description="The way is a large open space, like at a dock, where vehicles can move anywhere within the space, rather than just along the edge." />
</inputSet>
<inputSet id="roadLanes">
<input presence="onTagMatch" type="number" name="Lanes" category="Details" description="Total number of lanes, counting both directions"
key="lanes" minimum="1" maximum="10" layout="horizontal"/>
</inputSet>
<inputSet id="bridge">
<input type="choice" presence="onTagMatch"
name="Bridge" category="Details" description="Road goes over a bridge"
key="bridge" layout="horizontal">
<choice value="yes" text="Generic Bridge" description="Generic bridge -- type unknown"/>
<choice value="viaduct" text="Viaduct" description="Viaduct"/>
<choice value="suspension" text="Suspension bridge"/>
</input>
<input type="slider" presence="onTagMatch"
name="Layer" category="Details" description="Relative vertical positions (-5 lowest, +5 highest)"
key="layer" minimum="-5" maximum="5" default="0" snapInterval="1" labels="Lowest,Ground,Highest"
defaultName="Ground"/>
</inputSet>
<inputSet id="tunnel">
<!-- Not ideal, used for non-roads too. -->
<input type="choice" presence="onTagMatch"
name="Tunnel" category="Details" subcategory="Physical" description="Road goes into a tunnel"
key="tunnel" layout="horizontal">
<choice value="yes" text="Tunnel" description="Generic tunnel"/>
</input>
</inputSet>
<inputSet id="embankment-cutting">
<input type="choice"
name="Embankment" category="Details" subcategory="Physical" description="Road supported on a raised bed of earth and rock."
key="embankment" layout="horizontal">
<choice value="yes" text="Embankment"/>
</input>
<input type="choice"
name="Cutting" category="Details" subcategory="Physical" description="Road carved out of hill on one or both sides."
key="cutting" layout="horizontal">
<choice value="yes" text="Cutting"/>
</input>
</inputSet>
<inputSet id="rail-electrification">
<input type="choice" name="Electrified" category="Details" subcategory="Electrification" description="Is the track electrified (whether by 3rd rail, overhead wires, etc)?"
key="electrified">
<choice value="yes" text="Yes"/>
<choice value="contact_line" text="Overhead line"/>
<choice value="rail" text="Third rail"/>
<choice value="no" text="No"/>
</input>
<input type="choice" name="Voltage" category="Details" subcategory="Electrification" description="Nominal voltage of electric wires"
key="voltage" presence="withCategory">
<choice value="600" text="600V"/>
<choice value="750" text="750V"/>
<choice value="1500" text="1500V"/>
<choice value="3000" text="3000V"/>
<choice value="12000" text="12kV"/>
<choice value="15000" text="15kV"/>
<choice value="25000" text="25kV"/>
</input>
<input type="choice" name="Frequency" category="Details" subcategory="Electrification" description="Frequency in Hertz of alternating current power supply"
key="frequency" presence="withCategory">
<choice value="0" text="DC"/>
<choice value="16.67" text="16.67 Hz"/>
<choice value="16.7" text="16.7 Hz"/>
<choice value="25" text="25 Hz"/>
<choice value="50" text="50 Hz"/>
<choice value="60" text="60 Hz"/>
</input>
</inputSet>
<inputSet id="fee">
<input type="freetext" presence="onTagMatch" category="Restrictions" description="The charge/cost of using this amenity" name="Fee" key="fee"/>
</inputSet>
<inputSet id="roadRestrictions">
<input type="choice" presence="always"
name="Oneway" category="Restrictions" description="Oneway roads"
key="oneway">
<choice value="yes" match="yes|true|1" text="One way"
description="Road can only be travelled in direction of way" icon="features/oneway__yes.png"/>
<choice value="no" match="no|false|0" text="Two way"
description="Road can be travelled in both directions" icon="features/oneway__no.png"/>
<choice value="-1" match="-1|reverse" text="One way reverse"
description="Road can be travelled in opposite direction to way" icon="features/oneway__-1.png"/>
</input>
<input type="speed" presence="onTagMatch"
name="Speed Limit" category="Restrictions" description="Maximum permitted speed on this road"
key="maxspeed"/>
</inputSet>
<inputSet id="roadRoundabout">
<!-- review the choice of category -->
<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."
key="junction">
<choice value="roundabout" text="Yes"/>
</input>
</inputSet>
<inputSet id="turnRestrictions">
<input type="turn" name="Turn restriction" description="Turn restriction" category="Restrictions" priority="normal" presence="onTagMatch">
<match k="type" v="restriction"/>
<role role="via"/>
</input>
</inputSet>
<inputSet id="trafficSignals">
<!-- can't add as standalone feature due to current limitations, would conflict with junction node feature -->
<input type="choice" key="highway" name="Traffic signals" description="Intersection controlled by traffic lights" category="Restrictions" presence="always">
<choice value="traffic_signals" text="Yes"/>
</input>
</inputSet>
<inputSet id="pedestrians">
<input type="choice" name="Pedestrians permitted" description="Can pedestrians use this road, including footpaths if any?" category="Walk" key="foot">
<choice value="yes" text="Allowed"/>
<choice value="no" text="Prohibited"/>
<choice value="designated" text="Designated"/>
<choice value="destination" text="Destination" description="Access only allowed to reach a destination."/>
</input>
<input type="choice" presence="onTagMatch"
name="Sidewalks" category="Walk" description="Whether there is a sidewalk at the side of the street"
key="sidewalk" layout="horizontal">
<choice value="both" text="Both" description="There is a sidewalk on both sides of the road." match="yes"/>
<choice value="left" text="Left" description="The sidewalk is on the left of the direction of the road."/>
<choice value="right" text="Right" description="The sidewalk is on the right of the direction of the road."/>
<choice value="separate" text="Separate" description="The sidewalk has been mapped as a separate line parallel."/>
<choice value="none" text="None" description="There is no sidewalk on this section of road." match="no"/>
</input>
<input type="route" name="National Walking Route" description="National walking route" category="Walk" priority="low">
<match k="type" v="route"/>
<match k="route" v="hiking|foot"/>
<match k="network" v="nwn"/>
<icon image="features/route__nwn.png" background="red" foreground="white">
<font size="14pt"><b>${ref}</b></font><br/>
<font size="12pt">${name}</font>
</icon>
</input>
<input type="route" name="Regional Walking Route" description="Regional walking route" category="Walk" priority="low">
<match k="type" v="route"/>
<match k="route" v="hiking|foot"/>
<match k="network" v="rwn"/>
<icon image="features/route__rwn.png" background="cyan" foreground="white">
<font size="14pt"><b>${ref}</b></font><br/>
<font size="12pt">${name}</font>
</icon>
</input>
<input type="route" name="Local Walking Route" description="Local walking route" category="Walk" priority="lowest">
<match k="type" v="route"/>
<match k="route" v="hiking|foot"/>
<match k="network" v="lwn"/>
<icon image="features/route__lwn.png" background="blue" foreground="white">
<font size="14pt"><b>${ref}</b></font><br/>
<font size="12pt">${name}</font>
</icon>
</input>
</inputSet>
<inputSet id="naptan">
<input type="freetext" presence="onTagMatch" category="Transport" description="12 character internal Naptan ID" name="Atco Code" key="naptan:AtcoCode"/>
<input type="choice" presence="onTagMatch" category="Transport" description="The eight-point compass bearning" name="Naptan Bearing" key="naptan:Bearing" >
<choice value="N" match="N" text="N" description=""/>
<choice value="NE" match="NE" text="NE" description=""/>
<choice value="E" match="E" text="E" description=""/>
<choice value="SE" match="SE" text="SE" description=""/>
<choice value="S" match="S" text="S" description=""/>
<choice value="SW" match="SW" text="SW" description=""/>
<choice value="W" match="W" text="W" description=""/>
<choice value="NW" match="NW" text="NW" description=""/>
</input>
<input type="freetext" presence="onTagMatch" category="Transport" description="The naptan common name" name="Naptan Common Name (read-only)" key="naptan:CommonName"/>
<input type="freetext" presence="onTagMatch" category="Transport" description="" name="Naptan Indicator (read-only)" key="naptan:Indicator"/>
<input type="freetext" presence="onTagMatch" category="Transport" description="" name="Naptan Street (read-only)" key="naptan:Street"/>
<input type="freetext" presence="onTagMatch" category="Transport" description="Delete this when the details have been verified on-the-ground" name="Naptan Verified?" key="naptan:verified"/>
</inputSet>
<inputSet id="buses">
<input type="freetext" presence="always" category="Transport" name="Stop Name" key="name" description="The name of the bus stop"/>
<input type="freetext" presence="always" category="Transport" 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"/>
<inputSet ref="naptan"/>
</inputSet>
<inputSet id="bus-route">
<input type="route" name="Bus Route" description="Bus route" category="Transport" priority="low" presence="onTagMatch">
<match k="type" v="route"/>
<match k="route" v="bus"/>
<icon image="features/route__bus.png">
<font size="12pt">${operator} <b>${ref}</b></font>
</icon>
</input>
</inputSet>
<inputSet id="tram-route">
<input type="route" name="Tram Route" description="Tram route" category="Transport" priority="low" presence="onTagMatch">
<match k="type" v="route"/>
<match k="route" v="tram"/>
<icon image="features/transport__tram.png">
<font size="12pt">${operator} <b>${ref}</b></font>
</icon>
</input>
</inputSet>
<inputSet id="train-route">
<input type="route" name="Train Route" description="Train route" category="Transport" priority="low" presence="onTagMatch">
<match k="type" v="route"/>
<match k="route" v="train"/>
<icon image="features/transport__railway.png">
<font size="12pt">${name|operator} <b>(${ref})</b></font>
</icon>
</input>
</inputSet>
<inputSet id="cycle">
<inputSet ref="bicycle-permission"/>
<input type="route" name="National Cycle Routes" description="A signposted route in a National Cycle Network, or nearest equivalent." category="Cycle" priority="low">
<match k="type" v="route"/>
<match k="route" v="bicycle"/>
<match k="network" v="ncn"/>
<icon image="features/route__ncn.png" background="#ff6f7a" foreground="white">
<font size="14pt"><b>${ref}</b></font><br/>
<font size="12pt">${name}</font>
</icon>
</input>
<input type="route" name="Regional Cycle Routes" description="A signposted route in a Regional Cycle Network, or nearest equivalent." category="Cycle" priority="low">
<match k="type" v="route"/>
<match k="route" v="bicycle"/>
<match k="network" v="rcn"/>
<icon image="features/route__rcn.png" background="#6ff7ff" foreground="white">
<font size="14pt"><b>${ref}</b></font><br/>
<font size="12pt">${name}</font>
</icon>
</input>
<input type="route" name="Local Cycle Routes" description="A signposted route in a Local Cycle Network, or nearest equivalent." category="Cycle" priority="lowest">
<match k="type" v="route"/>
<match k="route" v="bicycle"/>
<match k="network" v="lcn"/>
<icon image="features/route__lcn.png" background="#7d6fff" foreground="white">
<font size="14pt"><b>${ref}</b></font><br/>
<font size="12pt">${name}</font>
</icon>
</input>
<input type="route" name="Mountain bike route" description="A signposted route for mountain biking." category="Cycle" priority="lowest">
<match k="type" v="route"/>
<match k="route" v="mtb"/>
<icon image="features/route__mtb.png" background="#9f4404" foreground="white">
<font size="14pt"><b>${ref}</b></font><br/>
<font size="12pt">${name}</font>
</icon>
</input>
</inputSet>
<inputSet id="bicycle-permission">
<input type="choice"
name="Bicycles permitted" category="Cycle" description="Are bicyles allowed to use this road (regardless of physical suitability)?"
key="bicycle">
<choice value="yes" text="Allowed"/>
<choice value="no" text="Prohibited" desciption="Cycling is not allowed. Pushing your bicycle is not allowed either."/>
<choice value="private" text="Private"/>
<choice value="dismount" text="Cyclists dismount" description="Signage states that cyclists should dismount and push their bike for the selected path or road."/>
<choice value="designated" text="Designated"/>
<choice value="destination" text="Destination" description="Access only allowed to reach a destination."/>
<help>http://wiki.openstreetmap.org/wiki/Key:access</help>
</input>
</inputSet>
<inputSet id="bicycle-lane">
<input type="choice"
name="Bike lanes" category="Cycle" description="Road has bike lanes within the road surface"
key="cycleway" layout="horizontal">
<choice value="no" text="No bike lanes"/>
<choice value="lane" text="On-road bike lane" description="Separated by painted line on the road from cars"/>
<choice value="track" text="Parallel track" description="Separated by kerb or parked cars"/>
<choice value="opposite_lane" text="Contraflow lane" description="Separated by painted line, and allowing bicycles in both directions in an otherwise one-way street."/>
<choice value="opposite_track" text="Contraflow track" description="Separated by kerb or parked cars, and allowing bicycles in both directions in an otherwise one-way street."/>
<choice value="opposite" text="Contraflow unmarked" description="The route may be cycled in the direction opposite of other traffic, but does not have a dedicated lane."/>
<help>http://wiki.openstreetmap.org/wiki/Key:cycleway</help>
</input>
</inputSet>
<inputSet id="route">
<inputSet ref="names"/>
<inputSet ref="roadRefs"/>
</inputSet>
<inputSet id="waterways">
<inputSet ref="simpleName"/>
<input type="freetext" presence="always" name="Width" category="Details" key="width" description="The width in metres"/>
<inputSet ref="boatPermissions"/>
</inputSet>
<!-- Would be good to have a dedicated 'access' type of input -->
<!-- all the description fields are identical at the moment for ease of maintenance, should be tailored in future. -->
<inputSet id="boatPermissions">
<input type="choice" name="Boat permission" category="Restrictions" key="boat" description="Are boats allowed to use this waterway?">
<choice value="yes" text="Allowed" description="General right of way."/>
<choice value="no" text="Prohibited" description="No access to the public."/>
<choice value="permissive" text="Permissive" description="Access permitted through private land."/>
<choice value="private" text="Private" description="No access to the public, except individual exceptions."/>
<choice value="designated" text="Designated" description="Permitted, according to signs or specific local laws."/>
<choice value="destination" text="Destination" description="Access only allowed to reach a destination."/>
</input>
</inputSet>
<inputSet id="permissions">
<input type="choice" name="General access" category="Restrictions" key="access" description="Is there a general right of access, regardless of mode of transport?">
<choice value="yes" text="Allowed" description="General right of way."/>
<choice value="no" text="Prohibited" description="No access to the public."/>
<choice value="permissive" text="Permissive" description="Access permitted through private land."/>
<choice value="private" text="Private" description="No access to the public, except individual exceptions."/>
<choice value="designated" text="Designated" description="Permitted, according to signs or specific local laws."/>
<choice value="destination" text="Destination" description="Access only allowed to reach a destination."/>
</input>
<input type="choice" name="Motor vehicles" category="Restrictions" key="motor_vehicle" description="Are cars and other private vehicles allowed?">
<choice value="yes" text="Allowed" description="General right of way."/>
<choice value="no" text="Prohibited" description="No access to the public."/>
<choice value="permissive" text="Permissive" description="Access permitted through private land."/>
<choice value="private" text="Private" description="No access to the public, except individual exceptions."/>
<choice value="designated" text="Designated" description="Permitted, according to signs or specific local laws."/>
<choice value="destination" text="Destination" description="Access only allowed to reach a destination."/>
</input>
<inputSet ref="horse-permission" />
</inputSet>
<inputSet id="horse-permission">
<input type="choice" name="Horses" category="Restrictions" key="horse" description="Are horses allowed?">
<choice value="yes" text="Allowed" description="General right of way."/>
<choice value="no" text="Prohibited" description="No access to the public."/>
<choice value="permissive" text="Permissive" description="Access permitted through private land."/>
<choice value="private" text="Private" description="No access to the public, except individual exceptions."/>
<choice value="designated" text="Designated" description="Permitted, according to signs or specific local laws."/>
<choice value="destination" text="Destination" description="Access only allowed to reach a destination."/>
</input>
</inputSet>
<inputSet id="places">
<input type="choice" name="Type of Place" presence="always" key="place">
<choice value="locality" text="Locality"/>
<choice value="hamlet" text="Hamlet"/>
<choice value="village" text="Village"/>
<choice value="suburb" text="Suburb"/>
<choice value="town" text="Town"/>
<choice value="city" text="City"/>
<choice value="county" text="County"/>
<choice value="region" text="Region"/>
<choice value="state" text="State"/>
<choice value="country" text="Country"/>
<choice value="continent" text="Continent"/>
<choice value="island" text="Island"/>
<choice value="islet" text="Islet"/>
</input>
</inputSet>
<inputSet id="isBuilding">
<input type="choice" presence="always" category="Details" name="Building type, if it is one" key="building">
<choice value="yes" text="Generic building"/>
<choice value="residential" text="Generic residential"/>
<choice value="apartments" text="Big apartments house"/>
<choice value="terrace" text="Terraced house"/>
<choice value="house" text="Family house"/>
<choice value="hut" text="Small hut"/>
<choice value="garage" text="A garage"/>
<choice value="garages" text="Block of garages"/>
<choice value="office" text="Office building"/>
<choice value="public" text="Public building"/>
<choice value="industrial" text="Generic industrial"/>
<choice value="manufacture" text="Manufacture"/>
<choice value="warehouse" text="Warehouse"/>
<choice value="hangar" text="Hangar"/>
<choice value="storage_tank" text="Fluids storage tank"/>
<choice value="retail" text="Retail"/>
<choice value="supermarket" text="Supermarket"/>
<choice value="train_station" text="Train station"/>
<choice value="church" text="Church"/>
<choice value="school" text="School"/>
<choice value="bunker" text="Military bunker"/>
<choice value="collapsed" text="Collapsed building"/>
<choice value="roof" text="Just a roof"/>
<help>http://wiki.openstreetmap.org/wiki/Key:building</help>
</input>
</inputSet>
<inputSet id="powerCables">
<input type="choice" name="Cables" key="cables" presence="always" category="Details">
<choice value="2" text="2"/>
<choice value="3" text="3"/>
<choice value="4" text="4"/>
<choice value="6" text="6"/>
<choice value="8" text="8"/>
<choice value="10" text="10"/>
<choice value="12" text="12"/>
</input>
<input type="choice" name="Voltage" key="voltage" presence="always" category="Details">
<!-- choices based on http://osmdoc.com/en/tag/voltage/#values-->
<choice value="400" text="400 V"/>
<choice value="600" text="600 V"/>
<choice value="750" text="750 V"/>
<choice value="1500" text="1500 V"/>
<choice value="3000" text="3000 V"/>
<choice value="15000" text="15 kV"/>
<choice value="20000" text="20 kV"/>
<choice value="35000" text="35 kV"/>
<choice value="110000" text="110 kV"/>
<choice value="132000" text="132 kV"/>
<choice value="138000" text="138 kV"/>
<choice value="220000" text="220 kV"/>
<choice value="380000" text="380 kV"/>
<choice value="500000" text="500 kV"/>
</input>
</inputSet>
<inputSet id="pitchSport">
<input name="Sport" presence="always" category="Details" key="sport" type="choice" description="The sport that is predominantly played here.">
<choice value="9pin" text="9 pin bowling"/>
<choice value="10pin" text="10 pin bowling"/>
<choice value="american_football" text="American football"/>
<choice value="archery" text="Archery"/>
<choice value="athletics" text="Athletics"/>
<choice value="australian_football" text="Australian Rules Football"/>
<choice value="baseball" text="Baseball"/>
<choice value="basketball" text="Basketball"/>
<choice value="beachvolleyball" text="Beach volleyball"/>
<choice value="boules" text="Boules/petanque/bocci"/>
<choice value="bowls" text="Lawn bowls"/>
<choice value="canadian_football" text="Canadian football"/>
<choice value="chess" text="Chess"/>
<choice value="cricket" text="Cricket"/>
<choice value="cricket_nets" text="Cricket nets"/>
<choice value="croquet" text="Croquet"/>
<choice value="equestrian" text="Equestrian"/>
<choice value="gaelic_football" text="Gaelic football"/>
<choice value="gymnastics" text="Gymnastics"/>
<choice value="team_handball" text="(Team) handball"/>
<choice value="hockey" text="(Field) hockey"/>
<choice value="korfball" text="Korball"/>
<choice value="pelota" text="Pelota"/>
<choice value="rugby_league" text="Rugby league"/>
<choice value="rugby_union" text="Rugby union"/>
<choice value="shooting" text="Shooting"/>
<choice value="skating" text="Ice skating"/>
<choice value="skateboard" text="Skateboarding"/>
<choice value="soccer" text="Soccer/football"/>
<choice value="swimming" text="Swimming"/>
<choice value="table_tennis" text="Table tennis"/>
<choice value="tennis" text="Tennis"/>
<choice value="volleyball" text="Volleyball"/>
</input>
</inputSet>
<inputSet id="wheelchair-basic">
<input type="choice" name="Wheelchair" key="wheelchair" presence="onTagMatch" category="Details">
<choice value="yes" text="Yes: ramps/elevators/etc" />
<choice value="no" text="No: inaccessible to wheelchairs" />
<choice value="limited" text="Limited accessibility" />
</input>
</inputSet>
<!-- Features -->
<include file="map_features/roads.xml" /> <!-- includes traffic calming, roundabouts, race track -->
<include file="map_features/paths.xml" /> <!-- includes steps, highway=pedestrian, bike/hike routes -->
<include file="map_features/water.xml" /> <!-- includes coastline -->
<include file="map_features/transport.xml" /> <!-- includes rail, trams, bus, airports, car rental, bike parking... -->
<include file="map_features/power.xml" /> <!-- includes power lines, pylons, stations -->
<include file="map_features/places.xml" /> <!-- includes boundaries (inc. NP) -->
<include file="map_features/tourism.xml" /> <!-- includes accommodation -->
<include file="map_features/barriers.xml" />
<include file="map_features/shopping.xml" /> <!-- no clear distinction between this, amenities and buildings -->
<include file="map_features/amenities.xml" /> <!-- includes cafe, bar... -->
<include file="map_features/landuse.xml" /> <!-- includes outdoor leisure/sporting stuff, agriculture, natural. -->
<include file="map_features/man_made.xml" />
<include file="map_features/buildings.xml" /> <!-- a bit of a dumping ground, includes sports centre, shopping centre, hospital... -->
<!-- Relations -->
<feature name="Multipolygon">
<category>advanced</category>
<relation/>
<tag k="type" v="multipolygon"/>
<inputSet ref="common"/>
</feature>
</mapFeatures>