Adding cycle parking. I'll let someone improve on the car parking logo.
authorShaun McDonald <shaun@shaunmcdonald.me.uk>
Sun, 21 Mar 2010 22:56:24 +0000 (22:56 +0000)
committerShaun McDonald <shaun@shaunmcdonald.me.uk>
Sun, 21 Mar 2010 22:56:24 +0000 (22:56 +0000)
resources/icons/parking_cycle.png [new file with mode: 0755]
resources/map_features.xml
resources/potlatch.css

diff --git a/resources/icons/parking_cycle.png b/resources/icons/parking_cycle.png
new file mode 100755 (executable)
index 0000000..a2675d0
Binary files /dev/null and b/resources/icons/parking_cycle.png differ
index 48ca7af..b2cdd82 100644 (file)
       <choice value="yes" text="Tunnel" description="Generic tunnel"/>
     </input>
   </inputSet>
+  
+  <inputSet id="fee">
+    <input type="freetext" presence="onTagMatch" category="Restrictions" description="The charge/cost of using this amenity" name="Fee" key="fee"/>
+  </inputSet>
 
   <inputSet id="roadRestrictions">
     <input type="choice" presence="onTagMatch"
     <inputSet ref="buses" />
   </feature>
   
+  <feature name="Bicycle Parking">
+    <category>transport</category>
+    <icon image="icons/parking_cycle.png">
+      ${name} ${capacity}
+    </icon>
+    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dbicycle_parking</help>
+    <point />
+    <tag k="amenity" v="bicycle_parking"/>
+    <inputSet ref="names"/>
+    <input type="freetext" presence="onTagMatch" category="Naming" name="Operator" key="operator" description="The provider of the postal service" priority="low"/>
+    <input type="freetext" presence="always" category="Cycle" name="Capacity" key="capacity" description="The number of bicycles that can be parked in the group of bicycle parking racks"/>
+    <inputSet ref="fee"/>
+    <input type="choice" presence="always" category="Cycle" name="Covered" key="covered" description="Is the cycle parking covered, so that the bikes are kept dry?">
+      <choice value="yes" text="Yes"/>
+      <choice value="no" text="No"/>
+    </input>
+  </feature>
+  
   <feature name="Pub">
     <category>entertainment</category>
     <icon image="icons/pub.png">
index 0e766ee..cad3c0e 100644 (file)
@@ -75,7 +75,7 @@ way[addr:interpolation] { color: #B0E0E6; width: 3; dashes: 3,3;}
 
 /* POIs, too, can have bitmap icons - they can even be transparent */
 
-node[amenity=pub] { icon-image: icons/pub.png; text-offset: 17; font-family: DejaVu; text: name; font-size: 9; }
+node[amenity=pub] { icon-image: icons/pub.png; text-offset: 15; font-family: DejaVu; text: name; font-size: 9; }
 node[place] { icon-image: icons/place.png; text-offset: 17; font-family: DejaVu; text: name; font-size: 9; font-weight: bold; text-decoration: underline; }
 node[railway=station] { icon-image: icons/station.png; text-offset: 13; font-family: DejaVu; text: name; font-size: 9; font-weight: bold; }
 node[aeroway=aerodrome] { icon-image: icons/airport.png; text-offset: 13; font-family: DejaVu; text: name; font-size: 10; }
@@ -88,6 +88,7 @@ node[amenity=fire_station] { icon-image: icons/fire_station.png; }
 node[amenity=hospital] { icon-image: icons/hospital.png; }
 node[tourism=hotel] { icon-image: icons/hotel.png; }
 node[amenity=parking] { icon-image: icons/parking.png; }
+node[amenity=bicycle_parking] { icon-image: icons/parking_cycle.png; text: capacity; text-offset: 15; }
 node[amenity=pharmacy] { icon-image: icons/pharmacy.png; }
 node[amenity=pharmacy][dispensing=yes] { icon-image: icons/pharmacy_dispensing.png; }
 node[amenity=police] { icon-image: icons/police.png; }