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

Last change on this file since 20104 was 20104, checked in by stevechilton, 10 years ago

adding lock_gate and lock names for standard 2-gate +lock=yes instance

File size: 2.9 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<Style name="locks">
52<Rule>
53      &maxscale_zoom17;
54      &minscale_zoom18;
55      <Filter>[waterway]='lock_gate'</Filter>
56      <PointSymbolizer file="&symbols;/lock_gate.png" type="png" width="9" height="9" />
57</Rule>
58</Style>
59<Layer name="dam" status="on" srs="&osm2pgsql_projection;">
60    <StyleName>dam</StyleName>
61    <Datasource>
62      <Parameter name="table">
63      (select way,name from &prefix;_line where waterway='dam') as dam</Parameter>
64      &datasource-settings;
65    </Datasource>
66</Layer>
67<Layer name="piers-area" status="on" srs="&osm2pgsql_projection;">
68    <StyleName>piers-area</StyleName>
69    <Datasource>
70      <Parameter name="table">
71      (select way from &prefix;_polygon where man_made='pier') as piers
72      </Parameter>
73      &datasource-settings;
74    </Datasource>
75</Layer>
76<Layer name="piers" status="on" srs="&osm2pgsql_projection;">
77     <StyleName>piers</StyleName>
78     <Datasource>
79      <Parameter name="table">
80      (select way from &prefix;_line where man_made='pier') as piers
81      </Parameter>
82      &datasource-settings;
83    </Datasource>
84</Layer>
85<Layer name="locks" status="on" srs="&osm2pgsql_projection;">
86     <StyleName>locks</StyleName>
87     <Datasource>
88      <Parameter name="table">
89      (select way,waterway from &prefix;_point where waterway='lock_gate') as locks
90      </Parameter>
91      &datasource-settings;
92    </Datasource>
93</Layer>
94
95
Note: See TracBrowser for help on using the repository browser.