source: subversion/applications/editors/potlatch2/resources/map_features.xml @ 25367

Last change on this file since 25367 was 25365, checked in by stevage, 9 years ago

Move cycleway=segregated and cycleway=shared to highway=cycleway, rather than road types. Discussed on potlatch-dev on Feb 3.

File size: 29.5 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3Quick documentation:
4
5<category> the categories that features belong to. This includes both nodes (icons on left) and ways/areas (drop-down list that appears when a way/area is selected)
6  name: Shown in GUI
7  id: internal reference (a feature refers to this with category=xxx)
8
9<feature> a pre-defined group of tags that make up a feature
10  category: [ctext] corresponding to category id
11  icon
12    @image: path to .png file
13    @dnd: path to optional dnd-specific-override .png file
14    @background: colour spec
15    @foreground: colour spec
16    (general html goes here?) Variables substituted with ${ref}
17  help: [ctext] URL, shown as a linked ? icon. Should (?) usually be an OSM wiki page.
18  description: Not currently used?
19  line/point/area: any or all of these are allowed. Determines whether this feature is shown in the corresponding situations. None is equivalent to all three.
20  tag - one or more of these required, defines the tags that make up the feature.
21    @k - key
22    @v - value
23  input
24    @ref=xxx
25  inputSet
26    @ref=xxx
27</feature>
28
29<inputSet>: a reusable group of properties for a feature.
30  @id="internal id"
31  input...
32</inputSet>
33
34<input>
35  @type: choice/freetext/turn/checkbox/slider/route/speed/number - the different types of supported input dialogs.
36  @presence: always/onTagMatch/withCategory - Whether it always appears on the basic page, appears only when the tag is already set, or only ever show on the category page.
37  @category: which tab it appears on
38  @description: mouse-over text
39  @name: The text shown as the label of the property
40  @key: The actual OSM key (tag) that will be saved
41  @priority: highest/high/normal/low/lowest (default=>normal) - controls the order that different features show up in a panel.
42  match: for turn|route inputs, the tags to be considered on the relation as indicating a match.
43    @k: key
44    @v: value
45  icon: see above
46</input>
47
48<include
49  @file="map_features/roads.xml": external file to drop into place here. Include files behave exactly as if written out in full.
50/>
51-->
52
53<mapFeatures>
54
55  <!-- Categories -->
56  <category name="Roads" id="roads"/>
57  <category name="Paths" id="paths"/>
58  <category name="Shopping" id="shopping"/>
59  <category name="Food and Drink" id="foodanddrink"/>
60  <category name="Amenity" id="amenity"/>
61  <category name="Tourism" id="tourism"/>
62  <category name="Accommodation" id="accommodation"/>
63  <category name="Transport" id="transport"/>
64  <category name="Water" id="water"/>
65  <category name="Natural" id="natural"/>
66  <category name="Barrier" id="barrier"/>
67  <category name="Power" id="power"/>
68  <category name="Admin" id="admin"/>
69  <category name="Buildings" id="buildings"/>
70  <category name="Landuse" id="landuse"/>
71  <category name="Agriculture" id="agriculture"/>
72  <category name="Advanced" id="advanced"/>
73  <category name="Places" id="places"/>
74  <category name="Sport and Leisure" id="sport"/>
75  <category name="Man-made" id="manmade"/>
76
77  <!-- Common input sets -->
78
79  <inputSet id="simpleName">
80    <input type="freetext" presence="always" name="Name" key="name" description="The name" priority="highest"/>
81  </inputSet>
82
83  <inputSet id="nameAndRef">
84    <inputSet ref="simpleName" />
85    <input type="freetext" presence="always" name="Reference number" key="ref" description="A reference number or code used to identify this thing." />
86  </inputSet>
87
88
89  <inputSet id="source">
90    <input type="freetext" category="Misc" presence="onTagMatch" name="Source" key="source" description="The primary source of information for this object (GPS, survey, Yahoo, ...)" priority="lowest"/>
91  </inputSet>
92
93  <inputSet id="common">
94    <inputSet ref="source"/>
95  </inputSet>
96
97  <inputSet id="names">
98    <input type="freetext" presence="always"
99        name="Name" category="Naming" priority="highest"
100        key="name" description="The most common name"/>
101    <input type="freetext" presence="onTagMatch"
102        name="International Name" category="Naming"
103        key="int_name" description="The internationally recognised name"/>
104    <input type="freetext" presence="onTagMatch"
105        name="Historical Name" category="Naming" priority="low"
106        key="old_name" description="The historic or previous name"/>
107    <input type="freetext" presence="onTagMatch"
108        name="Alternative Name" category="Naming" priority="low"
109        key="alt_name" description="An alternative, currently used, name"/>
110  </inputSet>
111
112  <inputSet id="wifi">
113    <input type="choice" presence="onTagMatch" category="Eating" name="Wifi" key="wifi">
114      <choice value="free" text="Free"/>
115      <choice value="yes" text="Yes"/>
116      <choice value="no" text="No"/>
117    </input>
118  </inputSet>
119
120  <inputSet id="buildingAddress">
121    <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"/>
122    <input type="freetext" presence="onTagMatch" category="Address" description="The name of the house, e.g. Riverbank Cottage" name="Building Name" key="addr:housename"/>
123    <input type="freetext" presence="onTagMatch" category="Address" description="The Street Name (optional)" name="Street Name" key="addr:street"/>
124    <input type="freetext" presence="onTagMatch" category="Address" description="The postcode" name="Postcode" key="addr:postcode"/>
125  </inputSet>
126
127  <inputSet id="web">
128    <input type="freetext" presence="onTagMatch" category="Web" description="The URL of the website" name="Website" key="website"/>
129  </inputSet>
130
131  <inputSet id="cuisine">
132    <input type="choice" presence="always" name="Cuisine" category="Eating" description="The type of food that they serve" key="cuisine">
133      <!-- The 30 most popular values according to taginfo 23/12/2010 -->
134      <choice value="burger" text="Burger"/>
135      <choice value="chicken" text="Chicken"/>
136      <choice value="chinese" text="Chinese"/>
137      <choice value="coffee_shop" text="Coffee Shop"/>
138      <choice value="greek" text="Greek"/>
139      <choice value="pizza" text="Pizza"/>
140      <choice value="sandwich" text="Sandwich"/>
141      <choice value="seafood" text="Sea Food"/>
142      <choice value="regional" text="Regional"/>
143      <choice value="italian" text="Italian"/>
144      <choice value="german" text="German"/>
145      <choice value="kebab" text="Kebab/souvlaki/gyro"/>
146      <choice value="indian" text="Indian"/>
147      <choice value="asian" text="Asian"/>
148      <choice value="mexican" text="Mexican"/>
149      <choice value="thai" text="Thai"/>
150      <choice value="japanese" text="Japanese"/>
151      <choice value="ice_cream" text="Ice-cream"/>
152      <choice value="fish_and_chips" text="Fish &amp; Chips"/>
153      <choice value="turkish" text="Turkish"/>
154      <choice value="french" text="French"/>
155      <choice value="sushi" text="Sushi"/>
156      <choice value="american" text="American"/>
157      <choice value="steak_house" text="Steak House"/>
158      <choice value="international" text="International"/>
159      <choice value="spanish" text="Spanish"/>
160      <choice value="vietnamese" text="Vietnamese"/>
161      <choice value="fish" text="Fish"/>
162      <choice value="bavarian" text="Bavarian"/>
163      <choice value="vegetarian" text="Vegetarian"/>
164
165      <help>http://wiki.openstreetmap.org/wiki/Key:cuisine</help>
166    </input>
167  </inputSet>
168
169  <!-- Roads -->
170
171  <inputSet id="majorRoad">
172    <inputSet ref="names"/>
173    <inputSet ref="roadRefs"/>
174    <inputSet ref="roadRestrictions"/>
175    <inputSet ref="roadPhysical"/>
176    <inputSet ref="cycle"/>
177    <inputSet ref="bicycle-lane"/>
178    <inputSet ref="bus-route"/>
179    <inputSet ref="pedestrians"/>
180    <inputSet ref="roadLanes"/>
181    <inputSet ref="roadRoundabout"/>
182    <inputSet ref="permissions"/>
183  </inputSet>
184 
185
186  <inputSet id="minorRoad">
187    <inputSet ref="names"/>
188    <inputSet ref="roadRestrictions"/>
189    <inputSet ref="roadPhysical"/>
190    <inputSet ref="cycle"/>
191    <inputSet ref="bicycle-lane"/>
192    <inputSet ref="bus-route"/>
193    <inputSet ref="pedestrians"/>
194    <inputSet ref="roadLanes"/>
195    <inputSet ref="roadRoundabout"/>
196    <inputSet ref="permissions"/>
197  </inputSet>
198
199  <inputSet id="path">
200    <inputSet ref="simpleName"/>
201    <inputSet ref="roadPhysical"/>
202    <inputSet ref="cycle"/>
203    <inputSet ref="ldp"/>
204    <inputSet ref="pedestrians"/>
205    <inputSet ref="permissions"/>
206  </inputSet>
207
208  <inputSet id="junctionNode">
209    <inputSet ref="turnRestrictions"/>
210  </inputSet>
211
212  <inputSet id="roadRefs">
213    <input type="freetext" presence="always"
214        name="Reference" category="Naming" priority="high"
215        key="ref" description="The official reference number"/>
216    <input type="freetext" presence="onTagMatch"
217        name="International Reference" category="Naming"
218        key="int_ref" description="The official international reference number"/>
219    <input type="freetext" presence="onTagMatch"
220        name="Old Reference" category="Naming" priority="low"
221        key="old_ref" description="The historic or previous reference number"/>
222  </inputSet>
223
224  <inputSet id="roadPhysical">
225    <input type="freetext" presence="onTagMatch"
226        name="Width" category="Physical"
227        key="width" description="Width of the road" layout="horizontal"/>
228    <input type="choice" presence="onTagMatch"
229        name="Surface" category="Physical" description="Type of road surface"
230        key="surface" layout="horizontal">
231      <choice value="unpaved" text="Unpaved" description="Road surface is unsealed"/>
232      <choice value="paved" text="Paved" description="Road surface is sealed"/>
233      <choice value="asphalt" text="Asphalt"/>
234      <choice value="concrete" text="Concrete"/>
235      <choice value="paving_stones" text="Paving stones"/>
236      <choice value="cobblestone" text="Cobblestone"/>
237      <choice value="sand" text="Sand"/>
238      <choice value="gravel" text="Gravel"/>
239      <choice value="dirt" text="Dirt"/>
240      <choice value="grass" text="Grass"/>
241    </input>
242    <inputSet ref="bridge"/>
243    <inputSet ref="tunnel"/>
244    <inputSet ref="embankment-cutting"/>
245    <!-- not sure which category best suits put area=yes -->
246    <input type="checkbox" presence="onTagMatch" category="Restrictions" 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." />
247  </inputSet>
248
249  <inputSet id="roadLanes">
250    <input presence="onTagMatch" type="number" name="Lanes" category="Physical" description="Total number of lanes, counting both directions"
251           key="lanes" minimum="1" maximum="10" layout="horizontal"/>
252  </inputSet>
253
254  <inputSet id="bridge">
255    <input type="choice" presence="onTagMatch"
256        name="Bridge" category="Physical" description="Road goes over a bridge"
257        key="bridge" layout="horizontal">
258      <choice value="yes" text="Generic Bridge" description="Generic bridge -- type unknown"/>
259      <choice value="viaduct" text="Viaduct" description="Viaduct"/>
260      <choice value="suspension" text="Suspension bridge"/>
261    </input>
262    <input type="slider" presence="onTagMatch"
263        name="Layer" category="Physical" description="Relative vertical positions (-5 lowest, +5 highest)"
264        key="layer" minimum="-5" maximum="5" default="0" snapInterval="1" labels="Lowest,Ground,Highest"
265        defaultName="Ground"/>
266  </inputSet>
267  <inputSet id="tunnel">
268    <!-- Not ideal, used for non-roads too. --> 
269    <input type="choice" presence="onTagMatch"
270        name="Tunnel" category="Physical" description="Road goes into a tunnel"
271        key="tunnel" layout="horizontal">
272      <choice value="yes" text="Tunnel" description="Generic tunnel"/>
273    </input>
274  </inputSet>
275
276  <inputSet id="embankment-cutting">
277    <input type="choice"
278           name="Embankment" category="Physical" description="Road supported on a raised bed of earth and rock."
279           key="embankment" layout="horizontal">
280      <choice value="yes" text="Embankment"/>
281    </input>
282    <input type="choice"
283           name="Cutting" category="Physical" description="Road carved out of hill on one or both sides."
284           key="cutting" layout="horizontal">
285      <choice value="yes" text="Cutting"/>
286    </input>
287
288  </inputSet>
289
290  <inputSet id="rail-electrification">
291    <input type="choice" name="Electrified" category="Electrification" description="Is the track electrified (whether by 3rd rail, overhead wires, etc)?"
292           key="electrified">
293      <choice value="yes" text="Yes"/>
294      <choice value="no" text="No"/>
295    </input>
296    <input type="choice" name="Voltage" category="Electrification" description="Nominal voltage of electric wires"
297           key="voltage" presence="withCategory">
298      <choice value="600" text="600V"/>
299      <choice value="750" text="750V"/>
300      <choice value="1500" text="1500V"/>
301      <choice value="3000" text="3000V"/>
302      <choice value="15000" text="15kV"/>
303      <choice value="25000" text="25kV"/>
304    </input>
305    <input type="choice" name="Frequency" category="Electrification" description="Frequency in Hertz of alternating current power supply"
306           key="frequency" presence="withCategory">
307      <choice value="0" text="DC"/>
308      <choice value="16.67" text="16.67 Hz"/>
309      <choice value="16.7" text="16.7 Hz"/>
310      <choice value="25" text="25 Hz"/>
311      <choice value="50" text="50 Hz"/>
312      <choice value="60" text="60 Hz"/>
313    </input>
314  </inputSet>
315
316  <inputSet id="rail-usage">
317    <input type="choice" name="Usage" category="Usage" description="Main use of the line" key="usage">
318      <choice value="main" text="Main line" description="The principal artery of a rail system."/>
319      <choice value="branch" text="Branch line" description="A secondary line, branching off a main line."/>
320      <choice value="industrial" text="Industrial"/>
321      <choice value="tourism" text="Tourism" />
322      <choice value="military" text="Military"/>
323    </input>
324  </inputSet>
325
326  <inputSet id="fee">
327    <input type="freetext" presence="onTagMatch" category="Restrictions" description="The charge/cost of using this amenity" name="Fee" key="fee"/>
328  </inputSet>
329
330  <inputSet id="roadRestrictions">
331    <input type="choice" presence="always"
332        name="Oneway" category="Restrictions" description="Oneway roads"
333        key="oneway">
334      <choice value="yes" match="yes|true|1" text="One way"
335        description="Road can only be travelled in direction of way" icon="features/oneway__yes.png"/>
336      <choice value="no" match="no|false|0" text="Two way"
337        description="Road can be travelled in both directions" icon="features/oneway__no.png"/>
338      <choice value="-1" match="-1|reverse" text="One way reverse"
339        description="Road can be travelled in opposite direction to way" icon="features/oneway__-1.png"/>
340    </input>
341    <input type="speed" presence="onTagMatch"
342        name="Speed Limit" category="Restrictions" description="Maximum permitted speed on this road"
343        key="maxspeed"/>
344  </inputSet>
345
346  <inputSet id="roadRoundabout">
347    <!-- review the choice of category -->
348    <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."
349           key="junction">
350      <choice value="roundabout" text="Yes"/>
351    </input>
352  </inputSet>
353
354  <inputSet id="turnRestrictions">
355    <input type="turn" name="Turn restriction" description="Turn restriction" category="Restrictions" priority="normal" presence="onTagMatch">
356      <match k="type" v="restriction"/>
357      <role role="via"/>
358    </input>
359  </inputSet>
360
361  <inputSet id="pedestrians">
362    <input type="choice" name="Pedestrians" description="Can pedestrians use this road, including footpaths if any?" category="Walking" key="foot">
363      <choice value="yes" text="Allowed"/>
364      <choice value="no" text="Prohibited"/>
365      <choice value="designated" text="Designated"/>
366    </input>
367  </inputSet>
368
369  <inputSet id="naptan">
370    <input type="freetext" presence="onTagMatch" category="Naptan" description="12 character internal Naptan ID" name="Atco Code" key="naptan:AtcoCode"/>
371    <input type="choice" presence="onTagMatch" category="Naptan" description="The eight-point compass bearning" name="Naptan Bearing" key="naptan:Bearing" >
372      <choice value="N"  match="N"  text="N"  description=""/>
373      <choice value="NE" match="NE" text="NE" description=""/>
374      <choice value="E"  match="E"  text="E"  description=""/>
375      <choice value="SE" match="SE" text="SE" description=""/>
376      <choice value="S"  match="S"  text="S"  description=""/>
377      <choice value="SW" match="SW" text="SW" description=""/>
378      <choice value="W"  match="W"  text="W"  description=""/>
379      <choice value="NW" match="NW" text="NW" description=""/>
380    </input>
381    <input type="freetext" presence="onTagMatch" category="Naptan" description="The naptan common name" name="Naptan Common Name (read-only)" key="naptan:CommonName"/>
382    <input type="freetext" presence="onTagMatch" category="Naptan" description="" name="Naptan Indicator (read-only)" key="naptan:Indicator"/>
383    <input type="freetext" presence="onTagMatch" category="Naptan" description="" name="Naptan Street (read-only)" key="naptan:Street"/>
384    <input type="freetext" presence="onTagMatch" category="Naptan" description="Delete this when the details have been verified on-the-ground" name="Naptan Verified?" key="naptan:verified"/>
385  </inputSet>
386
387  <inputSet id="buses">
388    <input type="freetext" presence="always" category="Bus Stop" name="Stop Name" key="name" description="The name of the bus stop"/>
389    <input type="freetext" presence="always" category="Bus Stop" name="Local Ref" key="local_ref" description="The local reference of the stop, usually one or two letters above the main flag, used at bus interchanges, e.g. L, BX"/>
390    <inputSet ref="naptan"/>
391  </inputSet>
392
393  <inputSet id="bus-route">
394    <input type="route" name="Bus Route" description="Bus route" category="Transport" priority="low" presence="onTagMatch">
395      <match k="type" v="route"/>
396      <match k="route" v="bus"/>
397      <icon image="features/route__bus.png">
398        <font size="12pt">${operator} <b>${ref}</b></font>
399      </icon>
400    </input>
401  </inputSet>
402
403  <inputSet id="tram-route">
404    <input type="route" name="Tram Route" description="Tram route" category="Transport" priority="low" presence="onTagMatch">
405      <match k="type" v="route"/>
406      <match k="route" v="tram"/>
407      <icon image="features/transport__tram.png">
408        <font size="12pt">${operator} <b>${ref}</b></font>
409      </icon>
410    </input>
411  </inputSet>
412
413  <inputSet id="cycle">
414    <inputSet ref="bicycle-permission"/>
415    <input type="route" name="National Cycle Routes" description="A signposted route in a National Cycle Network, or nearest equivalent." category="Cycle" priority="low">
416      <match k="type" v="route"/>
417      <match k="route" v="bicycle"/>
418      <match k="network" v="ncn"/>
419      <icon image="features/route__ncn.png" background="#ff6f7a" foreground="white">
420        <font size="14pt"><b>${ref}</b></font><br/>
421        <font size="12pt">${name}</font>
422      </icon>
423    </input>
424    <input type="route" name="Regional Cycle Routes" description="A signposted route in a Regional Cycle Network, or nearest equivalent." category="Cycle" priority="low">
425      <match k="type" v="route"/>
426      <match k="route" v="bicycle"/>
427      <match k="network" v="rcn"/>
428      <icon image="features/route__rcn.png" background="#6ff7ff" foreground="white">
429        <font size="14pt"><b>${ref}</b></font><br/>
430        <font size="12pt">${name}</font>
431      </icon>
432    </input>
433    <input type="route" name="Local Cycle Routes" description="A signposted route in a Local Cycle Network, or nearest equivalent." category="Cycle" priority="lowest">
434      <match k="type" v="route"/>
435      <match k="route" v="bicycle"/>
436      <match k="network" v="lcn"/>
437      <icon image="features/route__lcn.png" background="#7d6fff" foreground="white">
438        <font size="14pt"><b>${ref}</b></font><br/>
439        <font size="12pt">${name}</font>
440      </icon>
441    </input>
442  </inputSet>
443
444  <inputSet id="bicycle-permission">
445    <input type="choice"
446           name="Bicycles permitted" category="Cycle" description="Are bicyles allowed to use this road (regardless of physical suitability)?"
447           key="bicycle">
448      <choice value="no" text="Prohibited" desciption="Cycling is not allowed. Pushing your bicycle is not allowed either."/>
449      <choice value="yes" text="Allowed"/>
450      <choice value="dismount" text="Cyclists dismount" description="Signage states that cyclists should dismount and push their bike for the selected path or road."/>
451      <choice value="designated" text="Designated"/>
452      <choice value="private" text="Private"/>
453      <help>http://wiki.openstreetmap.org/wiki/Key:access</help>
454    </input>
455  </inputSet>
456
457  <inputSet id="bicycle-lane">
458    <input type="choice"
459        name="Bike lanes" category="Cycle" description="Road has bike lanes within the road surface"
460        key="cycleway" layout="horizontal">
461      <choice value="no" text="No bike lanes"/>
462      <choice value="lane" text="On-road bike lane" description="Separated by painted line on the road from cars"/>
463      <choice value="track" text="Parallel track" description="Separated by kerb or parked cars"/>
464      <choice value="opposite_lane" text="Contraflow lane" description="Separated by painted line, and allowing bicycles in both directions in an otherwise one-way street."/>
465      <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."/>
466      <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."/>
467      <help>http://wiki.openstreetmap.org/wiki/Key:cycleway</help>
468    </input>
469  </inputSet>
470
471  <inputSet id="ldp">
472    <input type="route" name="National Walking Route" description="National walking route" category="Walking" priority="normal">
473      <match k="type" v="route"/>
474      <match k="route" v="hiking|foot"/>
475      <match k="network" v="nwn"/>
476      <icon image="features/route__nwn.png" background="red" foreground="white">
477        <font size="14pt"><b>${ref}</b></font><br/>
478        <font size="12pt">${name}</font>
479      </icon>
480    </input>
481    <input type="route" name="Regional Walking Route" description="Regional walking route" category="Walking" priority="low">
482      <match k="type" v="route"/>
483      <match k="route" v="hiking|foot"/>
484      <match k="network" v="rwn"/>
485      <icon image="features/route__rwn.png" background="cyan" 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="Local Walking Route" description="Local walking route" category="Walking" priority="lowest">
491      <match k="type" v="route"/>
492      <match k="route" v="hiking|foot"/>
493      <match k="network" v="lwn"/>
494      <icon image="features/route__lwn.png" background="blue" foreground="white">
495        <font size="14pt"><b>${ref}</b></font><br/>
496        <font size="12pt">${name}</font>
497      </icon>
498    </input>
499  </inputSet>
500
501  <inputSet id="route">
502    <inputSet ref="names"/>
503    <inputSet ref="roadRefs"/>
504  </inputSet>
505
506  <inputSet id="waterways">
507    <inputSet ref="simpleName"/>
508    <input type="freetext" presence="always" name="Width" category="Properties" key="width" description="The width in metres"/>
509    <inputSet ref="boatPermissions"/>
510  </inputSet>
511<!-- Would be good to have a dedicated 'access' type of input -->
512  <!-- all the description fields are identical at the moment for ease of maintenance, should be tailored in future. -->
513  <inputSet id="boatPermissions">
514    <input type="choice" name="Boat permission" category="Permission" key="boat" description="Are boats allowed to use this waterway?">
515      <choice value="designated" text="Designated" description="Permitted, according to signs or specific local laws."/>
516      <choice value="yes" text="Allowed" description="General right of way."/>
517      <choice value="permissive" text="Permissive" description="Access permitted through private land."/>
518      <choice value="private" text="Private" description="No access to the public, except individual exceptions."/>
519      <choice value="no" text="Prohibited" description="No access to the public."/>
520    </input>
521  </inputSet>
522
523  <inputSet id="permissions">
524    <input type="choice" name="General access" category="Permission" key="access" description="Is there a general right of access, regardless of mode of transport?">
525      <choice value="designated" text="Designated" description="Permitted, according to signs or specific local laws."/>
526      <choice value="yes" text="Allowed" description="General right of way."/>
527      <choice value="permissive" text="Permissive" description="Access permitted through private land."/>
528      <choice value="private" text="Private" description="No access to the public, except individual exceptions."/>
529      <choice value="no" text="Prohibited" description="No access to the public."/>
530    </input>
531
532    <input type="choice" name="Motor vehicles" category="Permission" key="motor_vehicle" description="Are cars and other private vehicles allowed?">
533      <choice value="designated" text="Designated" description="Permitted, according to signs or specific local laws."/>
534      <choice value="yes" text="Allowed" description="General right of way."/>
535      <choice value="permissive" text="Permissive" description="Access permitted through private land."/>
536      <choice value="private" text="Private" description="No access to the public, except individual exceptions."/>
537      <choice value="no" text="Prohibited" description="No access to the public."/>
538    </input>
539
540    <input type="choice" name="Horses" category="Permission" key="horse" description="Are cars and other private vehicles allowed?">
541      <choice value="designated" text="Designated" description="Permitted, according to signs or specific local laws."/>
542      <choice value="yes" text="Allowed" description="General right of way."/>
543      <choice value="permissive" text="Permissive" description="Access permitted through private land."/>
544      <choice value="private" text="Private" description="No access to the public, except individual exceptions."/>
545      <choice value="no" text="Prohibited" description="No access to the public."/>
546    </input>
547
548  </inputSet>
549
550  <inputSet id="places">
551    <input type="choice" name="Type of Place" presence="always" key="place">
552      <choice value="locality" text="Locality"/>
553      <choice value="hamlet" text="Hamlet"/>
554      <choice value="village" text="Village"/>
555      <choice value="suburb" text="Suburb"/>
556      <choice value="town" text="Town"/>
557      <choice value="city" text="City"/>
558      <choice value="county" text="County"/>
559      <choice value="region" text="Region"/>
560      <choice value="state" text="State"/>
561      <choice value="country" text="Country"/>
562      <choice value="continent" text="Continent"/>
563      <choice value="island" text="Island"/>
564      <choice value="islet" text="Islet"/>
565    </input>
566  </inputSet>
567
568  <inputSet id="isBuilding">
569    <input type="checkbox" presence="onTagMatch" category="Misc" description="Does this thing also represent one, solid building?" name="Building" key="building"/>
570  </inputSet>
571
572  <inputSet id="powerCables">
573    <input type="choice" name="Cables" key="cables" presence="always" category="Power">
574      <choice value="2" text="2"/>
575      <choice value="3" text="3"/>
576      <choice value="4" text="4"/>
577      <choice value="6" text="6"/>
578      <choice value="8" text="8"/>
579      <choice value="10" text="10"/>
580      <choice value="12" text="12"/>
581    </input>
582    <input type="choice" name="Voltage" key="voltage" presence="always" category="Power">
583      <!-- choices based on http://osmdoc.com/en/tag/voltage/#values-->
584      <choice value="400" text="400 V"/>
585      <choice value="600" text="600 V"/>
586      <choice value="750" text="750 V"/>
587      <choice value="1500" text="1500 V"/>
588      <choice value="3000" text="3000 V"/>
589      <choice value="15000" text="15 kV"/>
590      <choice value="20000" text="20 kV"/>
591      <choice value="35000" text="35 kV"/>
592      <choice value="110000" text="110 kV"/>
593      <choice value="132000" text="132 kV"/>
594      <choice value="138000" text="238 kV"/>
595      <choice value="220000" text="220 kV"/>
596      <choice value="380000" text="380 kV"/>
597    </input>
598  </inputSet>
599
600
601<!-- Features -->
602
603  <include file="map_features/roads.xml" />     <!-- includes traffic calming, roundabouts, race track -->
604  <include file="map_features/paths.xml" />     <!-- includes steps, highway=pedestrian, bike/hike routes -->
605  <include file="map_features/water.xml" />     <!-- includes coastline -->
606  <include file="map_features/transport.xml" /> <!-- includes rail, trams, bus, airports, car rental, bike parking... -->
607  <include file="map_features/power.xml" />     <!-- includes power lines, pylons, stations -->
608  <include file="map_features/places.xml" />    <!-- includes boundaries (inc. NP) -->
609  <include file="map_features/tourism.xml" />   <!-- includes accommodation -->
610  <include file="map_features/barriers.xml" /> 
611  <include file="map_features/shopping.xml" />  <!-- no clear distinction between this, amenities and buildings -->
612  <include file="map_features/amenities.xml" /> <!-- includes cafe, bar... --> 
613  <include file="map_features/landuse.xml" />   <!-- includes outdoor leisure/sporting stuff, agriculture, natural. --> 
614  <include file="map_features/buildings.xml" /> <!-- a bit of a dumping ground, includes sports centre, shopping centre, hospital... --> 
615  <include file="map_features/man_made.xml" /> 
616
617
618 
619  <!-- Relations -->
620  <feature name="Multipolygon">
621    <category>advanced</category>
622    <relation/>
623    <tag k="type" v="multipolygon"/>
624    <inputSet ref="common"/>
625  </feature>
626 
627</mapFeatures>
Note: See TracBrowser for help on using the repository browser.