source: subversion/sites/www.openstreetbrowser.org/render/template_layer2.mml @ 17961

Last change on this file since 17961 was 16408, checked in by skunk, 11 years ago

Files missing (please don't ask me why)

File size: 1.4 KB
Line 
1<!-- Layer %LAYER_NUM% -->
2  <Layer class="roads_text" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
3    <Datasource>
4      <Parameter name="type">postgis</Parameter>
5      <Parameter name="dbname">__DBNAME__</Parameter>
6      <Parameter name="table">
7        (select way, name,
8          %SQL_bridge_tunnel%,
9          %SQL_HIGHWAY_TYPE%
10          from planet_osm_line
11          where %LAYER_WHERE%
12          order by %SQL_highway_level% desc
13        ) as tb1
14      </Parameter>
15      <Parameter name="estimate_extent">false</Parameter>
16      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
17    </Datasource>
18  </Layer>
19  <!--<Layer class="roads_fillX" status="on" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
20    <Datasource>
21      <Parameter name="type">postgis</Parameter>
22      <Parameter name="dbname">__DBNAME__</Parameter>
23      <Parameter name="table">
24        (select way, cast(' ' as text) as text,
25          %SQL_bridge_tunnel%,
26          %SQL_HIGHWAY_TYPE%
27          from planet_osm_line
28          where %LAYER_WHERE%
29          order by %SQL_highway_level% desc
30        ) as tb1
31      </Parameter>
32      <Parameter name="estimate_extent">false</Parameter>
33      <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>
34    </Datasource>
35  </Layer>-->
36
Note: See TracBrowser for help on using the repository browser.