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