source: subversion/applications/rendering/nor-hikingmap/layer-buildings.xml.ent @ 24371

Last change on this file since 24371 was 22810, checked in by vibrog, 9 years ago

Add building types, bugfix

File size: 791 bytes
Line 
1
2<Style name="buildings">
3  <Rule>
4    &maxscale_zoom13;
5    <PolygonSymbolizer>
6      <CssParameter name="fill">#333</CssParameter>
7    </PolygonSymbolizer>
8  </Rule>
9</Style>
10
11<Layer name="buildings" status="on" srs="&osm2pgsql_projection;">
12  <StyleName>buildings</StyleName>
13  <Datasource>
14    <Parameter name="table">
15    (select way,building,leisure,railway,amenity,aeroway,landuse,historic from &prefix;_polygon
16     where building is not null
17        or landuse='building'
18        or leisure in ('sports_centre','stadium')
19        or historic='castle'
20        or amenity in ('place_of_worship','townhall')
21        or railway='station'
22        or aeroway='terminal'
23     order by z_order,way_area desc) as buildings
24    </Parameter>
25    &datasource-settings;
26  </Datasource>
27</Layer>
Note: See TracBrowser for help on using the repository browser.