Don't straighten ways if they diverge too much
[potlatch2.git] / resources / map_features / transport.xml
1 <featureGroup>
2     <feature name="Railway line">
3         <category>transport</category>
4         <icon image="features/railway__rail.png">
5           <font size="14pt">
6             <b>${name}</b>
7           </font>
8         </icon>
9     
10         <line/>
11         <tag k="railway" v="rail"/>
12         <inputSet ref="bridge"/>
13         <inputSet ref="tunnel"/>
14         <inputSet ref="embankment-cutting"/>
15         <inputSet ref="rail-electrification"/>
16         <inputSet ref="common"/>
17         <inputSet ref="train-route"/>
18         
19       </feature>
20     
21     
22       <feature name="Railway spur">
23         <category>transport</category>
24         <icon image="features/railway__spur.png">
25           <font size="14pt">
26             <b>${name}</b>
27           </font>
28         </icon>
29     
30         <line/>
31         <tag k="railway" v="rail"/>
32         <tag k="service" v="spur"/>
33         <inputSet ref="common"/>
34         <inputSet ref="train-route"/>
35       </feature>
36     
37     
38       <feature name="Railway siding">
39         <category>transport</category>
40         <icon image="features/railway__siding.png">
41           <font size="14pt">
42             <b>${name}</b>
43           </font>
44         </icon>
45     
46         <line/>
47         <tag k="railway" v="rail"/>
48         <tag k="service" v="siding"/>
49         <inputSet ref="common"/>
50         <inputSet ref="train-route"/>
51       </feature>
52     
53     
54       <feature name="Preserved line">
55         <category>transport</category>
56         <icon image="features/railway__preserved.png">
57           <font size="14pt"><b>${name}</b></font>
58         </icon>
59     
60         <line/>
61         <tag k="railway" v="preserved"/>
62         <inputSet ref="common"/>
63         <inputSet ref="train-route"/>
64       </feature>
65     
66     
67       <feature name="Disused tracks">
68         <category>transport</category>
69         <icon image="features/railway__disused.png">
70           <font size="14pt">
71             <b>${name}</b>
72           </font>
73         </icon>
74     
75         <line/>
76         <tag k="railway" v="disused"/>
77         <inputSet ref="common"/>
78         <inputSet ref="train-route"/>
79       </feature>
80     
81     
82       <feature name="Old trackbed">
83         <category>transport</category>
84         <icon image="features/railway__abandoned.png">
85           <font size="14pt"><b>${name}</b></font>
86         </icon>
87     
88         <line/>
89         <tag k="railway" v="abandoned"/>
90         <inputSet ref="common"/>
91         <inputSet ref="train-route"/>
92       </feature>
93     
94     
95       <feature name="Light rail line">
96         <category>transport</category>
97         <icon image="features/railway__light.png">
98           <font size="14pt">
99             <b>${name}</b>
100           </font>
101         </icon>
102     
103         <line/>
104         <tag k="railway" v="light_rail"/>
105         <inputSet ref="bridge"/>
106         <inputSet ref="tunnel"/>
107         <inputSet ref="embankment-cutting"/>
108         <inputSet ref="rail-electrification"/>
109         <inputSet ref="common"/>
110         <inputSet ref="tram-route"/>
111         <inputSet ref="train-route"/>
112       </feature>
113     
114     
115       <feature name="Tram line">
116         <category>transport</category>
117         <icon image="features/railway__tram.png">
118           <font size="14pt"><b>${name}</b></font>
119         </icon>
120     
121         <line/>
122         <tag k="railway" v="tram"/>
123         <inputSet ref="tram-route"/>
124         <inputSet ref="bridge"/>
125         <inputSet ref="tunnel"/>
126         <inputSet ref="embankment-cutting"/>
127         <inputSet ref="rail-electrification"/>
128         <inputSet ref="common"/>
129       </feature>
130     
131     
132       <feature name="Subway line">
133         <category>transport</category>
134         <icon image="features/railway__subway.png">
135           <font size="14pt">
136             <b>${name}</b>
137           </font>
138         </icon>
139     
140         <line/>
141         <tag k="railway" v="subway"/>
142         <inputSet ref="bridge"/>
143         <inputSet ref="tunnel"/>
144         <inputSet ref="embankment-cutting"/>
145         <inputSet ref="rail-electrification"/>
146         <inputSet ref="common"/>
147         <inputSet ref="train-route"/>
148       </feature>
149     
150     
151       <feature name="Railway platform">
152         <category>transport</category>
153         <icon image="features/railway__platform.png"/>
154         <line/>
155         <area/>
156         <tag k="railway" v="platform"/>
157         <input type="freetext" presence="onTagMatch" category="Details" name="Reference" key="ref" description="The number of the platform" priority="low"/>
158         <inputSet ref="common"/>
159       </feature>
160     
161   <feature name="Car Wash">
162     <category>transport</category>
163     <icon image="features/pois/transport_car_wash.n.24.png">
164       ${name}
165     </icon>
166     <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dcar_wash</help>
167     <point/>
168     <tag k="amenity" v="car_wash"/>
169     <inputSet ref="names"/>
170     <input type="freetext" presence="onTagMatch" category="Details" name="Operator" key="operator" description="The company/organisation that runs the car wash" priority="low"/>
171     <input type="freetext" presence="onTagMatch" category="Details" name="Opening hours" key="opening_hours" priority="normal"/>
172     <input type="choice" presence="onTagMatch" category="Details" name="Self service" key="self_service" priority="low">
173         <choice value="yes" text="Yes" />
174         <choice value="no" text="No" />
175     </input>
176     <input type="choice" presence="onTagMatch" category="Details" name="Automated" key="automated" priority="low">
177         <choice value="yes" text="Yes" />
178         <choice value="no" text="No" />
179     </input>
180     
181     <inputSet ref="common"/>
182   </feature>
183     
184       <feature name="Bus station">
185         <category>transport</category>
186         <icon image="features/amenity__bus_station.png">
187           <b>${name} ${addr:housename}</b><br/>
188           ${addr:housenumber} ${addr:street} ${addr:postcode}
189         </icon>
190     
191         <area/>
192         <tag k="amenity" v="bus_station"/>
193         <inputSet ref="names"/>
194         <inputSet ref="isBuilding"/>
195         <inputSet ref="buildingAddress"/>
196         <inputSet ref="common"/>
197       </feature>
198     
199     
200       <feature name="Airport">
201         <category>transport</category>
202         <icon image="features/aeroway__aerodrome.png" dnd="features/pois/transport_airport.n.24.png"/>
203         <tag k="aeroway" v="aerodrome"/>
204         <area/>
205         <point/>
206         <inputSet ref="names"/>
207         <input type="freetext" presence="always" category="Details" name="International Air Transport Association (IATA) airport code" key="ref"/>
208         <help>http://wiki.openstreetmap.org/wiki/Key:aeroway</help>
209         <inputSet ref="common"/>
210       </feature>
211     
212     
213       <feature name="Airport terminal">
214         <category>transport</category>
215         <icon image="features/aeroway__terminal.png" dnd="features/pois/transport_airport_terminal.n.24.png"/>
216         <tag k="aeroway" v="terminal"/>
217         <area/>
218         <point/>
219         <inputSet ref="names"/>
220         <help>http://wiki.openstreetmap.org/wiki/Key:aeroway</help>
221         <inputSet ref="common"/>
222       </feature>
223     
224     
225       <feature name="Helipad">
226         <category>transport</category>
227         <icon image="features/aeroway__helipad.png" dnd="features/pois/transport_helicopter_pad.n.24.png"/>
228         <tag k="aeroway" v="helipad"/>
229         <area/>
230         <point/>
231         <inputSet ref="names"/>
232         <help>http://wiki.openstreetmap.org/wiki/Key:aeroway</help>
233         <inputSet ref="common"/>
234       </feature>
235     
236     
237       <feature name="Airport runway">
238         <category>transport</category>
239         <icon image="features/aeroway__runway.png"/>
240         <tag k="aeroway" v="runway"/>
241         <line/>
242         <inputSet ref="names"/>
243         <input type="freetext" presence="always" category="Details" name="Runway number (01-36)" key="ref"/>
244         <help>http://wiki.openstreetmap.org/wiki/Key:aeroway</help>
245         <inputSet ref="common"/>
246       </feature>
247     
248     
249       <feature name="Airport taxiway">
250         <category>transport</category>
251         <icon image="features/aeroway__taxiway.png"/>
252         <tag k="aeroway" v="taxiway"/>
253         <line/>
254         <inputSet ref="names"/>
255         <input type="freetext" presence="always" category="Details" name="Taxiway number" key="ref" />
256         <help>http://wiki.openstreetmap.org/wiki/Key:aeroway</help>
257         <inputSet ref="common"/>
258       </feature>
259     
260     
261       <feature name="Airport apron">
262         <category>transport</category>
263         <icon image="features/aeroway__apron.png"/>
264         <tag k="aeroway" v="apron"/>
265         <area/>
266         <inputSet ref="names"/>
267         <help>http://wiki.openstreetmap.org/wiki/Key:aeroway</help>
268         <inputSet ref="common"/>
269       </feature>
270     
271     
272       <feature name="Airport gate">
273         <category>transport</category>
274         <icon image="features/pois/transport_airport_gate.n.24.png"/>
275         <tag k="aeroway" v="gate"/>
276         <point/>
277         <input type="freetext" presence="always" category="Details" name="Gate number" key="ref"/>
278         <help>http://wiki.openstreetmap.org/wiki/Key:aeroway</help>
279         <inputSet ref="common"/>
280       </feature>
281       
282       
283 <feature name="Aerodrome">
284     <category>aeroway</category>
285     <icon image="features/aeroway__aerodrome.png"/>
286     <help>http://wiki.openstreetmap.org/wiki/Tag:aeroway%3Daerodrome</help>
287     <point/>
288     <tag k="aeroway" v="aerodrome"/>
289     <inputSet ref="simpleName"/>
290     <inputSet ref="common"/>
291   </feature>
292
293
294   <feature name="Bus Stop">
295     <category>transport</category>
296     <icon image="features/pois/transport_bus_stop2.n.24.png">
297       ${name} ${local_ref}
298     </icon>
299     <point/>
300     <tag k="highway" v="bus_stop"/>
301     <inputSet ref="buses"/>
302     <inputSet ref="common"/>
303   </feature>
304
305
306   <feature name="Car Parking">
307     <category>transport</category>
308     <icon image="features/amenity__parking.png" dnd="features/pois/transport_parking_car.n.24.png">
309       ${name}
310     </icon>
311     <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dparking</help>
312     <point/>
313     <area/>
314     <tag k="amenity" v="parking"/>
315     <inputSet ref="names"/>
316     <input type="freetext" presence="onTagMatch" category="Details" name="Operator" key="operator" description="The provider of the postal service" priority="low"/>
317     <input type="number" minimum="0" maximum="99999" stepSize="1" presence="always" category="Parking" name="Capacity" key="capacity" description="The number of cars that can be parked in the car park"/>
318     <input type="choice" presence="always" category="Parking" name="Type" key="parking" priority="high">
319       <choice value="surface" text="Surface (outdoor)" />
320       <choice value="multi-storey" text="Multi-storey" />
321       <choice value="underground" text="Underground" />
322       <choice value="garage" text="Garage" />
323       <choice value="park_and_ride" text="Park-and-ride" />
324       <choice value="garage_boxes" text="Garage boxes" />
325     </input>
326     <input type="freetext" presence="onTagMatch" category="Parking" name="Maximum stay" key="maxstay" description="The maximum permitted duration of parking (eg, 4h)."/>
327     <inputSet ref="fee"/>
328     <inputSet ref="common"/>
329   </feature>
330
331
332   <feature name="Bicycle Parking">
333     <category>transport</category>
334     <icon image="features/pois/transport_parking_bicycle.n.24.png">
335       ${name} ${capacity}
336     </icon>
337     <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dbicycle_parking</help>
338     <point/>
339     <tag k="amenity" v="bicycle_parking"/>
340     <inputSet ref="names"/>
341     <input type="freetext" presence="onTagMatch" category="Details" name="Operator" key="operator" description="The provider of the postal service" priority="low"/>
342     <input type="number" minimum="0" maximum="99999" stepSize="1"
343         presence="always" category="Cycle" name="Capacity" key="capacity"
344         description="The number of bicycles that can be parked in the group of bicycle parking racks"/>
345     <inputSet ref="fee"/>
346     <input type="choice" presence="always" category="Cycle" name="Covered" key="covered" description="Is the cycle parking covered, so that the bikes are kept dry?">
347       <choice value="yes" text="Yes"/>
348       <choice value="no" text="No"/>
349     </input>
350     <inputSet ref="common"/>
351   </feature>
352
353
354   <feature name="Railway station">
355     <category>transport</category>
356     <icon image="features/pois/transport_train_station.n.24.png">
357       <font size="14pt">
358         <b>${name}</b>
359       </font>
360     </icon>
361
362     <point/>
363     <tag k="railway" v="station"/>
364     <inputSet ref="names"/>
365     <input type="freetext" presence="onTagMatch" category="Details" name="Reference" key="ref" description="The shortcode/reference for the station" priority="low"/>
366     <input type="freetext" presence="onTagMatch" category="Details" name="Operator" key="operator" description="The provider of the service" priority="low"/>
367     <input type="number" minimum="1" maximum="99999" stepSize="1" presence="onTagMatch" category="Details" name="Platforms" key="platforms" description="The number of passenger platforms at the station" priority="low"/>
368     <inputSet ref="common"/>
369     <inputSet ref="train-route"/>
370     
371   </feature>
372
373
374   <feature name="Fuel">
375     <category>transport</category>
376     <point />
377     <inputSet ref="simpleName" />
378     <icon image="features/pois/transport_fuel.n.24.png" />
379     <tag k="amenity" v="fuel"/>
380     <inputSet ref="simpleBrand"/>
381     <inputSet ref="simpleOperator"/>
382
383     <input type="choice" category="Details" name="Diesel" key="fuel:diesel" description="Is diesel fuel sold here?" priority="low">
384       <choice value="yes" text="Yes"/>
385       <choice value="no" text="No"/>
386     </input>
387     <input type="choice" category="Details" name="GTL Diesel" key="fuel:GTL_diesel" description="Is GTL diesel fuel sold here?" priority="low">
388       <choice value="yes" text="Yes"/>
389       <choice value="no" text="No"/>
390     </input>
391     <input type="choice" category="Details" name="HGV Diesel" key="fuel:HGV_diesel" description="Is HGV diesel fuel sold here?" priority="low">
392       <choice value="yes" text="Yes"/>
393       <choice value="no" text="No"/>
394     </input>
395     <input type="choice" category="Details" name="Biodiesel" key="fuel:biodiesel" description="Is biodiesel unleaded fuel sold here?" priority="low">
396       <choice value="yes" text="Yes"/>
397       <choice value="no" text="No"/>
398     </input>
399     <input type="choice" category="Details" name="Octane 91" key="fuel:octane_91" description="Is octane 91 unleaded fuel sold here?" priority="low">
400       <choice value="yes" text="Yes"/>
401       <choice value="no" text="No"/>
402     </input>
403     <input type="choice" category="Details" name="Octane 95" key="fuel:octane_95" description="Is octane 95 unleaded fuel sold here?" priority="low">
404       <choice value="yes" text="Yes"/>
405       <choice value="no" text="No"/>
406     </input>
407     <input type="choice" category="Details" name="Octane 98" key="fuel:octane_98" description="Is octane 98 unleaded fuel sold here?" priority="low">
408       <choice value="yes" text="Yes"/>
409       <choice value="no" text="No"/>
410     </input>
411     <input type="choice" category="Details" name="Octane 100" key="fuel:octane_100" description="Is octane 100 unleaded fuel sold here?" priority="low">
412       <choice value="yes" text="Yes"/>
413       <choice value="no" text="No"/>
414     </input>
415     <input type="choice" category="Details" name="Mixture 1:25" key="fuel:1_25" description="Is mixture 1:25 fuel sold here?" priority="low">
416       <choice value="yes" text="Yes"/>
417       <choice value="no" text="No"/>
418     </input>
419     <input type="choice" category="Details" name="Mixture 1:50" key="fuel:1_50" description="Is mixture 1:50 fuel sold here?" priority="low">
420       <choice value="yes" text="Yes"/>
421       <choice value="no" text="No"/>
422     </input>
423     <input type="choice" category="Details" name="E10" key="fuel:e10" description="Is E10 sold here?" priority="low">
424       <choice value="yes" text="Yes"/>
425       <choice value="no" text="No"/>
426     </input>
427     <input type="choice" category="Details" name="E85" key="fuel:e85" description="Is E85 sold here?" priority="low">
428       <choice value="yes" text="Yes"/>
429       <choice value="no" text="No"/>
430     </input>
431     <input type="choice" category="Details" name="Biogas" key="fuel:biogas" description="Is biogas sold here?" priority="low">
432       <choice value="yes" text="Yes"/>
433       <choice value="no" text="No"/>
434     </input>
435     <input type="choice" category="Details" name="CNG" key="fuel:cng" description="Is CNG sold here?" priority="low">
436       <choice value="yes" text="Yes"/>
437       <choice value="no" text="No"/>
438     </input>
439     <input type="choice" category="Details" name="LPG" key="fuel:lpg" description="Is LPG sold here?" priority="low">
440       <choice value="yes" text="Yes"/>
441       <choice value="no" text="No"/>
442     </input>
443     <input type="choice" category="Details" name="Electricity" key="fuel:electricity" description="Is it possible to charge an electric car here?" priority="low">
444       <choice value="yes" text="Yes"/>
445       <choice value="no" text="No"/>
446     </input>
447     <inputSet ref="common"/>
448   </feature>
449
450
451   <feature name="Bus station">
452     <category>transport</category>
453     <point/>
454     <inputSet ref="simpleName"/>
455     <icon image="features/pois/transport_bus_station.n.24.png"/>
456     <tag k="amenity" v="bus_station"/>
457     <inputSet ref="common"/>
458   </feature>
459
460
461   <feature name="Taxi rank">
462     <category>transport</category>
463     <point/>
464     <inputSet ref="simpleName"/>
465     <icon image="features/pois/transport_taxi_rank.n.24.png"/>
466     <tag k="amenity" v="taxi"/>
467     <inputSet ref="common"/>
468   </feature>
469
470
471   <feature name="Tram stop">
472     <category>transport</category><point/><inputSet ref="simpleName" />
473     <icon image="features/pois/transport_tram_stop.n.24.png"/>
474     <tag k="railway" v="tram_stop"/>
475     <inputSet ref="common"/>
476   </feature>
477
478
479   <feature name="Bicycle rental">
480     <category>transport</category>
481     <point/>
482     <inputSet ref="simpleName"/>
483     <icon image="features/pois/transport_rental_bicycle.n.24.png"/>
484     <tag k="amenity" v="bicycle_rental"/>
485     <inputSet ref="common"/>
486   </feature>
487
488
489   <feature name="Car rental">
490     <category>transport</category>
491     <point/>
492     <inputSet ref="simpleName"/>
493     <icon image="features/pois/transport_rental_car.n.24.png"/>
494     <tag k="amenity" v="car_rental"/>
495     <inputSet ref="common"/>
496   </feature>
497
498
499   <feature name="Ferry Terminal">
500     <category>transport</category>
501     <icon image="features/pois/transport_port.n.24.png"/>
502     <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dferry_terminal</help>
503     <point/>
504     <tag k="amenity" v="ferry_terminal"/>
505     <inputSet ref="simpleName" />
506     <input type="freetext" presence="always" category="" name="Operator" key="operator" description="The operator of the ferry terminal." priority="low"/>
507     <input type="freetext" presence="onTagMatch" category="Details" name="Cargo" key="cargo" description="The cargo shipped from here." priority="low"/>
508     <inputSet ref="common"/>
509   </feature>
510
511
512   <!-- public transit routes -->
513   <feature name="Bus Route">
514     <category>transport</category>
515     <icon image="features/route__bus.png">
516       <font size="12pt">
517         ${operator} <b>${ref}</b>
518       </font>
519     </icon>
520
521     <relation/>
522     <tag k="type" v="route"/>
523     <tag k="route" v="bus"/>
524
525     <inputSet ref="route"/>
526     <input type="freetext" presence="always" category="Details" name="Operator" key="operator" description="The provider of the bus service" priority="low"/>
527     <input type="freetext" presence="always" category="Details" name="Network" key="network" description="The network of the bus service" priority="low"/>
528     <inputSet ref="common"/>
529   </feature>
530
531
532   <feature name="Tram Route">
533     <category>transport</category>
534     <icon image="features/transport__tram.png">
535       <font size="12pt">
536         ${operator} <b>${reg}</b>
537       </font>
538     </icon>
539
540     <relation/>
541     <tag k="type" v="route"/>
542     <tag k="route" v="tram"/>
543
544     <inputSet ref="route"/>
545     <input type="freetext" presence="always" category="Details" name="Operator" key="operator" description="The provider of the tram service" priority="low"/>
546     <input type="freetext" presence="always" category="Details" name="Network" key="network" description="The network of the tram service" priority="low"/>
547     <inputSet ref="common"/>
548   </feature>
549
550   <feature name="Train Route">
551     <category>transport</category>
552     <icon image="features/transport__railway.png">
553       <font size="12pt">
554         ${name|operator} <b>(${ref})</b>
555       </font>
556     </icon>
557
558     <relation/>
559     <tag k="type" v="route"/>
560     <tag k="route" v="train"/>
561     <input type="freetext" presence="always" category="Details" name="Name" priority="high" key="name" description="Official route name"/>
562     <input type="freetext" presence="always" category="Details" name="Reference" priority="high" key="ref" description="The official reference number"/>
563     <input type="freetext" presence="always" category="Details" name="Network" key="network" description="The network of the train service" priority="high"/>
564     <input type="freetext" presence="always" category="Details" name="Operator" key="operator" description="The provider of the train service" priority="low"/>
565     <input type="freetext" presence="onTagMatch" category="Details" name="Colour code" key="colour" description="Official colour designation for the route, if any." priority="low" />
566     <inputSet ref="source"/>
567     <inputSet ref="wheelchair-basic" />
568   </feature>
569
570       
571 </featureGroup>