source: subversion/applications/rendering/parking/mapnik/parking-inc-src/layer-power.xml.inc @ 26204

Last change on this file since 26204 was 24155, checked in by kdrangmeister, 9 years ago

parking source and deploy

File size: 1.2 KB
Line 
1<Style name="power">
2    <Rule>
3      &maxscale_zoom14;
4      &minscale_zoom15;
5      <LineSymbolizer>
6        <CssParameter name="stroke">#777</CssParameter>
7        <CssParameter name="stroke-width">1</CssParameter>
8      </LineSymbolizer>
9    </Rule>
10    <Rule>
11      &maxscale_zoom16;
12      <LineSymbolizer>
13        <CssParameter name="stroke">#777</CssParameter>
14        <CssParameter name="stroke-width">1.5</CssParameter>
15      </LineSymbolizer>
16    </Rule>
17</Style>
18<Style name="power_towers">
19    <Rule>
20      &maxscale_zoom14;
21      <PointSymbolizer file="&symbols;/power_tower.png" type="png" width="7" height="7" allow_overlap="false"/>
22    </Rule>
23</Style>
24
25<Layer name="power" status="on" srs="&osm2pgsql_projection;">
26    <StyleName>power</StyleName>
27    <Datasource>
28      <Parameter name="table">(select way from &prefix;_line where "power"='line') as power</Parameter>
29      &datasource-settings;
30    </Datasource>
31</Layer>
32<Layer name="power_towers" status="on" srs="&osm2pgsql_projection;">
33     <StyleName>power_towers</StyleName>
34    <Datasource>
35      <Parameter name="table">(select way from &prefix;_point where power='tower') as power_towers</Parameter>
36      &datasource-settings;
37    </Datasource>
38</Layer>
Note: See TracBrowser for help on using the repository browser.