render FAU fablab (and possibly other hacker spaces)
authorUser for running Openstreetmap-things <osm@osm.rrze.uni-erlangen.de>
Fri, 12 Sep 2014 09:06:30 +0000 (11:06 +0200)
committerUser for running Openstreetmap-things <osm@osm.rrze.uni-erlangen.de>
Fri, 12 Sep 2014 09:06:30 +0000 (11:06 +0200)
styles/mapnik-osm-data/rrze-overlay.xml

index d3aa759ae46039ede975dacd7d9215711ddc237d..0b5824262d83ad045a72fd161a00d553128de324 100644 (file)
       &maxscale_zoom17;
       <TextSymbolizer size="9" fill="#006600" fontset-name="book-fonts" halo-radius="1" wrap-width="34" placement="interior">[nameshort]</TextSymbolizer>
     </Rule>
+    <Rule>
+      <Filter>[leisure]='hackerspace'</Filter>
+      &maxscale_zoom17;
+      <!-- wrap-width=10 damit wir kompatibel mit dem deutschen stil sind, so dass wir deren text nur mit identischem text ueberlagern -->
+      <TextSymbolizer size="9" fill="#006600" fontset-name="book-fonts" halo-radius="1" wrap-width="10" placement="interior">[name]</TextSymbolizer>
+    </Rule>
 </Style>
 
 <Style name="points">
@@ -54,7 +60,7 @@
     <StyleName>text</StyleName>
     <Datasource>
       <Parameter name="table">
-      (select way,amenity,access,name,tags->'campusbuilding' as campusbuilding,tags->'name:short' as nameshort,ref,'yes'::text as point
+      (select way,amenity,access,name,leisure,tags->'campusbuilding' as campusbuilding,tags->'name:short' as nameshort,ref,'yes'::text as point
        from &prefix;_point
        where amenity is not null
        or tags is not null
@@ -67,7 +73,7 @@
     <StyleName>text</StyleName>
     <Datasource>
       <Parameter name="table">
-      (select way,access,amenity,NULL as ele,name,tags->'campusbuilding' as campusbuilding,tags->'name:short' as nameshort,ref,'no'::text as point
+      (select way,amenity,access,name,leisure,tags->'campusbuilding' as campusbuilding,tags->'name:short' as nameshort,ref,'no'::text as point
        from &prefix;_polygon
        where amenity is not null
        or tags is not null
This page took 0.147246 seconds and 4 git commands to generate.