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

Last change on this file 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
RevLine 
[20104]1<Style name="dam">
2    <Rule>
3      &maxscale_zoom13;
4      &minscale_zoom18;
[27515]5      <LineSymbolizer stroke-linejoin="round" stroke="#444" stroke-width="2" stroke-linecap="round"/>
[20104]6    </Rule>
7    <Rule>
8      &maxscale_zoom15;
[27515]9      <TextSymbolizer size="8" fill="#222" fontset-name="book-fonts" halo-radius="1">[name]</TextSymbolizer>
[20104]10    </Rule>
11</Style>
[20569]12<Style name="marinas-area">
13    <Rule>
14      &maxscale_zoom14;
15      &minscale_zoom15;
[27515]16      <LineSymbolizer stroke="blue" stroke-width="1" stroke-dasharray="6,2" stroke-opacity="0.5"/>
[20569]17    </Rule>
18    <Rule>
19      &maxscale_zoom16;
[27515]20      <LineSymbolizer stroke="blue" stroke-width="2" stroke-dasharray="6,2" stroke-opacity="0.5"/>
[20569]21    </Rule>
22</Style>
[20104]23<Style name="piers-area">
24    <Rule>
25      &maxscale_zoom12;
[27515]26      <PolygonSymbolizer fill="#f2efe9"/>
[20104]27    </Rule>
28</Style>
29<Style name="piers">
30    <Rule>
31      &maxscale_zoom11;
32      &minscale_zoom12;
[22768]33      <Filter>[man_made]='breakwater' or [man_made]='groyne'</Filter>
[27515]34      <LineSymbolizer stroke="#aaa" stroke-width="1"/>
[21592]35    </Rule>
36    <Rule>
37      &maxscale_zoom11;
38      &minscale_zoom12;
39      <Filter>[man_made]='pier'</Filter>
[27515]40      <LineSymbolizer stroke="#f2efe9" stroke-width="1.5"/>
[21592]41    </Rule>
42    <Rule>
43      &maxscale_zoom13;
44      &minscale_zoom15;
[22768]45      <Filter>[man_made]='breakwater' or [man_made]='groyne'</Filter>
[27515]46      <LineSymbolizer stroke="#aaa" stroke-width="2"/>
[20104]47    </Rule>
48    <Rule>
49      &maxscale_zoom13;
[21592]50      &minscale_zoom15;
51      <Filter>[man_made]='pier'</Filter>
[27515]52      <LineSymbolizer stroke="#f2efe9" stroke-width="3"/>
[21592]53    </Rule>
54    <Rule>
55      &maxscale_zoom16;
56      &minscale_zoom18;
[22768]57      <Filter>[man_made]='breakwater' or [man_made]='groyne'</Filter>
[27515]58      <LineSymbolizer stroke="#aaa" stroke-width="4"/>
[20104]59    </Rule>
60    <Rule>
[21592]61      &maxscale_zoom16;
[20104]62      &minscale_zoom18;
[21592]63      <Filter>[man_made]='pier'</Filter>
[27515]64      <LineSymbolizer stroke="#f2efe9" stroke-width="7"/>
[20104]65    </Rule>
66</Style>
67<Style name="locks">
68<Rule>
69      &maxscale_zoom17;
70      &minscale_zoom18;
71      <Filter>[waterway]='lock_gate'</Filter>
[27515]72      <PointSymbolizer file="&symbols;/lock_gate.png"/>
[20104]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>
[20569]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>
[20104]92<Layer name="piers-area" status="on" srs="&osm2pgsql_projection;">
93    <StyleName>piers-area</StyleName>
94    <Datasource>
95      <Parameter name="table">
[22768]96      (select way,man_made from &prefix;_polygon where man_made in ('pier','breakwater','groyne')) as piers
[20104]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">
[22768]105      (select way,man_made from &prefix;_line where man_made in ('pier','breakwater','groyne')) as piers
[20104]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.