source: subversion/applications/rendering/nor-hikingmap/layer-powerlines.xml.ent @ 29168

Last change on this file since 29168 was 23344, checked in by vibrog, 9 years ago

Tweak downhill ski resort features: zoom and line widths

File size: 925 bytes
Line 
1<Style name="power">
2  <Rule>
3    &maxscale_zoom13;
4    <Filter>[power]='line'</Filter>
5    <LinePatternSymbolizer file="&symbols;/power.png"/>
6  </Rule>
7  <Rule>
8    &maxscale_zoom14;
9    <Filter>[power]='minor_line'</Filter>
10    <LinePatternSymbolizer file="&symbols;/power.png"/>
11  </Rule>
12  <Rule>
13    &maxscale_zoom11;
14    <Filter>[aerialway]='cable_car' or [aerialway]='gondola' or [aerialway]='chair_lift' or [aerialway]='drag_lift' or [aerialway]='t-bar' or [aerialway]='platter'</Filter>
15    <LinePatternSymbolizer file="&symbols;/lift.png"/>
16  </Rule>
17</Style>
18
19<Layer name="power" status="on" srs="&osm2pgsql_projection;">
20  <StyleName>power</StyleName>
21  <Datasource>
22    <Parameter name="table">
23    (select way,power,aerialway
24     from &prefix;_line
25     where "power" in ('line','minor_line')
26        or aerialway is not null
27    ) as power
28    </Parameter>
29    &datasource-settings;
30  </Datasource>
31</Layer>
Note: See TracBrowser for help on using the repository browser.