Opened 10 years ago

Closed 10 years ago

#1540 closed enhancement (fixed)

Render amenity=car_sharing

Reported by: mcdmx Owned by: steve8@…
Priority: minor Milestone:
Component: mapnik Version:
Keywords: Cc:

Description

It would be great if "car sharing" stations would be rendered by Mapnik using the same MaxScaleDenominator as 'amenity=parking'. A set of "car-sharing" icons can be found here:

http://trac.openstreetmap.org/changeset/6691

I suggest to use this one:

http://trac.openstreetmap.org/browser/applications/share/map-icons/square.small/vehicle/car_sharing.png?rev=6691

Potential stylesheet patch:

Index: osm.xml
===================================================================
--- osm.xml     (revision 13431)
+++ osm.xml     (working copy)
@@ -292,6 +292,11 @@
       <PointSymbolizer file= "c:/mapnik/symbols/parking.p.16.png" type="png" width="16" height="16" allow_overlap="false"/>
     </Rule>
     <Rule>
+      <MaxScaleDenominator>20000</MaxScaleDenominator>
+      <Filter>[amenity]='car_sharing'</Filter>
+      <PointSymbolizer file= "c:/mapnik/symbols/car_sharing.png" type="png" width="16" height="16" allow_overlap="false"/>
+    </Rule>
+    <Rule>
       <MaxScaleDenominator>10000</MaxScaleDenominator>
       <Filter>[amenity]='place_of_worship' and [religion] = 'christian'</Filter>
       <PointSymbolizer file= "c:/mapnik/symbols/christian3.p.14.png" type="png" width="14" height="14" allow_overlap="false"/>

Change History (1)

comment:1 Changed 10 years ago by steve8@…

Resolution: fixed
Status: newclosed

Done some time ago. there are many examples in London's Isle of Dogs http://www.openstreetmap.org/?lat=51.49134&lon=-0.01481&zoom=16&layers=B000FTF

Note: See TracTickets for help on using tickets.