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

Last change on this file since 27566 was 27515, checked in by ldp, 8 years ago

Convert & bump to mapnik 2.0.0 syntax. Stick with r27279 as final 0.7.x version.

File size: 3.7 KB
Line 
1<Style name="dam">
2    <Rule>
3      &maxscale_zoom13;
4      &minscale_zoom18;
5      <LineSymbolizer stroke-linejoin="round" stroke="#444" stroke-width="2" stroke-linecap="round"/>
6    </Rule>
7    <Rule>
8      &maxscale_zoom15;
9      <TextSymbolizer size="8" fill="#222" fontset-name="book-fonts" halo-radius="1">[name]</TextSymbolizer>
10    </Rule>
11</Style>
12<Style name="marinas-area">
13    <Rule>
14      &maxscale_zoom14;
15      &minscale_zoom15;
16      <LineSymbolizer stroke="blue" stroke-width="1" stroke-dasharray="6,2" stroke-opacity="0.5"/>
17    </Rule>
18    <Rule>
19      &maxscale_zoom16;
20      <LineSymbolizer stroke="blue" stroke-width="2" stroke-dasharray="6,2" stroke-opacity="0.5"/>
21    </Rule>
22</Style>
23<Style name="piers-area">
24    <Rule>
25      &maxscale_zoom12;
26      <PolygonSymbolizer fill="#f2efe9"/>
27    </Rule>
28</Style>
29<Style name="piers">
30    <Rule>
31      &maxscale_zoom11;
32      &minscale_zoom12;
33      <Filter>[man_made]='breakwater' or [man_made]='groyne'</Filter>
34      <LineSymbolizer stroke="#aaa" stroke-width="1"/>
35    </Rule>
36    <Rule>
37      &maxscale_zoom11;
38      &minscale_zoom12;
39      <Filter>[man_made]='pier'</Filter>
40      <LineSymbolizer stroke="#f2efe9" stroke-width="1.5"/>
41    </Rule>
42    <Rule>
43      &maxscale_zoom13;
44      &minscale_zoom15;
45      <Filter>[man_made]='breakwater' or [man_made]='groyne'</Filter>
46      <LineSymbolizer stroke="#aaa" stroke-width="2"/>
47    </Rule>
48    <Rule>
49      &maxscale_zoom13;
50      &minscale_zoom15;
51      <Filter>[man_made]='pier'</Filter>
52      <LineSymbolizer stroke="#f2efe9" stroke-width="3"/>
53    </Rule>
54    <Rule>
55      &maxscale_zoom16;
56      &minscale_zoom18;
57      <Filter>[man_made]='breakwater' or [man_made]='groyne'</Filter>
58      <LineSymbolizer stroke="#aaa" stroke-width="4"/>
59    </Rule>
60    <Rule>
61      &maxscale_zoom16;
62      &minscale_zoom18;
63      <Filter>[man_made]='pier'</Filter>
64      <LineSymbolizer stroke="#f2efe9" stroke-width="7"/>
65    </Rule>
66</Style>
67<Style name="locks">
68<Rule>
69      &maxscale_zoom17;
70      &minscale_zoom18;
71      <Filter>[waterway]='lock_gate'</Filter>
72      <PointSymbolizer file="&symbols;/lock_gate.png"/>
73</Rule>
74</Style>
75<Layer name="dam" status="on" srs="&osm2pgsql_projection;">
76    <StyleName>dam</StyleName>
77    <Datasource>
78      <Parameter name="table">
79      (select way,name from &prefix;_line where waterway='dam') as dam</Parameter>
80      &datasource-settings;
81    </Datasource>
82</Layer>
83<Layer name="marinas-area" status="on" srs="&osm2pgsql_projection;">
84    <StyleName>marinas-area</StyleName>
85    <Datasource>
86      <Parameter name="table">
87      (select way from &prefix;_polygon where leisure ='marina') as marinas
88      </Parameter>
89      &datasource-settings;
90    </Datasource>
91</Layer>
92<Layer name="piers-area" status="on" srs="&osm2pgsql_projection;">
93    <StyleName>piers-area</StyleName>
94    <Datasource>
95      <Parameter name="table">
96      (select way,man_made from &prefix;_polygon where man_made in ('pier','breakwater','groyne')) as piers
97      </Parameter>
98      &datasource-settings;
99    </Datasource>
100</Layer>
101<Layer name="piers" status="on" srs="&osm2pgsql_projection;">
102     <StyleName>piers</StyleName>
103     <Datasource>
104      <Parameter name="table">
105      (select way,man_made from &prefix;_line where man_made in ('pier','breakwater','groyne')) as piers
106      </Parameter>
107      &datasource-settings;
108    </Datasource>
109</Layer>
110<Layer name="locks" status="on" srs="&osm2pgsql_projection;">
111     <StyleName>locks</StyleName>
112     <Datasource>
113      <Parameter name="table">
114      (select way,waterway from &prefix;_point where waterway='lock_gate') as locks
115      </Parameter>
116      &datasource-settings;
117    </Datasource>
118</Layer>
119
120
Note: See TracBrowser for help on using the repository browser.