Update Potlatch 2 to 2.3-79-g633f140 build
[rails.git] / public / potlatch2 / 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, Yahoo, ...)" priority="lowest"/>
52   </inputSet>
53
54   <inputSet id="designation">
55     <input type="freetext" category="Details" presence="onTagMatch" description="Official designation or classification" name="Designation" 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 postcode" name="Postcode" key="addr:postcode"/>
91   </inputSet>
92
93   <inputSet id="web">
94     <input type="freetext" presence="onTagMatch" category="Address" description="The URL of the website" name="Website" key="website"/>
95   </inputSet>
96
97   <inputSet id="cuisine">
98     <input type="choice" presence="always" name="Cuisine" category="Details" description="The type of food that they serve" key="cuisine">
99       <!-- The 30 most popular values according to taginfo 23/12/2010 -->
100       <choice value="burger" text="Burger"/>
101       <choice value="chicken" text="Chicken"/>
102       <choice value="chinese" text="Chinese"/>
103       <choice value="coffee_shop" text="Coffee Shop"/>
104       <choice value="greek" text="Greek"/>
105       <choice value="pizza" text="Pizza"/>
106       <choice value="sandwich" text="Sandwich"/>
107       <choice value="seafood" text="Sea Food"/>
108       <choice value="regional" text="Regional"/>
109       <choice value="italian" text="Italian"/>
110       <choice value="german" text="German"/>
111       <choice value="kebab" text="Kebab/souvlaki/gyro"/>
112       <choice value="indian" text="Indian"/>
113       <choice value="asian" text="Asian"/>
114       <choice value="mexican" text="Mexican"/>
115       <choice value="thai" text="Thai"/>
116       <choice value="japanese" text="Japanese"/>
117       <choice value="ice_cream" text="Ice-cream"/>
118       <choice value="fish_and_chips" text="Fish &amp; Chips"/>
119       <choice value="turkish" text="Turkish"/>
120       <choice value="french" text="French"/>
121       <choice value="sushi" text="Sushi"/>
122       <choice value="american" text="American"/>
123       <choice value="steak_house" text="Steak House"/>
124       <choice value="international" text="International"/>
125       <choice value="spanish" text="Spanish"/>
126       <choice value="vietnamese" text="Vietnamese"/>
127       <choice value="fish" text="Fish"/>
128       <choice value="bavarian" text="Bavarian"/>
129       <choice value="vegetarian" text="Vegetarian"/>
130
131       <help>http://wiki.openstreetmap.org/wiki/Key:cuisine</help>
132     </input>
133   </inputSet>
134
135   <!-- Roads -->
136
137   <inputSet id="majorRoad">
138     <inputSet ref="names"/>
139     <inputSet ref="roadRefs"/>
140     <inputSet ref="roadRestrictions"/>
141     <inputSet ref="roadPhysical"/>
142     <inputSet ref="cycle"/>
143     <inputSet ref="bicycle-lane"/>
144     <inputSet ref="bus-route"/>
145     <inputSet ref="pedestrians"/>
146     <inputSet ref="roadLanes"/>
147     <inputSet ref="roadRoundabout"/>
148     <inputSet ref="permissions"/>
149   </inputSet>
150   
151
152   <inputSet id="minorRoad">
153     <inputSet ref="names"/>
154     <inputSet ref="roadRestrictions"/>
155     <inputSet ref="roadPhysical"/>
156     <inputSet ref="cycle"/>
157     <inputSet ref="bicycle-lane"/>
158     <inputSet ref="bus-route"/>
159     <inputSet ref="pedestrians"/>
160     <inputSet ref="roadLanes"/>
161     <inputSet ref="roadRoundabout"/>
162     <inputSet ref="permissions"/>
163   </inputSet>
164
165   <inputSet id="path">
166     <inputSet ref="simpleName"/>
167     <inputSet ref="roadPhysical"/>
168     <inputSet ref="cycle"/>
169     <inputSet ref="ldp"/>
170     <inputSet ref="pedestrians"/>
171     <inputSet ref="permissions"/>
172   </inputSet>
173
174   <inputSet id="junctionNode">
175     <inputSet ref="turnRestrictions"/>
176   </inputSet>
177
178   <inputSet id="roadRefs">
179     <input type="freetext" presence="always"
180         name="Reference" category="Details" priority="high"
181         key="ref" description="The official reference number"/>
182     <input type="freetext" presence="onTagMatch"
183         name="International Reference" category="Details" subcategory="Additional names" 
184         key="int_ref" description="The official international reference number"/>
185     <input type="freetext" presence="onTagMatch"
186         name="Old Reference" category="Details" subcategory="Additional names" priority="low"
187         key="old_ref" description="The historic or previous reference number"/>
188   </inputSet>
189
190   <inputSet id="roadPhysical">
191     <input type="freetext" presence="onTagMatch"
192         name="Width" category="Details" subcategory="Physical" 
193         key="width" description="Width of the road" layout="horizontal"/>
194     <input type="choice" presence="onTagMatch"
195         name="Surface" category="Details" description="Type of road surface"
196         key="surface" layout="horizontal">
197       <choice value="unpaved" text="Unpaved" description="Road surface is unsealed"/>
198       <choice value="paved" text="Paved" description="Road surface is sealed"/>
199       <choice value="asphalt" text="Asphalt"/>
200       <choice value="concrete" text="Concrete"/>
201       <choice value="paving_stones" text="Paving stones"/>
202       <choice value="cobblestone" text="Cobblestone"/>
203       <choice value="sand" text="Sand"/>
204       <choice value="gravel" text="Gravel"/>
205       <choice value="dirt" text="Dirt"/>
206       <choice value="grass" text="Grass"/>
207     </input>
208     <inputSet ref="bridge"/>
209     <inputSet ref="tunnel"/>
210     <inputSet ref="embankment-cutting"/>
211     <!-- not sure which category best suits put area=yes -->
212     <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." />
213   </inputSet>
214
215   <inputSet id="roadLanes">
216     <input presence="onTagMatch" type="number" name="Lanes" category="Details" description="Total number of lanes, counting both directions"
217            key="lanes" minimum="1" maximum="10" layout="horizontal"/>
218   </inputSet>
219
220   <inputSet id="bridge">
221     <input type="choice" presence="onTagMatch"
222         name="Bridge" category="Details" description="Road goes over a bridge"
223         key="bridge" layout="horizontal">
224       <choice value="yes" text="Generic Bridge" description="Generic bridge -- type unknown"/>
225       <choice value="viaduct" text="Viaduct" description="Viaduct"/>
226       <choice value="suspension" text="Suspension bridge"/>
227     </input>
228     <input type="slider" presence="onTagMatch"
229         name="Layer" category="Details" description="Relative vertical positions (-5 lowest, +5 highest)"
230         key="layer" minimum="-5" maximum="5" default="0" snapInterval="1" labels="Lowest,Ground,Highest"
231         defaultName="Ground"/>
232   </inputSet>
233   <inputSet id="tunnel">
234     <!-- Not ideal, used for non-roads too. -->  
235     <input type="choice" presence="onTagMatch"
236         name="Tunnel" category="Details" subcategory="Physical" description="Road goes into a tunnel"
237         key="tunnel" layout="horizontal">
238       <choice value="yes" text="Tunnel" description="Generic tunnel"/>
239     </input>
240   </inputSet>
241
242   <inputSet id="embankment-cutting">
243     <input type="choice"
244            name="Embankment" category="Details" subcategory="Physical" description="Road supported on a raised bed of earth and rock."
245            key="embankment" layout="horizontal">
246       <choice value="yes" text="Embankment"/>
247     </input>
248     <input type="choice"
249            name="Cutting" category="Details" subcategory="Physical" description="Road carved out of hill on one or both sides."
250            key="cutting" layout="horizontal">
251       <choice value="yes" text="Cutting"/>
252     </input>
253
254   </inputSet>
255
256   <inputSet id="rail-electrification">
257     <input type="choice" name="Electrified" category="Details" subcategory="Electrification" description="Is the track electrified (whether by 3rd rail, overhead wires, etc)?"
258            key="electrified">
259       <choice value="yes" text="Yes"/>
260       <choice value="contact_line" text="Overhead line"/>
261       <choice value="rail" text="Third rail"/>
262       <choice value="no" text="No"/>
263     </input>
264     <input type="choice" name="Voltage" category="Details" subcategory="Electrification" description="Nominal voltage of electric wires"
265            key="voltage" presence="withCategory">
266       <choice value="600" text="600V"/>
267       <choice value="750" text="750V"/>
268       <choice value="1500" text="1500V"/>
269       <choice value="3000" text="3000V"/>
270       <choice value="15000" text="15kV"/>
271       <choice value="25000" text="25kV"/>
272     </input>
273     <input type="choice" name="Frequency" category="Details" subcategory="Electrification" description="Frequency in Hertz of alternating current power supply"
274            key="frequency" presence="withCategory">
275       <choice value="0" text="DC"/>
276       <choice value="16.67" text="16.67 Hz"/>
277       <choice value="16.7" text="16.7 Hz"/>
278       <choice value="25" text="25 Hz"/>
279       <choice value="50" text="50 Hz"/>
280       <choice value="60" text="60 Hz"/>
281     </input>
282   </inputSet>
283
284   <inputSet id="fee">
285     <input type="freetext" presence="onTagMatch" category="Restrictions" description="The charge/cost of using this amenity" name="Fee" key="fee"/>
286   </inputSet>
287
288   <inputSet id="roadRestrictions">
289     <input type="choice" presence="always"
290         name="Oneway" category="Restrictions" description="Oneway roads"
291         key="oneway">
292       <choice value="yes" match="yes|true|1" text="One way"
293         description="Road can only be travelled in direction of way" icon="features/oneway__yes.png"/>
294       <choice value="no" match="no|false|0" text="Two way"
295         description="Road can be travelled in both directions" icon="features/oneway__no.png"/>
296       <choice value="-1" match="-1|reverse" text="One way reverse"
297         description="Road can be travelled in opposite direction to way" icon="features/oneway__-1.png"/>
298     </input>
299     <input type="speed" presence="onTagMatch"
300         name="Speed Limit" category="Restrictions" description="Maximum permitted speed on this road"
301         key="maxspeed"/>
302   </inputSet>
303
304   <inputSet id="roadRoundabout">
305     <!-- review the choice of category -->
306     <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."
307            key="junction">
308       <choice value="roundabout" text="Yes"/>
309     </input>
310   </inputSet>
311
312   <inputSet id="turnRestrictions">
313     <input type="turn" name="Turn restriction" description="Turn restriction" category="Restrictions" priority="normal" presence="onTagMatch">
314       <match k="type" v="restriction"/>
315       <role role="via"/>
316     </input>
317   </inputSet>
318
319   <inputSet id="pedestrians">
320     <input type="choice" name="Pedestrians" description="Can pedestrians use this road, including footpaths if any?" category="Walk" key="foot">
321       <choice value="yes" text="Allowed"/>
322       <choice value="no" text="Prohibited"/>
323       <choice value="designated" text="Designated"/>
324     </input>
325   </inputSet>
326
327   <inputSet id="naptan">
328     <input type="freetext" presence="onTagMatch" category="Transport" description="12 character internal Naptan ID" name="Atco Code" key="naptan:AtcoCode"/>
329     <input type="choice" presence="onTagMatch" category="Transport" description="The eight-point compass bearning" name="Naptan Bearing" key="naptan:Bearing" >
330       <choice value="N"  match="N"  text="N"  description=""/>
331       <choice value="NE" match="NE" text="NE" description=""/>
332       <choice value="E"  match="E"  text="E"  description=""/>
333       <choice value="SE" match="SE" text="SE" description=""/>
334       <choice value="S"  match="S"  text="S"  description=""/>
335       <choice value="SW" match="SW" text="SW" description=""/>
336       <choice value="W"  match="W"  text="W"  description=""/>
337       <choice value="NW" match="NW" text="NW" description=""/>
338     </input>
339     <input type="freetext" presence="onTagMatch" category="Transport" description="The naptan common name" name="Naptan Common Name (read-only)" key="naptan:CommonName"/>
340     <input type="freetext" presence="onTagMatch" category="Transport" description="" name="Naptan Indicator (read-only)" key="naptan:Indicator"/>
341     <input type="freetext" presence="onTagMatch" category="Transport" description="" name="Naptan Street (read-only)" key="naptan:Street"/>
342     <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"/>
343   </inputSet>
344
345   <inputSet id="buses">
346     <input type="freetext" presence="always" category="Transport" name="Stop Name" key="name" description="The name of the bus stop"/>
347     <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"/>
348     <inputSet ref="naptan"/>
349   </inputSet>
350
351   <inputSet id="bus-route">
352     <input type="route" name="Bus Route" description="Bus route" category="Transport" priority="low" presence="onTagMatch">
353       <match k="type" v="route"/>
354       <match k="route" v="bus"/>
355       <icon image="features/route__bus.png">
356         <font size="12pt">${operator} <b>${ref}</b></font>
357       </icon>
358     </input>
359   </inputSet>
360
361   <inputSet id="tram-route">
362     <input type="route" name="Tram Route" description="Tram route" category="Transport" priority="low" presence="onTagMatch">
363       <match k="type" v="route"/>
364       <match k="route" v="tram"/>
365       <icon image="features/transport__tram.png">
366         <font size="12pt">${operator} <b>${ref}</b></font>
367       </icon>
368     </input>
369   </inputSet>
370
371   <inputSet id="cycle">
372     <inputSet ref="bicycle-permission"/>
373     <input type="route" name="National Cycle Routes" description="A signposted route in a National Cycle Network, or nearest equivalent." category="Cycle" priority="low">
374       <match k="type" v="route"/>
375       <match k="route" v="bicycle"/>
376       <match k="network" v="ncn"/>
377       <icon image="features/route__ncn.png" background="#ff6f7a" foreground="white">
378         <font size="14pt"><b>${ref}</b></font><br/>
379         <font size="12pt">${name}</font>
380       </icon>
381     </input>
382     <input type="route" name="Regional Cycle Routes" description="A signposted route in a Regional Cycle Network, or nearest equivalent." category="Cycle" priority="low">
383       <match k="type" v="route"/>
384       <match k="route" v="bicycle"/>
385       <match k="network" v="rcn"/>
386       <icon image="features/route__rcn.png" background="#6ff7ff" foreground="white">
387         <font size="14pt"><b>${ref}</b></font><br/>
388         <font size="12pt">${name}</font>
389       </icon>
390     </input>
391     <input type="route" name="Local Cycle Routes" description="A signposted route in a Local Cycle Network, or nearest equivalent." category="Cycle" priority="lowest">
392       <match k="type" v="route"/>
393       <match k="route" v="bicycle"/>
394       <match k="network" v="lcn"/>
395       <icon image="features/route__lcn.png" background="#7d6fff" foreground="white">
396         <font size="14pt"><b>${ref}</b></font><br/>
397         <font size="12pt">${name}</font>
398       </icon>
399     </input>
400     <input type="route" name="Mountain bike route" description="A signposted route for mountain biking." category="Cycle" priority="lowest">
401       <match k="type" v="route"/>
402       <match k="route" v="mtb"/>
403       <icon image="features/route__mtb.png" background="#9f4404" foreground="white">
404         <font size="14pt"><b>${ref}</b></font><br/>
405         <font size="12pt">${name}</font>
406       </icon>
407     </input>
408   </inputSet>
409
410   <inputSet id="bicycle-permission">
411     <input type="choice"
412            name="Bicycles permitted" category="Cycle" description="Are bicyles allowed to use this road (regardless of physical suitability)?"
413            key="bicycle">
414       <choice value="yes" text="Allowed"/>
415       <choice value="no" text="Prohibited" desciption="Cycling is not allowed. Pushing your bicycle is not allowed either."/>
416       <choice value="private" text="Private"/>
417       <choice value="dismount" text="Cyclists dismount" description="Signage states that cyclists should dismount and push their bike for the selected path or road."/>
418       <choice value="designated" text="Designated"/>
419       <help>http://wiki.openstreetmap.org/wiki/Key:access</help>
420     </input>
421   </inputSet>
422
423   <inputSet id="bicycle-lane">
424     <input type="choice"
425         name="Bike lanes" category="Cycle" description="Road has bike lanes within the road surface"
426         key="cycleway" layout="horizontal">
427       <choice value="no" text="No bike lanes"/>
428       <choice value="lane" text="On-road bike lane" description="Separated by painted line on the road from cars"/>
429       <choice value="track" text="Parallel track" description="Separated by kerb or parked cars"/>
430       <choice value="opposite_lane" text="Contraflow lane" description="Separated by painted line, and allowing bicycles in both directions in an otherwise one-way street."/>
431       <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."/>
432       <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."/>
433       <help>http://wiki.openstreetmap.org/wiki/Key:cycleway</help>
434     </input>
435   </inputSet>
436
437   <inputSet id="ldp">
438     <input type="route" name="National Walking Route" description="National walking route" category="Walk" priority="normal">
439       <match k="type" v="route"/>
440       <match k="route" v="hiking|foot"/>
441       <match k="network" v="nwn"/>
442       <icon image="features/route__nwn.png" background="red" foreground="white">
443         <font size="14pt"><b>${ref}</b></font><br/>
444         <font size="12pt">${name}</font>
445       </icon>
446     </input>
447     <input type="route" name="Regional Walking Route" description="Regional walking route" category="Walk" priority="low">
448       <match k="type" v="route"/>
449       <match k="route" v="hiking|foot"/>
450       <match k="network" v="rwn"/>
451       <icon image="features/route__rwn.png" background="cyan" foreground="white">
452         <font size="14pt"><b>${ref}</b></font><br/>
453         <font size="12pt">${name}</font>
454       </icon>
455     </input>
456     <input type="route" name="Local Walking Route" description="Local walking route" category="Walk" priority="lowest">
457       <match k="type" v="route"/>
458       <match k="route" v="hiking|foot"/>
459       <match k="network" v="lwn"/>
460       <icon image="features/route__lwn.png" background="blue" foreground="white">
461         <font size="14pt"><b>${ref}</b></font><br/>
462         <font size="12pt">${name}</font>
463       </icon>
464     </input>
465   </inputSet>
466
467   <inputSet id="route">
468     <inputSet ref="names"/>
469     <inputSet ref="roadRefs"/>
470   </inputSet>
471
472   <inputSet id="waterways">
473     <inputSet ref="simpleName"/>
474     <input type="freetext" presence="always" name="Width" category="Details" key="width" description="The width in metres"/>
475     <inputSet ref="boatPermissions"/>
476   </inputSet>
477 <!-- Would be good to have a dedicated 'access' type of input -->
478   <!-- all the description fields are identical at the moment for ease of maintenance, should be tailored in future. -->
479   <inputSet id="boatPermissions">
480     <input type="choice" name="Boat permission" category="Restrictions" key="boat" description="Are boats allowed to use this waterway?">
481       <choice value="yes" text="Allowed" description="General right of way."/>
482       <choice value="no" text="Prohibited" description="No access to the public."/>
483       <choice value="permissive" text="Permissive" description="Access permitted through private land."/>
484       <choice value="private" text="Private" description="No access to the public, except individual exceptions."/>
485       <choice value="designated" text="Designated" description="Permitted, according to signs or specific local laws."/>
486     </input>
487   </inputSet>
488
489   <inputSet id="permissions">
490     <input type="choice" name="General access" category="Restrictions" key="access" description="Is there a general right of access, regardless of mode of transport?">
491       <choice value="yes" text="Allowed" description="General right of way."/>
492       <choice value="no" text="Prohibited" description="No access to the public."/>
493       <choice value="permissive" text="Permissive" description="Access permitted through private land."/>
494       <choice value="private" text="Private" description="No access to the public, except individual exceptions."/>
495       <choice value="designated" text="Designated" description="Permitted, according to signs or specific local laws."/>
496     </input>
497
498     <input type="choice" name="Motor vehicles" category="Restrictions" key="motor_vehicle" description="Are cars and other private vehicles allowed?">
499       <choice value="yes" text="Allowed" description="General right of way."/>
500       <choice value="no" text="Prohibited" description="No access to the public."/>
501       <choice value="permissive" text="Permissive" description="Access permitted through private land."/>
502       <choice value="private" text="Private" description="No access to the public, except individual exceptions."/>
503       <choice value="designated" text="Designated" description="Permitted, according to signs or specific local laws."/>
504     </input>
505
506     <input type="choice" name="Horses" category="Restrictions" key="horse" description="Are cars and other private vehicles allowed?">
507       <choice value="yes" text="Allowed" description="General right of way."/>
508       <choice value="no" text="Prohibited" description="No access to the public."/>
509       <choice value="permissive" text="Permissive" description="Access permitted through private land."/>
510       <choice value="private" text="Private" description="No access to the public, except individual exceptions."/>
511       <choice value="designated" text="Designated" description="Permitted, according to signs or specific local laws."/>
512     </input>
513
514   </inputSet>
515
516   <inputSet id="places">
517     <input type="choice" name="Type of Place" presence="always" key="place">
518       <choice value="locality" text="Locality"/>
519       <choice value="hamlet" text="Hamlet"/>
520       <choice value="village" text="Village"/>
521       <choice value="suburb" text="Suburb"/>
522       <choice value="town" text="Town"/>
523       <choice value="city" text="City"/>
524       <choice value="county" text="County"/>
525       <choice value="region" text="Region"/>
526       <choice value="state" text="State"/>
527       <choice value="country" text="Country"/>
528       <choice value="continent" text="Continent"/>
529       <choice value="island" text="Island"/>
530       <choice value="islet" text="Islet"/>
531     </input>
532   </inputSet>
533
534   <inputSet id="isBuilding">
535     <input type="checkbox" presence="onTagMatch" category="Details" description="Does this thing also represent one, solid building?" name="Building" key="building"/>
536   </inputSet>
537
538   <inputSet id="powerCables">
539     <input type="choice" name="Cables" key="cables" presence="always" category="Details">
540       <choice value="2" text="2"/>
541       <choice value="3" text="3"/>
542       <choice value="4" text="4"/>
543       <choice value="6" text="6"/>
544       <choice value="8" text="8"/>
545       <choice value="10" text="10"/>
546       <choice value="12" text="12"/>
547     </input>
548     <input type="choice" name="Voltage" key="voltage" presence="always" category="Details">
549       <!-- choices based on http://osmdoc.com/en/tag/voltage/#values-->
550       <choice value="400" text="400 V"/>
551       <choice value="600" text="600 V"/>
552       <choice value="750" text="750 V"/>
553       <choice value="1500" text="1500 V"/>
554       <choice value="3000" text="3000 V"/>
555       <choice value="15000" text="15 kV"/>
556       <choice value="20000" text="20 kV"/>
557       <choice value="35000" text="35 kV"/>
558       <choice value="110000" text="110 kV"/>
559       <choice value="132000" text="132 kV"/>
560       <choice value="138000" text="238 kV"/>
561       <choice value="220000" text="220 kV"/>
562       <choice value="380000" text="380 kV"/>
563     </input>
564   </inputSet>
565
566   <inputSet id="pitchSport">
567     <input name="Sport" presence="always" category="Details" key="sport" type="choice" description="The sport that is predominantly played here.">
568       <choice value="9pin" text="9 pin bowling"/>
569       <choice value="10pin" text="10 pin bowling"/>
570       <choice value="american_football" text="American football"/>
571       <choice value="archery" text="Archery"/>
572       <choice value="athletics" text="Athletics"/>
573       <choice value="australian_football" text="Australian Rules Football"/>
574       <choice value="baseball" text="Baseball"/>
575       <choice value="basketball" text="Basketball"/>
576       <choice value="beachvolleyball" text="Beach volleyball"/>
577       <choice value="boules" text="Boules/petanque/bocci"/>
578       <choice value="bowls" text="Lawn bowls"/>
579       <choice value="canadian_football" text="Canadian football"/>
580       <choice value="chess" text="Chess"/>
581       <choice value="cricket" text="Cricket"/>
582       <choice value="cricket_nets" text="Cricket nets"/>
583       <choice value="croquet" text="Croquet"/>
584       <choice value="equestrian" text="Equestrian"/>
585       <choice value="gaelic_football" text="Gaelic football"/>
586       <choice value="gymnastics" text="Gymnastics"/>
587       <choice value="team_handball" text="(Team) handball"/>
588       <choice value="hockey" text="(Field) hockey"/>
589       <choice value="korfball" text="Korball"/>
590       <choice value="pelota" text="Pelota"/>
591       <choice value="rugby_league" text="Rugby league"/>
592       <choice value="rugby_union" text="Rugby union"/>
593       <choice value="shooting" text="Shooting"/>
594       <choice value="skating" text="Ice skating"/>
595       <choice value="skateboard" text="Skateboarding"/>
596       <choice value="soccer" text="Soccer/football"/>
597       <choice value="swimming" text="Swimming"/>
598       <choice value="table_tennis" text="Table tennis"/>
599       <choice value="tennis" text="Tennis"/>
600       <choice value="volleyball" text="Volleyball"/>
601     </input>
602   </inputSet>
603
604 <!-- Features -->
605
606   <include file="map_features/roads.xml" />     <!-- includes traffic calming, roundabouts, race track -->
607   <include file="map_features/paths.xml" />     <!-- includes steps, highway=pedestrian, bike/hike routes -->
608   <include file="map_features/water.xml" />     <!-- includes coastline -->
609   <include file="map_features/transport.xml" /> <!-- includes rail, trams, bus, airports, car rental, bike parking... -->
610   <include file="map_features/power.xml" />     <!-- includes power lines, pylons, stations -->
611   <include file="map_features/places.xml" />    <!-- includes boundaries (inc. NP) -->
612   <include file="map_features/tourism.xml" />   <!-- includes accommodation -->
613   <include file="map_features/barriers.xml" /> 
614   <include file="map_features/shopping.xml" />  <!-- no clear distinction between this, amenities and buildings -->
615   <include file="map_features/amenities.xml" /> <!-- includes cafe, bar... --> 
616   <include file="map_features/landuse.xml" />   <!-- includes outdoor leisure/sporting stuff, agriculture, natural. --> 
617   <include file="map_features/buildings.xml" /> <!-- a bit of a dumping ground, includes sports centre, shopping centre, hospital... --> 
618   <include file="map_features/man_made.xml" />  
619
620
621   
622   <!-- Relations -->
623   <feature name="Multipolygon">
624     <category>advanced</category>
625     <relation/>
626     <tag k="type" v="multipolygon"/>
627     <inputSet ref="common"/>
628   </feature>
629  
630 </mapFeatures>