source: subversion/applications/rendering/mapnik/inc/layer-water_features.xml.inc @ 19258

Last change on this file since 19258 was 18187, checked in by ldp, 10 years ago

Put dam together with piers into water_features.
Move glacier and basin, so the leisure layer doesn't have to be processed at low zooms.
Glacier labels related to size.

File size: 2.3 KB
Line 
1<Style name="dam">
2    <Rule>
3      &maxscale_zoom13;
4      &minscale_zoom18;
5      <LineSymbolizer>
6        <CssParameter name="stroke">#444</CssParameter>
7        <CssParameter name="stroke-width">2</CssParameter>
8        <CssParameter name="stroke-linejoin">round</CssParameter>
9        <CssParameter name="stroke-linecap">round</CssParameter>
10      </LineSymbolizer>
11    </Rule>
12    <Rule>
13      &maxscale_zoom15;
14      <TextSymbolizer name="name" fontset_name="book-fonts" size="8" fill="#222" halo_radius="1"/>
15    </Rule>
16</Style>
17<Style name="piers-area">
18    <Rule>
19      &maxscale_zoom12;
20      <PolygonSymbolizer>
21        <CssParameter name="fill">#f2efe9</CssParameter>
22      </PolygonSymbolizer>
23    </Rule>
24</Style>
25<Style name="piers">
26    <Rule>
27      &maxscale_zoom11;
28      &minscale_zoom12;
29      <LineSymbolizer>
30        <CssParameter name="stroke">#f2efe9</CssParameter>
31        <CssParameter name="stroke-width">2</CssParameter>
32      </LineSymbolizer>
33    </Rule>
34    <Rule>
35      &maxscale_zoom13;
36      &minscale_zoom14;
37      <LineSymbolizer>
38        <CssParameter name="stroke">#f2efe9</CssParameter>
39        <CssParameter name="stroke-width">4</CssParameter>
40      </LineSymbolizer>
41    </Rule>
42    <Rule>
43      &maxscale_zoom15;
44      &minscale_zoom18;
45      <LineSymbolizer>
46        <CssParameter name="stroke">#f2efe9</CssParameter>
47        <CssParameter name="stroke-width">7</CssParameter>
48      </LineSymbolizer>
49    </Rule>
50</Style>
51
52<Layer name="dam" status="on" srs="&osm2pgsql_projection;">
53    <StyleName>dam</StyleName>
54    <Datasource>
55      <Parameter name="table">
56      (select way,name from &prefix;_line where waterway='dam') as dam</Parameter>
57      &datasource-settings;
58    </Datasource>
59</Layer>
60<Layer name="piers-area" status="on" srs="&osm2pgsql_projection;">
61    <StyleName>piers-area</StyleName>
62    <Datasource>
63      <Parameter name="table">
64      (select way from &prefix;_polygon where man_made='pier') as piers
65      </Parameter>
66      &datasource-settings;
67    </Datasource>
68</Layer>
69<Layer name="piers" status="on" srs="&osm2pgsql_projection;">
70     <StyleName>piers</StyleName>
71     <Datasource>
72      <Parameter name="table">
73      (select way from &prefix;_line where man_made='pier') as piers
74      </Parameter>
75      &datasource-settings;
76    </Datasource>
77</Layer>
78
Note: See TracBrowser for help on using the repository browser.