Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Render amenity=car_sharing #1540

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

Render amenity=car_sharing #1540

openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: mcdmx
[Submitted to the original trac issue database at 10.28pm, Wednesday, 28th January 2009]

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"/>
@openstreetmap-trac
Copy link
Author

Author: steve8[at]mdx.ac.uk
[Added to the original trac issue at 10.22am, Tuesday, 1st September 2009]

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant