]> git.openstreetmap.org Git - rails.git/blobdiff - public/potlatch2/map_features/transport.xml
Update Potlatch 2 to 2.3-367-ga54da3b build
[rails.git] / public / potlatch2 / map_features / transport.xml
index 1aec8117e56b1eca8d90921a316d5f457a9de92a..a6462be6d90e6bffd3b64ba2a290318fb377eb28 100644 (file)
@@ -14,6 +14,8 @@
         <inputSet ref="embankment-cutting"/>
         <inputSet ref="rail-electrification"/>
         <inputSet ref="common"/>
+        <inputSet ref="train-route"/>
+        
       </feature>
     
     
@@ -29,6 +31,7 @@
         <tag k="railway" v="rail"/>
         <tag k="service" v="spur"/>
         <inputSet ref="common"/>
+        <inputSet ref="train-route"/>
       </feature>
     
     
@@ -44,6 +47,7 @@
         <tag k="railway" v="rail"/>
         <tag k="service" v="siding"/>
         <inputSet ref="common"/>
+        <inputSet ref="train-route"/>
       </feature>
     
     
@@ -56,6 +60,7 @@
         <line/>
         <tag k="railway" v="preserved"/>
         <inputSet ref="common"/>
+        <inputSet ref="train-route"/>
       </feature>
     
     
@@ -70,6 +75,7 @@
         <line/>
         <tag k="railway" v="disused"/>
         <inputSet ref="common"/>
+        <inputSet ref="train-route"/>
       </feature>
     
     
@@ -82,6 +88,7 @@
         <line/>
         <tag k="railway" v="abandoned"/>
         <inputSet ref="common"/>
+        <inputSet ref="train-route"/>
       </feature>
     
     
         <inputSet ref="embankment-cutting"/>
         <inputSet ref="rail-electrification"/>
         <inputSet ref="common"/>
+        <inputSet ref="tram-route"/>
+        <inputSet ref="train-route"/>
       </feature>
     
     
     
         <line/>
         <tag k="railway" v="tram"/>
-        <input ref="tram-route"/>
+        <inputSet ref="tram-route"/>
         <inputSet ref="bridge"/>
         <inputSet ref="tunnel"/>
         <inputSet ref="embankment-cutting"/>
         <inputSet ref="embankment-cutting"/>
         <inputSet ref="rail-electrification"/>
         <inputSet ref="common"/>
+        <inputSet ref="train-route"/>
       </feature>
     
     
     <inputSet ref="names"/>
     <input type="freetext" presence="onTagMatch" category="Details" name="Operator" key="operator" description="The provider of the postal service" priority="low"/>
     <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"/>
+    <input type="choice" presence="always" category="Parking" name="Type" key="parking" priority="high">
+      <choice value="surface" text="Surface (outdoor)" />
+      <choice value="multi-storey" text="Multi-storey" />
+      <choice value="underground" text="Underground" />
+      <choice value="garage" text="Garage" />
+      <choice value="park_and_ride" text="Park-and-ride" />
+      <choice value="garage_boxes" text="Garage boxes" />
+    </input>
+    <input type="freetext" presence="onTagMatch" category="Parking" name="Maximum stay" key="maxstay" description="The maximum permitted duration of parking (eg, 4h)."/>
     <inputSet ref="fee"/>
     <inputSet ref="common"/>
   </feature>
     <inputSet ref="names"/>
     <input type="freetext" presence="onTagMatch" category="Details" name="Reference" key="ref" description="The shortcode/reference for the station" priority="low"/>
     <input type="freetext" presence="onTagMatch" category="Details" name="Operator" key="operator" description="The provider of the service" priority="low"/>
+    <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"/>
     <inputSet ref="common"/>
+    <inputSet ref="train-route"/>
+    
   </feature>
 
 
     <inputSet ref="common"/>
   </feature>
 
+  <feature name="Train Route">
+    <category>transport</category>
+    <icon image="features/transport__railway.png">
+      <font size="12pt">
+        ${name|operator} <b>(${ref})</b>
+      </font>
+    </icon>
+
+    <relation/>
+    <tag k="type" v="route"/>
+    <tag k="route" v="train"/>
+    <input type="freetext" presence="always" category="Details" name="Name" priority="high" key="name" description="Official route name"/>
+    <input type="freetext" presence="always" category="Details" name="Reference" priority="high" key="ref" description="The official reference number"/>
+    <input type="freetext" presence="always" category="Details" name="Network" key="network" description="The network of the train service" priority="high"/>
+    <input type="freetext" presence="always" category="Details" name="Operator" key="operator" description="The provider of the train service" priority="low"/>
+    <input type="freetext" presence="onTagMatch" category="Details" name="Colour code" key="colour" description="Official colour designation for the route, if any." priority="low" />
+    <inputSet ref="source"/>
+    <inputSet ref="wheelchair-basic" />
+  </feature>
+
       
 </featureGroup>