source: subversion/applications/rendering/mapnik/inc/layer-citywall.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: 1.7 KB
Line 
1<Style name="citywalls">
2    <Rule>
3      &maxscale_zoom14;
4      &minscale_zoom14;
5      <LineSymbolizer stroke-linejoin="round" stroke="grey" stroke-width="4" stroke-opacity="0.8"/>
6    </Rule>
7    <Rule>
8      &maxscale_zoom15;
9      &minscale_zoom15;
10      <LineSymbolizer stroke-linejoin="round" stroke="grey" stroke-width="6" stroke-opacity="0.8"/>
11    </Rule>
12    <Rule>
13      &maxscale_zoom16;
14      &minscale_zoom18;
15      <LineSymbolizer stroke-linejoin="round" stroke="grey" stroke-width="9" stroke-opacity="0.8"/>
16    </Rule>
17</Style>
18<Style name="castle_walls">
19<Rule>
20      &maxscale_zoom14;
21      &minscale_zoom15;
22      <LineSymbolizer stroke="#999" stroke-width="1"/>
23    </Rule>
24    <Rule>
25      &maxscale_zoom16;
26      <LineSymbolizer stroke="#888" stroke-width="2"/>
27    </Rule>
28</Style>
29<Layer name="citywalls" status="on" srs="&osm2pgsql_projection;">
30    <StyleName>citywalls</StyleName>
31    <Datasource>
32      <Parameter name="table">(select way from &prefix;_line where "historic"='citywalls') as citywalls</Parameter>
33      &datasource-settings;
34    </Datasource>
35</Layer>
36<Layer name="castle_walls" status="on" srs="&osm2pgsql_projection;">
37    <StyleName>castle_walls</StyleName>
38    <Datasource>
39      <Parameter name="table">(select way from &prefix;_line where "historic"='castle_walls') as castle_walls</Parameter>
40      &datasource-settings;
41    </Datasource>
42</Layer>
43<Layer name="castle_walls" status="on" srs="&osm2pgsql_projection;">
44    <StyleName>castle_walls</StyleName>
45    <Datasource>
46      <Parameter name="table">(select way from &prefix;_polygon where "historic"='castle_walls') as castle_walls</Parameter>
47      &datasource-settings;
48    </Datasource>
49</Layer>
50
51
52
Note: See TracBrowser for help on using the repository browser.