&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">
<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
<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